Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

Creating a new share DG with iofencing already running

Created: 05 Nov 2012 • Updated: 06 Nov 2012 | 3 comments
This issue has been solved. See solution.

Hello

I have to create a new share dg and the point is: my VCS has already a iofence active.

The storage disk is the same of the other dgs that was created in the past. This means that the storage accept SCSI-3, ok?

Does this action require any special configuration?

I create a dg for testing (arch1dg). How can I test if the iofence can see this new share dg ?

My messages shows the notice:

Oct 25 14:35:08 svmediador2 vxvm:vxconfigd: [ID 702911 daemon.notice] V-5-1-11401 : dg import with I/O fence enabled
Oct 25 14:35:08 svmediador2 vxvm:vxconfigd: [ID 702911 daemon.notice] V-5-1-11401 arch1dg: dg import with I/O fence enabled
 

Is this an error?

Thanks.

Alexandre Andrich

Comments 3 CommentsJump to latest comment

mikebounds's picture

This is not an error message it is a notice to tell you that disk is imported with I/O fencing.

If you list the disks in your diskgroup using "vxdisk list" and then use vxfenadm you can verify there are I/O fencing keys on the disks - example:

vxfenadm -s /dev/vx/rdmp/disk_7
 
See "About the vxfenadm utility" in the VCS Admin guide for more information
 
To convert from non-shared diskgroup to shared, just import diskgroup with the "-s" flag.  Note Shared disk group (or cluster-shareable) in UNIX means the diskgroup can be simultaneously imported on several nodes so that volumes in the disk group can be written to simultaneously from different nodes - if this is not what you want then you do not need "-s" flag - see https://www-secure.symantec.com/connect/articles/diskgroup-types-unix-and-windows for more info.
 
Mike
 
 
 


UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

andrich's picture

Thanks Mr. Mikebounds

The option "-s" for vxfenadm does not exist in my environment.

It shows the following. Can you tell me another option to see my I/O fencing keys ?

Thanks

svmediador2:/sbin# ./vxfenadm -s /dev/vx/rdmp/emcpower13s2
./vxfenadm: illegal option -- s
vxfenadm: usage:
        -m -k|K <key> -f <disk_file>
        -n -k|K <key> -f <disk_file>
        -x -k|K <key> -f <disk_file>
        -p -k|K <resv key> -f <disk_file> -v|V <victim_node_key>
        -g|G all -f <disk_file>
        -r|R all -f <disk_file>
        -g|-G|-i|-r| <disk path>
        -d|-h

        -k The key consisting of eight bytes defined for this set of disks
        -K Same as -k, but in numeric format
        -V Same as -v, but in numeric format
        -f option flag preceding the name of the file, disk_filename that
           contains all of the fully qualified path(s) to each disk;
           a disk can be accessible by multiple paths
        -p Removes the registrations and reservations made for disks
           in disk_filename made with key used by the -v victim_node_key
        -m Registers with the disks in disk_filename
        -n Reserves with the disks in disk_filename
        -x Unregisters with the disks in disk_filename
        -g Reads the keys registered on the disk specified by disk path
           or read the keys which are registered on all disks listed in
           disk_filename. Keys are displayed in numeric and character format
        -G Reads the keys on a disk. Specify a diskpath or a disk_filename
           (a listing of paths) and print formatted results
        -r Reads the reservation on the disk specified by disk path or
           read the reservations on all disks listed in disk_file_name
        -R Reads the reservation on the disk specified by disk path or
           read the reservations on all disks listed in disk_file_name
           and print the formatted results
        -i Reads the SCSI inquiry information from the disk listed in diskpath
        -t Issue SCSI Test Unit Ready command to the disk listed in diskpath
        -d Displays the cluster wide system state
        -h Display help usage
 

mikebounds's picture

You must have an old version - see extract from 5.1 VCS admin guide:

-s
read the keys on a disk and display the keys in numeric, character, and node format
Note: The -g and -G options are deprecated. Use the -s option.
 

So you need to use the "-g" option to read the keys.

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

SOLUTION