Start a Conversation

Unsolved

This post is more than 5 years old

1128

November 21st, 2008 07:00

symcli to determine number of devices assigned to a host

We are in the mist of a migration from several old arrays to new arrays. I would like to maintain a xls listing all the hosts down one column and all the sid's across the top. I am looking for a command that I could run against a wwn or awwn that could tell me a count of how many devices are assigned to it for a given sid. symmaskdb -sid xxxx -wwn yyyyyyyyyy will list devices, but if there is a range, it does not list all the devices, so I can script anything to do a "wc -l" or something like that. I really just want to see servername, sid, total number of devices assigned.

6 Posts

November 21st, 2008 07:00

Looks like I found my own answer:
symmaskdb -sid xxxx -wwn yyyyyyyyy list devs

how easy........

9 Legend

 • 

20.4K Posts

November 21st, 2008 07:00

are you running symmaskdb -sid 1234 list devs -wwn YYYYYYYY ?

9 Legend

 • 

20.4K Posts

November 21st, 2008 07:00

looks like you found it. Here is another one for ya. If your hosts hbas labeled in login history table you can this command, it will give you a nice summary at the end too:


symmask -sid 1234 -dir 8c -p 0 list logins
 
Symmetrix ID            : 000000101234
 
Director Identification : FA-8c
Director Port           : 0
 
                            User-generated                      Logged On
Identifier       Type  Node Name        Port Name        FCID   In     Fabric
---------------- ----- --------------------------------- ------ ------ ------
5006016310202f26 Fibre Server_A           A0               611813 Yes    Yes
 





symmaskdb -sid 1234 list capacity -host Server_A
No Events found!

Top