SunSolve Internal


Infodoc ID   Synopsis   Date
12165   Steps to manually create /tftpboot entries for Diskless clients   12 Apr 1996

Description Top

Although in Solaris 2.5 Solstice Adminsuite provides all that is
needed to add services for diskless clients and to "add" those
clients to the Boot/OS server and NIS+ server, sometimes system
administrators have a very large number of diskless clients to ADD
and prefer to do so using a script rather than using the "Add-Client"
function of Solstice Adminsuite one client at a time. Often asked
is what does such a script need to accomplish in /tftboot dir of the
Boot/OS server.  An example of that is given immediately below:
 
lrwxrwxrwx   1 root     other    26 Feb 28 16:34 81971913 -> \ 
                                 inetboot.sun4m.Solaris_2.5
lrwxrwxrwx   1 root     other    26 Feb 28 16:34 81971913.SUN4M -> \ 
                                 inetboot.sun4m.Solaris_2.5
-rw-r--r--   1 root     other    154248 Feb 28 16:34 \ 
                                 inetboot.axil4m.Solaris_2.5
lrwxrwxrwx   1 root     other    26 Feb 28 16:35 8197190C -> \ 
                                 inetboot.sun4c.Solaris_2.5
lrwxrwxrwx   1 root     other    26 Feb 28 16:35 8197190C.SUN4C -> \ 
                                 inetboot.sun4c.Solaris_2.5
-rw-r--r--   1 root     other    154024 Feb 28 08:25 \ 
                                 inetboot.sun4c.Solaris_2.5
lrwxrwxrwx   1 root     other      1 Feb  9 08:19 tftpboot -> ./

The "81971913" is the hex equivalent of the decimal IP address of this 
diskless client.

For that client, in this Boot/OS Server's /etc/hosts file, you will have:

129.151.25.19 clienta

In order to get the 81971913 from 129.151.25.19, convert the decimal 129 to 
its hex equivalent 81, then 151's hex equivalent is 97, for 25 it's 19, and 
finally 19's hex equivalent is 13.

The links above are symbolic.  That is created by "ln -s".

Also, the entry for the client in this Boot/OS Server's /etc/ethers file would
be comprised of the clients ethernet address and its hostname which needs to 
match (use all lower case in the hostname) the hostname in /etc/hosts:

8:0:20:1d:eb:92 clienta


Note:  Even if System Administrator uses Solstice Adminsuite to do this work,
this article can be used to check AdminSuite's accuracy.


Top

SunWeb Home SunWeb Search SunSolve Home Simple Search

Sun Proprietary/Confidential: Internal Use Only
Feedback to SunSolve Team