You can set the kernel parameter with R:: in addkcmdline before the OS deployment, so during the OS deployment the kernel parameter will be added to boot parameter persistently.
 
But note that R:: means for boot only. If you want a kernel parameter to be applied for both os deployment and booting, the kernel parameter needs be specified twice in the addkcmdline: one with R::, one without.

Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (王晓朋)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: [email protected]
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193
 
 
----- Original message -----
From: "Dr. Markus Hillenbrand" <[email protected]>
To: "[email protected]" <[email protected]>
Cc:
Subject: [xcat-user] Persistent addkcmdline
Date: Mon, May 2, 2016 11:10 PM
 
Hi,

I have a node that uses an old CCISS controller that has no driver
support in EL7.2 any more. SO I am setting
hpsa.hpsa_allow_any=1 and hpsa.hpsa_simple_mode=1 and anaconda enables
the controller and installs the operating system.

Unfortunately, after the final reboot, the kernel parameters are not set
permanently. So I have added them a second time with the R:: prefix, but
this does not help. How can I make them permanent without manually added
them in a postscript?

Additionally, I have seen that addkcmdline set in node, group and
osimage are not merged. Instead node ranks out group, and group ranks
out osimage. Is this intended or can I somehow enable combining all
addkcmdline settings somehow?



Markus



root@hpcmanage2 [Elwe-SL7] lsdef node101
Object name: node101
 
addkcmdline=net.ifnames=0,biosdevname=0,hpsa.hpsa_simple_mode=1,R::hpsa.hpsa_simple_mode=1,hpsa.hpsa_allow_any=1,R::hpsa.hpsa_allow_any=1
     arch=x86_64
     bmc=node101ipmi
     bmcpassword=...
     bmcport=80
     bmcusername=admin
     currchain=boot
     currstate=install SL7.2-x86_64-compute
     groups=all,cciss,elwe2
     initrd=xcat/osimage/Elwe-SL7.2-compute/initrd.img
     installnic=mac
     interface=eth0
     ip=10.255.2.101
     kcmdline=quiet
inst.repo=http://10.255.3.234:80/install/SL7.2/x86_64
inst.ks=http://10.255.3.234:80/install/autoinst/node101
ifname=bootnic:00:1B:78:E1:4B:3E
ip=10.255.2.101::10.255.3.234:255.255.0.0:node101:bootnic:none
bootdev=bootnic  nameserver=131.246.9.116 nameserver=131.246.1.116
inst.sshd inst.loglevel=debug inst.syslog=10.255.3.234
     kernel=xcat/osimage/Elwe-SL7.2-compute/vmlinuz
     mac=00:1B:78:E1:4B:3E
     mgt=ipmi
     netboot=pxe
     nfsserver=10.255.3.234
     os=SL7.2
     postbootscripts=otherpkgs,syncfiles,Elwe-SL7-postbootscript
     postscripts=syslog,remoteshell,syncfiles,Elwe-SL7-postscript
     power=ipmi
     primarynic=mac
     profile="">     provmethod=Elwe-SL7.2-compute
     status=installing
     statustime=05-02-2016 16:59:02
     tftpserver=10.255.3.234

 
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to