<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to BootTarget</title><link>https://sourceforge.net/p/xcat/wiki/BootTarget/</link><description>Recent changes to BootTarget</description><atom:link href="https://sourceforge.net/p/xcat/wiki/BootTarget/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 13 Aug 2014 12:48:20 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xcat/wiki/BootTarget/feed" rel="self" type="application/rss+xml"/><item><title>BootTarget modified by Lissa Valletta</title><link>https://sourceforge.net/p/xcat/wiki/BootTarget/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,4 +1,4 @@
-{{:Howto Warning}} 
+[[include ref=Howto_Warning]]

 ## Boot Targets and Customized Installation Methods

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lissa Valletta</dc:creator><pubDate>Wed, 13 Aug 2014 12:48:20 -0000</pubDate><guid>https://sourceforge.net48022eac1455cf1b8e7b8ce9354477fafe8eb4d9</guid></item><item><title>BootTarget modified by Bruce</title><link>https://sourceforge.net/p/xcat/wiki/BootTarget/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,4 +1,6 @@
-# Boot Targets and Customized Installation Methods
+{{:Howto Warning}} 
+
+## Boot Targets and Customized Installation Methods

 Even though xCAT has almost every booting/netbooting/installing method under the sun ready for you to roll, some people just can't have enough. And need to do it "their own way". We fully understand this need and embrace it. Therefore, this howto is on how to set up customized methods of installations. For example, you may already have a nfsroot solution of your own and have the kernel &amp;amp; the ramdisk ready to roll. You can easily integrate this into xCAT with the boottarget table. 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruce</dc:creator><pubDate>Mon, 23 Jun 2014 16:24:57 -0000</pubDate><guid>https://sourceforge.netfb73379053ea23c2bb600723296010bca1788f2c</guid></item><item><title>BootTarget modified by Lissa Valletta</title><link>https://sourceforge.net/p/xcat/wiki/BootTarget/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -41,4 +41,4 @@

     #regnotif bootttmon.pm -o u

