Installing SunRay Software Server 4.0 with OpenSUSE 10.2

Hi guys this is the result of tiring trial and error of installing this, what I want to stress is watch out with release number of a software!!! Below you can see the picture of a SunRay System, consists of Thin Client, Monitor, Keyboard, and Mouse only

SunRay System

Thin Client is the terminal that connect to the server, basically it just like your computer, the difference, well it has no processor or RAM, since it’s all inside the server. Here is the picture:

Thin Client

We install it inside SunFire X4150 Server that has 32 GB of RAM and 8 Xeon Processor each 2,66 GHz, here is the picture :

SunFire

This is how you install it:

We take the original installation guide from wiki.sun-rays, and we made some adjustment from that installation. Here are the steps:

1.Replace ksh with pdksh, you must pay attention with the release number of ksh and pdksh

rpm -e ksh-93r-41
rpm -i pdksh-5.2.14-822.i586.rpm

2.Enable tftp with yast2, you can do it by switching to Network Services then go to XINETD (Network Services)

3.Copy file gnome.desktop for later use, To get gnome.desktop you must install GNOME packet in yast2 go to software management, filter with pattern, and tick the GNOME…..

cp/usr/share/xsessions/gnome.desktop /usr/share/xsessions/gnome.desktop.original

4.Remove the installed gdm package and replace it with the one that is in SRSS 4.0 gdm package, again you must pay attention with the release number of gdm.

rpm -e gdm-2.16.1-36.4
rpm -i –force –nodeps GDM_2.4.4.7.2/Linux/Packages/gdm-2.4.4.7.2-10.i386.rpm

5.Save file Xsession for later

cp /etc/X11/gdm/Xsession /etc/X11/gdm/Xsession.original

6.Set a couple of links that openSUSE gdm works with SRSS 4.0

ln -s /usr/share/X11 /usr/X11R6/lib/X11
ln -s /usr/lib/xserver /usr/X11R6/lib/X11/xserver
ln -s /usr/bin/Xorg /usr/X11R6/bin/X
ln -s /usr/bin/xdpyinfo /usr/X11R6/bin/xdpyinfo
ln -s /usr/bin/xrdb /usr/X11R6/bin/xrdb
ln -s /usr/bin/xset /usr/X11R6/bin/xset
7.Set these links to get ldap work correctly

ln -s /usr/lib/liblber-2.3.so.0.2.25 /usr/lib/liblber.so.199
ln -s /usr/lib/libldap-2.3.so.0.2.25 /usr/lib/libldap.so.199

8.Install SRSS 4.0 by executing utinstall that exist inside SRSS 4.0 package. Inside this installation you are required to input Java directory, so it would be better if you install it first, it already provided in the SRSS 4.0 package.

9.Replace the gdm package again, this time remove the SRSS gdm and install the latest gdm or the one inside your SUSE CD/DVD, again pay attention to the release number.

rpm -e gdm-2.4.4.7.2-10
rpm -i gdm-2.16.1-36.4.i586.rpm
10.Copy back gnome.desktop and Xsession

cp /usr/share/xsessions/gnome.desktop.original /usr/share/xsessions/gnome.desktop
cp /etc/X11/gdm/Xsession.original /etc/X11/gdm/Xsession

11.Set a couple of links

ln -s /opt/gnome/share/pixmaps /usr/share/pixmaps/gnome
ln -s /opt/gnome/bin/gdmdynamic /usr/bin/gdmdynamic
mv /opt/gnome/lib/gdm/gdmlogin /opt/gnome/lib/gdm/gdmlogin.original
ln -s /opt/gnome/lib/gdm/gdmgreeter /opt/gnome/lib/gdm/gdmlogin

12.Go /etc/opt/SUNWut/xmgr and make patch-notify (you can use vi or gedit), with content:

12c12
< DMNAME=gdm-binary
---
> DMNAME=gdm

13.Patch notify and reset-dpy in that directory

patch /etc/opt/SUNWut/xmgr/notify < patch-notify
patch /etc/opt/SUNWut/xmgr/reset-dpy < patch-notify

14.Copy file /etc/X11/gdm/gdm.conf.rpmsave to /etc/opt/gnome/gdm/gdm.conf

cp /etc/X11/gdm/gdm.conf.rpmsave /etc/opt/gnome/gdm/gdm.conf

15.Configure /etc/opt/gnome/gdm/gdm.conf to work with SRSS, by patching gdm.conf with patch-gdm.conf

16.Go to /etc/opt/gnome/gdm/ make patch-gdm.conf and put it in the same directory with the file that you want to patch, which consist:

