Since you already ran updatenode, then everything in /tmp/wget.log
and /var/log/xcat/xcat.log should already be right. Do we still have nodes
that just finished the os installation and have not run updatenode?
the /tmp/wget.log and /var/log/xcat/xcat.log should include useful hints.

Thanks,
-------------------------------------------------------------------------
 Li,Guang Cheng (李光成)
 IBM China System Technology Laboratory

 Email: ligua...@cn.ibm.com
 Address: Building 28, ZhongGuanCun Software Park,
          No.8, Dong Bei Wang West Road, Haidian District Beijing 100193,
PRC

北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193



From:   François Bissey <francois.bis...@canterbury.ac.nz>
To:     xcat-user@lists.sourceforge.net
Date:   2012-07-26 06:37
Subject:        Re: [xcat-user] postscript not run after install?



On Wed, 25 Jul 2012 07:06:39 Lissa Valletta wrote:
> In fact make sure all  files in the /install/postscripts directory and
> subdirectories are world readable.     This can cause a failure that will
> show up in the wget.log that Guang Cheng Li asked for below.
> Thanks!
>
Ok I will give you a bit of what you want. Like I said
"updatenode <mynode> -P"
runs the postscripts normally so thses files are currently filled with the
information coming from that run. If you need one from a virgin install
I'll arrange that.
/tmp/wget.log  starts with:
--2012-07-24 16:35:03--
ftp://192.168.14.116/post/otherpkgs/sles11.1/ppc64/loadl/*.rpm
           => `.listing'
Connecting to 192.168.14.116:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /post/otherpkgs/sles11.1/ppc64/loadl ...
done.
==> PASV ... done.    ==> LIST ... done.

     0K .                                                      8.08M=0s

2012-07-24 16:35:03 (8.08 MB/s) - `.listing' saved [1313]

Removed `.listing'.
--2012-07-24 16:35:03--
ftp://192.168.14.116/post/otherpkgs/sles11.1/ppc64/loadl/IBMJava2-142-ppc64-

JRE-1.4.2-5.0.ppc64.rpm
           => `IBMJava2-142-ppc64-JRE-1.4.2-5.0.ppc64.rpm'
==> CWD not required.
==> PASV ... done.    ==> RETR
IBMJava2-142-ppc64-JRE-1.4.2-5.0.ppc64.rpm ...
done.
Length: 46118362 (44M)

     0K .......... .......... .......... .......... ..........  0% 48.4M 1s
    50K .......... .......... .......... .......... ..........  0% 75.6M 1s
   100K .......... .......... .......... .......... ..........  0% 89.3M 1s

And I cannot see any report of failure in the file.

Similarly /var/log/xcat/xcat.log goes like this:
Running postscript: syslog
Shutting down syslog services..done
Starting syslog services..done
Running postscript: remoteshell

Starting SSH daemon..done
Running postscript: syncfiles
  Did not sync any files. Use updatenode -F to sync the files.
Running postscript: setupntp
ntpd
Shutting down network time protocol daemon (NTPD)..done
ntpd: time slew +0.000960s
Starting network time protocol daemon (NTPD)..done
Running postscript: basic_setup
Running postscript: IBMhpc.postscript
if test -e /dev/cpuset || mkdir -p /dev/cpuset ; then
        mount -t cpuset none /dev/cpuset
Running postscript: ge.create.fen
Running postscript: usrlocalpower7
WARNING - failed to clear out /usr/local directory
Running postscript: credential
MASTER=192.168.14.116
SITEMASTER=192.168.14.116
MONMASTER=192.168.14.116
Loading repository data...
Reading installed packages...
'krb5' is already installed.
No update candidate for 'krb5'.
Resolving package dependencies...

The following NEW packages are going to be installed:
  krb5-client pam_krb5

2 new packages to install.
Overall download size: 211.0 KiB. After the operation, additional 651.0 KiB

will be used.
Continue? [y/n/?] (y): y
Retrieving package pam_krb5-2.3.1-47.10.15.ppc64 (1/2), 118.0 KiB (393.0
KiB
unpacked)
Retrieving: pam_krb5-2.3.1-47.10.15.ppc64.rpm [done]
Installing: pam_krb5-2.3.1-47.10.15 [...done]
Retrieving package krb5-client-1.6.3-133.27.1.ppc64 (2/2), 93.0 KiB (258.0
KiB
unpacked)
Retrieving: krb5-client-1.6.3-133.27.1.ppc64.rpm [done]
Installing: krb5-client-1.6.3-133.27.1 [.done]
finished setting up the credentials
Running postscript: otherpkgs
NFSSERVER=192.168.14.116
OTHERPKGDIR=192.168.14.116/post/otherpkgs/sles11.1/ppc64
Repository 'SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152' is up to
date.
Repository 'SuSE-Linux-SDK' is up to date.
All repositories have been refreshed.
zypper --non-interactive update --auto-agree-with-license
Loading repository data...
Reading installed packages...


and so on. None of the postscripts involved fail to execute.

Francois


------------------------------------------------------------------------------

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to