This process flow shows how a Sun Ray Client obtains its basic network parameters, firmware server, and session server. Many of the configuration options listed in this process flow are described in Chapter 20, Alternate Network Configurations.
The Configuration GUI must be enabled on the client for the user to locally configure the Sun Ray parameters. Locally configured parameter values override network values with the exception of MTU, which is always the minimum of the values seen.
Power unit on.
Read local configuration (from Configuration GUI), if present.
netType = STATIC IP OR DHCP OR Auto-config (IPv6)
If netType is STATIC IP, use locally configured values for
IP Address
Net mask
Broadcast address
Router
MTU
Bring up the network interface.
If any networking values missing, then perform DHCP.
If AuthSrvr value is not defined, then perform DHCP_INFORM request.
Merge any local values, DHCP vendor options, and DHCP_INFORM values (local values override DHCP except MTU, which is minimum of values seen).
If XDispMgr was given by DHCP AND no AltAuth vendor option was found, then set AltAuth to XDispMgr (option 49) values.
Read Configuration Parameter file (
file) on firmware server.
model
.parms
Try to find the firmware servers that contain .parms
file,
in order:
Locally configured value
DHCP vendor option (FWSrvr)
Option 66 (TftpSrvr) IP Address or DNS name
DNS lookup of "sunray-config-servers" (if mapped to multiple addresses, choose one randomly)
Download the .parms
file.
Search for
SunRayPx.MAC
.parms.
Search for SunRayPx.parms.
Parse the .parms
file.
parms.version = firmware version
parms.revision = max supported hardware revision
parms.barrier = barrier value of server firmware
parms.BarrierLevel = barrier override value
parms.servers = server list
parms.select = inorder | random
If .parms
file was successfully
parsed OR firmware
server was obtained by locally configured
value, then go to Step 5.
If a locally configured firmware server is unreachable or the correct configuration parameter file does not exist, the Sun Ray client will not attempt any of the other methods in Step 4 to locate configuration parameter files. This setup prevents the unintentional loading of a different firmware version than is provided by the locally designated firmware server.
If no .parms
file found
AND not at end of
firmware server list, then go to Step 4 and
pick next firmware server on the list.
If no firmware servers left to try, then set following values:
parms.version = DHCP vendor option NewTVer (set to NULL string if none provided by DHCP)
parms.BarrierLevel = DHCP BarrierLevel (set to current_barrier if none provided by DHCP)
set parms.revision to current_revision
set parms.barrier to current_barrier
set parms.select = inorder
Determine if there is new firmware to load.
If:
parms.version is not equal to the current firmware version
AND parms.version is not equal to "_NONE_"
AND parms.revision is >= to current hardware revision
AND either parms.barrier is >= to parms.BarrierLevel or parms.barrier is >= current firmware's barrier level
Then:
Download firmware.
Write firmware to flash.
Reboot.
Else:
No firmware is loaded.
Determine a Sun Ray server to connect to.
If AlthAuth/AuthSrvr/parms.servers are all empty, then set server_list to "sunray-servers". Otherwise set server_list to parms.servers.
If untried server_list addresses are left, then:
Select a name in order (or randomly if parms.select=random).
Translate the name to a list of IP addresses (either DNS lookup, or IP address notation).
Select an address from the list in order (or randomly if parms.select=random).
Set that the broadcast address was seen if the selected address is the broadcast address, and select the next address.
Go to Step 6h.
If untried AltAuth addresses are left, then:
Select an address in order (or randomly if parms.select=random).
Set that the broadcast address was seen if the selected address is the broadcast address, and select the next address
Go to Step 6h.
If AuthSrvr is defined, then:
Set address to AuthSrvr.
Go to Step 6h.
If broadcast address was seen, then perform broadcast protocol.
If broadcast response received, then:
Set selected address to responder.
Go to Step 6h.
Timeout in 30 seconds and reboot.
Try to connect to selected address.
If connection fails, then go to Step 6b.
Sun Ray Client is connected.