<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Changing SAN vendors</TITLE>

<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#800000 
size=2></FONT> </DIV><FONT face=Arial color=#800000 size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Allen, Jack <BR><B>Sent:</B> Tuesday, 
February 03, 2009 6:45 PM<BR><B>To:</B> dm-devel@redhat.com<BR><B>Subject:</B> 
[dm-devel] Changing SAN vendors<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hello:</FONT> 
<BR>        <FONT face=Arial size=2>Our IT 
group has decided to switch SAN Vendors. The switch over for a couple of systems 
has gone fine, but I have some questions on some things that have 
changed.</FONT></P>
<P>        <FONT face=Arial size=2>First a 
little information on how the switch over is taking place. The old SAN is a EMC 
CX and the new SAN is a HP XP. The system is connected to a SAN switch which is 
then connected to both SANs. We shut down the system, and then rezone the 
switch/SAN to access the XP now instead of the CX. The XP passes through all the 
I/O request to the CX. When we know the data can be seen correctly, they do some 
commands that copies the data from the CX to the XP and then the I/O takes place 
on the XP from that point on. All this works fine.</FONT></P>
<P>        <FONT face=Arial size=2>When only 
connected to the CX, I had /dev/mapper/mpath1 and /dev/mapper/mpath2. After the 
reboot and rezoning /dev/mapper/mpath1 and /dev/mapper/mpath2 are gone and 
/dev/mapper/mpath3 and /dev/mapper/mpath4 are there. LVM finds the Volume Group 
and all Logical Volumes with no problem.</FONT></P>
<P>        <FONT face=Arial size=2>My 
question is what do I have to change in some configuration file or what ever to 
make /dev/mapper/mpath1 and /dev/mapper/mpath2 be in place instead of 
/dev/mapper/mpath3 and /dev/mapper/mpath4?</FONT></P>
<P>        <FONT face=Arial size=2>I know 
this is not creating any real problem, but it is kind of misleading, because it 
looks like 2 paths are missing.</FONT></P>
<P><FONT face=Arial size=2>-----</FONT> <BR><FONT face=Arial 
size=2>Thanks</FONT> <BR><FONT face=Arial size=2>Jack 
Allen</FONT> <BR><SPAN class=295395121-05022009><FONT face=Arial 
color=#800000 
size=2>=================================================================</FONT></SPAN></P>
<P><SPAN class=295395121-05022009>    <FONT face=Arial 
color=#800000 size=2>Well no one replied, so I will answer my on question 
in hopes that it may help someone else. But I will ask another question and hope 
someone will reply to it, because I have goggled and can not find the 
answers.</FONT></SPAN></P>
<P><SPAN class=295395121-05022009>    <FONT face=Arial 
color=#800000 size=2>The Answer: The</FONT> <FONT face=Arial color=#800000 
size=2>friendly names are kept in /var/lib/multipath/bindings. Because the WWID 
changed multipathd created new entries. All I had to do was remove the entries 
for the old WWID and change the friendly name for the new WWID. Simple, but hard 
to locate the file when no documents I could find to begin with tells you that 
is where the friendly names are kept.</FONT></SPAN></P>
<P><SPAN class=295395121-05022009>    <FONT face=Arial 
color=#800000 size=2>The Question: The first system was running RH EL 5.2, but 
the next system is running RH AS 4.7. There was no /var/lib/multipath directory, 
therefore no bindings file. So I created both, and entered mpath0 and mpath1 
with the WWID, but it still uses mpath2 and mpath3. I know multipathd are 
different version between the two RH Release. Is there something else I need to 
change on the RH AS 4.7 system to make it use the mpath0 and mpath1 
names?</FONT></SPAN></P>
<P><SPAN class=295395121-05022009><FONT face=Arial color=#800000 
size=2>-----</FONT></SPAN></P>
<P><SPAN class=295395121-05022009><FONT face=Arial color=#800000 
size=2>Thanks:</FONT></SPAN></P>
<P><SPAN class=295395121-05022009><FONT face=Arial color=#800000 size=2>Jack 
Allen</FONT></SPAN></P>
<P><SPAN class=295395121-05022009></SPAN> </P></BODY></HTML>