March 26, 2014

Veritas Cluster Server 5 : How to see reservation keys on a disk

Posted in Veritas tagged , , , at 3:18 pm by alessiodini

I came back to work in Telecom for a NETAPP storage virtualization project.
I’m working on a mixed Solaris systems ( ZFS , SVM , VxVM , CVM , CFS , MPXIO , DMP ) with Veritas Cluster or Sun Cluster.
On a VCS nodes I usually have reservation conflict problem and I must check the keys on the disks.
For this purpose i can use the vxfenadm command:

# vxfenadm -g /dev/vx/rdmp/hp_xp24k0_01c6
VXFEN vxfenadm WARNING V-11-2-2414 This option is deprecated and would be removed with the next release.
Please use the -s option.

Reading SCSI Registration Keys…

Device Name: /dev/vx/rdmp/hp_xp24k0_01c6
Total Number Of Keys: 2
key[0]:
Key Value [Numeric Format]: 66,86,67,83,0,0,0,0
Key Value [Character Format]: BVCS
key[1]:
Key Value [Numeric Format]: 66,86,67,83,0,0,0,0
Key Value [Character Format]: BVCS

Well, -g is deprecated so I ran vxfenadm again with -s option:

# vxfenadm -s /dev/vx/rdmp/hp_xp24k0_01c6

Reading SCSI Registration Keys…

Device Name: /dev/vx/rdmp/hp_xp24k0_01c6
Total Number Of Keys: 2
key[0]:
[Numeric Format]: 66,86,67,83,0,0,0,0
[Character Format]: BVCS
[Node Format]: Cluster ID: unknown Node ID: 1 Node Name: ssb00005
key[1]:
[Numeric Format]: 66,86,67,83,0,0,0,0
[Character Format]: BVCS
[Node Format]: Cluster ID: unknown Node ID: 1 Node Name: ssb00005

Cool! šŸ˜‰

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: