Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

5117

March 14th, 2016 01:00

OS Discovery from attached host on Symmetrix

Longshot this, but maybe there is a way, so ... Does anyone know of any way to determine the OS that an attached host is running, even just the family of OS (Windows / Unix-like etc) from the perspective of only being able to run symcli commands on the array. I've been trying to run through indicators, some are:
- WWN of the masked HBA (not really an indicator, as that HBA could be in a Unix or Windows host)

- Flag overrides (again, not a reliable indicator as the flags could be set wrongly)
- possibly commands that can look at the I/O to see what kind of data is going to/from a device.

It would be a generally quite useful metric to be able to capture for a given WWN / device, and hopefully someone can point me in the right direction if there is a way? Thanks.

1 Rookie

 • 

20.4K Posts

March 14th, 2016 09:00

do these hosts have symcli installed on them  (or ECC/Unisphere for VMAX) ?

[admin@host ~]$ symcfg list -sid 1234 -connections

Symmetrix ID:    000192601234

  Symmetrix                                Host                          

-------------  -----------------------------------------------------------

Director Port  Node Name     IP Address      HW Type  OS Name  OS Revision

-------- ----  ------------- --------------- -------- -------- -----------

UN-1A       0  HK192601234   10.0.13.102   i686     WinNT-SP 5.1.2600  

FA-10E      0  esrs2      10.140.24.5    i686     LINUX    2.6.9-67.E

FA-7G       0  esrs1      10.140.24.5    i686     LINUX    2.6.9-67.E

FA-12F      0  sms3       *3c5e:ddda:cfdc x86_64   WinNT    6.1.7601  

FA-12F      0  sms2       127.0.0.1       x86_64   LINUX    2.6.18-398

FA-10E      0  sms1        *2733:b3a6:bace x86_64   WinNT    6.1.7601  

FA-12F      0  oracle5       *fea8:fd7e:d981 i686     WinNT    6.0.6002  

FA-10E      0  oracle4          10.140.30.99   i686     LINUX    2.6.18-128

FA-7G       0  oracle3          10.140.30.99   i686     LINUX    2.6.18-128

FA-12F      0  or3cle2      127.0.0.1       x86_64   LINUX    2.6.18-407

FA-12F      0  oracle1         10.2.10.117   x86_64   LINUX    3.0.101-0.

FA-10E      0  srsg1     *c0b3:231f:2e96 x86_64   WinNT    6.1.7601  

FA-7G       0  srsg2     *c0b3:231f:2e96 x86_64   WinNT    6.1.7601

14 Posts

March 14th, 2016 10:00

Thanks Dynamox, that's very useful (I have seen this before but I seldom use list -connections so it didn't come to mind).

This does make me think of a related follow-up question: so the symcli on the host is allowing us to see the OS and OS revision. Similarly, what about device groups? Device groups reside on the symcli of the host, but is there a way, in line with the above, that for hosts with symcli installed on them, that I could from another host query the DG's that a remote host has?

This has been a significant problem for me; having to go to each host is not possible for me, but I can't see another way to collect the symdg information from that host except by going there and running a symdg list -v. This would be hugely useful if possible.

1 Rookie

 • 

20.4K Posts

March 14th, 2016 10:00

are you prepping for a migration ? 

Unless each host is running symcli in server/client mode (i can't think of one someone would do that on every single host) you would have to get the symapi_db.bin file from each host to look at local DGs (maybe there is GNS in the environment  ?)

Get the system guys to run EMCReport/EMCGrab on the systems of interest, should give you plenty of information. Is that an option ?

14 Posts

March 14th, 2016 13:00

Thanks, that's a shame, I suspected as much. We are hoping to port the local DG's over to GNS to have better control of DR events. The change controls are hard to work through, but will probably have to go that route as need to have visibilty of the DG's. Thanks.

No Events found!

Top