In the past, I added 'nostorage' to bootparams.addkcmdline and then in the
KS template added:

For RHEL <= 5.x:
device scsi mptsas

In the ongoing effort to fix that which is not broken, Red Hat apparently
removed this from kickstart, but I found the following which might prove
helpful:

https://www.redhat.com/archives/rhelv6-beta-list/2010-April/msg00090.html

Don't have anything to test it on, though. YMMV since it's talking about
6-beta and the nostorage option was accidentally left in the documentation
after 6 was released.

Also might be useful:
http://osdir.com/ml/kickstart-list/2012-02/msg00010.html

Regards,

Christian D. Caruthers
Senior Consultant - System x Linux HPC
                                                                       
                                                                       
                                                                       
 2D barcode - Mobile: 1-757-289-9872 | Phone: 1-804-327-4559                    
                    IBM
 encoded with E-mail: christian.caruth...@us.ibm.com                   
 contact      Find me on: LinkedIn:                                             
    9201 Arboretum Pkwy
 information  http://www.linkedin.com/profile/view?id=14378571&trk=tab_pro      
Richmond, VA 23236-5402
                                                                                
          United States
              "A common mistake that people make when trying to design 
              something completely foolproof is to underestimate the   
              ingenuity of complete fools." - Douglas Adams            
                                                                       





From:   Adam Emerich/Rochester/IBM@IBMUS
To:     xcat-user@lists.sourceforge.net,
Date:   07/25/2012 01:08 AM
Subject:        [xcat-user] Install stateful node that is also connected to SAN
            storage



I have some stateful nodes in my cluster that are also attached to SAN
storage.  I have found that when installing the node,
the install process accesses the SAN drives and corrupts them.  I have the
following in the *.tmpl (which came with the xcat install)
file which I thought would eliminate this, but I have not been successful
in my testing:

%pre
#!/bin/sh
# This will remove the loaded HBA modules from the kernel
#modprobe mptsas
#modprobe mptscsih
#modprobe mptbase
#modprobe scsi_transport_sas
remove_qla(){
for i in $(lsmod | grep qla | awk .{print $1.}); do
echo Will remove: $i >> /dev/tty1
rmmod $i
sleep 1
done
}

remove_lpfc(){
for i in $(lsmod | grep lpfc | awk .{print $1.}); do
echo Will remove: $i >> /dev/tty1
rmmod $i
sleep 1
done
}

remove_qla
sleep 2
remove_qla
remove_lpfc
echo "All qla modules removed"
sleep 10
#INCLUDE:../scripts/pre.rh#
%post
#INCLUDE:../scripts/post.rh#

Linux:  Red Hat Enterprise Linux Server release 6.1 (Santiago)
XCaT: 2.6.8

Any help would be greatly appreciated.
------------------------------------------------------------------------------

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: 61708291.jpg>>

<<inline: 61616795.jpg>>

<<inline: 61630149.gif>>

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to