<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://blog.lerctr.org/index.php?/feeds/atom10.xml" rel="self" title="Larry Rosenman's personal blog" type="application/atom+xml" />
    <link href="http://blog.lerctr.org/"                        rel="alternate"    title="Larry Rosenman's personal blog" type="text/html" />
    <link href="http://blog.lerctr.org/rss.php?version=2.0"     rel="alternate"    title="Larry Rosenman's personal blog" type="application/rss+xml" />
    <title type="html">Larry Rosenman's personal blog</title>
    <subtitle type="html">My little place on the web...</subtitle>
    <icon>http://blog.lerctr.org/templates/bulletproof/img/s9y_banner_small.png</icon>
    <id>http://blog.lerctr.org/</id>
    <updated>2008-02-11T06:19:30Z</updated>
    <generator uri="http://www.s9y.org/" version="1.4.1">Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://blog.lerctr.org/index.php?/archives/2-Solaris-JumpStart-vs-the-Microsoft-DHCP-Server.html" rel="alternate" title="Solaris JumpStart vs the Microsoft DHCP Server" />
        <author>
            <name>Larry Rosenman</name>
                    </author>
    
        <published>2007-12-24T22:32:19Z</published>
        <updated>2008-02-11T06:19:30Z</updated>
        <wfw:comment>http://blog.lerctr.org/wfwcomment.php?cid=2</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.lerctr.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=2</wfw:commentRss>
    
    
        <id>http://blog.lerctr.org/index.php?/archives/2-guid.html</id>
        <title type="html">Solaris JumpStart vs the Microsoft DHCP Server</title>
        <content type="xhtml" xml:base="http://blog.lerctr.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>Solaris JumpStart vs the Microsoft DHCP Server</p><br />
<br />
<p>I had a need to JumpStart a couple of Sun servers to a new level of Solaris 10. The network infrastructure at work is Microsoft Windows, so the DHCP servers are all Microsoft.</p><br />
<br />
<p>I did my usual of trying to use Google, and the other search engines for what I needed to have put into the Microsoft DHCP server to make the JumpStart magic happen, and came up with a bunch of questions, but no answers. I also posted a quick note to the SunManagers mailing-list, and got some encouragement back in private email, and some ideas, but nothing definitive.</p><br />
<br />
<p>I finally got it to work, and this post is to document it for others.</p><br />
<br />
<p>I created a Solaris 10 X86 VM to use as the JumpStart boot and install server, and loaded the Solaris 10 SPARC DVD using the normal jumpstart scripts in the Tools directory.</p><br />
<br />
<p>I then set out to find the options I needed to set in order to get the DHCP options sent from the DHCP server to the client.</p><br />
<br />
<p>you must define a Vendor Class that matches the solaris &quot;Client Class Identifier&quot; For a T1000:<br /><br />
SUNW.Sun-Fire-T1000</p><br />
<br />
<p>And then under that Class Identifier you must define the options in the table at the end of this article.</p><br />
<br />
<p>Once I set this up, I added the following items in the DHCP server reservations. I used a static IP for this.</p><br />
<br />
<p>Reservation Name: the machine name<br /><br />
IP Address: a static IP<br /><br />
MAC Address: the actual MAC address of the BGE0 interface of the T1000</p><br />
<br />
<p>Then on the options pane, under standard options:<br /><br />
Router (003): the gateway address for our network<br /><br />
Host name (012): the hostname for the new server<br /><br />
DNS Doman Name (015): our domain name<br /><br />
Boot Server Host Name (066): the IP of the TFTP / Boot server (I chose IP, but suspect DNS would work as we have the DNS servers set as being sent on all requests by default)<br /><br />
Bootfile name (067) the file name set by the ./add_install_client -d script (01+the mac address, in all upper case)</p><br />
<br />
<p>Under the SUNW.Sun-Fire-T1000 options pane:<br /><br />
root-server-ip-address (002): the IP of the JumpStart VM<br /><br />
root-server-hostname (003): the hostname of the JumpStart VM<br /><br />
root-path-name (004): the path to the Tools/Boot directory (this info is given by the add_install_client -d script)<br /><br />
install-server-ip-address (010): ip of the JumpStart VM<br /><br />
install-server-hostname (011): hostname of the JumpStart VM<br /><br />
install-path (012): the path to the OS to install, again this is given by the add_install_client -d script.</p><br />
<br />
<p>Once this is all done, do a boot net:dhcp - install from the OK prompt and off you go.</p><br />
<br />
<p>The major thing that drove me nuts is that the options class name MUST match exactly the Client Class Identifier that the machine is sending. I haven't found a way to wild card this. (Comments/tips readily accepted).</p><br />
<br />
<p>Thanks for listening.</p><br />
<br />
<p>PS: this is a repost of this article after my server lost a filesystem. <br /><br />
<br />
<br />
<table><br />
    <tr><br />
        <td><b>Name</b></td><br />
        <td><b>Type</b></td><br />
        <td><b>Code</b></td><br />
    </tr><br />
    <tr><br />
        <td>root-mount-options</td><br />
        <td>string</td><br />
        <td>1</td><br />
    </tr><br />
    <tr><br />
        <td>root-server-ip-address</td><br />
        <td>ip-address</td><br />
        <td>2</td><br />
    </tr><br />
    <tr><br />
        <td>root-server-hostname</td><br />
        <td>string</td><br />
        <td>3</td><br />
    </tr><br />
    <tr><br />
        <td>root-path-name</td><br />
        <td>text</td><br />
        <td>4</td><br />
    </tr><br />
    <tr><br />
        <td>swap-server-ip-address</td><br />
        <td>ip-address</td><br />
        <td>5</td><br />
    </tr><br />
    <tr><br />
        <td>swap-file-path</td><br />
        <td>string</td><br />
        <td>6</td><br />
    </tr><br />
    <tr><br />
        <td>boot-file-path</td><br />
        <td>string</td><br />
        <td>7</td><br />
    </tr><br />
    <tr><br />
        <td>posix-timezone-string</td><br />
        <td>string</td><br />
        <td>8</td><br />
    </tr><br />
    <tr><br />
        <td>boot-read-size</td><br />
        <td>Word</td><br />
        <td>9</td><br />
    </tr><br />
    <tr><br />
        <td>install-server-ip-address</td><br />
        <td>ip-address</td><br />
        <td>10</td><br />
    </tr><br />
    <tr><br />
        <td>install-server-hostname</td><br />
        <td>string</td><br />
        <td>11</td><br />
    </tr><br />
    <tr><br />
        <td>install-path</td><br />
        <td>string</td><br />
        <td>12</td><br />
    </tr><br />
    <tr><br />
        <td>sysid-config-file-server</td><br />
        <td>string</td><br />
        <td>13</td><br />
    </tr><br />
    <tr><br />
        <td>JumpStart-server</td><br />
        <td>string</td><br />
        <td>14</td><br />
    </tr><br />
    <tr><br />
        <td>terminal-name</td><br />
        <td>string</td><br />
        <td>15</td><br />
    </tr><br />
</table><br />
<br />
</p><br />
<br />
 
            </div>
        </content>
        
    </entry>

</feed>