Thursday, September 12, 2013

How to use XPINFO


What is xpinfo?
xpinfo is tools to provides a mapping between the device file(s) on server and the associated port and ldev on the SureStore E XP Disk Array. By default, this utility will provide a name cross reference of all luns connected to the array.

 How to use?
[root@myserver]# ./xpinfo --help Usage: xpinfo -[tuv] -[l|p] -[i|c|m|h|r|d[char]|z|n] [-f raw_device] [-X [raw_device]] -D 
[root@myserver ~ ]# ./xpinfo -v 
LINUX Xpinfo,v 22.00.00 2011-06-29 
[root@myserver ~ ]# ./xpinfo -il > /root/outputgw.txt 
[root@myserver ~ ]# ls -ltr | grep outputgw.txt 
-rw-r--r-- 1 root root 23523 Sep 12 06:19 outputgw.txt 

[root@myserver ~ ]# more outputgw.txt

Device File                 ALPA Tgt Lun Port  CU:LDev Type             Serial#
================================================================================
/dev/sdke                    00  06  00  CL2A  01:00  OPEN-V           00029642
/dev/sdkf                    00  05  00  CL1A  01:00  OPEN-V           00029642
/dev/sdkc                    00  05  00  CL1N  01:00  OPEN-V           00029642
/dev/sdkd                    00  07  00  CL2N  01:00  OPEN-V           00029642
... truncated ...



Manual for XPINFO ?

NAME
xpinfo - Enhanced SCSI Inquiry for SureStore E XP Disk Array

SYNOPSIS
xpinfo -[tu] [-v] -[l|p] -[i|c|h|m|r|d[char]] [-f raw_device]

DESCRIPTION
xpinfo provides a mapping between the device file(s) on HP-UX and the
associated port and ldev on the SureStore E XP Disk Array. By
default, this utility will provide a name cross reference of all luns
connected to the array.


Options
-c Displays Continuous Access and Business Copy volume
designation information. Data fields include: subsystem
number, CT group number, CA volume designation, and BC
volume designation for each of the three MU numbers.

-d[char]
Displays a single line of data per logical device.
Each data field is delimited by a comma or by 'char' if
specified. The ordering of the data fields is as follows:
device_file, target_id, LUN_id, port_id, CU:LDev, type,
device_size, serial#, code_rev, subsystem, CT_group, CA_vol,
BC0_vol, BC1_vol, BC2_vol, ACP_pair, RAID_level, RAID_group,
disk1, disk2, disk3, disk4, model, port_WWN, ALPA.
Fields for which the data is either not available or not
applicable for the device are displayed as "---".

-f raw_device
Report information only for the specified logical device.
By default (-f not specified), this tool will report on
all "OPEN" type devices.

-h Displays this help message.

-i Displays identification information. Data fields
include: ALPA, target id, LUN id, port id, LDev number,
LUN type (product id) and serial number.

-l Sort output by LDev number.

-m Displays model information. Data fields include:
model id, emulation type, size, serial number and
firmware revision.

-p Sort output by Port number.

-r Displays RAID configuration information. Data fields
include: ACP pair number, RAID level, RAID group, and
disk mechanisms.

-t Display Target, Lun, CU and LDev id's in decimal format.
The default is to display in hexadecimal format.

-u Create report using updated ioscan list. By default, the
report is created using the kernel image of the last ioscan.

-v Display xpinfo version. The -v option has precedence over
all other options. If the -v option is specified along with
other output options, only the xpinfo revision is displayed.


By default, (options i,c,m,r,d not specified) xpinfo will display in
verbose format.


EXAMPLES
The following command will provide a mapping of the disk device file
c20t7d2

xpinfo -f /dev/rdsk/c116t2d1

which results in the following output:

Device File : /dev/rdsk/c116t2d1 Model : XP512
Port : CL2C Serial # : 00030057
Host Target : 02 Code Rev : 0116
Array LUN : 11 Subsystem : 0004
CU:LDev : 00:11 CT Group : ---
Type : OPEN-3 CA Volume : SMPL
Size : 2347 MB BC0 (MU#0) : SMPL
ALPA : da BC1 (MU#1) : SMPL
Loop Id : 07 BC2 (MU#2) : SMPL
SCSI Id : --- RAID Level : RAID5
FC-LUN : 4011000000000000 RAID Group : 1-2
Port WWN : 500060e802756912 ACP Pair : 1
Disk Mechs : R101 R111 R121 R131

This is the verbose format output, which includes all data gathered
for the device.

Note:

1. If the LUN is not paired for Async, then the CT Group number
is displayed as "---".

2. For Fibre Channel attach LUNs the Target field provides the
FC-AL Loop ID and the LUN field provides the FCP_LUN ID.

3. Fields for which the data is either not available or not

applicable for the device are displayed as "---".

6 komentar:

Unknown said...

christian louboutin outlet
mont blanc legend
celine bags
north face outlet 70% off
michael kors outlet online
coach sale
rolex watches for sale
wholesale jordan shoes
north face kids jackets
jordan retro 11 legend blue
north face outlet 70% off
gucci handbags
coach outlet store online clearances
the north face clearance
lebron james shoes
coach purses
kate spade outlet online
jordan 6s
boys north face jackets
michael kors sale
michael kors outlet
rolex watches prices
salvatore ferragamo belt
michael kors outlet 70% off
mont blanc pens sale
michael kors watches discount outlet
kate spade outlet
ferragamo shoes
north face jacket
hermes bag
coachoutlet.com
rolex watches for men
nike sale
ugg boots on sale 70% off
michael kors outlet online
north face outlet 70% off
north face jackets clearance

Ravi said...

Expected and valid points are included in you blog.. I really liked and I got some clear ideas for improve my thoughts from well defined content... keep updating more for us... thanks for shared useful blog..
Java Training in Chennai

Sowmiya said...

Interesting blog about how to use xpinfo which attracted me more.Spend a worthful time.keep updating more.
MSBI Training in Chennai

Shalini said...


Really good blog post which attracted me more.Spend a worthful time.keep updates.
Digital marketing company in Chennai

Unknown said...

make money with legic site register i will send you info https://app.yoonla.com/evolve?a_aid=5adf3ff885456

Unknown said...

copy this link and paste to make money today https://app.yoonla.com/evolve?a_aid=5adf3ff885456

Post a Comment

 
footer