1. Are you able to ssh to the node with password or without password? If 
you could ssh without password, that means remoteshell postscript worked. 
2. Do you see /xcatpost directory with all the postscripts on the node?
3. What are the content of /xcatpost/mypostscript and 
/xcatpost/mypostscript.post on the node?
4. Any error from /var/log/xcat/xcat.log file? Any error from 
/tmp/wget.log?
5. In most cases,  incorrect name resolution is the culprit for postscript 
not running. Could you please make sure that the node ip can be resolved 
to the correct node name on both management node and the service node? 
(reverse lookup)

Thanks,

Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692 
External: [email protected], 845-433-5692

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



From:   Lanae Neild <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   12/05/2014 10:24 AM
Subject:        [xcat-user] xcat 2.8.5, centos7, postscripts



I'm trying to get centos7 compute nodes imaged, I have a basic centos7 
profile/group set up and the OS installs but the postscripts don't seem to 
run, starting with resyslog in postscripts.postscripts field. I'm not sure 
about the default postscripts like syslog,remoteshell, etc. but does't 
seem to do anything, either. The master node and service nodes are on SL6, 
if that matters. Stumped at the moment...


Here is the node I'm testing on:

[root@master centos7.0]# lsdef node0800
Object name: node0800
    addkcmdline=driverload=e1000e net.ifnames=0
    arch=x86_64
    bmc=node0800-man0
    cons=ipmi
    currchain=boot
    currstate=install centos7.0-x86_64-centos7
    getmac=ipmi
    groups=phase04,all,ibm,centos7,DX340
    initrd=xcat/osimage/centos7.0-x86_64-install-centos7/initrd.img
    interface=eth0
    kcmdline=quiet repo=http://10.125.40.6:80/install/centos7.0/x86_64 ks=
http://10.125.40.6:80/install/autoinst/node0800 ksdevice=eth0 cmdline
    kernel=xcat/osimage/centos7.0-x86_64-install-centos7/vmlinuz
    mac=00:1F:C6:D9:44:86
    mgt=ipmi
    mtm=6389AC1
    netboot=pxe
    nfsdir=/install
    nfsserver=10.125.40.6
    os=centos7.0
    postbootscripts=otherpkgs,palmetto-ipmi,serialconsole
    
postscripts=syslog,remoteshell,syncfiles,resyslog,palmetto-mountxcat,palmetto-yumpackages
    power=ipmi
    primarynic=eth0
    profile=centos7
    provmethod=centos7.0-x86_64-install-centos7
    rack=BU-31
    room=ITC
    serial=06C9158
    serialflow=hard
    serialport=1
    serialspeed=19200
    status=booted
    statustime=05-25-2012 16:46:05
    supportedarchs=x86,x86_64
    switch=h-itc-bu31-i8000-36
    switchinterface=1/29
    switchport=29
    tftpserver=10.125.40.6
    unit=30
    xcatmaster=10.125.40.6

And its osimage:

[root@master centos7.0]# lsdef -t osimage centos7.0-x86_64-install-centos7
Object name: centos7.0-x86_64-install-centos7
    imagetype=linux
    osarch=x86_64
    osdistroname=centos7.0-x86_64
    osname=Linux
    osvers=centos7.0
    otherpkgdir=/install/post/otherpkgs/centos7.0/x86_64
    pkgdir=/install/centos7.0/x86_64
    pkglist=/install/custom/install/centos7.0/centos7.pkglist
    profile=centos7
    provmethod=install
    template=/install/custom/install/centos7.0/centos7.tmpl



Lanae Neild
Systems Programmer I
HPC, CCIT, Clemson University
(864)505-4293
[email protected]


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to