<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to InstallServer</title><link>https://sourceforge.net/p/xcat/wiki/InstallServer/</link><description>Recent changes to InstallServer</description><atom:link href="https://sourceforge.net/p/xcat/wiki/InstallServer/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 04 Sep 2014 15:34:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xcat/wiki/InstallServer/feed" rel="self" type="application/rss+xml"/><item><title>InstallServer modified by Lissa Valletta</title><link>https://sourceforge.net/p/xcat/wiki/InstallServer/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -2,21 +2,26 @@

 ## Intro

-Installing an Install Server makes your cluster scale. In this example I have 2 install servers. Each install server is an install server for 128 nodes. This for SLES10.1. If you're running another OS, mkinstall probably won't work for you. Use the default in /opt/xcat/share/xcat/netboot/rh. 
-
-Also note, that you'll need genimage.yum. If you use something else, then change the below script. This should be used as a reference and not copied directly. 
+Installing an Install Server makes your cluster scale. In this example I have 2 install servers. Each install server is an install server for 128 nodes. This for SLES10.1. If you're running another OS, mkinstall probably won't work for you. Use the default in /opt/xcat/share/xcat/netboot/rh.
+
+Also note, that you'll need genimage.yum. If you use something else, then change the below script. This should be used as a reference and not copied directly.

 ## Make A diskless Install Server Image

-Here is the code I used to make a diskless install image. To run it just run:  
-./mkinstall &amp;lt;new image name&amp;gt;
-
-This is not tested anywhere but on my cluster. YMMV. 
+Here is the code I used to make a diskless install image. To run it just run:
+
+~~~~
+./mkinstall &amp;lt;new image="" name=""&amp;gt;
+
+~~~~
+
+This is not tested anywhere but on my cluster. YMMV.

 **mkinstall**
-    
+
+~~~~
     #!/bin/bash
-    
+
     NAME=$1
     GENIMAGEDIR=/opt/xcat/share/xcat/netboot/sles
     GENIMAGE=$GENIMAGEDIR/genimage.yum
@@ -26,12 +31,12 @@
     sleep 5
     #MASTERIP=10.4.2.30
     ERROR=0
-    
-    
-    if [ ! -f $GENIMAGEDIR/$NAME.pkglist ]
+
+
+    if [ ! -f $GENIMAGEDIR/$NAME.pkglist ]
     then
      echo "Creating $GENIMAGEDIR/$NAME.pkglist"
-     cat &amp;gt; "$GENIMAGEDIR/$NAME.pkglist" &amp;lt;EOF
+     cat &amp;gt; "$GENIMAGEDIR/$NAME.pkglist" &amp;lt;EOF atftp="" bash="" bind="" @@="" -93,11="" +98,11="" @@="" dhcp-server="" EOF="" fi="" -="" -="" if="" [ !="" -f="" $GENIMAGEDIR="" $NAME.exlist="" ]="" +="" +="" if="" [="" !="" -f="" $GENIMAGEDIR="" $NAME.exlist="" ]="" then="" echo="" "Creating="" $GENIMAGEDIR="" $NAME.exlist"="" -="" cat="" &amp;amp;gt;="" "$GENIMAGEDIR="" $NAME.exlist"="" &amp;amp;lt;EOF2="" +="" cat=""&amp;gt; "$GENIMAGEDIR/$NAME.exlist" &amp;lt;EOF2 .="" usr="" share="" man*="" .="" usr="" share="" locale*="" .="" usr="" share="" i18n*="" @@="" -111,118="" +116,128="" @@="" .="" usr="" lib="" locale*="" .="" boot*="" EOF2="" -="" +="" fi="" -="" -="" +="" +="" $GENIMAGE="" -i="" eth0="" -n="" tg3,bnx2="" -o="" sles10.1="" -p="" $NAME="" chroot="" $IMGROOT="" insserv="" boot.localnet="" chroot="" $IMGROOT="" insserv="" haldaemon="" chroot="" $IMGROOT="" insserv="" dbus="" chroot="" $IMGROOT="" insserv="" network="" -="" +="" #="" change="" syslog="" -="" echo="" "*.*="" @$MASTERIP"="" &amp;amp;gt;="" $IMGROOT="" etc="" syslog.conf="" +="" echo="" "*.*="" @$MASTERIP"=""&amp;gt; $IMGROOT/etc/syslog.conf
     chroot $IMGROOT insserv syslog
