Monthly Archives: August 2009

Solaris: How to Reset a USB Device

If a USB device behaves erratically. Use the cfgadm command to reset the device, which logically removes and re-creates the device. 1. Become superuser. 2. Make sure that the device is not in use. 3. Reset the device. For example: … Continue reading

Posted in Uncategorized | Leave a comment

Linux: Configuring Heartbeat High Availability Cluster

This document shows how you can set up a two node, high-availability HTTP cluster with heartbeat on linux. Both nodes use the Apache web server to serve the same content. Pre-Configuration Requirements: 1. Assign hostname host01 to primary node with … Continue reading

Posted in Uncategorized | Leave a comment

Solaris: How to Verify Serial Port Settings

This procedure lets you verify the baud rate and other serial port settings used by the Sun Fire V490 server to communicate with attached serial port devices. You must be logged in to the Sun Fire V490 server, and the … Continue reading

Posted in Uncategorized | Leave a comment

Solaris: How to Get to the ok Prompt

Ways of Accessing the ok Prompt Access Method What to Do Graceful halt From a console window (dtterm, for example), issue an appropriate command (for example, the shutdown,init, halt, or uadmin command) as described in Solaris system administration documentation. Stop-A … Continue reading

Posted in Uncategorized | Leave a comment

Solaris: How to Access the System Console via tip Connection

The following procedure assumes you are connecting to the serial port (ttya) of the Sun Fire V490 system using a tip connection from serial port B (ttyb) of another Sun server, and that the other Sun server has its own … Continue reading

Posted in Uncategorized | Leave a comment

How to undelete any open, deleted file on linux / solaris

# uname -a SunOS cmsgcc 5.10 Generic_137137-09 sun4v sparc SUNW,SPARC-Enterprise-T5220 # echo “Undelete any open file” > test.txt # tail -f test.txt & 25552 # Undelete any open file # rm test.txt # ls /proc/25552/fd 0 1 2 # cat … Continue reading

Posted in Uncategorized | Leave a comment

Unix: Cron format

minute (0-59), | hour (0-23), | | day of the month (1-31), | | | month of the year (1-12), | | | | day of the week (0-6 with 0=Sunday). | | | | | command 0 2 * … Continue reading

Posted in Uncategorized | Leave a comment

Linux: Native Multipath Failover on SLES 9

1. The multipath-tools package is not installed as part of a default installation of the operating system. The recommended multipath-tools rpm package is available from the Novell website. The SLES 9 SP3 installation CD includes the multipath-tools package. 2. Verify … Continue reading

Posted in Uncategorized | Leave a comment

Linux: Native Multipath Configration on RHEL 4

1. The device-mapper-multipath package is not installed as part of a default installation of the operating system. Select the package as part of the OS install or install the rpm later either from the install CD or by downloading the … Continue reading

Posted in Uncategorized | Leave a comment

AIX: I/O Tuning Parameters

I/O Tuning Parameters: numfsbufs (vmtune –b) specifies the number of file system buffer structures. This value is critical asVMM will put a process on the wait list if there are insufficient free buffer structures. Run vmtune –a (pre 5.2) vmstat … Continue reading

Posted in Uncategorized | Leave a comment