To find the WWPN and Other information of Qlogic HBAs without restarting the host, you can use any of the following methods.
for i in `seq 0 4` ;
do echo #####Host $i ######;
cat /sys/class/fc_host/host$i/port_name;
cat /sys/class/fc_host/host$i/port_state;
cat /sys/class/fc_host/host$i/port_type;
cat /sys/class/fc_host/host$i/speed;
cat /sys/class/fc_host/host$i/supported_speeds;
done
Your output may be the following,
0×2100001b32xxxxx
Online
NPort (fabric via point-to-point)
4 Gbit
1 Gbit, 2 Gbit, 4 Gbit
0×2101001b32xxxxx
Online
NPort (fabric via point-to-point)
4 Gbit
1 [...]
Archive for the ‘Linux Comm’ Category
Find the WWN’s of Qlogic HBAs in SUSE 10
Posted in HBA, Linux Comm, SAN on June 30, 2009 | Leave a Comment »
OpenSSL Unable to load config info on SLES 9
Posted in Linux Comm on May 18, 2009 | Leave a Comment »
I’m using openssl-devel-0.9.7d-15.21 and openssl-0.9.7d-15.21 version to generate the key and the CSR for vsftpd FTP SSL connection on SLES9 SP3 and SP4. To do this I did the following
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout /etc/vsftpd.key -out /etc/vsftpd.pem
and gave me following error saying
Unable to load config infoGenerating a 1024 bit RSA private [...]
OpenIPMI (Intelligent Platform Management Interface) for Linux
Posted in Linux Comm, Monitoring Tools, Opensource on January 7, 2009 | Leave a Comment »
OpenIPMI is an effort to create a full-function IPMI system to allow full access to all IPMI information on a server and to abstract it to a level that will make it easy to use.
The Open IPMI Linux device driver is designed as a full-function IPMI device driver with the following features:
Allows multiple users.
Allows multiple [...]
Current version of the ServeRAID
Posted in Linux Comm on December 30, 2008 | Leave a Comment »
To find the current version of the ServeRAID device driver under Linux use the following.
Eg from IBM xSeries server
$ cat /proc/scsi/aacraid/0Adaptec Raid Controller: 1.1-5[2434]custom-IBMVendor: IBM Model: ServeRAID 8iflags=SAI_READ_CAPACITY_16kernel: 5.2-0[15421]monitor: 5.2-0[15421]bios: 5.2-0[15421]serial: 83xxx
df and du commands showing different values in *inx
Posted in GNU/Linux, Linux Comm, Solaris, Solaris Comm on March 2, 2008 | Leave a Comment »
Normally, df and du will report with closest usage on a specific file system. But there might be some open file was opened and deleted by other process but it does not exist in the directory structure. This tech note are for specific Linux O/S and if your OS is Solaris , please look at [...]


