Anyway, if the everything is correctly setup, running the following 
commands from the management node can fix the problem. The updatenode 
command will rerun the postscripts.
xdsh node0800 -K
and updatenode node0800 -P 


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:   Ling Gao/Poughkeepsie/IBM@IBMUS
To:     xCAT Users Mailing list <[email protected]>
Date:   12/05/2014 04:59 PM
Subject:        Re: [xcat-user] xcat 2.8.5, centos7, postscripts



The command should be run on the node. the IP should be the ip for the 
xcatmaster.  In  your case: 
10.125.4.39 is the node ip for node0800 .    10.125.40.6 is the xcatmaster 
of the node according to the node definition. 

Please ssh to node0800, then run wget on the node. 
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused  -e 
robots=off -nH --cut-dirs=2 --reject "index.html*" --no-parent -t 0 -T 60 
http://10.125.40.6/install/postscripts/ -P /xcatpost 

And also check on xcatmaster ( 10.125.40.6), make sure there is a 
acctually a directory /install/postscripts with all the postscripts. 
BTW, is the netmask 255.255.0.0 on networks table for 10.125 network or 
you put the wrong ip for xcatmaster for the node?

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 04:32 PM 
Subject:        Re: [xcat-user] xcat 2.8.5, centos7, postscripts 



[root@master lanae]# wget -l inf -N -r --waitretry=10 --random-wait 
--retry-connrefused  -e robots=off -nH --cut-dirs=2 --reject "index.html*" 
--no-parent -t 0 -T 60 http://10.125.4.39/install/postscripts/ -P 
/xcatpost 
--2014-12-05 16:26:33--  http://10.125.4.39/install/postscripts/ 
Connecting to 10.125.4.39:80... failed: Connection refused. 
Retrying. 

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




On Fri, Dec 5, 2014 at 2:57 PM, Ling Gao <[email protected]> wrote: 
ok,   on management node (or the service node), there is a directory 
/install/autoinst, there is a file with the node name, that is the kick 
start file. Can you view that file and look for 'wget'?  You will get 
something like: 
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused  -e 
robots=off -nH --cut-dirs=2 --reject "index.html*" --no-parent -t 0 -T 60 
http://$i$INSTALLDIR/postscripts/ -P /xcatpost 

Can you run this command on the node? This is the first step to prepare 
the postscripts to be run on the node. Replace $i with the ip of the 
service node, $INSTALLDIR with "/install". See what error it gives you.   


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 02:00 PM 
Subject:        Re: [xcat-user] xcat 2.8.5, centos7, postscripts 



Answered inline: 

On Fri, Dec 5, 2014 at 11:04 AM, Ling Gao <[email protected]> wrote: 
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. 
With password only  

2. Do you see /xcatpost directory with all the postscripts on the node? 
No  

3. What are the content of /xcatpost/mypostscript and 
/xcatpost/mypostscript.post on the node? 
Not there 
   
4. Any error from /var/log/xcat/xcat.log file? Any error from 
/tmp/wget.log? 
There is no /var/log/xcat/ or /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) 

[root@master postscripts]# nslookup node0800 
Server: 10.125.40.6 
Address: 10.125.40.6#53 

Name: node0800.palmetto.clemson.edu 
Address: 10.125.4.39 

[root@master postscripts]# nslookup 10.125.4.39 
Server: 10.125.40.6 
Address: 10.125.40.6#53 

39.4.125.10.in-addr.arpa name = node0800.palmetto.clemson.edu. 

And the same for all 5 of our service nodes. 





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

------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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