<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.emailquote, li.emailquote, div.emailquote
        {mso-style-name:emailquote;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:1.0pt;
        margin-bottom:.0001pt;
        border:none;
        padding:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Corey:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">                Thanks for the reply and information. See comments below.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">-------------------------</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue">
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">Jackson C. Allen</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue">
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">McKesson Provider Technologies</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue">
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">5995 Windward Parkway</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue">
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">Alpharetta, GA 30005</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue">
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">(404) 338-2023</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue">
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue"><a href="mailto:Jack.Allen@McKesson.com">Jack.Allen@McKesson.com</a>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red">Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged
 information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> kickstart-list-bounces@redhat.com [mailto:kickstart-list-bounces@redhat.com]
<b>On Behalf Of </b>Kovacs, Corey J.<br>
<b>Sent:</b> Friday, January 25, 2013 9:09 AM<br>
<b>To:</b> Discussion list about Kickstart<br>
<b>Subject:</b> RE: Disable automatic enabling of multipathd<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">Jackson,<br>
<br>
This isn't a problem with multipathd, rather that the SAN volumes are visible during the kickstart I'd say. I was bitten by this long ago...  once... and it sucked :)  Now I am very careful to say the least.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[JCA]  I agree the problem itself is not multipath, but that anaconda found SAN devices accessible and decided to enable multipath and then run pvcreate
 on the LUNs it mapped to /dev/mapper/mpath*. This is the part that I feel is somewhat of a bug.<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"><br>
<br>
You have a couple of options right off the bat. <br>
<br>
1. I think the "nostorage" flag still works, put that on the kernel line and then in the kickstart specify which device drivers you need loaded in the kickstart. On a newer HP box running rhel6 I add the "hpsa" driver via a "device" flag. On an older rhel5
 install, it's still "cciss" for the smart array. This has worked for me.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[JCA] This could be a problem because the same KickStart is used on several vendors' hardware, Dell, HP, IBM and ESX/VMs. The vendors tend to change the
 local storage HBA from time to time. But this is something we can investigate.<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"><br>
<br>
2. In the %pre section, you can remove/unload the fibre channel card drivers, then those volumes will not get scanned since they will not be seen.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[JCA] Again this could be problematic in making sure we remove all possible FC HBAs the vendors may have installed. We try to standardize on specific
 local and FC HBAs, but the vendors sometime install newer models that could have a different name.<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"><br>
<br>
Your description doesn't indicate (to me anyway) if you are booting from the san devices so I am assuming you are booting from local storage, and then accessing the san after the fact.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[JCA] I did state the system has local storage and the OS is/was loaded on it.<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><b><i><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></i></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">You also didn't include the partition layout so I am suspecting that you might be using autopart. If that is the case, and your primary storage is local, then
 one of the two options above should work. If you aren't using autopart, then you might think about being a bit more specific in the partition information when designing the setup.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[JCA] We are only partitioning the local storage via the KickStart and had assumed nothing would be done to any other storage found. Our instructions
 state the SAN should not be connected when kick starting the system, but our customer did not follow the instructions. So I am looking for a way to keep our customers from shooting themselves in the foot so to speak when they don't follow the instructions.<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"><br>
<br>
I hope this helps, I certainly know the feeling when a system blows away all of the cluster data when this happens :)</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[JCA] Yes, this gives me some things to think about. Maybe some others will suggest some other options as well.<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"><br>
<br>
Corey<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">Corey Kovacs<br>
Sr. System Architect<br>
<a href="http://www.techma.com">Technology Management Associates</a><br>
RHCA: <a href="https://www.redhat.com/wapps/training/certification/verify.html;jsessionid=o9SSOewROoS4SL45ag0TaQ**.87c55fb5?certNumber=110-541-489&verify=Verify">
110-541-489</a><o:p></o:p></span></p>
</div>
</div>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="color:black">
<hr size="2" width="100%" align="center">
</span></div>
<div id="divRpF300306">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">
<a href="mailto:kickstart-list-bounces@redhat.com">kickstart-list-bounces@redhat.com</a> [kickstart-list-bounces@redhat.com] on behalf of Allen, Jack [Jack.Allen@mckesson.com]<br>
<b>Sent:</b> Thursday, January 24, 2013 1:41 PM<br>
<b>To:</b> <a href="mailto:kickstart-list@redhat.com">kickstart-list@redhat.com</a><br>
<b>Subject:</b> Disable automatic enabling of multipathd</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">        First some history; we have a customer that will be implementing Clustering between 2 physical system that will share some storage on a SAN. One system
 was already running RHEL 5.8 32-bit and they are upgrading to RHEL 6.3 64-bit over all. So on the second system a RHEL 6.3 64-bit KickStart provided by us was installed. Our instructions stated to disconnect the system from the SAN before doing the KickStart,
 but they did not. The system has local storage for the OS and the OS was installed on it as it should have been. But because the SAN was connected and the LUNs zoned to the system, the KickStart identified the multiple paths to the LUNs and enabled multipathd,
 ran pvcreate on the /dev/mapper/mpath* names which over wrote the existing header/labels on each LUN and put new uuid on each and cleared the LVM label information. On the system running RHEL 5.8 the VG and the LV could still be access but all command such
 as lvs, pvs and vgs would not show information because of the missing LVM labels.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">        We had to reboot the active system and then run pvcreate with the –uuid option to put the correct uuid back in place on each LUN, there were 16 of them.
 And then run vgcfgrestore on the VG and everything is fine now.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">        Once the RHEL 6.3 64-bit system is working properly the RHEL 5.8 32-bit system will be brought down and the SAN storage will be accessed from the RHEL
 6.3 64-bit system. Then the RHEL 6.3 64-bit KickStart will be run on the old RHEL 5.8 32-bit system to upgrade it, which means both systems will be running RHEL 6.3 64-bit and the Cluster software will be activated.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">        So what option or whatever can be specified in the KickStart to not automatically scan for SAN storage and enable multipathd and run pvcreate?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:blue">-------------------------</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue">
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">Jackson C. Allen</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue">
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">McKesson Provider Technologies</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue">
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">5995 Windward Parkway</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue">
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">Alpharetta, GA 30005</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue">
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">(404) 338-2023</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:blue">
<br>
</span><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:blue"><a href="mailto:Jack.Allen@McKesson.com" target="_blank"><span style="font-family:"Arial","sans-serif"">Jack.Allen@McKesson.com</span></a></span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red">Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged
 information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>