{"id":64,"date":"2008-07-19T21:31:20","date_gmt":"2008-07-20T05:31:20","guid":{"rendered":"http:\/\/greg.porter.name\/wordpress\/?p=64"},"modified":"2009-12-02T08:26:02","modified_gmt":"2009-12-02T16:26:02","slug":"sun-ray-server-software-4-beta-update-2-running-on-centos","status":"publish","type":"post","link":"https:\/\/greg.porter.name\/wordpress\/?p=64","title":{"rendered":"Sun Ray Server Software 4, Beta Update 2 &#8211; running on CentOS"},"content":{"rendered":"<p>Here&#8217;s my quick notes on getting <a href=\"https:\/\/www.sun.com\/software\/sunray\/get_beta.jsp\">SRSS 4, Beta Update 2<\/a> (the latest) running on Centos 4.4.<!--more--><\/p>\n<p>SRSS is supported on RHEL AS 4, Update 3, which should be very much like Centos 4.3. I tried first on Centos 5, but got nowhere, but the SRSS installer (utinstall) didn&#8217;t work.\u00a0 I couldn&#8217;t find a DVD iso of 4.3 and I&#8217;m lazy, so I tried on 4.4. Did an &#8220;everything&#8221; install, and then did a yum update to get the 1200 patches needed for this old distro.<\/p>\n<h4>Install tomcat5<\/h4>\n<p>SRSS needs tomcat installed.  No yum packages for CentOS 4.3, boo.  Followed the instructions at <a href=\"https:\/\/www.tummy.com\/Community\/Articles\/tomcat-centos\/tomcat5.html\"><span>https:\/\/www.tummy.com\/Community\/Articles\/tomcat-centos\/tomcat5.html<\/span><\/a>. This appears to rebuild certain pre-installed rpm&#8217;s with the right versions to get tomcat to install. On my server, an x4200 (x86_64 AMD), you need to get the jdk-1_5_0_11-linux-amd64.bin file from somwehere. I googled around and got it <a href=\"https:\/\/www.relevantsystems.com\/\"><span>here<\/span><\/a>.  The examples are for i586, so in lots of places you have to substitute the right architecture (x86_64) in place of i586.<\/p>\n<p>It was pretty hairy, but it did seem to work.  Who knows if it is <strong>REALLY<\/strong> working, but \/sbin\/service tomcat5 start didn&#8217;t complain when I ran it.<\/p>\n<h4>Install the right version of java<\/h4>\n<p>The install docs say Java 1.5 or better. CentOS 4.4 comes with 1.4. However, whatever I did with all the crazy rpm building stuff above magically updated the version. Yay. However the utinstall SRSS installer needs to know where the java is installed, and I don&#8217;t have a clue. The manual also says explicitly to use the 32 bit version. I&#8217;m pretty sure I installed a 64 bit server version. The SRSS zip file comes with a 32 bit jre1.5.0_11 installer in srss_4.0\/Supplemental\/Java_Runtime_Environment\/Linux. I installed it in \/usr\/share.<\/p>\n<h4>Install SRSS<\/h4>\n<p>So next, I googled around for a howto of SRSS on CentOS 4.4.  <a href=\"https:\/\/www.mittag-leffler.se\/%7Ekoponen\/sunray.php\"><span>This one<\/span><\/a> seemed promising.<\/p>\n<p>Downloaded SRSS from Sun into \/tmp. Unzipped them. Cd&#8217;d into srss_4.0. Started utinstall. Told it where the java was (see above, \/usr\/share\/jre1.5.0_11). utinstall ran without apparent complaint!<\/p>\n<pre>#.\/utinstall\r\n# utinstall   Version: 4.0     Thu Jul 19 14:35:37 PDT 2007\r\nGDM 2.4.4.7.2                            not installed\r\nYour system currently has gdm-2.6.0.5-7.rhel4.15 installed.\r\nThis rpm needs to be removed in order to install a new version of gdm.\r\nBefore removing, make sure gdm is not managing any displays and is stopped.\r\nRemove gdm-2.6.0.5-7.rhel4.15? ([Y]\/N): y\r\n+++ gdm-2.6.0.5-7.rhel4.15\r\nSun Ray Server Software 4.0              not installed\r\nSun Ray Data Store 3.0                   not installed\r\nKiosk Mode                               not installed\r\nEnter Java v1.5 (or later) location [\/usr\/j2se]: \/usr\/share\/jre1.5.0_11\r\nAbout to carry out the following operations:\r\nInstall  [ GDM 2.4.4.7.2 ]\r\nInstall  [ Sun Ray Server Software 4.0 ]\r\nInstall  [ Sun Ray Data Store 3.0 ]\r\nSkip     [ Sun Ray Server Software 4.0 French Admin GUI is not available ]\r\nSkip     [ Sun Ray Server Software 4.0 Japanese Admin GUI is not available ]\r\nSkip     [ Sun Ray Server Software 4.0 Simplified Chinese Admin GUI is not available ]\r\nSkip     [ Sun Ray Server Software not available ]\r\nInstall  [ Kiosk Mode 4.0 ]\r\nInstall  [ data for utslaunch ]\r\nContinue? ([Y]\/N): y\r\nInstalling GDM version 2.4.4.7.2 ...\r\n+++ gdm-2.4.4.7.2-12.i386.rpm\r\nInstalling Sun Ray Server Software version 4.0 ...\r\n+++ SUNWuti-4.0-26.i386.rpm\r\n+++ SUNWuto-4.0-26.i386.rpm\r\n+++ SUNWutfw-4.0-26.i386.rpm\r\n+++ SUNWutr-4.0-26.i386.rpm\r\n+++ SUNWutu-4.0-26.i386.rpm\r\n+++ SUNWuta-4.0-26.i386.rpm\r\n+++ SUNWutsto-4.0-26.i386.rpm\r\n+++ SUNWutstr-4.0-26.i386.rpm\r\n+++ SUNWutps-4.0-26.i386.rpm\r\n+++ SUNWutkau-4.0-26.i386.rpm\r\n+++ Making and installing Sun Ray Audio module ...\r\nrm -rf .tmp_versions *.cmd *.ko *.o *.mod.c .*.cmd\r\nmake -C \/lib\/modules\/2.6.9-55.0.2.ELsmp\/build SUBDIRS=\/usr\/src\/SUNWut\/utadem modules\r\nmake[1]: Entering directory `\/usr\/src\/kernels\/2.6.9-55.0.2.EL-smp-x86_64'\r\nCC [M]  \/usr\/src\/SUNWut\/utadem\/utadem.o\r\nBuilding modules, stage 2.\r\nMODPOST\r\nCC      \/usr\/src\/SUNWut\/utadem\/utadem.mod.o\r\nLD [M]  \/usr\/src\/SUNWut\/utadem\/utadem.ko\r\nmake[1]: Leaving directory `\/usr\/src\/kernels\/2.6.9-55.0.2.EL-smp-x86_64'\r\ninstall -d \/lib\/modules\/2.6.9-55.0.2.ELsmp\/misc\r\ninstall -c utadem.ko \/lib\/modules\/2.6.9-55.0.2.ELsmp\/misc\r\n+++ Done.\r\n+++ SUNWutio-4.0-26.i386.rpm\r\n+++ Making and installing Sun Ray UTIO module ...\r\nrm -rf .tmp_versions *.cmd *.ko *.o *.mod.c .*.cmd\r\nmake -C \/lib\/modules\/2.6.9-55.0.2.ELsmp\/build SUBDIRS=\/usr\/src\/SUNWut\/utio modules\r\nmake[1]: Entering directory `\/usr\/src\/kernels\/2.6.9-55.0.2.EL-smp-x86_64'\r\nCC [M]  \/usr\/src\/SUNWut\/utio\/utio.o\r\nBuilding modules, stage 2.\r\nMODPOST\r\nCC      \/usr\/src\/SUNWut\/utio\/utio.mod.o\r\nLD [M]  \/usr\/src\/SUNWut\/utio\/utio.ko\r\nmake[1]: Leaving directory `\/usr\/src\/kernels\/2.6.9-55.0.2.EL-smp-x86_64'\r\ninstall -d \/lib\/modules\/2.6.9-55.0.2.ELsmp\/misc\r\ninstall -c utio.ko \/lib\/modules\/2.6.9-55.0.2.ELsmp\/misc\r\n+++ Done.\r\n+++ SUNWutdsk-4.0-26.i386.rpm\r\n+++ Making and installing Sun Ray Mass Storage modules ...\r\nrm -rf .tmp_versions *.cmd *.ko *.o *.mod.c .*.cmd\r\nmake -C \/lib\/modules\/2.6.9-55.0.2.ELsmp\/build SUBDIRS=\/usr\/src\/SUNWut\/utdisk modules\r\nmake[1]: Entering directory `\/usr\/src\/kernels\/2.6.9-55.0.2.EL-smp-x86_64'\r\nCC [M]  \/usr\/src\/SUNWut\/utdisk\/utdisk.o\r\nCC [M]  \/usr\/src\/SUNWut\/utdisk\/utdiskctl.o\r\nBuilding modules, stage 2.\r\nMODPOST\r\nCC      \/usr\/src\/SUNWut\/utdisk\/utdisk.mod.o\r\nLD [M]  \/usr\/src\/SUNWut\/utdisk\/utdisk.ko\r\nCC      \/usr\/src\/SUNWut\/utdisk\/utdiskctl.mod.o\r\nLD [M]  \/usr\/src\/SUNWut\/utdisk\/utdiskctl.ko\r\nmake[1]: Leaving directory `\/usr\/src\/kernels\/2.6.9-55.0.2.EL-smp-x86_64'\r\ninstall -d \/lib\/modules\/2.6.9-55.0.2.ELsmp\/misc\r\ninstall -c utdisk.ko utdiskctl.ko \/lib\/modules\/2.6.9-55.0.2.ELsmp\/misc\r\n+++ Done.\r\n+++ SUNWutgsm-4.0-26.i386.rpm\r\n+++ SUNWutref-4.0-26.i386.rpm\r\n+++ SUNWlibusbut-4.0-26.i386.rpm\r\nInstalling Sun Ray Data Store version 3.0 ...\r\n+++ SUNWutdso-3.0-03.i386.rpm\r\n+++ SUNWutdsr-3.0-03.i386.rpm\r\nInstalling Sun Ray Server Software version 4.0 manpages ...\r\n+++ SUNWutm-4.0-26.i386.rpm\r\n+++ SUNWutwa-4.0-26.i386.rpm\r\n+++ SUNWutwar-4.0-26.i386.rpm\r\n+++ SUNWutwh-4.0-26.i386.rpm\r\n+++ SUNWutwl-4.0-26.i386.rpm\r\nInstalling Kiosk Mode version 4.0 ...\r\n+++ SUNWkior-4.0-26.i386.rpm\r\n+++ SUNWkio-4.0-26.i386.rpm\r\n+++ SUNWkiom-4.0-26.i386.rpm\r\nInstallation of Sun Ray Server Software has completed.\r\nThe system must be rebooted in order to complete this installation and\r\nbefore starting the Sun Ray Server Software.<\/pre>\n<p>Restarted the box. Did the shared subnet config for my subnet, assigned a few ip&#8217;s to DHCP for the Sun Rays. Restarted the box. Connected a Sun Ray and success!<\/p>\n<h4>Get the admin GUI working<\/h4>\n<p>The manual talks a lot about the admin gui. It didn&#8217;t seem to be running. Read the install guide, didn&#8217;t see anything obvious. Googled a bit, hits said to run utconfig, which I don&#8217;t think was obviously in the manual. I did, like so:<\/p>\n<pre>[root@csl3 SUNWut]# utconfig\r\nConfiguration of Sun Ray Core Services Software\r\nThis script automates the configuration of the Sun Ray Core Services\r\nsoftware and related software products.  Before proceeding, you should\r\nhave read the Sun Ray Core Services 4.0 Installation Guide and filled out\r\nthe Configuration Worksheet.  This script will prompt you for the values\r\nyou filled out on the Worksheet.  For your convenience, default values\r\n(where applicable) are shown in brackets.\r\nContinue ([y]\/n)? y\r\nEnter Sun Ray admin password:\r\nRe-enter Sun Ray admin password:\r\nConfigure Sun Ray Web Administration? ([y]\/n)? y\r\nEnter Apache Tomcat installation directory [\/opt\/apache-tomcat]: \/usr\/share\/tomcat5\r\nEnter HTTP port number [1660]:\r\nEnable secure connections? ([y]\/n)?\r\nEnter HTTPS port number [1661]:\r\nEnter Tomcat process username [utwww]: tomcat\r\nEnable remote server administration? (y\/[n])? y\r\nConfigure Sun Ray Kiosk Mode? (y\/[n])? n\r\nConfigure this server for a failover group? (y\/[n])? n\r\nAbout to configure the following software products:\r\nSun Ray Data Store 3.0\r\nHostname: csl3.csc.calpoly.edu\r\nSun Ray root entry: o=utdata\r\nSun Ray root name: utdata\r\nSun Ray utdata admin password: (not shown)\r\nSRDS 'rootdn': cn=admin,o=utdata\r\nSun Ray Web Administration\r\nApache Tomcat installation directory: \/usr\/share\/tomcat5\r\nHTTP port number: 1660\r\nHTTPS port number: 1661\r\nTomcat process username: tomcat\r\nRemote server administration: Enabled\r\nSun Ray Core Services 4.0\r\nFailover group: no\r\nSun Ray Kiosk Mode: no\r\nContinue ([y]\/n)?\r\nUpdating Sun Ray Data Store schema ...\r\nUpdating Sun Ray Data Store ACL's ...\r\nCreating Sun Ray Data Store Datastore ...\r\nRestarting Sun Ray Data Store ...\r\nStarting Sun Ray Data Store daemon .\r\nThu Jul 19 19:58 : utdsd starting\r\nLoading Sun Ray Data Store ...\r\nExecuting '\/usr\/bin\/ldapadd -h csl3.csc.calpoly.edu -x -p 7012 -D cn=admin,o=utdata' ...\r\nadding new entry \"o=utdata\"\r\nadding new entry \"o=v1,o=utdata\"\r\nadding new entry \"utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utname=desktops,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utname=users,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utname=logicalTokens,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utname=rawTokens,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utname=multihead,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utname=container,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utname=properties,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"cn=utadmin,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utname=smartCards,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utordername=probeorder,utname=smartCards,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utname=policy,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utname=resDefs,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utname=prefs,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utPrefType=resolution,utname=prefs,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nadding new entry \"utPrefClass=advisory,utPrefType=resolution,utname=prefs,utname=csl3.csc.calpoly.edu,o=v1,o=utdata\"\r\nAdded 18 new LDAP entries.\r\nCreating Sun Ray Core Services Configuration ...\r\nAdding user account 'tomcat' to group 'utadmin'... done\r\nSun Ray Web Administration enabled to start at system boot.\r\nSun Ray Web Administration not running - \/opt\/SUNWut\/webadmin\/tmp\/utwebadmin.pid does not exist\r\nStarting Sun Ray Web Administration...\r\nSee \/var\/opt\/SUNWut\/log\/utwebadmin.log for server logging information\r\nUnique \"\/etc\/opt\/SUNWut\/gmSignature\" has been generated.\r\nRestarting Sun Ray Data Store ...\r\nStopping Sun Ray Data Store daemon\r\n.Sun Ray Data Store daemon stopped\r\nStarting Sun Ray Data Store daemon .\r\nThu Jul 19 19:58 : utdsd starting\r\nAdding user admin ...\r\nUser(s) added successfully!\r\n***********************************************************\r\nThe current policy has been modified.  You must restart the\r\nauthentication manager to activate the changes.\r\n***********************************************************\r\nConfiguration of Sun Ray Core Services has completed.  Please check\r\nthe log file, \/var\/log\/SUNWut\/utconfig.2007_07_19_19:50:29.log, for errors.<\/pre>\n<p>I then did a cold restart (utrestart \u2013c).  I could then get to localhost:1660 and localhost:1661.<\/p>\n<p><strong>It seems to be working&#8230;  Time to kick the tires some more.  Stay posted.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s my quick notes on getting SRSS 4, Beta Update 2 (the latest) running on Centos 4.4.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-content"],"_links":{"self":[{"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=64"}],"version-history":[{"count":4,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":247,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions\/247"}],"wp:attachment":[{"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}