Work Around for vni0 all-zones SRSS utadm -A error Last Update: 31 Oct 2007 by Matt.Hatley@sun.com Here is the error: tx-srss# utadm -A 129.154.16.0 ### Configuring /etc/nsswitch.conf ### Configuring Service information for Sun Ray ### Disabling Routing Selected values for subnetwork "129.154.16.0" net mask: 255.255.255.0 no IP addresses offered auth server list: 10.254.254.254 firmware server: 10.254.254.254 Accept as is? ([Y]/N): n netmask: 255.255.255.0 (cannot be changed - system defined netmask) Do you want to offer IP addresses for this subnet? (Y/[N]): n auth server list: 10.254.254.254 To read auth server list from file, enter file name: Auth server IP address (enter to end list): 129.154.16.86 Auth server IP address (enter to end list): If no server in the auth server list responds, should an auth server be located by broadcasting on the network? ([Y]/N): new firmware server: [10.254.254.254] 129.154.16.86 Selected values for subnetwork "129.154.16.0" net mask: 255.255.255.0 no IP addresses offered auth server list: 129.154.16.86 firmware server: 129.154.16.86 Accept as is? ([Y]/N): Error: unable to get information on the primary interface. ### Configuring firmware version for Sun Ray Error: cannot set firmware version to network macro "129.154.16.0": Configuration for DHCP subnet 129.154.16.0 does not exist. ### Configuring Sun Ray Logging Functions Before State: tx-srss# ifconfig -a lo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 lo0:1: flags=2001000849 mtu 8232 index 1 zone secret inet 127.0.0.1 netmask ff000000 lo0:2: flags=2001000849 mtu 8232 index 1 zone topsecret inet 127.0.0.1 netmask ff000000 lo0:3: flags=2001000849 mtu 8232 index 1 zone sbu inet 127.0.0.1 netmask ff000000 ce0: flags=1000843 mtu 1500 index 2 inet 129.154.16.86 netmask ffffff00 broadcast 129.154.16.255 ether 0:3:ba:38:d7:2b qfe1: flags=1000843 mtu 1500 index 3 inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255 ether 0:3:ba:38:d7:2b qfe1:1: flags=1000843 mtu 1500 index 3 zone sbu inet 192.168.1.86 netmask ffffff00 broadcast 192.168.1.255 qfe2: flags=1000843 mtu 1500 index 4 inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255 ether 0:3:ba:38:d7:2b qfe2:1: flags=1000843 mtu 1500 index 4 zone secret inet 192.168.2.86 netmask ffffff00 broadcast 192.168.2.255 qfe3: flags=1000843 mtu 1500 index 5 inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255 ether 0:3:ba:38:d7:2b qfe3:1: flags=1000843 mtu 1500 index 5 zone topsecret inet 192.168.3.86 netmask ffffff00 broadcast 192.168.3.255 vni0: flags=20010100c1 mtu 0 index 6 all-zones inet 10.254.254.254 netmask ffffff00 tx-srss# cat /etc/nodename tx-srss tx-srss# uname -n tx-srss tx-srss# cat /etc/hosts 127.0.0.1 localhost loghost 10.254.254.254 tx-srss # PriMary Hostname/Nodename (vni0/all-zones) 129.154.16.86 sf6800b-d # ce0 SWAN IP/global zone (simulates TX net) 192.168.1.86 sbu # qfe1:1 for TX SBU Zone 192.168.2.86 secret # qfe2:1 for TX SECRET Zone 192.168.3.86 topsecret # qfe3:1 for TX TOP SECRET Zone Apply work-around: Temporarily set phyiscal NIC all-zones: ifconfig ce0 all-zones Temporarily unplumb vni0 NIC: ifconfig vni0 unplumb Temporarily set nodename to hostname associated w/ physical NIC: uname -S sf6800b-d This temporary nodename change will NOT survive a reboot. Notice this is temporary, it did NOT change /etc/nodename: tx-srss# cat /etc/nodename tx-srss The system thinks the in memory nodename is sf6800b-d tx-srss# uname -n sf6800b-d Now add the Sun Ray shared NIC (it adds successfully): tx-srss# utadm -A 129.154.16.0 ### Configuring /etc/nsswitch.conf ### Configuring Service information for Sun Ray ### Disabling Routing Selected values for subnetwork "129.154.16.0" net mask: 255.255.255.0 no IP addresses offered auth server list: 129.154.16.86 firmware server: 129.154.16.86 Accept as is? ([Y]/N): ### Configuring firmware version for Sun Ray All the units served by "sf6800b-d" on the 129.154.16.0 network interface, running firmware other than version "4.0_48_2007.08.01.15.48" will be upgraded at their next power-on. ### Configuring Sun Ray Logging Functions tx-srss# Restore vni0: ifconfig vni0 plumb 10.254.254.254/24 all-zones up Remove all-zones ce0: ifconfig ce0 -zone Restore nodename: uname -S tx-srss Restart SR services: utrestart -c Sun Ray DTU's should start lighting up. When the system is rebooted, these msg's appear on the console... Oct 31 14:38:31 tx-srss utdsd[571]: utdsd starting Oct 31 14:38:34 tx-srss in.dhcpd[641]: Bind to index failed on vni0: Invalid argument ...but SRSS still works OK.