Friday, 1 June 2012

Solaris - Troubleshooting

During one of my Google hunts I found this useful site:

http://www.princeton.edu/~unix/Solaris/troubleshoot/index.html

The author of the pages, Scott Cromar, has a published the lot as a book. Which I would buy if it was in Kindle form....

After logging a call with Oracle with regards an intermittent issue with one of the servers (slows down, doesn't allow connections for 5 to 10 minutes - then is fine. Fault keeps repeating itself but nothing in the logs or showing up on Uptime) they recommended the following:

- GUDS - A script for gathering Solaris Performance Data [Doc ID: 1285485.1]
- Service Tools Bundle (specifically Explorer)
- Totally unresponsive server - kernel core dump
   <STOP><A>
   Taking you to the <ok> prompt, then type sync which causes a system panic
   See [Doc ID: 1004506.1] How do I Force a Crash Dump When my Solaris OS is Hung?

Another useful link which covers off resetting a root password on a non-ZFS and ZFS systems amongst others:
http://docs.oracle.com/cd/E19963-01/html/821-1451/gkkvy.html

Using Oracle STB:


Explorer

The default location for explorer is /opt/SUNWexplo/bin

(If the location doesn't exist then you'll have to search for it:
# find / -name explorer -print
which should print out on the screen the complete path to the file).

If you have an issue with a server running Zones
# explorer -w default,localzones

You will be prompted for SR number and the like.
Output from the query is stored at /opt/SUNWexplo/output - when the script finishes you are informed of the location.

No comments:

Post a Comment