Sun Ray 5.3 Installation Guide in Fail-over environment

http://techsupportpk.blogspot.com/2013/01/sunray-server-53-two-node-fail-over.html


Prerequisites:



Sun Ray Nodes Info:
SERVER-1Hostname:         SRSS1IP Address:         172.22.16.10
Netmask:            255.255.255.0
Gateway:            172.22.16.1

SERVER-2Hostname:         SRSS2IP Address:         172.22.16.11
Netmask:            255.255.255.0
Gateway:            172.22.16.1

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
127.0.0.1localhost
172.22.16.10    srss1   srss1.easysolutionforall.com    loghost
172.22.16.11    srss2   srss2.easysolutionforall.com    loghost

:wq!

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

:wq!

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\ 11.0.2.0.06.zip
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.3.zip

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 172.22.16.0

### 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 "172.22.16.0"
    net mask:           255.255.255.0
    no IP addresses offered
    auth server list:   172.22.16.10
    firmware server:    172.22.16.10
  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]): y
  new first Sun Ray address: [172.22.16.4] 172.22.16.50
  number of Sun Ray addresses to allocate: [154] 50
  auth server list:     172.22.16.10
To read auth server list from file, enter file name:
Auth server IP address (enter <CR> to end list): 172.22.16.10
Auth server IP address (enter <CR> to end list): 172.22.16.11
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: [172.22.16.10]
  new router: [172.22.16.1]
  Selected values for subnetwork "172.22.16.0"
    net mask:           255.255.255.0
    first unit address: 172.22.16.50
    last unit address:  172.22.16.100
    auth server list:   172.22.16.10 172.22.16.11
    firmware server:    172.22.16.10
    router:             172.22.16.1
  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 172.22.16.0
        network interface, running firmware other than version
        "11.0.2.0_06_2012.10.08.14.02" 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

bash-3.2#

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 https://172.22.16.10:1661/ 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 172.22.16.12 (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.