This discussion is archived
1 Reply Latest reply: Apr 28, 2012 9:42 AM by YTC1 RSS

dhcp server, JET and Jumpstart

ozz Newbie
Currently Being Moderated
Hi all,

I´m trying to install a t4-2 server using a Jumpstart server with JET but I´m stuck with a "panic - boot" problem.
When I tried to boot it, I got this:

*********************************
ok boot net:dhcp -v - install

SPARC T4-2, No Keyboard
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.33.1, 65024 MB memory available, Serial #97942082.
Ethernet address 0:21:28:d6:7a:42, Host ID: 85d67a42.

Boot device: /pci@400/pci@1/pci@0/pci@4/network@0:dhcp File and args: -v - install
100 Mbps full duplex Link up
100 Mbps full duplex Link up
Using BOOTP/DHCP...
BOUND: IP address is: 192.168.1.73
Found 192.168.1.1 @ f8:1e:df:f8:85:c5
BOUND: Hostname is tatoTest
BOOTP/DHCP configuration failed!
panic - boot: Could not mount filesystem.
Program terminated
ok
***********************************************
I guess my problem it is with the dhcp server configuration but I don´t know what am I missing?.
My dhcp server macros are:

01002128D67A42 Macro :SinstNM="192.168.1.71":SinstIP4=192.168.1.71:SinstPTH="/var/js/4":SrootNM="192.168.1.71
":SrootIP4=192.168.1.71:SrootPTH="/var/js/4/Solaris_10/Tools/Boot":SjumpsCF="192.168.1.71:/opt/SUNWjet":SsysidCF="192.168.1.71:/
opt/SUNWjet/Clients/tatoTest":BootSrvA=192.168.1.71:BootFile="lanboot":
192.168.1.0 Macro :Subnet=255.255.255.0:Router=192.168.1.1:Broadcst=192.168.1.255:
test Macro :Include=Locale:Timeserv=192.168.1.71:LeaseTim=86400:LeaseNeg:
Locale Macro :UTCoffst=-21600:

and the output of the share command is:

root@test # share
- /var/js ro,anon=0 "Allstart Share"
- /export/install ro,anon=0 ""
- /export/nfs rw "Para VMs"
- /var/opt/sun/xvm/osp/share/allstart ro "Allstart Share"
- /opt/SUNWjet ro,anon=0 "JET Framework"

The output of the make_client is:

Gathering network information..
Client: 192.168.1.73 (192.168.1.0/255.255.255.0)
Server: 192.168.1.71 (192.168.1.0/255.255.255.0, SunOS)
Solaris: client_prevalidate
Clean up /etc/ethers
Solaris: client_build
Creating sysidcfg
Creating profile
Adding base_config specifics to client configuration
Solaris: Configuring JumpStart boot for tatoTest
Solaris: Configure DHCP build
Starting SMF services for JumpStart
Adding install client
Supporting VENDOR=SUNW.Ultra-5_10 SUNW.Ultra-30 sun4v
Configuring tatoTest macro
Client Macro length is 140. Maximum is 255
Using local dhcp server
DHCP configuration complete
Running '/opt/SUNWjet/bin/check_client tatoTest'
Client: 192.168.1.73 (192.168.1.0/255.255.255.0)
Server: 192.168.1.71 (192.168.1.0/255.255.255.0, SunOS)
Checking product base_config/solaris
WARNING: JS_BUILD_DIR is in a non-standard location. This MAY cause
WARNING: unintended behaviour, and explorer will not be able to collect
WARNING: JET info. Please leave as /var/opt/sun/jet unless you have
WARNING: a VERY good reason not to. Set in jumpstart.conf)
Checking product custom
--------------------------------------------------------------
Check of client tatoTest
-> Passed....

********************************************
Out of curiosity, I changed in my template:

base_config_client_allocation=dhcp

to

base_config_client_allocation=bootp

Run the make_client:


./bin/make_client -f tatoTest
Gathering network information..
Client: 192.168.1.73 (192.168.1.0/255.255.255.0)
Server: 192.168.1.71 (192.168.1.0/255.255.255.0, SunOS)
Solaris: client_prevalidate
Clean up /etc/ethers
Solaris: client_build
Creating sysidcfg
Creating profile
Adding base_config specifics to client configuration
Solaris: Configuring JumpStart boot for tatoTest
Solaris: Configure bootparams build
Starting SMF services for JumpStart
WARNING: could not execute: /var/js/4/Solaris_10/Tools/rm_install_client
cannot clean up preexisting install client "tatoTest"
continuing anyway
updating /etc/bootparams
Force bootparams terminal type
-Restart bootparamd
Running '/opt/SUNWjet/bin/check_client tatoTest'
Client: 192.168.1.73 (192.168.1.0/255.255.255.0)
Server: 192.168.1.71 (192.168.1.0/255.255.255.0, SunOS)
Checking product base_config/solaris
WARNING: JS_BUILD_DIR is in a non-standard location. This MAY cause
WARNING: unintended behaviour, and explorer will not be able to collect
WARNING: JET info. Please leave as /var/opt/sun/jet unless you have
WARNING: a VERY good reason not to. Set in jumpstart.conf)
Checking product custom
--------------------------------------------------------------
Check of client tatoTest
-> Passed....

And boot the client:

ok boot net -v - install
Requesting Internet Address for 0:21:28:d6:7a:42
Timed out waiting for TFTP reply
100 Mbps full duplex Link up
Using RARP/BOOTPARAMS...
Internet address is: 192.168.1.73
hostname: tatoTest
Found 192.168.1.71 @ 0:21:28:d6:e8:c4
root server: 192.168.1.71 (192.168.1.71)
root directory: /var/js/4/Solaris_10/Tools/Boot
module /platform/sun4v/kernel/sparcv9/unix: text at [0x1000000, 0x10c1c1d] data at 0x1800000
.....
...
....
Installation ends without any problem.

What am I missing? Any ideas?
Thanks in advanced

Regards.
  • 1. Re: dhcp server, JET and Jumpstart
    YTC1 Newbie
    Currently Being Moderated
    2 Things

    1) -v ???? I thinkthe verbose switch is -V (uppercase) and the that should be after boot anyway. So, I'd drop the -v as that is doing you no favours anyway

    2) Did you let JET create the DHCP macros ? If not, then let it do it.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points