By Jaap on May 28, 2010
In this article I continue my installation of Oracle Enterprise Linux from an earlier blog post. The below instructions are based on an internal Wiki article written by a Sun colleague (thanks for the pre-work).
Prepare Oracle Enterprise Linux for Sun Ray Server software
I'm now ready to install the Sun Ray Sever software. After you logged in for the first time as the root user in your just installed Oracle Enterprise Linux server, you have to prepare the system for Sun Ray Server software installation: add additional packages and change some Linux configuration files.
In Oracle Enterprise Linux yum is used to install additional packages. Reconfigure yum to run from the DVD repository. This is done by adding the following contents to a new file (Note that the mediaid comes from the file /media/Enterprise Linux dvd 20090908/.discinfo):
# vi /etc/yum.repos.d/dvd.repo [dvd] mediaid=1252451316.580231 name=DVD for RHEL5 baseurl=file:///media/Enterprise%20Linux%20dvd%2020090908/Server enabled=1 gpgcheck=0
Oracle also hosts a yum-server for Oracle Enterprise Linux, this also should work but I have not tested this.
You are now ready to install additional packages or groups of packages. The package list and versions which must be installed prior to Sun Ray Server installation are:
# yum groupinstall "Development Tools" # yum install glib-1.2.10 # yum install dhcp-3.0.5 # yum install openldap-clients-2.3.43 # yum install libXp-1.0.0 # yum install openmotif22-2.2.3
# vi /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.100.39 host19.sunvdi.local host19
This finished the preparation on Oracle Enterprise Linux, we are now ready to install Sun Ray Server software.
Install Sun Ray Software
For download instructions for the Sun Ray Server software I refer to the Sun Ray Wiki website. After downloading the the Sun Ray Server software for Linux zip-files in my staging directory I start the installation:
# cd /stage/sunray # unzip srss_4.2_linux.zip
Check Java version
Sun Ray Server software 4.2 requires a 32-bit implementation of a Java(TM) 2 Platform, Standard Edition JRE(TM) of at least 1.6. The latest Java release is available at http://java.sun.com/j2se. To check what JRE version is installed on your system, use the following command:
# java -version
JRE version 1.6 is also bundled on the Sun Ray Server software zip-file in the Supplemental directory. For my test installation I used the provided JRE in the Supplemental Directory:
# cd /stage/sunray/srss_4.2/Supplemental/Java_Runtime_Environment/Linux/ # sh ./jre-6u13-linux-i586.bin <enter yes when prompted> # mv jre1.6.0_13 /opt
The Sun Ray Administration Tool (Admin GUI) requires that a Web server be installed and running on each Sun Ray server. The Admin GUI is hosted in a Apache Tomcat 5.5 Web container. For my test installation I used the provided Apache Tomcat in the Supplemental Directory:
# cd /stage/sunray/srss_4.2/Supplemental/Apache_Tomcat/ # gunzip apache-tomcat-5.5.20.tar.gz # gtar xvf apache-tomcat-5.5.20.tar # mv apache-tomcat-5.5.20 /opt # ln -s /opt/apache-tomcat-5.5.20 /opt/apache-tomcat
Install Sun Ray Server software
Installing Sun Ray Server software is nothing more then an install CLI-command and a reboot of the server:
# cd /stage/sunray/srss_4.2 # ./utinstall - read and accept the license - answer Y or N when prompted for French, Japanese, Chinese Admin GUI. - enter Java v1.6 (or later) location: /opt/jre1.6.0_13 - continue installation with the selected packages # reboot
Before you reboot make sure you have unmounted the OEL installation DVD, it might be used as the primary boot device during the reboot.
Configure Sun Ray Server softwareSun Ray Server software installed, time to configure the software. This is done by a CLI-command and works straight-forward. Most of the defaults are OK, but here is what I used for my test server:
# /opt/SUNWut/sbin/utconfig - Continue ([y]/n)? Y - Enter Sun Ray admin password: - Configure Sun Ray Web Administration? ([y]/n)? - Enter Apache Tomcat installation directory [/opt/apache-tomcat]: - Enter HTTP port number : - Enable secure connections? ([y]/n)? - Enter HTTPS port number : - Enter Tomcat process username [utwww]: - Be sure to enable "remote administration" (non-default) Enable remote server administration? (y/[n])? y - Be sure to configure "Kiosk Mode" (non default) Configure Sun Ray Kiosk Mode? (y/[n])? y - Enter user prefix [utku]: - Enter group [utkiosk]: - Enter userID range start : - Enter number of users : - Configure this server for a failover group? (y/[n])? It lists a summary and if you happy with it choose yes to continue the configuration. - Continue ([y]/n)? y
Configuration of Sun Ray Server Software has completed.
Turn on Sun Ray Server services
Sun Ray Server has multiple network configuration options to start the services. I used the easy one which turns on the services on all ethernet-interfaces on the server and does not configure DHCP services:
# /opt/SUNWut/sbin/utadm -L on # /opt/SUNWut/sbin/utrestart -c
At this time, you are ready to connect a Sun Ray to this server.
If you did forget to turn off the Linux Firewall during installation, you can do that afterwards via the following CLI commands as the root user:
# service iptables save # service iptables stop # chkconfig iptables off
If the Firewall keeps running on the server, the Sun Ray device will not connect to the servers and you will see a 26B OSD message on your Sun Ray device.
Install Sun Ray Windows Connector on OEL
Installation of the RDP connector is straightforward. I only had one minor issue with a missing library-filename on OEL during the installation, when I found the other version of that library it worked without problems. Here is what I used on my test system:
# cd /stage/sunray # groupadd srwc # unzip srwc_2.2_linux.zip # cd srwc_2.2 # ./installer Accept (Y/N): Enter "srwc" as group name # /opt/SUNWuttsc/sbin/uttscadm -c Enter complete location for libcrypto.so.0.9.7 [/lib/libcrypto.so.0.9.7a] : /lib/libcrypto.so.0.9.8e # /opt/SUNWut/sbin/utrestart -c
OK, that's it !!