Sun Ray 5.3 Installation Guide in Fail-over environment


Sun Ray Nodes Info:
SERVER-1Hostname:         SRSS1IP Address:

SERVER-2Hostname:         SRSS2IP Address:

1.      Update /etc/hosts file on both Sun Ray servers by defining both server hostname and ip addresses

bash-3.2# vi /etc/hosts

"/etc/hosts" [Read only] 7 lines, 174 characters #
# Internet host table
::1     localhost    srss1    loghost    srss2    loghost


2.      Use the following steps to increase the performance of the Sun Ray Clients, 
           Add the following line to the Sun Ray server's at the end of /etc/system file

bash-3.2# vi /etc/system

set hires_tick=1


3.      Unzip and Install Sun Ray Operating Software First

(Firmware Package has been excluded from Sun Ray bundle and oracle named it Sun Ray Operating Software. You should download it from above given link)

bash-3.2# cd /Desktop
bash-3.2# unzip /Desktop/SUN\ RAY\ OPERATING\ SOFTWARE\
bash-3.2# ./Desktop/sros_11.0.2.0/utfwinstall

4.      Unzip Sun Ray software

bash-3.2# cd /Desktop
bash-3.2# unzip /Desktop/Sunray\

5.      Unzip Apache and move to /opt directory

bash-3.2# cd /Desktop/srs_5.3.0.0-SunOS.i386/Supplemental/Apache_Tomcat/
bash-3.2# gunzip apache-tomcat-5.5.20.tar.gz
bash-3.2# tart -xvf apache-tomcat-5.5.20.tar
bash-3.2# mv apache-tomcat-5.5.20 /opt/apache-tomcat

6.      Check java version and it should be 1.6.x or later, if not then extract java from Supplemental directory and move its extracted content to /usr/java directory. I have java version 1.6.0_26 so I don’t need to java version to be extracted.

bash-3.2# java -version
java version "1.6.0_26"

7.      Install JDS_Integrator

bash-3.2# pkgadd -d /Desktop/srs_5.3.0.0-SunOS.i386/Supplemental/JDS_Integrator/Solaris_10+/i386/Packages SUNWuttscwrap

8.      Install Sun Ray Software

bash-3.2# ./Desktop/srs_5.3.0.0-SunOS.i386/utinstall

Here I don’t include long output of utinstall. What you need to do is to accept license agreement by providing input of [Y} and press Enter at /usr/java location to select default directory. That’s all what you need to do. When utinstall process completed move to steps 9 and so on.

9.    Configure Sun Ray Interconnect Network

Remember if you don’t want to configure Sun Ray Servers DHCP then ask your network guy or DHCP administrator to define Code 49 with any Sun Ray server’s IP address.

Otherwise you can use DNS server by creating record HOSTA and give name it sunray-servers and in IP address section give sunray server IP. You can create as many as your Sun Ray servers. In my case I have only two nodes. (This record is responsible to provide session on Thin Client devices)

Create record HOSTA and give name it sunray-config-servers and in IP address section give sunray server IP address. You can create this record as many as your Sun Ray servers. In my case I have only two nodes. (This record is responsible to load firmware into Thin Client devices)

bash-3.2# ./opt/SUNWut/sbin/utadm -A

### Activating product
Product activation output being logged at /var/adm/log/utctl.2013_01_03_16:04:27.log
### Configuring /etc/nsswitch.conf
### Configuring Service information for Sun Ray
  Selected values for subnetwork ""
    net mask: 
    no IP addresses offered
    auth server list:
    firmware server:
  Accept as is? ([Y]/N): N

  netmask: (cannot be changed - system defined netmask)
  Do you want to offer IP addresses for this subnet? (Y/[N]): y
  new first Sun Ray address: []
  number of Sun Ray addresses to allocate: [154] 50
  auth server list:
To read auth server list from file, enter file name:
Auth server IP address (enter <CR> to end list):
Auth server IP address (enter <CR> to end list):
Auth server IP address (enter <CR> 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): y
  new firmware server: []
  new router: []
  Selected values for subnetwork ""
    net mask: 
    first unit address:
    last unit address:
    auth server list:
    firmware server:
  Accept as is? ([Y]/N): Y

### Configuring firmware version for Sun Ray
### Successfully enabled tftp for firmware downloads
        All the units served by "srss2" on the
        network interface, running firmware other than version
        "" will be upgraded at their next power-on.

### Configuring Sun Ray Logging Functions
### Turning on Sun Ray LAN connection

NOTE: utstart must be run before LAN connections will be allowed

DHCP is not currently running, should I start it? ([Y]/N): Y


10.      Configure Sun Ray Server

bash-3.2# /opt/SUNWut/sbin/utconfig

1.      Sun Ray GUI Administration and Configuration. Your environment may be different but procedure will be remaining same.

Open your favorite web-browser and brows the any of Sun Ray server’s IP or FQDN. In my case your IP address may be different.

Provide Username “admin” and the password which we provided while performing utconfig command earlier.

After Successful login into Sun Ray server’s GUI you can see your server’s fail-over group detail. In my case I have two nodes fail-over. You can add nodes as much as your environment required

Click Advance tab and check/uncheck whatever you suites your environment. In my case I have selected the following sections.

Click System Policy section and select/check mark whatever environment suites you. In my case I am not using smart card authentication so I am selecting None-card Users and other options as well.

Click Kiosk Mode and in drop/down box select what client session you will provide to End-user. In my case I am selecting Sun Ray Connector for Windows OS. In Arguments box -t 1800 -- -b (This is my Win2K8-R2 Terminal Server IP). Click Save

Click SERVERS tab Select all servers and Click Cold Restart (it will take 5 to 10 seconds to restart Sun Ray services not the SERVERS)

And Sun Ray Services Restart Completed. Logout the session to move next step to test our environment

I will install Oracle VDI client on my laptop to test my environment. You can attach physical device (Thin Client) within the same network/VLAN to test your environment or install Oracle VDI whatever you like.

Launch Oracle VDI Client and Provide any Sun Ray server’s IP address in Server box or select automatically find to locate through DHCP/DNS server. To make it quick I’ll with IP address of Sun Ray server. Click Connect

Looking for Session

Here you go, I got my Windows Terminal Server Session. For Security best practice I have to hide Domain Name.

That’s all what you need to do. Enjoy a cup coffee and relax.

Powered by Blogger.