How to build a Sun Ray Server 4.0 for a Proof of Concept

Quick and dirty about how to get a Sun Ray server up and running for a proof of concept. Please note that while this will get things up and running, there are many items outside of the scope of this document that need to be taken into consideration for a full production enterprise deployment. The formal documentation can be found here.

Get the goods
The first step is to have an available server to install on. You will need a Solaris 10, Redhat or SUSE server. The directions here will be for installing on Solaris 10. Next you will need to download the software. You also need to check this patch list, and get the latest patches.

Network Provisioning

You need to use one of the provisioning methods in this article to set up how your Sun Rays will find the Sun Ray server.

Install the Sun Ray Server Software
The follow steps need to be executed as the root user of the system.

Extract the Zip:
#unzip srss_4.0_solaris.zip

Install Tomcat:
#cd srss_4.0/Supplemental/Apache_Tomcat/
# gzcat apache-tomcat-5.5.20.tar.gz | /usr/sfw/bin/gtar -xf -
# mv apache-tomcat-5.5.20 /opt/
# ln -s /opt/apache-tomcat-5.5.20/ /opt/apache-tomcat

Install Sun Ray Server Software:
# cd srss_4.0
# ./utinstall
Take all of the defaults

Apply appropriate SRSS patches (core & kiosk).
#unzip 127554-05.zip
#patchadd 127554-05
#unzip 128166-01.zip
#patchadd 128166-01
Note: there is a core patch and kiosk patch. Also note that the patches are specific for architecture, Sparc, x64, Linux. Make sure you get the correct patch bundle! Also note that I use the patches above as an example. There may be newer ones. Check the list!

# reboot

Configure the Sun Ray Server Software:
#/opt/SUNWut/sbin/utconfig
Take all of the defaults except for:
Enable remote server administration? (y/[n])? y
Configure Sun Ray Kiosk Mode? (y/[n])? y
#reboot

Configure Parms files:
# mkdir /tftpboot
# vi /tftpboot/srssconfig
The file should look like the following:
servers=<ip of server>
# /opt/SUNWut/sbin/utfwadm -A -a -V -i /tftpboot/srssconfig -f /opt/SUNWut/lib/firmware_gui

Turn on LAN connections:
# /opt/SUNWut/sbin/utadm -L on
# /opt/SUNWut/sbin/utrestart -c

At this point you have a basic Sun Ray server up and running. Any Sun Rays on the network should be displaying the Solaris log in and you should be able to log into your Solaris server through a Sun Ray.

Windows Terminal Server:
One of the powerful things about the Sun Ray solution is how flexible it is. One of the things the Sun Ray solutions is really good at is displaying Windows Desktops. The following steps address how to modify your existing Sun Ray server to display windows desktops.

Install Windows connector:

Extract the Zip:
#unzip srwc_2.0_solaris.zip

Install the Connector:
NOTE: There is a version mismatch if you are installing on Nevada instead of Solaris 10. ONLY TAKE THE FOLLOWING 2 STEPS IF YOU are ON Nevada:
# cd /usr/sfw/lib
# ln -s libcrypto.so.0.9.8 libcrypto.so.0.9.7

create a group for it
# groupadd utsrwc
# cd srwc_2.0
# ./installer
# /opt/SUNWuttsc/sbin/uttscadm -c
# /opt/SUNWut/sbin/utrestart -c

Apply appropriate uttsc patches.
#unzip 127557-03.zip
#patchadd 127557-03
Note: the patches are specific for architecture, Sparc, x64, Linux. Make sure you get the correct patch bundle! Also note that I use the patches above as an example. There may be newer ones. Check the list!

Configure Kiosk Mode:
We will use the web interface for the Sun Ray server to configure the Sun Ray server to present windows desktops.

Log into your web admin port http://<name of run ray server>:1660
The username is admin and the password is the one you gave it during set up.

Click on the advanced tab:

Loghost - Sun Ray Administration-1

Then on the Kiosk Sub tab:

Loghost - Sun Ray Administration-2

You will see a message about no Kiosk Mode settings. Click the edit button on the right:

Loghost - Sun Ray Administration-3

Change the session drop down to Sun Ray Connectors for Windows OS
In the arguments field add the name of your terminal server
click on OK

Loghost - Sun Ray Administration-4

At this point you will have a kiosk mode defined and then you will need to tell the server when to use it. I personally run my demo's with the window connector enabled for card sessions and the Solaris session displayed for non card users. This is accomplished by using the the System Policy to turn Kiosk Mode on for card users. Click on the System Policy Sub Tab on the Advanced Menu and then click on the enabled check box for Kiosk Mode under card users. Then click on the save button.

Loghost - Sun Ray Administration-5

At this point you will get a message saying the changes have been stored and you need to restart the server. Click on the link to switch to the servers tab.

Loghost - Sun Ray Administration-6

Select your server and click on cold restart
Loghost - Sun Ray Administration-7

When the Sun Ray server restarts, you will now display a Solaris desktop with no card inserted, and a windows desktop with a card inserted.

Comments:

Excellent instructions. I'll be doing this some time soon, and appreciate such a clear walkthrough.

Posted by Mikael Gueck on December 02, 2007 at 05:05 AM PST #

Thank you on concise instructions, I'm in process of building one.
one Q:
- how do you configure kiosk users ? or where do you create their
profiles ?

Posted by vlaho on December 06, 2007 at 07:51 AM PST #

Post a Comment:
Comments are closed for this entry.
About

user12609114

Search

Top Tags
Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today