Jan Damborsky wrote: > Hi Mike, > > > Mike Gerdts wrote: >> On Mon, Jun 15, 2009 at 7:56 AM, Peter >> Tribble<peter.tribble at gmail.com> wrote: >>> I've been trying to test AI, without much success. >>> >>> I have a sparc client - a SunBlade 1500. I've set up a spare x86 >>> desktop with >>> 2009.06 as the AI server. >>> >>> So I boot the client with net:dhcp, and discover that it's time to get >>> a cup of coffee. >> >> Seems kinda odd (and a show-stopper) that wanboot now requires dhcp. >> I've been meaning to ask about this for a while. > > Looking at the documentation, it seems that in case of wanboot, client > can boot > in following ways: > http://docs.sun.com/app/docs/doc/817-5504/6mkv4nh5m?a=view > > [1] Boot from the network by setting network interface variables in > the Open Boot PROM (OBP). > [2] Boot from the network with the DHCP option > [3] Boot from a local CD-ROM > > In 2009.06 version of AI, only [2] is supported. That said, as far as > I am aware of, > support for [3] is currently being looked at. > (Sundar, please feel free to correct me if I am not correct in this > point). The wanboot program doesn't export wanboot parameters (either from wanboot.conf or entered in the OBP prompt) and AI doesn't have access to the network variables to set the network during the boot. There is a bug filed against wanboot to export the wanboot configuration so that AI can work with booting from cdrom and disk.
- Sundar > With respect to [1], I have tried and it seems that the same problem > as for [3] > will have to be solved, since network interface is not being brought up: > > {1} ok setenv network-boot-arguments > host-ip=192.168.100.143,router-ip=192.168.100.1, \ > subnet-mask=255.255.255.0,hostname=cynura,file=http://192.168.100.2:5555/cgi-bin/wanboot-cgi > > > > {1} boot net > Boot device: /pci at 1f,700000/network at 2 File and args: > 100 Mbps FDX Link up > <time unavailable> wanboot info: WAN boot messages->console > <time unavailable> wanboot info: configuring /pci at 1f,700000/network at 2 > > 100 Mbps FDX Link up > <time unavailable> wanboot progress: wanbootfs: Read 366 of 366 kB (100%) > <time unavailable> wanboot info: wanbootfs: Download complete > Tue Jun 16 16:03:22 wanboot progress: miniroot: Read 174546 of 174546 > kB (100%) > Tue Jun 16 16:03:22 wanboot info: miniroot: Download complete > SunOS Release 5.11 Version snv_111a 64-bit > Copyright 1983-2009 Sun Microsystems, Inc. All rights reserved. > Use is subject to license terms. > Hardware watchdog enabled > Hostname: opensolaris > Remounting root read/write > Probing for device nodes ... > Preparing automated install image for use > The AI image will be retrieved from > /export/home/images/ai_sparc_8427_111a/ directory > Downloading solaris.zlib archive > --09:16:56-- > http://192.168.100.2:5555/export/home/images/ai_sparc_8427_111a//solaris.zlib > > => `/tmp/solaris.zlib' > Connecting to 192.168.100.2:5555... failed: Network is unreachable. > FAILED > ... > > After logging in: > > # ifconfig -a > bge0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 1 > inet 0.0.0.0 netmask 0 > ether 0:3:ba:fb:20:c1 > lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu > 8232 index 2 > inet 127.0.0.1 netmask ff000000 > lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu > 8252 index 2 > inet6 ::1/128 > -bash: /usr/bin/hostname: No such file or directory > > > Thank you, > Jan >