-    
-    
+
+
     chroot $IMGROOT insserv portmap
     chroot $IMGROOT insserv sshd
-    
+
     # NTP
-    echo "server $MASTERIP" &amp;gt;&amp;gt; $IMGROOT/etc/ntp.conf
+    echo "server $MASTERIP" &amp;gt;&amp;gt; $IMGROOT/etc/ntp.conf
     cp /etc/localtime $IMGROOT/etc/
     cp /etc/hosts $IMGROOT/etc/
     chroot $IMGROOT insserv ntp
     chroot $IMGROOT insserv apache2
-    
+
     # stop dhcp from starting up until xCAT does it.
     chroot $IMGROOT chkconfig dhcpd off
     chroot $IMGROOT chkconfig dhcrelay off
-    
+
     # copy head nodes sysctl for kernel params
     cp /etc/sysctl.conf $IMGROOT/etc/
-    
+
     # add more nfs threads
     perl -pi -e 's/USE_KERNEL_NFSD_NUMBER="4"/USE_KERNEL_NFSD_NUMBER="64"/g' $IMGROOT/etc/sysconfig/nfs
-    
+
     # dhcp interface assignment
     perl -pi -e 's/DHCPD_INTERFACE=""/DHCPD_INTERFACE="eth0"/g' $IMGROOT/etc/sysconfig/dhcpd
-    
+
     # NFS vodoo
-    echo '/install *(ro,no_root_squash,sync,fsid=13)' &amp;gt;&amp;gt;$IMGROOT/etc/exports
-    
+    echo '/install *(ro,no_root_squash,sync,fsid=13)' &amp;gt;&amp;gt;$IMGROOT/etc/exports
+
     # FSTAB vodoo
     perl -pi -e 's/tmpfs/#tmpfs/g' $IMGROOT/etc/fstab
-    echo "$NAME   /   tmpfs rw 0 1 " &amp;gt;&amp;gt;$IMGROOT/etc/fstab
-    #echo "none    /tmp    tmpfs   defaults,size=10m 0 2" &amp;gt;&amp;gt;$IMGROOT/etc/fstab
-    #echo "none    /var/tmp    tmpfs   defaults,size=10m 0 2" &amp;gt;&amp;gt;$IMGROOT/etc/fstab
-    
+    echo "$NAME   /   tmpfs rw 0 1 " &amp;gt;&amp;gt;$IMGROOT/etc/fstab
+    #echo "none    /tmp    tmpfs   defaults,size=10m 0 2" &amp;gt;&amp;gt;$IMGROOT/etc/fstab
+    #echo "none    /var/tmp    tmpfs   defaults,size=10m 0 2" &amp;gt;&amp;gt;$IMGROOT/etc/fstab
+
     #HTTP fix
     mv $IMGROOT/etc/httpd/conf.d/xcat.conf $IMGROOT/etc/apache2/conf.d/
-    
-    
+
+
     cp /etc/security/limits.conf $IMGROOT/etc/security
     cp /usr/bin/strace $IMGROOT/usr/bin
     echo "Packing Image..."
     packimage -o sles10.1 -p $NAME -a x86_64
     echo "Install Server Image: $NAME has been created.  Please remember to edit"
-    
+
     #echo "the nodetype table:  e.g.: tabedit nodetype"
     #echo "then run: nodeset service netboot"
     #echo "then reboot service nodes:  rpower, or reboot"
     #echo "make sure tabedit site has installloc set to /install"
     #echo "you should also verify post install scripts."

-  
+~~~~

 ## Edit xCAT Tabs

-I'll show you the important tables here. The rest are just normal. 
+I'll show you the important tables here. The rest are just normal.

 ### postscripts
-    
+
+~~~~
+
     #node,postscripts,comments,disable
     "service","servicenode,xcatclient,xcatserver,setupeth,restartxcat",,

