xCAT osimage.partitionfile attribute supports to use a script to script to determine the install disk. Could you use a script to work out the install disk? 

Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (王晓朋)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: w...@cn.ibm.com
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193
 
 
----- Original message -----
From: Stephen Cartwright <sgcar...@ucalgary.ca>
To: "xcat-user@lists.sourceforge.net" <xcat-user@lists.sourceforge.net>
Cc:
Subject: [xcat-user] Install to machine with direct attached storage
Date: Mon, Jun 13, 2016 4:44 PM
 

Hi there,

 

I am using xCAT 2.8.5 and trying to do an install to a node that has SAS (LSI SAS2008) and Fibre (QLOGIC QLE2562) attached storage. I am using osimage rhels6.7-x86_64-install-storage and have tried using a custom partitionfile using ignoredisk like this:

 

clearpart --drives=/dev/disk/by-path/pci-0000:01:00.0-scsi-0:1:0:0 --all --initlabel

 

ignoredisk --only-use=/dev/disk/by-path/pci-0000:01:00.0-scsi-0:1:0:0
autopart 

 

 

However, the luns are still available (e.g. sda, sdb, ..., sdk) and are still being considered by Anaconda, causing many "sense" errors and, I believe, the install to hang.

 

On tope of this, I have tried blacklisting the FC and SAS device drivers and even removing them from initrd, (similar to the suggestion in http://fibrevillage.com/storage/238-how-to-disable-san-fibre-channel-disks-at-booting-installing) although from the kickstart file for the node has this code in the %pre section (pasted below) which I believe should not require this. 

 

Please help, I am stuck on this. I have been recommended to remove the fibre and SAS cables for the install, but I really do not want to do this for the installations as this is not scalable and there must be a better way.

 

Thank you in advance for your time!

 

Stephen

 

 

%pre

#!/bin/sh

# This will remove the loaded HBA modules from the kernel

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"

 

 

 

 

 

 

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
 

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to