How to boot a M4000 Sun Solaris server
Sometimes your Solaris server may not boot by just pressing the power button. If autoboot is not enabled in XSCF or is configured wrongly, you will have to manually issue the boot command. I will explain how to do that here. First of all, make sure that any disk array attached to the Solaris server is powered on. Notes: a) Type commands without the quotes shown below. b) Do not press the power button on the front of the machine. Here is the procedure: 1. First, make sure that the server is powered down. If it is already powered on you will have to pull out the 2 power…
Find network utilization on Solaris
A good tool to find network utilization on Solaris 10 is to use the tool nicstat. It can be downloaded from sourceforge here. Copy and extract it to /usr/nicstat execute the script using the command: /usr/nicstat/./nicstat.sh It will show you the lots of stats including network usage in % Sweet!
How to reset password on Solaris’ ALOM
So I inherited a bunch of old Sun Solaris T2000 boxes. They have ALOM on them, cool! but how do I access it over the network? Neither do I know the IP address configured for the ALOM network interfaces, nor do I know the password. Here is how to reset ALOM’s parameters and start fresh.
Send mail from a script in Solaris
I used mailx command, here is the syntax: If you want to send to one person: echo “body of the e-mail” | mailx -s “test subject” email@example.com If you want to CC to multiple people: echo “body of the e-mail” | mailx -s “test subject” –c “firstname.lastname@example.org,email@example.com” firstname.lastname@example.org
Oracle Database Startup and Shutdown Procedure
Here is a super easy way to start / stop oracle on a Lunix/Unix box: Oracle Database Startup and Shutdown Procedure