-Then whenever you use the **chtab** command to change a node (or nodegroup) profile in the nodetype table or any of the fields in the boottarget table the pxelinux.cfg files will be updated as appropriate. **Note well:** Use of the **tabedit** command will not cause this notification handler to be invoked. A log file /var/log/bootttmon is generated with timestamped entries showing changed data and actions taken as a result of the changes. 
+Then whenever you use the **chdef** command to change a node (or nodegroup) profile in the nodetype table or any of the fields in the boottarget table the pxelinux.cfg files will be updated as appropriate. **Note well:** Use of the **tabedit** command will not cause this notification handler to be invoked. A log file /var/log/bootttmon is generated with timestamped entries showing changed data and actions taken as a result of the changes. 
&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 16:24:55 -0000</pubDate><guid>https://sourceforge.netb33fa64636b43f313e325d4f75985cb56b60c853</guid></item><item><title>BootTarget modified by Bruce</title><link>https://sourceforge.net/p/xcat/wiki/BootTarget/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="boot-targets-and-customized-installation-methods"&gt;Boot Targets and Customized Installation Methods&lt;/h1&gt;
&lt;p&gt;Even though xCAT has almost every booting/netbooting/installing method under the sun ready for you to roll, some people just can't have enough. And need to do it "their own way". We fully understand this need and embrace it. Therefore, this howto is on how to set up customized methods of installations. For example, you may already have a nfsroot solution of your own and have the kernel &amp;amp; the ramdisk ready to roll. You can easily integrate this into xCAT with the boottarget table. &lt;/p&gt;
&lt;p&gt;xCAT provides a table called boottarget (available in later releases of 2.1 and above). This table looks as follows: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;root&lt;/span&gt;&lt;span class="err"&gt;@&lt;/span&gt;&lt;span class="n"&gt;wopr&lt;/span&gt; &lt;span class="n"&gt;xCAT&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="n"&gt;tabdump&lt;/span&gt; &lt;span class="n"&gt;boottarget&lt;/span&gt;
&lt;span class="cp"&gt;#bprofile,kernel,initrd,kcmdline,comments,disable&lt;/span&gt;
&lt;span class="s"&gt;&amp;quot;foobooter&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;kernel-2.8.myownkernel&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;secretinitd.gz&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,,&lt;/span&gt;
&lt;span class="s"&gt;&amp;quot;test2&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;kernel-2.8&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;arg1 vale to ipsom lorum=wer&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;There are 4 important fields:&lt;br /&gt;
bprofile: This is the name that you give your set of kernel and parameters.&lt;br /&gt;
kernel: This goes in the kernel field&lt;br /&gt;
initrd: If you put this in you'll get the initrd=&amp;lt;whateveryou put in the field&amp;gt;&lt;br /&gt;
kcmdline: Additional items to set to the command line. &lt;/p&gt;
&lt;p&gt;In order to assign nodes to this boottarget, you need to modify the nodetype table: &lt;/p&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;x3455001&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;boottarget&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;x86&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;test2&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,,,&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Here you can see that my node x3455001 has set the os field to be boottarget. We have also set the profile to be test2. The nodetype.profile should match the boottarget.bprofile field. &lt;/p&gt;
&lt;p&gt;You can then run: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;root&lt;/span&gt;&lt;span class="err"&gt;@&lt;/span&gt;&lt;span class="n"&gt;wopr&lt;/span&gt; &lt;span class="n"&gt;xCAT&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="n"&gt;nodeset&lt;/span&gt; &lt;span class="n"&gt;x3455001&lt;/span&gt; &lt;span class="n"&gt;netboot&lt;/span&gt;
&lt;span class="nl"&gt;x3455001:&lt;/span&gt; &lt;span class="n"&gt;netboot&lt;/span&gt; &lt;span class="n"&gt;boottarget&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;x86&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;test2&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Now, you'll see your /tftpboot/pxelinux.cfg/&amp;lt;nodehex&amp;gt; file shows: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="cp"&gt;#netboot boottarget-x86-test2&lt;/span&gt;
&lt;span class="n"&gt;DEFAULT&lt;/span&gt; &lt;span class="n"&gt;xCAT&lt;/span&gt;
&lt;span class="n"&gt;LABEL&lt;/span&gt; &lt;span class="n"&gt;xCAT&lt;/span&gt;
 &lt;span class="n"&gt;KERNEL&lt;/span&gt; &lt;span class="n"&gt;kernel2&lt;/span&gt;&lt;span class="mf"&gt;.8&lt;/span&gt;
 &lt;span class="n"&gt;APPEND&lt;/span&gt; &lt;span class="n"&gt;arg1&lt;/span&gt; &lt;span class="n"&gt;vale&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;ipsom&lt;/span&gt; &lt;span class="n"&gt;lorum&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;wer&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;now reboot your node and you're on your way! &lt;/p&gt;
&lt;p&gt;Once you've done this - the next step that you might want to consider is setting up a notification trigger so that when you change a nodes' profile in the nodetype table or a parameter in an applicable boot target table entry that the appropriate pxelinux.cfg files are updated. To do this you simply: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="c"&gt;#regnotif bootttmon.pm -o u&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Then whenever you use the &lt;strong&gt;chtab&lt;/strong&gt; command to change a node (or nodegroup) profile in the nodetype table or any of the fields in the boottarget table the pxelinux.cfg files will be updated as appropriate. &lt;strong&gt;Note well:&lt;/strong&gt; Use of the &lt;strong&gt;tabedit&lt;/strong&gt; command will not cause this notification handler to be invoked. A log file /var/log/bootttmon is generated with timestamped entries showing changed data and actions taken as a result of the changes. &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 16:24:54 -0000</pubDate><guid>https://sourceforge.neta91381af43db7e5b513c7488ee7e979882fb0624</guid></item></channel></rss>