Monthly Archives: July 2011

Happy System Administrator Appreciation Day !

Happy System Administrator Appreciation day everyone ! Here’s to a year full of fun and hard work Enjoy the song …

Posted in community, humor, Linux, Music, Unix | Leave a comment

Solaris HOW-TO: Get the WWN of a Solaris host

To get the port WWN for Solaris, execute the following command: root@hamdan # prtconf -vp | grep -i wwn port-wwn: 21000000.c9617b79 node-wwn: 20000000.c9617b79 port-wwn: 20010000.c9611e8b node-wwn: 20010000.c9611e8b root@hamdan # From Solaris 10 onwards, the command “fcinfo hba-port” can also be … Continue reading

Posted in Disks, FC, Fiber, Hardware, HOW-To, SAN, Solaris, Storage, WWN | Leave a comment

Data Migration Using LVM Mirroring

In the below we will describe how to migrate data using Linux LVM , and how to change the quorum disk on a clustered Linux. Let’s assume that we have RHEL 5.4 linux hosts that have the volume group: “vgdata”. … Continue reading

Posted in EMC, EMC VNX, HOW-To, HP, HP EVA, Linux, LVM, Migration, Red Hat, RHEL, SAN, Storage | Tagged , , , | Leave a comment

Solaris HOW-TO: Check SAN storage connectivity

To check the SAN storage connectivity to a Solaris box, run the following command from a Solaris shell: # luxadm probe No Network Array enclosures found in /dev/es Found Fibre Channel device(s): Node WWN:50101ae1500a00c0 Device Type:Disk device Logical Path:/dev/rdsk/c3t600518A401054D230100B00F01D30100d0s2 # … Continue reading

Posted in Disks, FC, Fiber, HOW-To, SAN, Solaris, Storage | Leave a comment

Solaris HOW-TO: Check CPU idle time

A very useful tool in Solaris to get the average idle time for CPU is the “sar” (System Activity Report) utility. This tool is particularly useful for performance analysis, as it also shows the percentage of CPU used by users … Continue reading

Posted in HOW-To, Performance, Solaris | Leave a comment

Solaris HOW-TO: Add default gateway

Adding a default gateway to a Solaris box is fairly simple. The command “netstat” is used to check if there’s a gateway or not. For example: # netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface ——————– ——————– … Continue reading

Posted in HOW-To, network, Solaris | Leave a comment

Solaris HOW-TO: Check Hardware Health

Checking Hardware health in Solaris can be done with a various set of commands. First and foremost is the “prtdiag” utility. This is the full path of the “prtdiag” command: # /usr/platform/`uname -m`/sbin/prtdiag -v It’s recommended to use the “-v” … Continue reading

Posted in Disks, Hardware, HOW-To, Solaris, SPARC | Leave a comment