Hi,
Thanks for the reply.
Below is the reply I sent on 22nd of last month. It's weird that it
didn't go through.
Thanks for your reply.
The synclist is attached. Please check the top lines where I have put
'testfile' for testing. Without synchronizing the corresponding script,
xCAT doesn't run the script at all. To get that script to run
automatically I have to transfer the script too. I remember in previous
xCAT releases the script transfer was not necessary (please correct me
if I'm wrong)
testfile.post has these contents:
#!/bin/bash
echo "this is a test script"
exit 0
When I apply the updatenode command from the Master node it returns
these results:
updatenode node01 -F
node01: this is a test script
node01: this is a test script
File synchronization has completed for nodes.
May be it was the attachment that is why it might have been blocked by
the filter. Let me paste the syncfile below.
#Test
/root/testfile -> /root/.
/root/testfile.post -> /root/.
#Hostbased
/etc/hosts.equiv -> /etc/.
/etc/ssh/ssh_known_hosts -> /etc/ssh/.
/etc/ssh/ssh_known_hosts -> /root/.ssh/known_hosts
/etc/hosts -> /etc/.
/etc/resolv.conf -> /etc/.
/etc/passwd /etc/shadow /etc/group -> /etc/.
#Modules
/install/syncfiles/modules/modules.* -> /etc/profile.d/.
/install/syncfiles/modules/custom -> /etc/.
#Monitoring
/etc/ganglia/gmond.conf -> /etc/ganglia/gmond.conf
#/etc/nagios/nrpe.cfg.nsd -> /etc/nagios/.
#Modprobe/Lustre
/install/syncfiles/modprobe/* -> /etc/modprobe.d/.
#Torque
/install/syncfiles/torque/pbs_mom -> /etc/init.d/.
/install/syncfiles/torque/trqauthd -> /etc/init.d/.
/install/syncfiles/torque/torque.conf -> /etc/ld.so.conf.d/.
#Routing
/install/syncfiles/eth/route-eth0 -> /etc/sysconfig/network-scripts/.
/install/syncfiles/eth/route-bond0 -> /etc/sysconfig/network-scripts/.
/install/syncfiles/eth/route-bond0.post -> /etc/sysconfig/network-scripts/.
#NRPE
/install/syncfiles/nrpe/nrpe.cfg.nsd -> /etc/nagios/nrpe.cfg
#multipath
/install/syncfiles/phaseIII/nsd/multipath/multipath.conf -> /etc/.
/install/syncfiles/phaseIII/nsd/multipath/bindings -> /etc/multipath/.
/install/syncfiles/phaseIII/nsd/multipath/multipath.conf.post -> /etc/.
#openib
/install/syncfiles/etc/infiniband/openib.conf -> /etc/infiniband/.
#
#Authentication
/install/syncfiles/etc/auth/*-ac -> /etc/pam.d/.
/install/syncfiles/etc/auth/*-auth -> /etc/pam.d/.
/install/syncfiles/etc/auth/*.conf -> /etc/.
EXECUTE:
/root/testfile.post
/etc/ganglia/gmond.conf.post
/etc/nagios/nrpe.cfg.nsd.post
/install/syncfiles/torque/pbs_mom.post
/install/syncfiles/torque/trqauthd.post
/install/syncfiles/eth/route-eth0.post
/install/syncfiles/eth/routebond0.post
/install/syncfiles/torque/torque.conf.post
/install/syncfiles/nrpe/nrpe.cfg.nsd.post
/install/syncfiles/etc/multipath/multipath.conf.post
/install/syncfiles/etc/infiniband/openib.conf.post
/install/syncfiles/etc/auth/nslcd.conf.post
/install/syncfiles/gpfs/kernel_extensions/tracedev.ko.post
/install/syncfiles/phaseIII/nsd/multipath/multipath.conf.post
#
APPEND:
/install/syncfiles/hosts/hosts.append -> /etc/hosts
Best Regards, Qamar Nazir
*Qamar Nazir*
------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user