-As of xCAT 2.7, the servicenode postscript calls the xcatclient and xcatserver postscripts, so all three are not needed in the postscript table. The table would look like the following: 
-    
+~~~~
+
+As of xCAT 2.7, the servicenode postscript calls the xcatclient and xcatserver postscripts, so all three are not needed in the postscript table. The table would look like the following:
+
+
+~~~~
     #node,postscripts,comments,disable
     "service","servicenode,setupeth,restartxcat",,

-  
-All the scripts here are included with xCAT. I added setupeth because I wanted to change the GbE cards. Then after I did that I needed to restart xCAT so a made a script to do that. 
-
-Here are the scripts: 
-
-**setupeth**  
-Here I have a 10GbE card that I needed to load the driver on. I also needed to change the way they were ordered because I wanted my 10GbE card to be eth0. So here is how I did it. (Notice this is all in SLES10) 
-    
+~~~~
+
+
+All the scripts here are included with xCAT. I added setupeth because I wanted to change the GbE cards. Then after I did that I needed to restart xCAT so a made a script to do that.
+
+Here are the scripts:
+
+**setupeth**
+Here I have a 10GbE card that I needed to load the driver on. I also needed to change the way they were ordered because I wanted my 10GbE card to be eth0. So here is how I did it. (Notice this is all in SLES10)
+
+
+~~~~
     insmod /xcatpost/myri10ge.ko
     ME=`hostname`
     MMM=`grep $ME-bmm /etc/hosts | awk '{print $1}'`
     TENGE=`grep $ME /etc/hosts | head -1 | awk '{print $1}'`
-    
+
     # flip the udev's around
     cp /etc/udev/rules.d/30-net_persistent_names.rules /tmp/net_persistent_names.rules.ORIG
     perl -pi -e 's/eth0/ethX/g' /etc/udev/rules.d/30-net_persistent_names.rules
     perl -pi -e 's/eth2/eth0/g' /etc/udev/rules.d/30-net_persistent_names.rules
     perl -pi -e 's/eth1/eth2/g' /etc/udev/rules.d/30-net_persistent_names.rules
     perl -pi -e 's/ethX/eth1/g' /etc/udev/rules.d/30-net_persistent_names.rules
-    
+
     echo "BOOTPROTO='static'
     IPADDR=$TENGE
     NETMASK=255.255.0.0
     STARTMODE=auto
     MTU=1500
-    " &amp;gt;/etc/sysconfig/network/ifcfg-eth0
-    
+    " &amp;gt;/etc/sysconfig/network/ifcfg-eth0
+
     echo "BOOTPROTO='static'
     IPADDR=$MMM
     NETMASK=255.255.0.0
     STARTMODE=auto
-    " &amp;gt;/etc/sysconfig/network/ifcfg-eth1
+    " &amp;gt;/etc/sysconfig/network/ifcfg-eth1
     service network stop
     rmmod bnx2
     rmmod myri10ge
@@ -232,45 +247,68 @@
     service network start
     #sleep 10

-**restartxcat**  
-does just what it says it does... oh, and syslog too. 
-    
+~~~~
+
+**restartxcat**
+does just what it says it does... oh, and syslog too.
+
+
+~~~~
     service syslog restart
     service xcatd restart

+~~~~
+
 ### noderes
-    
+
+
+~~~~
     "service",,"pxe",,"10.1.2.30",,,,,,,"eth0","eth0","10.1.2.30",,,,
     "hgroup","dnh01","pxe","dnh01","dnh01",,,,,,,"eth0","eth0","dnh01",,,,
     "igroup","dni01","pxe","dni01","dni01",,,,,,,"eth0","eth0","dni01",,,,

-Here my two install servers are dnh01 and dni01. They service the hgroup and the igroup. Each of these groups has about 128 nodes. The nodes are assigned in the nodelist table. 
+~~~~
+
+Here my two install servers are dnh01 and dni01. They service the hgroup and the igroup. Each of these groups has about 128 nodes. The nodes are assigned in the nodelist table.

 ### servicenode

