cancel
Showing results for 
Search instead for 
Did you mean: 

How to change dmp disk sequence

yoyohimhim
Level 3

Hi,

   I'm configuring the SFHA. I assigned some LUNS from storage to my two hosts.  But I found in /dev/vx/dmp, the disks's sequence are not same.
For example :
One host1:
arcx3455gbxv5:/sys/class/scsi_host/host2 # vxfenadm -i /dev/vx/dmp/san_vc0_6
Vendor id       : IBM
Product id      : 2145
Revision        : 0000
Serial Number   : 60050768018D829B100000000000012B

On host2:
san_vc0_6 's Serial Number is 60050768018D829B100000000000012C. "60050768018D829B100000000000012B" is for san_vc0_13.
arcx3455frpv8:/sys/class/scsi_host/host0 # vxfenadm -i /dev/vx/dmp/san_vc0_6
Vendor id       : IBM
Product id      : 2145
Revision        : 0000
Serial Number   : 60050768018D829B100000000000012C

I wonder how to change the dmp disk sequece manually? Is there any configure file such as /var/lib/multipath/bindings for Linux DMMP?
Thank you very much.

 

1 ACCEPTED SOLUTION

Accepted Solutions

Gaurav_S
Moderator
Moderator
   VIP    Certified
Hello,

What is SF version you are using ? This was taken care pretty good in 5.0MP3, if you use 5.0MP3, you can run following command on both the nodes

# vxddladm set namingscheme=ebn/osn persistence=yes use_avid=yes   (select Enclosure or OS based naming depending in ur choice)

In above scenario, use_avid switch will assign the DA names depending on the LUN ID which is consistent across the nodes, so all the nodes should get same name for each disk.

In case you are using any older version, you need to do manipulations with /etc/vx/disk.info file but it could result bad & you can see some issues.. this won't be recommended...

Gaurav

View solution in original post

2 REPLIES 2

Gaurav_S
Moderator
Moderator
   VIP    Certified
Hello,

What is SF version you are using ? This was taken care pretty good in 5.0MP3, if you use 5.0MP3, you can run following command on both the nodes

# vxddladm set namingscheme=ebn/osn persistence=yes use_avid=yes   (select Enclosure or OS based naming depending in ur choice)

In above scenario, use_avid switch will assign the DA names depending on the LUN ID which is consistent across the nodes, so all the nodes should get same name for each disk.

In case you are using any older version, you need to do manipulations with /etc/vx/disk.info file but it could result bad & you can see some issues.. this won't be recommended...

Gaurav

yoyohimhim
Level 3
Hi Gaurav,
    Thanks for you repsonse. The version I'm usint is 5.1. I'll use use_avid=yes to have a try.