Skip to contentSkip to conversation

Question regarding multipath WWID

DISCUSSION Lavannya 3 participants 3 messages Jun 10, 2009 Device mapper

lore
Share & tools
lore

Lavannya

author
#0 lore raw

Hi,

Recently I am trying to test few luns with multipath , in two of my

test server. I worked throughly with PowerPath.

I have few questions on multipath:

- what is the logic redhat is using to create the WWID and what are the fields involved

- I am trying to test with the shared luns (devices) between two nodes. How i will identify the device id in multipath. Though as per Redhat , they are telling WWID is the identifier. But how i will identify the device id in the WWID?
It is very much needed specially for shared luns. In PowerPath, generally all the devices are identified by the
lun id /device id then ,
I use the Pseudo name (linux), for configuring the devices. I will assume that WWID is similar as Pseudoid. If not, pl. correct me.

- Where can i match the device id in the WWID..

It will be really appreciated , if someone clears all my questions.

Thanks in advance.

#1 lore raw

What is your purpose for needing to know how WWID is generated ?

Do you want to identify and name them the same in both the nodes ?

Quoted 37 lines · Lavannya

Hi,

Recently I am trying to test few luns with multipath , in two of my

test server. I worked throughly with PowerPath.

I have few questions on multipath:

- what is the logic redhat is using to create the WWID and what are the fields involved

- I am trying to test with the shared luns (devices) between two nodes. How i will identify the device id in multipath. Though as per Redhat , they are telling WWID is the identifier. But how i will identify the device id in the WWID?
It is very much needed specially for shared luns. In PowerPath, generally all the devices are identified by the
lun id /device id then ,
I use the Pseudo name (linux), for configuring the devices. I will assume that WWID is similar as Pseudoid. If not, pl. correct me.

- Where can i match the device id in the WWID..

It will be really appreciated , if someone clears all my questions.

Thanks in advance.

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#2 lore raw
In reply to Lavannya
Quoted 2 lines

- what is the logic redhat is using to create the WWID and what are the fields involved

see the multipath.conf samples coming with rpm : the "getuid_callout" keyword is there to let users change the multipath naming poilicy. By default paths are identified as part of the same multipath using the VPD page 0x83 identifier, which is a standard. This unique id is used a multipath name if "user_friendly_names" are not enabled. And you still have to choice to use the "alias" keyword to name specific multipaths.

Quoted 2 lines

- I am trying to test with the shared luns (devices) between two nodes. How i will identify the device id in multipath.

I'm assuming you're concerned with EMC hardware, because of the terms you use (device id, ...). Following response mmight be out-of-context if you're not.

There I would advise you use syminq as a getuid_callout ... but no. syminq slow, bloated, and offers no control on its output. You'd be better server by a script using syminq to generate your configlets :

multipath {
wwid 1234
alias devid
}

Quoted 7 lines

Though as per Redhat , they are telling WWID is the identifier. But how i will identify the device id in the WWID?
It is very much needed specially for shared luns. In PowerPath, generally all the devices are identified by the
lun id /device id then ,
I use the Pseudo name (linux), for configuring the devices. I will assume that WWID is similar as Pseudoid. If not, pl. correct me.

wwid-based multipath names are indeed garanteed to identify the same device across a cluster accessing the same array. Beware though, replicated devices (R2) will surely have different ids and different wwids ... you's need to use "alias" to have geocluster multipath names coherency.

Quoted 1 line

- Where can i match the device id in the WWID..

syminq

Quoted 1 line