-Looks like this: 
-    
+Looks like this:
+
+
+~~~~
     #node,nameserver,dhcpserver,tftpserver,nfsserver,conserver,monserver,ldapserver,ntpserver,ftpserver,comments,disable
     "dnh01","0","1","1","1","0","1","0","1","1",,
     "dni01","0","1","1","1","0","1","0","1","1",

+~~~~
+
 ### nodetype
-    
+
+
+~~~~
     #node,os,arch,profile,nodetype,comments,disable
     "service","sles10.1","x86_64","s10","osi",,

-Notice that when I ran mkinstall above I ran it like: 
-    
+~~~~
+
+Notice that when I ran mkinstall above I ran it like:
+
+
+~~~~
     mkinstall s10

-So since that's the image I made, I want to boot to it. 
-
-  
+~~~~
+
+So since that's the image I made, I want to boot to it.
+
+

 ## Installing

-The rest is all just done using normal xCAT commands. Run: nodeset &amp;lt;servicenodes&amp;gt; netboot.  
-The biggest problem I had when doing this initially was that the 10GbE card runs at 9000MTU by default and my switch wasn't set to handle that. So when I added the MTU in there it made everything work fine. 
-
-Hopefully this helps someone else. 
+The rest is all just done using normal xCAT commands. Run: nodeset &amp;lt;servicenodes&amp;gt; netboot.
+The biggest problem I had when doing this initially was that the 10GbE card runs at 9000MTU by default and my switch wasn't set to handle that. So when I added the MTU in there it made everything work fine.
+
+Hopefully this helps someone else.
+
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lissa Valletta</dc:creator><pubDate>Thu, 04 Sep 2014 15:34:50 -0000</pubDate><guid>https://sourceforge.net9e5149bc42d82860a58326dd5303719648231f10</guid></item><item><title>InstallServer modified by Lissa Valletta</title><link>https://sourceforge.net/p/xcat/wiki/InstallServer/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -186,6 +186,12 @@
     #node,postscripts,comments,disable
     "service","servicenode,xcatclient,xcatserver,setupeth,restartxcat",,

+As of xCAT 2.7, the servicenode postscript calls the xcatclient and xcatserver postscripts, so all three are not needed in the postscript table. The table would look like the following: 
+    
+    #node,postscripts,comments,disable
+    "service","servicenode,setupeth,restartxcat",,
+
+  
 All the scripts here are included with xCAT. I added setupeth because I wanted to change the GbE cards. Then after I did that I needed to restart xCAT so a made a script to do that. 

 Here are the scripts: 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lissa Valletta</dc:creator><pubDate>Mon, 23 Jun 2014 15:54:49 -0000</pubDate><guid>https://sourceforge.netef44772afa7c270e818038405085a826a91a9d58</guid></item><item><title>InstallServer modified by Bruce</title><link>https://sourceforge.net/p/xcat/wiki/InstallServer/</link><description>&lt;div class="markdown_content"&gt;&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#intro"&gt;Intro&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#make-a-diskless-install-server-image"&gt;Make A diskless Install Server Image&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#edit-xcat-tabs"&gt;Edit xCAT Tabs&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#postscripts"&gt;postscripts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#noderes"&gt;noderes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#servicenode"&gt;servicenode&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#nodetype"&gt;nodetype&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#installing"&gt;Installing&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h2 id="intro"&gt;Intro&lt;/h2&gt;
&lt;p&gt;Installing an Install Server makes your cluster scale. In this example I have 2 install servers. Each install server is an install server for 128 nodes. This for SLES10.1. If you're running another OS, mkinstall probably won't work for you. Use the default in /opt/xcat/share/xcat/netboot/rh. &lt;/p&gt;
&lt;p&gt;Also note, that you'll need genimage.yum. If you use something else, then change the below script. This should be used as a reference and not copied directly. &lt;/p&gt;
&lt;h2 id="make-a-diskless-install-server-image"&gt;Make A diskless Install Server Image&lt;/h2&gt;
&lt;p&gt;Here is the code I used to make a diskless install image. To run it just run:&lt;br /&gt;
./mkinstall &amp;lt;new image name&amp;gt;&lt;/p&gt;
&lt;p&gt;This is not tested anywhere but on my cluster. YMMV. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;mkinstall&lt;/strong&gt;&lt;/p&gt;
&lt;table class="codehilitetable"&gt;&lt;tr&gt;&lt;td class="linenos"&gt;&lt;div class="linenodiv"&gt;&lt;pre&gt;  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
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class="code"&gt;&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;

