Thursday, 13 October 2016

Automated Solaris explorer capture and upload


Many companies have a large investment in Oracle servers running Solaris, and it's important to be proactive about maintenance on these assets.

The Oracle Solaris explorer software gathers system diagnostic data and creates an archive suitable for Oracle support analysis. Some very handy reports become available when this is automated. Here are the steps I follow to configure the settings for a physical asset, then automate the data collection and delivery.

Solaris 11

1) Install explorer from IPS

$ pkg install support/explorer

2) Configure Diagnostic Assistance (DA) with MOS creds, proxy server, etc.

$ cd /usr/lib/rda/da
$ ./da.sh setupmos
$ cat /etc/explorer/default/explorer


3) Configure explorer defaults, using DA and cron schedule,

$ explorer -g
$ crontab -l | grep explo


4) Run explorer, then check it was delivered to Oracle (MOS, Proactive analysis)

$ explorer -P -q
$ ls -l /var/explorer/output


5) If necessary, re-send the latest explorer using the DA settings; alternately specify the ftp or http delivery path,

$ explorer -N -T DA


Solaris 10

1) Ensure we have explorer installed, or download from Oracle,

$ pkginfo SUNWexplo
2) Configure Diagnostic Assistance (DA) with MOS creds, proxy server, etc.

$ cd /usr/lib/rda/da
$ ./da.sh setupmos


3) Configure explorer defaults, using DA and cron schedule

$ /opt/SUNWexplo/bin/explorer -g
$ crontab -l | grep explo


4) Run explorer, then check delivery in MOS (Proactive analysis),

$ /opt/SUNWexplo/bin/explorer -q -P
$ ls -l /opt/SUNWexplo/output


5) If necessary, re-send the latest explorer using the DA settings; alternately specify the ftp or http delivery path,

$ explorer -N -T DA

Review time

Going forward, regularly check the proactive analysis pages and keep these precious systems healthy.