<pre>cat >/install/netboot/.......rootimg/etc/sysconfig/clock <<EOF
ZONE="US/Mountain"
UTC=true
ARC=false
EOF
cp -f /usr/share/zoneinfo/MST7MDT /install/netboot/.......rootimg/etc/localtime</pre>
The above will change the default to US/Mountain - MST7MDT time.
This tip comes from Shadd, off of the xcat mailing list: its a quick and dirty way to wipe the hard drives in the cluster.
psh all dd if=/dev/urandom of=/dev/hda && dd if=/dev/zero of=/dev/hda
if you want to erase all drives on all nodes that should be enough just change hda to sda if it is scsi
Why use a rescue CD when you can "nodeset <noderange> shell"? On the next boot, you should be able to psh, ssh, mount, vi, etc etc etc. The "nodeset <noderange> shell" command is like a builtin rescue CD for many nodes.
All of the def (object definition) commands know which tables all the attributes belong. And since they default to working with the node object type, lsdef nodename* will list all the attributes that are set for this node in any table.
An overview of all the tables can be viewed by running man xcatdb or by going to the xCAT Database Man Pages. A description of a specific table is available using man tablename .
In all the node-related tables (except for the nodelist table), you can use regular expressions in a single row to represent many rows that would be only slightly different and conform to a pattern. See xCAT Database Man Pages for details and examples.
Here are notes to set up an install server with SLES10.1
If RHELS 6.x fails to install using xCAT 2.7 or later, then the problem could due to the fact that xCAT now puts the "cmdline" argument on the kernel command line when installing RHELS 6.x on a node. Then if the RHELS 6.x kickstart install template does not include something defining the partitions (e.g., installing onto a pre-partitioned drive), then the following error will occur:
Examining storage devices
In interactive step cleardiskssel, can't continue
One way to work around this, in the pre-partitioned drive install case, is to add the following line to the kickstart install template:
clearpart --none