&lt;span class="nv"&gt;NAME&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$1&lt;/span&gt;
&lt;span class="nv"&gt;GENIMAGEDIR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/opt/xcat/share/xcat/netboot/sles
&lt;span class="nv"&gt;GENIMAGE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$GENIMAGEDIR&lt;/span&gt;/genimage.yum
&lt;span class="nv"&gt;IMGROOT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/install/netboot/sles10.1/x86_64/&lt;span class="nv"&gt;$NAME&lt;/span&gt;/rootimg
&lt;span class="nv"&gt;MASTERIP&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="k"&gt;$(&lt;/span&gt;grep &lt;span class="sb"&gt;`&lt;/span&gt;hostname&lt;span class="sb"&gt;`&lt;/span&gt; /etc/hosts | head -1 | awk &lt;span class="s1"&gt;'{print $1}'&lt;/span&gt;&lt;span class="k"&gt;)&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;master is: $MASTERIP&amp;quot;&lt;/span&gt;
sleep 5
&lt;span class="c"&gt;#MASTERIP=10.4.2.30&lt;/span&gt;
&lt;span class="nv"&gt;ERROR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;0

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt; ! -f &lt;span class="nv"&gt;$GENIMAGEDIR&lt;/span&gt;/&lt;span class="nv"&gt;$NAME&lt;/span&gt;.pkglist &lt;span class="o"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;then&lt;/span&gt;
&lt;span class="k"&gt; &lt;/span&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;Creating $GENIMAGEDIR/$NAME.pkglist&amp;quot;&lt;/span&gt;
 cat &amp;amp;gt; &lt;span class="s2"&gt;&amp;quot;$GENIMAGEDIR/$NAME.pkglist&amp;quot;&lt;/span&gt; &amp;amp;lt;EOF
atftp
bash
&lt;span class="nb"&gt;bind&lt;/span&gt;
&lt;span class="nb"&gt;bind&lt;/span&gt;-utils
bzip2
compat-libstdc++
dbus-1
dbus-1-glib
dhclient
dhcp-relay
dhcp
dhcpcd
expat
gcc
gcc-fortran
hal
iputils
kernel
kernel-smp
ksh
libgfortran
libxml2
make
nfs-utils
ntp
numactl
openssh
procps
psmisc
resmgr
rpm
rsh
stunnel
tar
tcsh
tk
vim
cron
vsftpd
wget
perl-DBD-Pg
apache2
xCATsn
conserver
expect
fping
ipmitool
perl-XML-Parser
perl-xCAT
postgresql
postgresql-server
syslinux
xCAT-client
xCAT-nbkernel-x86_64
xCAT-nbroot-core-x86_64
xCAT-nbroot-oss-x86_64
xCAT-server
xCATsn
dhcp-server
EOF
&lt;span class="k"&gt;fi&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt; ! -f &lt;span class="nv"&gt;$GENIMAGEDIR&lt;/span&gt;/&lt;span class="nv"&gt;$NAME&lt;/span&gt;.exlist &lt;span class="o"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;then&lt;/span&gt;
&lt;span class="k"&gt;  &lt;/span&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;Creating $GENIMAGEDIR/$NAME.exlist&amp;quot;&lt;/span&gt;
  cat &amp;amp;gt; &lt;span class="s2"&gt;&amp;quot;$GENIMAGEDIR/$NAME.exlist&amp;quot;&lt;/span&gt; &amp;amp;lt;EOF2
./usr/share/man*
./usr/share/locale*
./usr/share/i18n*
./var/cache/yum*
./usr/share/doc*
./usr/share/gnome*
./usr/share/zoneinfo*
./usr/share/cracklib*
./usr/share/info*
./usr/share/omf*
./usr/lib/locale*
./boot*
EOF2

&lt;span class="k"&gt;fi&lt;/span&gt;

