Thursday, September 15, 2011

DSCLI to show FW level of IBM DS8000 storage

Command to show DS8000 FW level from AIX:


dscli> ver -l
Date/Time: September 15, 2011 2:41:16 PM CEST IBM DSCLI Version: 5.3.1.101
DSCLI          5.3.1.101
StorageManager 6.1.3.20071026.1
================Version=================
Storage Image    LMC
==========================
IBM.2107-xxyyzzx 5.3.1.104

Source:
https://www-304.ibm.com/support/docview.wss?uid=ssg1S1002949

How to find port and slot ID by index port ID shown in name server on SAN Brocade Director

When you wanna find out physical port location - slot and port ID by WWN in name server you can see just index port ID and Port# which is not as same ID as physical port ID.

If you know Index port # or port ID gathered in name server you can link it with slot and port ID by using switchshow command:

42 is index port ID, 3 is slot ID and 10 is physical port ID


SAN:admin> switchshow | grep " 42"
Index Slot Port Address Media Speed State     Proto
===================================================
 42    3   10   642a00   id    N4   Online           F-Port  10:00:00:00:00:00:00:01

Monday, September 12, 2011

NIM error and warning messages

Network Installation Manager - Education Assistant slides

AIX / VIOS CDP - Cisco Discovery Protocol to gather information about port on CISCO switch

The Cisco Discovery Protocol (CDP) is a proprietary Data Link Layer network protocol developed by Cisco Systems. It is used to share information about other directly connected Cisco equipment, such as the operating system version and IP address.

Device connected to CISCO CDP enabled switch can sniff CDP packets and gather inflormation about port like switch name, trunk and VLAN IDs, port number like Gi1/5.

VMware support it by default and it can be seen in GUI in networking tab.

AIX / VIOS doesn't support that by default but it can be gathered by script using tcpdump.

Script for CDP on AIX can be downloaded here:
http://the-welters.com/professional/scripts/

Monday, September 5, 2011

AIX - EMC Symetrix Inquiry tool to list - show LUN info for storage

How and where can I see information about LUNs in AIX from EMC Symetrix storage?
Utility is called inq.aix64_51 and can be found in this location: /usr/lpp/EMC/Symmetrix/bin

EMC Drivers / filesets have to be installed:
/usr/lpp/EMC/Symmetrix/bin # lslpp -L | grep EMC
EMC.Symmetrix.aix.rte 5.3.0.5 C F EMC Symmetrix AIX Support
EMC.Symmetrix.fcp.MPIO.rte
5.3.0.5 C F EMC Symmetrix FCP MPIO Support

Scripts and utilities are installed by default:
/usr/lpp/EMC/Symmetrix/bin # ls
bcvfcp.tar emc_odmupdate_uniqueid_v2.tar inq.aix32_51 rdfg.tar
boot_change_v3.tar emc_reserve_v1.sh inq.aix64_51 rmbcv
emc_cfgmgr emcgrab_AIX_v4.2.tar mkbcv
emc_odmupdate.tar emcpowerreset nsddevices.tar

Utility to show device linked to LUN with information like capacity, serial number, ID...
# /usr/lpp/EMC/Symmetrix/bin/inq.aix64_51 -sid -showvol
Inquiry utility, Version V7.3-1009 (Rev 0.0) (SIL Version V7.1.0.0 (Edit Level 1009)
Copyright (C) by EMC Corporation, all rights reserved.
For help type inq -h.

..................

------------------------------------------------------------------------------------------------
DEVICE :VEND :PROD :REV :SER NUM :Volume :CAP(kb) :SYMM ID
------------------------------------------------------------------------------------------------
/dev/rhdisk2 :EMC :SYMMETRIX :5773 :xxxxxxxx : 0097B: 75648000 :zzzzzzzzyyxx