I have a simple private network (fake domain 'chgdomain.com') consisting of a 
router (192.168.0.1), an X86 computer (albireo, 192.168.0.12) with opensolaris 
06.2009, serving as installation server for a Sun-Blade-1500 (sirrah, 
192.168.0.10).
The installation service on albireo was created as described in the AI-Guide:

root at albireo.chgdomain.com:~# installadm create-service -n 
0906-111b2-sparc-sirrah -i 192.168.0.10 -c 1 -s 
/export/home/hinrich/osol-0906-ai-sparc.iso 
/export/aiserver/osol-0906-111b-sparc-sirrah
Setting up the target image at /export/aiserver/osol-0906-111b-sparc-sirrah ...
Registering the service 0906-111b2-sparc-sirrah._OSInstall._tcp.local
Creating DHCP Server
Created DHCP configuration file.
Created dhcptab.
Added "Locale" macro to dhcptab.
Added server macro to dhcptab - albireo.
DHCP server started.
Added network macro to dhcptab - 192.168.0.0.
Created network table.
Service discovery fallback mechanism set up
Creating SPARC configuration file
root at albireo.chgdomain.com:~# 

The result of the configuration is:

root at albireo.chgdomain.com:~# pntadm -L
192.168.0.0
root at albireo.chgdomain.com:~# dhtadm -P
Name                    Type            Value
==================================================
dhcp_macro_0906-111b2-sparc-sirrah      Macro           
:Include=albireo.chgdomain.com:BootSrvA=192.168.0.12:BootFile="http://192.168.0.12:5555/cgi-bin/wanboot-cgi":
192.168.0.0             Macro           
:Subnet=255.255.255.0:Router=192.168.0.1:Broadcst=192.168.0.255:
albireo                 Macro           
:Include=Locale:Timeserv=192.168.0.12:LeaseTim=86400:LeaseNeg:
Locale                  Macro           :UTCoffst=3600:
GrubMenu                Symbol          Site,150,ASCII,1,0
root at albireo.chgdomain.com:~# 

First problem now is that the DHCP-Server complains about "Undefined macro: 
albireo.chgdomain.com"

So I modified the macro dhcp_macro_0906-111b2-sparc-sirrah with dhtadm so that 
this macro is not longer referenced:

root at albireo.chgdomain.com:~# dhtadm -P
Name                    Type            Value
==================================================
dhcp_macro_0906-111b2-sparc-sirrah      Macro           
:Include=albireo:BootSrvA=192.168.0.12:BootFile="http://192.168.0.12:5555/cgi-bin/wanboot-cgi":
...

So finally on sirrah I call

boot -net:dhcp

sirrah first tells me that '100 Mbps FDX Link up' and than fails with 'HTTP: 
Bad Response: 500 Internal Server Error (boot_file_missing)'

The HTTP access log file on albireo in fact shows that

"GET /cgi-bin/wanboot-cgi/?CONTENT=bootfile&IP=192.168.0.0&CID=01XXXXXXXXXXXX 
HTTP/1.1" failed with error 500.

Now requesting this URL from a web browser in fact gives an error 500. Seems 
that the request parameter "IP=192.168.0.0" is wrong. Any other IP address here 
works in the browser, e.g. 

/cgi-bin/wanboot-cgi/?CONTENT=bootfile&IP=192.168.0.10&CID=01XXXXXXXXXXXX

starts a real download. Is this a problem of the installadm tool?

Anyway I go on and modify once again the macro 
dhcp_macro_0906-111b2-sparc-sirrah of the installation service:

dhtadm -M -m dhcp_macro_0906-111b2-sparc-sirrah -d 
':Include=albireo:BootSrvA=192.168.0.12:BootFile="http://192.168.0.12:5555/cgi-bin/wanboot-cgi?CONTENT=bootfile&IP=192.168.0.10&CID=010003BAD85F5B#":'

First I inserted the correct IP address and the final '#' makes the HTTP server 
ignore any following request parameters so that the macro contains the complete 
URL.

Now on sirrah the command 'boot net:dhcp' goes on and shows a successful 
download of wanbootfs. But then it fails with the error message:

wanboot crit: Could not mount the wanboot filesystem.
wanboot crit: This may signify a client/server key mismatch
wanboot crit: (encryption_type specified but no client key?)
Type 'go' to resume
ok

And now I don't know what to do anymore. Any suggestions? I would really like 
to have available opensolaris on the sparc machine.

Cheers

Hinrich
-- 
This message posted from opensolaris.org

Reply via email to