&lt;span class="nv"&gt;$GENIMAGE&lt;/span&gt; -i eth0 -n tg3,bnx2 -o sles10.1 -p &lt;span class="nv"&gt;$NAME&lt;/span&gt;
chroot &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt; insserv boot.localnet
chroot &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt; insserv haldaemon
chroot &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt; insserv dbus
chroot &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt; insserv network

&lt;span class="c"&gt;# change syslog&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;*.* @$MASTERIP&amp;quot;&lt;/span&gt; &amp;amp;gt; &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/etc/syslog.conf
chroot &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt; insserv syslog

chroot &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt; insserv portmap
chroot &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt; insserv sshd

&lt;span class="c"&gt;# NTP&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;server $MASTERIP&amp;quot;&lt;/span&gt; &amp;amp;gt;&amp;amp;gt; &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/etc/ntp.conf
cp /etc/localtime &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/etc/
cp /etc/hosts &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/etc/
chroot &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt; insserv ntp
chroot &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt; insserv apache2

&lt;span class="c"&gt;# stop dhcp from starting up until xCAT does it.&lt;/span&gt;
chroot &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt; chkconfig dhcpd off
chroot &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt; chkconfig dhcrelay off

&lt;span class="c"&gt;# copy head nodes sysctl for kernel params&lt;/span&gt;
cp /etc/sysctl.conf &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/etc/

&lt;span class="c"&gt;# add more nfs threads&lt;/span&gt;
perl -pi -e &lt;span class="s1"&gt;'s/USE_KERNEL_NFSD_NUMBER=&amp;quot;4&amp;quot;/USE_KERNEL_NFSD_NUMBER=&amp;quot;64&amp;quot;/g'&lt;/span&gt; &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/etc/sysconfig/nfs

&lt;span class="c"&gt;# dhcp interface assignment&lt;/span&gt;
perl -pi -e &lt;span class="s1"&gt;'s/DHCPD_INTERFACE=&amp;quot;&amp;quot;/DHCPD_INTERFACE=&amp;quot;eth0&amp;quot;/g'&lt;/span&gt; &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/etc/sysconfig/dhcpd

&lt;span class="c"&gt;# NFS vodoo&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s1"&gt;'/install *(ro,no_root_squash,sync,fsid=13)'&lt;/span&gt; &amp;amp;gt;&amp;amp;gt;&lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/etc/exports

&lt;span class="c"&gt;# FSTAB vodoo&lt;/span&gt;
perl -pi -e &lt;span class="s1"&gt;'s/tmpfs/#tmpfs/g'&lt;/span&gt; &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/etc/fstab
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;$NAME   /   tmpfs rw 0 1 &amp;quot;&lt;/span&gt; &amp;amp;gt;&amp;amp;gt;&lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/etc/fstab
&lt;span class="c"&gt;#echo &amp;quot;none    /tmp    tmpfs   defaults,size=10m 0 2&amp;quot; &amp;amp;gt;&amp;amp;gt;$IMGROOT/etc/fstab&lt;/span&gt;
&lt;span class="c"&gt;#echo &amp;quot;none    /var/tmp    tmpfs   defaults,size=10m 0 2&amp;quot; &amp;amp;gt;&amp;amp;gt;$IMGROOT/etc/fstab&lt;/span&gt;

&lt;span class="c"&gt;#HTTP fix&lt;/span&gt;
mv &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/etc/httpd/conf.d/xcat.conf &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/etc/apache2/conf.d/

cp /etc/security/limits.conf &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/etc/security
cp /usr/bin/strace &lt;span class="nv"&gt;$IMGROOT&lt;/span&gt;/usr/bin
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;Packing Image...&amp;quot;&lt;/span&gt;
packimage -o sles10.1 -p &lt;span class="nv"&gt;$NAME&lt;/span&gt; -a x86_64
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;Install Server Image: $NAME has been created.  Please remember to edit&amp;quot;&lt;/span&gt;

