Brad,

You have a typo. It's "add_*k*_cmdline", not "addcmdline".

Example:

[root@xcat-mn ~]# chdef cn1 addkcmdline="rdloaddriver=scsi_dh_rdac"
1 object definitions have been created or modified.


[root@xcat-mn ~]# lsdef cn1
Object name: cn1
*addkcmdline=rdloaddriver=scsi_dh_rdac*
    arch=x86_64
    chain=runcmd=standby
    currchain=boot
    currstate=install centos6.2-x86_64-compute



[root@xcat-mn nodes]# cat cn1
#!gpxe
#install centos6.2-x86_64-compute
imgfetch -n kernel http://${next-server}/tftpboot/xcat/centos6.2/x86_64/vmlinuz
imgload kernel
imgargs kernel quiet repo=http://192.168.1.1/install/centos6.2/x86_64/ ks=http://192.168.1.1/install/autoinst/cn1 ksdevice=eth0 *rdloaddriver=scsi_dh_rdac* BOOTIF=01-${netX/machyp}
imgfetch http://${next-server}/tftpboot/xcat/centos6.2/x86_64/initrd.img
imgexec kernel



On 12/7/2012 12:41 PM, viviano.b...@epamail.epa.gov wrote:
Ling,
Thanks, but that is a no go. The first thing I tried was editing boot params. The value in bootparams gets reset when I do a "nodeset storage1 netboot".

# lsdef storage1 | grep kcmdline
kcmdline=imgurl=http://!myipfn!//install/netboot/rhel6_c/x86_64/storage/rootimg.gz XCAT=!myipfn!:3001 console=tty0 console=ttyS0,115200 rdloaddriver=scsi_dh_rdac
# nodeset storage1 netboot
storage1: netboot rhel6_c-x86_64-storage
# lsdef storage1 | grep kcmdline
kcmdline=imgurl=http://!myipfn!//install/netboot/rhel6_c/x86_64/storage/rootimg.gz XCAT=!myipfn!:3001 console=tty0 console=ttyS0,115200

Your suggestions for chdef didn't take:

# chdef storage1 addcmdline="rdloaddriver=scsi_dh_rdac"
Error: 'addcmdline' is not a valid attribute name for for an object type of 'node'.
Error: Skipping to the next attribute.
Error: One or more errors occured when attempting to create or modify xCAT
object definitions.

Here is the lsdef on the node if it helps.

# lsdef storage1
Object name: storage1
appstatus=xend=down,sshd=up,rdp=down,pbs=down,msrpc=down
    appstatustime=12-07-2012 13:33:01
    arch=x86_64
    bmc=storage1-bmc
    bmcport=0
    chain=runcmd=bmcsetup,shell
    currchain=shell
    currstate=netboot rhel6_c-x86_64-storage
    groups=all,storage
initrd=xcat/netboot/rhel6_c/x86_64/storage/initrd-stateless.gz
    ip=172.20.100.9
kcmdline=imgurl=http://!myipfn!//install/netboot/rhel6_c/x86_64/storage/rootimg.gz XCAT=!myipfn!:3001 console=tty0 console=ttyS0,115200
kernel=xcat/netboot/rhel6_c/x86_64/storage/kernel
    mac=e4:1f:13:6a:31:f4
    mgt=ipmi
    mtm=7947AC1
    netboot=xnba
    nfsserver=172.20.0.1
    ondiscover=nodediscover
    os=rhel6_c
    postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles,setupntp,addsiteyum,ipoib,mmsdrrestore
    profile=storage
    provmethod=netboot
    serial=KQ8719X
    serialport=0
    serialspeed=115200
    status=ping
    statustime=12-07-2012 12:09:01
    switch=switch0
    switchport=8

Basically I'd like the insert something at the end of kcmdline. I don't want to just SET "kcmdline" because other things like console speed and such come from other xCAT tables to build this. It feels like there should be a parent table someplace that I need to put a value in for node "storage1".

        -Brad


===================================================
Brad Viviano
High Performance Computing & Scientific Visualization
Lockheed Martin, Supporting the EPA
Research Triangle Park, NC
919-541-2696

HSCSS Task Order Lead - Ravi Nair
919-541-5467 - nair.r...@epa.gov
High Performance Computing Subtask Lead - Durward Jones
919-541-5043 - jones.durw...@epa.gov
Environmental Modeling and Visualization Lead - Heidi Paulsen
919-541-1834 - paulsen.he...@epa.gov



From: Ling Gao <ling...@us.ibm.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc: xcat-user@lists.sourceforge.net
Date: 12/07/2012 01:25 PM
Subject: Re: [xcat-user] Adding kernel parameters to stateless images.
------------------------------------------------------------------------



Hi,
  You can try to add it to bootparams.addkcmdline by tabedit bootparams
or chdef <nodenames> addkcmdline="rdloaddriver=scsi_dh_rdac"

Hope it helps,

Ling

Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692
External: ling...@us.ibm.com, 845-433-5692

"I never worry about the future. It comes soon enough." --- Albert Einstein



From: viviano.b...@epamail.epa.gov
To: xcat-user@lists.sourceforge.net
Date: 12/07/2012 12:16 PM
Subject: [xcat-user] Adding kernel parameters to stateless images.
------------------------------------------------------------------------



Good morning,
I've searched Google and the xCAT WIKI and just couldn't find the answer. If I missed the FAQ, sorry. I have an iDataplex cluster with GPFS and xCAT 2.7.6 (yum install) on RHEL 6.3. The GPFS nodes are stateless attached to a DS3500. We're having the RDAC / FC timing issues detailed in this Redhat Knowledge article:

_https://access.redhat.com/knowledge/solutions/18746_

I've found a work around, which is to add "rdloaddriver=scsi_dh_rdac" to the kernel boot line. I've tested it by editing the boot file in /tftpboot/xcat/xnba/nodes for one of the GPFS nodes and adding rdloaddriver to "imgargs kernel" and rebooting. My boot time went from >7 minutes after POST to < 30 seconds, with no errors on the ghost paths. But, I can't find which tabch/tabedit settings I need to use to adjust to make it permanent. Editing bootparms and running nodeset didn't work. How do I permanently add a value to "kcmdline" for a stateless node, without breaking what is already set there.

      Thanks,
              -Brad Viviano

===================================================
Brad Viviano
High Performance Computing & Scientific Visualization
Lockheed Martin, Supporting the EPA
Research Triangle Park, NC
919-541-2696

HSCSS Task Order Lead - Ravi Nair
919-541-5467 - nair.r...@epa.gov
High Performance Computing Subtask Lead - Durward Jones
919-541-5043 - jones.durw...@epa.gov
Environmental Modeling and Visualization Lead - Heidi Paulsen
919-541-1834 - paulsen.he...@epa.gov------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers_
__http://p.sf.net/sfu/logmein_12329d2d________________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net_
__https://lists.sourceforge.net/lists/listinfo/xcat-user_
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user



------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d


_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to