Configure IBM Tape Device with Emulex FC HBAs

This is procedure SUN Solaris 10 servers, not sure about other versions, but should be close.

Step 1:
a. Run “devfsadm”.
b. run “touch /reconfigure” in /.
c. reboot the server.
d. After reboot run the following command and see if it can detect the tape devices.
/opt/IBMtape/tapelist -l.
e. If tape list command display tape device info -> go to step 3

Tutorials/Whitepapers Read More

Weblogic Start/Stop

In this case we could login to Weblogic console, however the server was not granting connections on the port. So we want to check the status of the Weblogic server and restart the Weblogic Domain.

Login as a_wls0

#cd /local/Weblogic10/0/wl10u
./nodeManager.sh status

if it is stopped, start the nodemanager using the fo...

Linux, Tutorials/Whitepapers Read More

Nagios Perl Script to add Hosts and Escalations

A couple of perl scripts to help add Hosts and Host Escalations into Nagios config files. 

DIRECTIONS: Edit .list file for script to read
FOR: addHost.pl edit host.list to include tab seperated parameter (5)options
use     host_name       alias   address host_groups

FOR: addEscalation.pl edit Escalation.list to include tab seperated parameter (2)options
host_name       contact_groups

Here is addHost.pl script

Linux, Network Security, Perl Scripts, Tutorials/Whitepapers Read More

Verify reboot and oracle process with Perl Script

Here is a script I wrote that I will run in cron on the days that we have autosys reboot schedules. The script will check if the server has been rebooted in the last 2 hours and if it’s rebooted in the last 24 hours. It also checks to see if Oracle processes are running. In the case that either the reboot failed or the Oracle processes did restart or aren’t running it will send an e-mail notification to whoever is specified in the @to array variable.

Linux, Perl Scripts, Tutorials/Whitepapers Read More