&lt;span class="c"&gt;#echo &amp;quot;the nodetype table:  e.g.: tabedit nodetype&amp;quot;&lt;/span&gt;
&lt;span class="c"&gt;#echo &amp;quot;then run: nodeset service netboot&amp;quot;&lt;/span&gt;
&lt;span class="c"&gt;#echo &amp;quot;then reboot service nodes:  rpower, or reboot&amp;quot;&lt;/span&gt;
&lt;span class="c"&gt;#echo &amp;quot;make sure tabedit site has installloc set to /install&amp;quot;&lt;/span&gt;
&lt;span class="c"&gt;#echo &amp;quot;you should also verify post install scripts.&amp;quot;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;h2 id="edit-xcat-tabs"&gt;Edit xCAT Tabs&lt;/h2&gt;
&lt;p&gt;I'll show you the important tables here. The rest are just normal. &lt;/p&gt;
&lt;h3 id="postscripts"&gt;postscripts&lt;/h3&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="cp"&gt;#node,postscripts,comments,disable&lt;/span&gt;
&lt;span class="s"&gt;&amp;quot;service&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;servicenode,xcatclient,xcatserver,setupeth,restartxcat&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;All the scripts here are included with xCAT. I added setupeth because I wanted to change the GbE cards. Then after I did that I needed to restart xCAT so a made a script to do that. &lt;/p&gt;
&lt;p&gt;Here are the scripts: &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;setupeth&lt;/strong&gt;&lt;br /&gt;
Here I have a 10GbE card that I needed to load the driver on. I also needed to change the way they were ordered because I wanted my 10GbE card to be eth0. So here is how I did it. (Notice this is all in SLES10) &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;insmod&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;xcatpost&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;myri10ge&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ko&lt;/span&gt;
&lt;span class="n"&gt;ME&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt;&lt;span class="n"&gt;hostname&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt;
&lt;span class="n"&gt;MMM&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt;&lt;span class="n"&gt;grep&lt;/span&gt; &lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;ME&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;bmm&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;hosts&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;awk&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;print&lt;/span&gt; &lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="err"&gt;'`&lt;/span&gt;
&lt;span class="n"&gt;TENGE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;`&lt;/span&gt;&lt;span class="n"&gt;grep&lt;/span&gt; &lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;ME&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;hosts&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;head&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;awk&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;print&lt;/span&gt; &lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="err"&gt;'`&lt;/span&gt;

&lt;span class="cp"&gt;# flip the udev's around&lt;/span&gt;
&lt;span class="n"&gt;cp&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;udev&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;net_persistent_names&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;tmp&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;net_persistent_names&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ORIG&lt;/span&gt;
&lt;span class="n"&gt;perl&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;pi&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;eth0&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;ethX&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;udev&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;net_persistent_names&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;
&lt;span class="n"&gt;perl&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;pi&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;eth2&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;eth0&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;udev&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;net_persistent_names&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;
&lt;span class="n"&gt;perl&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;pi&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;eth1&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;eth2&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;udev&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;net_persistent_names&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;
&lt;span class="n"&gt;perl&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;pi&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;ethX&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;eth1&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;udev&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;net_persistent_names&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;

&lt;span class="n"&gt;echo&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;BOOTPROTO='static'&lt;/span&gt;
&lt;span class="n"&gt;IPADDR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;TENGE&lt;/span&gt;
&lt;span class="n"&gt;NETMASK&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;255.255.0.0&lt;/span&gt;
&lt;span class="n"&gt;STARTMODE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="k"&gt;auto&lt;/span&gt;
&lt;span class="n"&gt;MTU&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1500&lt;/span&gt;
&lt;span class="s"&gt;&amp;quot; &amp;amp;gt;/etc/sysconfig/network/ifcfg-eth0&lt;/span&gt;

