cancel
Showing results for 
Search instead for 
Did you mean: 

powerpath and vxfentsthdw

Chris_Saunders
Level 3
When trying to run the vxfentsthdw script, it cant find my powepath devices..

VERITAS vxfentsthdw version 4.1 Solaris


The utility vxfentsthdw works on the two nodes of the cluster.
The utility verifies that the shared storage one intends to use is
configured to support I/O fencing.  It issues a series of vxfenadm
commands to setup SCSI-3 registrations on the disk, verifies the
registrations on the disk, and removes the registrations from the disk.


******** WARNING!!!!!!!! ********

THIS UTILITY WILL DESTROY THE DATA ON THE DISK!!

Do you still want to continue : [y/n] (default: n)
y
Enter the first node of the cluster:
solsun062
Enter the second node of the cluster:
solsun063

Enter the disk name to be checked for SCSI-3 PGR on node solsun062 in the format /dev/rdsk/cxtxdxsx
/dev/rdsk/emcpower1a
Disk /dev/rdsk/emcpower1a does not exist on host solsun062


I can see them in vxdisk list, they are initialized and everything.. any ideas?
4 REPLIES 4

Krish_Subramani
Not applicable
Chris, what is your purpose?  if you want to test only for SCSI - III PR then you can use the normal unix naming...

sunshine_2
Level 4
emcpower1a is a pseudo device which is created and used  by PowerPath.

you should change it to native OS device names if you see emcpower devices in vxdisk list output

to fix this

# vxdmpadm listctlr all   -   to get the controller name

# vxdmpadm setattr enclosure EMC0 tpdmode=native   -   in this case the enclosure name is EMC0

then you will see cxtxdxsx devices in vxdisk list output..

unixmail
Not applicable

Hi Chris,

I am trying to convert from Enclosured based name to native device name, but it fails with this message:

 

vxdmpadm listenclosure EMC0
ENCLR_NAME        ENCLR_TYPE     ENCLR_SNO      STATUS       ARRAY_TYPE
============================================================================
EMC0              EMC            890090               CONNECTED    A/A

vxdmpadm setattr enclosure EMC0 tpdmode=native
VxVM vxdmpadm ERROR V-5-1-11117  This operation is not allowed under enclosure based naming scheme

Gaurav_S
Moderator
Moderator
   VIP    Certified

Hello,

 

You can change your namingscheme to osn first & then try the same command..

 

# vxddladm set namingscheme=osn 

 

Going back to actual question of vxfentsthdw failure...

 

Couple of questions:

 

1. Do you see emcpower1a device from both the nodes ?

2. Have you verified that emcpower1a is same device on both the nodes ? you can verify this with serial number of the Lun.

 

3. Are you able to do normal SCSI enquiries on emcpower devices ?

 

# /etc/vx/diag.d/vxdmpinq /dev/vx/dmp/emcpower1a

 

I would think that powerpath should know how to sent down IO's down the paths & since you are able to see power devices in vxdisk list that means veritas DMP understands too that powerpath is underlying. SF 4.1 had built in support of TPD devices, I would assume that to work normally...

 

 

Gaurav