[SUMMARY] Solaris 10 DHCP jumpstart issue

From: Ryan Anderson <Ryan.Anderson_at_baesystems.com>
Date: Thu Mar 23 2006 - 16:50:54 EST
I have a Solaris 8 jumpstart server successfully providing DHCP jumpstart for
Solaris 10 (sparc) clients now using the open source ISC DHCP server (not
Sun's). The problem wasn't my dhcpd.conf file. My problem was fixed with two
things:

1) I used the Solaris 10 CDs (not DVD) to do ./setup_install_server &
./add_to_install_server scripts. Look, I could be off here, but I swear it
made a difference.... Doing this directly from the Solaris 10 ISO files was
made possible with this sweet solution:
http://www.sun.com/bigadmin/content/submitted/cd_free_install.html

2) After doing the Solaris 10 CD load, I was still being asked for the default
router, but the rest of the variables in my sysidcfg file were being read in
(root password, NIS domain, etc). This was very good progress. I fixed it by
adding the default_router=NONE to the network_interface line in the sysidcfg.
Here's what my sysidcfg looks like now:

system_locale=C
security_policy=NONE
network_interface=primary {protocol_ipv6=no default_route=NONE
netmask=255.255.255.0}
name_service=NIS {domain_name=foo name_server=foo01(10.1.2.3)}
terminal=vt100
timezone=US/Central
timeserver=localhost
root_password=k3auc7Qf9m6A

Now its chugs away. An unrelated annoyance I fixed was the NFS4 question
Solaris 10 asks on the first bootup. Add these lines to a finish script, and
the question will go away (and assumes you accept the NFS4 default):

B=/a
# Fix the damn NFS4 question Solaris 10 insists on upon its first boot
touch ${B}/etc/.NFS4inst_state.domain
chmod 644 ${B}/etc/.NFS4inst_state.domain
chown root:root ${B}/etc/.NFS4inst_state.domain

Also, for the sake of posterity, here's my dhcpd.conf which shows one way to
provide support for Solaris 8 & 10 DHCP jumpstart clients from one jumpstart
server. I regenerate it with a script every time I add a client, or change it
from Solaris 8 to 10:

# Option definitions common to all supported networks...
ddns-update-style ad-hoc;
option domain-name "mpls.foobar.com";
option domain-name-servers 10.11.3.3, 10.11.3.4;
option subnet-mask 255.255.255.0;

default-lease-time 600;
max-lease-time 7200;

# Jumpstart Support
option space SUNW;
option SUNW.root-mount-options code 1 = text;
option SUNW.root-server-ip-address code 2 = ip-address;
option SUNW.root-server-hostname code 3 = text;
option SUNW.root-path-name code 4 = text;
option SUNW.swap-server-ip-address code 5 = ip-address;
option SUNW.swap-file-path code 6 = text;
option SUNW.boot-file-path code 7 = text;
option SUNW.posix-timezone-string code 8 = text;
option SUNW.boot-read-size code 9 = unsigned integer 16;
option SUNW.install-server-ip-address code 10 = ip-address;
option SUNW.install-server-hostname code 11 = text;
option SUNW.install-path code 12 = text;
option SUNW.sysid-config-file-server code 13 = text;
option SUNW.JumpStart-server code 14 = text;
option SUNW.terminal-name code 15 = text;

# Declare all UNIX subnets with only basic information
subnet 10.11.4.0 netmask 255.255.255.0 {
        option broadcast-address 10.1.4.255;
        option routers 10.11.4.1;
}

subnet 10.11.60.0 netmask 255.255.255.0 {
        option broadcast-address 10.11.60.255;
        option routers 10.11.60.1;
}

subnet 10.11.61.0 netmask 255.255.255.0 {
        option broadcast-address 10.11.61.255;
        option routers 10.1.61.1;
}

# Solaris 8 hosts go here
group {
        filename "inetboot.SUN4U.Solaris_8-1";
        next-server 10.11.60.21;
        use-host-decl-names on;
        vendor-option-space SUNW;
        option SUNW.JumpStart-server "jumper:/export/JS/sol8/configs";
        option SUNW.install-server-hostname "jumper";
        option SUNW.install-server-ip-address 10.11.60.21;
        option SUNW.install-path "/export/JS/sol8/current";
        option SUNW.root-server-hostname "jumper";
        option SUNW.root-server-ip-address 10.11.60.21;
        option SUNW.root-path-name
"/export/JS/sol8/current/Solaris_8/Tools/Boot";

 host sunbkp02 { hardware ethernet 00:03:ba:e1:77:df; fixed-address
10.11.60.87; option SUNW.sysid-config-file-server =
"jumper:/export/JS/sol8/configs/workstation/asd"; }
 host sun155 { hardware ethernet 00:03:ba:09:8c:b5; fixed-address 10.11.60.48;
option SUNW.sysid-config-file-server =
"jumper:/export/JS/sol8/configs/workstation/foo"; }
}

