Note: this is a user-contributed document. While this howto contains some very useful information, it is not necessarily updated for new versions of xCAT and therefore may be inaccurate in some cases. Use it with this in mind. We welcome corrections and contributions - see Editing xCAT Documentation. And see the [XCAT_Documentation] page for documentation that is tested and updated with each xCAT release (to the best of our ability).
Note: Refer to [XCAT_iDataPlex_Cluster_Quick_Start] for a more up to date quick start guide.
Install base OS, nothing special except:
Make a directory to install everything in
mkdir -p /install/packages/xcat
Copy the SLES 11 iso image to /install/packages - you may also need the SDK iso.
Add the xCAT and xCAT-dep repositories for SLES
zypper ar http://xcat.sf.net/yum/core-snap/xCAT-core.repo
zypper ar http://xcat.sf.net/yum/xcat-dep/sles11/x86_64/xCAT-dep.repo
install xCAT
zypper install xCAT
Set up environment and services
. /etc/profile.d/xcat.sh
tabdump site # just to check to make sure it works
chkconfig –add nfsserver; service nfsserver restart
chkconfig –add ntp; service ntp restart
# correct this xCAT BUG
cp /etc/httpd/conf.d/xcat.conf /etc/apache2/conf.d/
chkconfig –add apache2; service apache2 restart
chkconfig –add tftpd; service tftpd restart
chkconfig -add named; service named start
zypper install dhcp-server
chkconfig -add dhcpd;
Edit the dhcp server config to use the appropritate interface:
vi /etc/sysconfig/dhcpd
DHCPD_INTERFACE="eth1"
Starting dhcp won't work until makedhcp -n is run (after setting up tables)
Setup tables as usual (see here for more info)
Run copycds... no changes here, just make sure the nodetype OS is set to sles11.
If you are deploying a stateless image, genimage in /opt/xcat/share/xcat/netboot/sles does not work because zypper is buggy. (Its fixed in SP2)
To install stateless you need to install YUM from the SDK DVD that comes with SLES10.1 as well as createrepo and all the dependencies.
Once you have it do:
cd /install/sles10.1/x86_64
createrepo .
Note: You need to do it in /install/sles10.1/x86_64 instead of /install/sles10.1/x86_64/1 otherwise it will ruin your YAST diskful installs.
Once done you need to use genimage.yum to make this work. Copy the code below into /opt/xcat/share/xcat/netboot/sles/genimage.yum
Note: You need to do it in /install/sles10.1/x86_64 instead of /install/sles10.1/x86_64/1 otherwise it will ruin your YAST diskful installs.
Once done you need to use genimage.yum to make this work. Copy the code below into /opt/xcat/share/xcat/netboot/sles/genimage.yum
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | |
Wiki: Basic_Install_DHCP
Wiki: HowTos
Wiki: XCAT_iDataPlex_Cluster_Quick_Start