- Install/Configure xCAT
(see xCAT Mini HowTo)
- Install/Configure SystemImager
- Create build image from golden client:
# getimage --golden-client myprecious --image myimage ...
- Create a blank template file for the image name
# touch /opt/xcat/install/systemimager/x86/base/myimage.tmpl
Note: this file is only used to prevent nodeset from complaining.
- Update nodetype.tab
node001 systemimager,x86,myimage
node002 systemimager,x86,myimage
- Set up post-imaging node boot:
There are 2 options here:
- Make sure SystemImager's netbootmond is running
(with NET_BOOT_DEFAULT = local in /etc/systemimager/systemimager.conf).
- Create a post-install script in /var/lib/systemimager/scripts/post-install
(based on /opt/xcat/install/postscripts/updateflag) to notify
xcatd when imaging is complete.
The 1st route is easier, the 2nd route is cleaner.
- To image some nodes, just use your normal xCAT commands
# rinstall node001-node002