# Solaris 10 hosts go here
group {
        filename "inetboot.SUN4U.Solaris_10-1";
        next-server 10.11.60.21;
        use-host-decl-names on;
        vendor-option-space SUNW;
        option SUNW.JumpStart-server "jumper:/export/JS/sol10/configs";
        option SUNW.install-server-hostname "jumper";
        option SUNW.install-server-ip-address 10.11.60.21;
        option SUNW.install-path "/export/JS/sol10/01_06";
        option SUNW.root-server-hostname "jumper";
        option SUNW.root-server-ip-address 10.11.60.21;
        option SUNW.root-path-name
"/export/JS/sol10/01_06/Solaris_10/Tools/Boot";
 host sun217 { hardware ethernet 00:03:ba:09:13:ec; fixed-address 10.11.60.20;
option SUNW.sysid-config-file-server =
"jumper:/export/JS/sol10/configs/workstation/asd"; }
 host web012b { hardware ethernet 00:03:ba:dd:d5:df; fixed-address
10.11.60.22; option SUNW.sysid-config-file-server =
"jumper:/export/JS/sol10/configs/server/asd"; }
}




RCA
--
UNIX Administrator  -  BAE Systems Land & Armaments  -  ASD
desk 763-572-6684  pager 952-235-9936  mobile 612-419-9362

>>> "Noelle Milton Vega" <nmvega@ComputingArchitects.Com> 2/24/2006 10:17:27
PM >>>

Do a snoop and see what comes up, particularly
which files are referenced by nfs calls.
Also compare the dhcpd.conf attached with yours.
It might help.

Regards,
Noelle

-----Original Message-----
From: sunmanagers-bounces@sunmanagers.org
[mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Ryan Anderson
Sent: Friday, February 24, 2006 12:06 PM
To: sunmanagers@sunmanagers.org
Subject: Solaris 10 DHCP jumpstart issue

I have a Solaris 8 (sparc) Jumpstart server, and I'm trying to jumpstart
Solaris 10 sparc clients from it using the ISC DHCPD server. I do DHCP
jumpstart with Solaris 8 clients successfully from the same server using the
same parameter names but with different values, so I'm miffed why its not
working. I'm using dhcpd version 3.0.3.

After doing 'boot net:dhcp - install' on the client configured for Solaris
10, it successfully boots off the inetboot image on my jumpstart server, but
then it goes into the interactive menu. Its passing on at least the filename
and next-server parameters. No matter how I change around the dhcpd.conf
file, it won't recognize what put in for the directory with the sysidcfg
file (SUNW.sysid-config-file-server in dhcpd.conf), and may not be getting
any of the SUNW parameters.

What I get on the console after doing 'boot net:dhcp - install':
Beginning system identification...
Searching for configuration file(s)...
Using sysid configuration file /sysidcfg Search complete.

Here's the relevant part of my dhcpd.conf file:
subnet 10.31.10.0 netmask 255.255.255.0 {
    option broadcast-address 10.31.10.255;
    option routers 10.31.10.1;
    filename "inetboot.SUN4U.Solaris_10-1";
    next-server 10.31.60.21;
    use-host-decl-names on;
    vendor-option-space SUNW;
    option SUNW.JumpStart-server "jumper:/export/JS/sol10/configs";
    option SUNW.install-server-hostname "jumper";
    option SUNW.install-server-ip-address 10.31.60.21;
    option SUNW.install-path "/export/JS/sol10/01_06";
    option SUNW.root-server-hostname "jumper";
    option SUNW.root-server-ip-address 10.31.60.21;
    option SUNW.root-path-name
"/export/JS/sol10/01_06/Solaris_10/Tools/Boot";
    option SUNW.sysid-config-file-server =
"jumper:/export/JS/sol10/configs/workstation";
host sol10client01 { hardware ethernet 00:03:ba:09:13:ec; fixed-address
10.31.10.20; } }



RCA
--
UNIX Administrator  -  BAE Systems Land & Armaments  -  ASD desk
763-572-6684  pager 952-235-9936  mobile 612-419-9362
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Mar 23 16:51:54 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:57 EST