&lt;span class="n"&gt;echo&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;BOOTPROTO='static'&lt;/span&gt;
&lt;span class="n"&gt;IPADDR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;MMM&lt;/span&gt;
&lt;span class="n"&gt;NETMASK&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;255.255.0.0&lt;/span&gt;
&lt;span class="n"&gt;STARTMODE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="k"&gt;auto&lt;/span&gt;
&lt;span class="s"&gt;&amp;quot; &amp;amp;gt;/etc/sysconfig/network/ifcfg-eth1&lt;/span&gt;
&lt;span class="n"&gt;service&lt;/span&gt; &lt;span class="n"&gt;network&lt;/span&gt; &lt;span class="n"&gt;stop&lt;/span&gt;
&lt;span class="n"&gt;rmmod&lt;/span&gt; &lt;span class="n"&gt;bnx2&lt;/span&gt;
&lt;span class="n"&gt;rmmod&lt;/span&gt; &lt;span class="n"&gt;myri10ge&lt;/span&gt;
&lt;span class="n"&gt;modprobe&lt;/span&gt; &lt;span class="n"&gt;bnx2&lt;/span&gt;
&lt;span class="n"&gt;insmod&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;xcatpost&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;myri10ge&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ko&lt;/span&gt;
&lt;span class="n"&gt;sleep&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
&lt;span class="n"&gt;service&lt;/span&gt; &lt;span class="n"&gt;network&lt;/span&gt; &lt;span class="n"&gt;start&lt;/span&gt;
&lt;span class="cp"&gt;#sleep 10&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;restartxcat&lt;/strong&gt;&lt;br /&gt;
does just what it says it does... oh, and syslog too. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;service&lt;/span&gt; &lt;span class="n"&gt;syslog&lt;/span&gt; &lt;span class="n"&gt;restart&lt;/span&gt;
&lt;span class="n"&gt;service&lt;/span&gt; &lt;span class="n"&gt;xcatd&lt;/span&gt; &lt;span class="n"&gt;restart&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id="noderes"&gt;noderes&lt;/h3&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="s"&gt;&amp;quot;service&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;pxe&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;10.1.2.30&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,,,,,,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;eth0&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;eth0&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;10.1.2.30&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,,,&lt;/span&gt;
&lt;span class="s"&gt;&amp;quot;hgroup&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;dnh01&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;pxe&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;dnh01&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;dnh01&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,,,,,,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;eth0&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;eth0&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;dnh01&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,,,&lt;/span&gt;
&lt;span class="s"&gt;&amp;quot;igroup&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;dni01&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;pxe&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;dni01&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;dni01&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,,,,,,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;eth0&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;eth0&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;dni01&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,,,&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Here my two install servers are dnh01 and dni01. They service the hgroup and the igroup. Each of these groups has about 128 nodes. The nodes are assigned in the nodelist table. &lt;/p&gt;
&lt;h3 id="servicenode"&gt;servicenode&lt;/h3&gt;
&lt;p&gt;Looks like this: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="cp"&gt;#node,nameserver,dhcpserver,tftpserver,nfsserver,conserver,monserver,ldapserver,ntpserver,ftpserver,comments,disable&lt;/span&gt;
&lt;span class="s"&gt;&amp;quot;dnh01&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;0&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;0&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;0&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,&lt;/span&gt;
&lt;span class="s"&gt;&amp;quot;dni01&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;0&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;0&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;0&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id="nodetype"&gt;nodetype&lt;/h3&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="cp"&gt;#node,os,arch,profile,nodetype,comments,disable&lt;/span&gt;
&lt;span class="s"&gt;&amp;quot;service&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;sles10.1&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;x86_64&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;s10&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;osi&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Notice that when I ran mkinstall above I ran it like: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;mkinstall&lt;/span&gt; &lt;span class="n"&gt;s10&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;So since that's the image I made, I want to boot to it. &lt;/p&gt;
&lt;h2 id="installing"&gt;Installing&lt;/h2&gt;
&lt;p&gt;The rest is all just done using normal xCAT commands. Run: nodeset &amp;lt;servicenodes&amp;gt; netboot.&lt;br /&gt;
The biggest problem I had when doing this initially was that the 10GbE card runs at 9000MTU by default and my switch wasn't set to handle that. So when I added the MTU in there it made everything work fine. &lt;/p&gt;
&lt;p&gt;Hopefully this helps someone else. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruce</dc:creator><pubDate>Mon, 23 Jun 2014 15:54:48 -0000</pubDate><guid>https://sourceforge.netfe8fb2089991c00716b0820ebef8815e54ebf26b</guid></item></channel></rss>