40c40
Configurator=/opt/gnome/sbin/gdmsetup –disable-sound –disable-crash-dialog
43c43
Chooser=/opt/gnome/lib/gdm/gdmchooser
46c46
Greeter=/opt/gnome/lib/gdm/gdmgreeter
49c49
RemoteGreeter=/opt/gnome/lib/gdm/gdmlogin
99c99
ServAuthDir=/var/lib/gdm
133a134,135
> # SunRay access
> DynamicXServers=true
240c242
LocaleFile=/usr/share/locale/locale.alias
309,310c311,312
< GraphicalTheme=circles
GraphicalTheme=GDM-SuSE
> GraphicalThemeDir=/opt/gnome/share/gdm/themes

17.Patch= patch /etc/opt/gnome/gdm/gdm.conf < patch-gdm.conf

18.Go to /etc edit hosts, you can use vi, inside the code you must put # in front of every line which start with ff and ::

19.Reboot the server

20.Install Apache Tomcat (you just need to extract it), this is provided by the SRSS 4.0 package.

tar xzf Supplemental/Apache_Tomcat/apache-tomcat-5.5.20.tar.gz //to unload package

21.Patch all modules, first you must take the patch from Media:Patch-modules-SRSS4-0907.txt. After that you patch them, you can make that with vi or gedit and put it in the same directory with the file that you want to patch

# patch -p0 -d /usr/src < Patch-modules-SRSS4-0907.txt

22.After that recompile andinstall them

make -C /usr/src/SUNWut/utadem clean default install
make -C /usr/src/SUNWut/utdisk clean default install
make -C /usr/src/SUNWut/utio clean default install
depmod -a

23.Reboot the server and run this to configure the server

uticonfig
utadm -a eth1 //Here you will setup dhcp settings
utadm -L on
utrestart

24.Now you can add another patch to improve networking and some other stuffs you can find the patch in SUN with Patch 127555-01 as keyword, after you get the file do:

rpm --nodeps -F --noscripts SUNWlibusbut-4.0-48.07.i386.rpm
rpm --nodeps -F --noscripts SUNWuta-4.0-48.07.i386.rpm
rpm --nodeps -F --noscripts SUNWutfw-4.0-48.07.i386.rpm
rpm --nodeps -F --noscripts SUNWuto-4.0-48.07.i386.rpm

25. Do the same step with step number 12 and 13

26.Reboot and you can start. Go to Thin Client see if you get some error or no

27.If you experience an error with code 22D it means there is something wrong with your network

28.If you experience an error with code 26D, all you need to do is go to the server then use yast2 to reinstall following things: xorg-X11, xorg-X11-font, xorg-X11-fontcore, xorg-X11-server, xorg-X11-libs

Well, this way will make the administration easier, you can make quota of each user HDD, here we got almost 20 user, but it has some drawback like making a big traffic in network, and I don’t think it will be easy to play music here…(make some network traffic). It just like using one OS for many user…

Advertisements

7 thoughts on “Installing SunRay Software Server 4.0 with OpenSUSE 10.2

  1. Network traffic?
    Do the networking devices support QoS?
    Check for packets in your network, maybe you can try to implement QoS if it is possible to manage your network traffic.

  2. Owwww…..I will try to find it…
    Anyway my router is 3com layer 3 switch 4500 series with 26 port…
    Btw I am having a problem in implementing MAC address authentication using that router…have any idea?if so I’ll be glad….:D

  3. already found the solution?

    I don’t really know how the ACL and QoS in 3Com switches, you should take a look on those things
    I read that the switch have RADIUS Authenticated Device Access (RADA) that enables authentication of attached devices via MAC address.

    check these links:
    -http://www.3com.hu/download/switch_4500_family_configuration_guide.pdf/switch_4500_family_configuration_guide.pdf
    -http://knowledgebase.3com.com/

  4. already found the solution?

    I don’t really know how the ACL and QoS in 3Com switches, you should take a look on those things
    I read that the switch have RADIUS Authenticated Device Access (RADA) that enables authentication of attached devices via MAC address.

    check these links:
    -http://www.3com.hu/download/switch_4500_family_configuration_guide.pdf/switch_4500_family_configuration_guide.pdf
    -http://knowledgebase.3com.com/

    usually the purpose of layer 3 in switches is to provide routing between VLANs (inter-VLAN routing) not for routing between internal LAN and WAN. CMIIW

    sorry for the late response, I just checked your blog again now

  5. I already found that solution…sorry to reply to, coz I’m quite busy now…anyway I already read all the documentation but still have no idea on making RADA work, the solution that I got perhaps it can be considered as RADA huehuehue :P…but anyhow it working well so it well done finish

    anyway these switches is to manage VLAN not LAN, I see your point there, currently there are almost 5 or 6 VLAN in my office and it all connect to those switches.

  6. On step 14 of you install, I’m missing the file gdm.conf.rpmsave in the /etc/X11/gdm directory. I’ve installed OpenSUSE 10.2 on a Sun x2200 but for some reason I ran into this problem. Can you assist. Thanks!

  7. Hi Cole,

    I did run into this problem one at a time, the only solution is to reinstall the OS, I did try to copy the file from somewhere else but it won’t work. Anyway it might make the system not well configured.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s