RIGHT:[[Linux 関係覚え書き]]
*用意するもの [#xbd88ca2]
-Sun Ray Software 5.3.1 patch
--p14218422_53_Linux-x86-64.zip
-Sun Ray Operationg System 11
--p14218449_110_Generic.zip

*サーバを Linux にした場合の制約 [#cb1de7fd]
-Sun Ray の Smart Card Services (PS/SC-lite) がサポートされない
-Non-Smart Card Mobile (NSCM) 機能がサポートされない
-キオスクモードでのマスストレージ(USB HDD などかな?)の利用は
お奨めしない.Windows からイジェクトされたデバイスを Linux 上では
イジェクトできると認識できない?
-キオスクモードでは厳密にアプリケーションを見分けられない?
Solaris の CDE や Sun Java Desktop では Release 3 からそれができる.
-VMware View connector の機能がサポートされない

*インストール時の注意 [#c356adfe]
-インストール後の設定が終るまで Firewall と SELinux は無効にする
-開発サポートソフトをインストールする(以下)
-Java Runtime Environment が必要
-SunRay AdminGUI は tomcat を必要とする.
-Web Browser は Firefox 3.6.18 をサポート(ってムチャ古)
-SunRay DataStore のポート 7012.

*開発サポートソフトをインストール [#lac25791]
パッチを展開したもの(Sun Ray Software メディアパック)に
 utpkgcheck
コマンドがあり,必要なパッケージを表示してくれる.
 # unzip /export/home2/jse03/SunRaySoftware/p14218422_53_Linux-x86-64.zip
 # cd srs_5.3.1.0-Linux.i386/
 # ./utpkgcheck
 Checking required dependent packages
 package openldap-clients is not installed
 package libXp.i386 is not installed
 package openmotif.i386 is not installed
 
 # yum install openldap-clients
 Installed:
  openldap-clients.x86_64 0:2.3.43-25.el5_8.1
 
 # yum install libXp.i386
 Installed:
   libXp.i386 0:1.0.0-8.1.el5
 
 # yum install openmotif.i386
 Installed:
   openmotif.i386 0:2.3.1-6.1.el5_8
 
 # ./utpkgcheck
 Checking required dependent packages
 All dependent packages are installed

*Java Runtime Environment をインストール [#oc8c34dd]
32bit の JRE Ver.1.6以上が必要.(64bit OS でも 32bit の JRE を使うこと)

http://www.oracle.com/technetwork/java/javase/downloads
からダウンロードするか
Sun Ray Software media pack の Supplemental ディレクトリに入っている.
 
Java のバージョン確認
 # java -version

Sun Ray Software のインストールスクリプトは java が
/usr/java にインストールされていることを前提としている.

なので,別の場所にインストールされている場合は,シンボリックリンクを
張っておくこと.

 $ cd /usr
 $ sudo <media_pack_directory>/Supplemental/Java_Runtime_Environment/\
   Linux/jre-6u23-linux-i586.bin
 $ sudo ln -s jre1.6.0_23 java
 $ /usr/java/bin/java -version
  java version "1.6.0_23"
  Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
  Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)

*Tomcat インストール [#u6d7172e]
 % su -
 # cd <media_pack_directory>/Supplemental/Apache_Tomcat
 # tar -xvz -C /opt -f apache-tomcat-5.5.20.tar.gz
 # ln -s /opt/apache-tomcat-5.5.20 /opt/apache-tomcat

*SunRay Operating System(=クライアントファームウェア)を先に [#s1c35584]
インストールしておく
 # unzip p14218449_110_Generic.zip
 # cd sros_11.0.1.0/
 # ./utfwinstall
 Installing Sun Ray Operating Software 11.0.1.0

 Sun Ray Operating Software 11.0.1.0 has been successfully installed.

 This output has been logged to
     /var/log/utfwinstall.2012_08_16_10:55:32.log
 +++ Done.

/opt/SUNWutdfw にファームウェアがインストールされる.

----
*Sun Ray Software インストール [#b970b861]
 # cd srs_5.3.1.0-Linux.i386
 # ./utsetup
 ==================================================================
 === Installing Sun Ray Software - utinstall ===
 SOFTWARE LICENSE AGREEMENT
 
 1. Definitions.
 
 ...
 
 Please contact Oracle America, Inc. 500 Oracle Parkway, Redwood City, CA 94065 if you have questions.
 
 Last updated September 22, 2011
 
 Accept? (Y/N) Y 
 # utinstall-srss   Version: 4.4     2012年  8月 16日 木曜日 11:04:55 JST
 
 Sun Ray Server Software 4.4              not installed
 Sun Ray Data Store 3.4                   not installed
 Kiosk Mode 4.4                           not installed
 Enter Java v1.6 (or later) location: [/usr/java]
 
 About to Install Sun Ray Server Software 4.4
 Continue? (Y/N) [Y]
 
 About to carry out the following operations:
 
 Install  [ Sun Ray Server Software 4.4 ]
 
 ...
 
 Configuration of Sun Ray Server Software
 
 This script automates the configuration of the Sun Ray Server Software
 and related software products.  Before proceeding, you should have read
 the Installation and Configuration Guide for planning purposes. For your
 convenience, default values (where applicable) are shown in brackets.
 Continue? (Y/N) [Y]
 
 Enter new UT admin password: XXXXXX
 
 Again: Enter new UT admin password: XXXXXX
 
 Configure Sun Ray Web Administration? (Y/N) [N] Y
 
 Enter Apache Tomcat installation directory [/opt/apache-tomcat]
 
 Enter HTTP port number [1660]
 
 Enable secure connections? (Y/N) [Y]
 
 Enter HTTPS port number [1661]
 
 Enter Tomcat process username [utwww]
 
 Enable remote server administration? (Y/N) [N] Y
 
 Configure Sun Ray Kiosk Mode? (Y/N) [N]
 
 Configure this server for a failover group? (Y/N) [N]
 
 About to configure the following software products:
 
 ...
 
 Enter groupname for Windows Connector [utwc]

 Enter group ID (gid) for the group [auto]

 Creating required LDAP schema ...
 
 ...
 
  === Configuring firmware downloads - utfwadm
 Do you want to configure Firmware downloads for Sun Ray clients? (Y/N) [Y]

 ...
 
 ==================================================================
 === Enabling LAN access - utadm
 Do you want to enable LAN access for Sun Ray clients at this time? (Y/N) [N]

----
*代替ネットワーク構成で構成する. [#lf6e078a]
DHCP サーバ,ファームウェアサーバ,セッション管理サーバは
SunRay サーバで行う構成.

「Sun Ray Software 管理ガイド 5.3」の「Chapter 20」

 # /opt/SUNWut/sbin/utadm -A 192.168.168.0
 ## Configuring /etc/nsswitch.conf
 ### Configuring Service information for Sun Ray
   Selected values for subnetwork "192.168.1.0"
     net mask:           255.255.255.0
     no IP addresses offered
     auth server list:   10.1.1.1
     firmware server:    10.1.1.1
   Accept as is? ([Y]/N): N
   new netmask: [255.255.255.0] 255.255.255.0
        You have specified a netmask different than the class
        based netmask for this subnet.
        Do you want to keep this netmask?  ([Y]/N):
   Do you want to offer IP addresses for this subnet? (Y/[N]): Y
   new first Sun Ray address: [192.168.1.4] 192.168.1.20
   number of Sun Ray addresses to allocate: [43] 10
   To read auth server list from file, enter file name:
   Auth server IP address (enter <CR> to end list): 192.168.1.1
   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):
    new firmware server: [10.1.1.1] 192.168.1.1
    new router: [192.168.1.1] 192.168.1.2
   Selected values for subnetwork "192.168.1.0"
     net mask:           255.255.255.0
     first unit address: 192.168.1.20
     last unit address:  192.168.1.29
     auth server list:   192.168.1.2
     firmware server:    192.168.1.2
     router:             192.168.1.2
   Accept as is? ([Y]/N): Y
 ### successfully setup "/etc/opt/SUNWut/net/netmasks" file
 ### Configuring firmware version for Sun Ray
	 All the units served by "sunray.example.com" on the 192.168.1.0
	 network interface, running firmware other than version
	 "11.0.1.0_05_2012.05.29.21.30" 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

-------------------------
*Admin GUI にログインし設定 [#gfbf0246]
https://サーバアドレス:1661/
-ユーザ名: admin
-パスワード: インストール時のもの

 [詳細]タブ
  [システムポリシー]
    [非カードユーザ]
      Oralce Virtual Desktop Client [v]使用可能
       のチェックを入れる.

その後
 [サーバ]タブでサーバ選択
 [ウォームリスタート]もしくは[コールドリスタート]をする

------------------------
*tmpwatch 対策 [#f1f378cb]
/etc/cron.daily の tmpwatch ファイルに /tmp/SUNWut を加える.

変更前
 /usr/sbin/tmpwatch "$flags" -x /tmp/.X11-unix -x /tmp/.XIM-unix \
	 -x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix \
	 -X '/tmp/hsperfdata_*' 240 /tmp
変更後
 /usr/sbin/tmpwatch "$flags" -x /tmp/.X11-unix -x /tmp/.XIM-unix \
	 -x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix \
	 -X '/tmp/hsperfdata_*' -x /tmp/SUNWut 240 /tmp



-------------------------
*VPN を使う場合のOracle Virtual Desktop での調整 [#qc789f8c]
[設定]->[ネットワーク]タブで
MTU を調整する
 [v] MTU  自動判別

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS