こんにちは、あかぴんです。
外からでも確認できるように作業メモを貼り付けます。
-----------------------------------------------------------------------------------
[Solaris 10 5/08 x86 e1000g0:192.168.10.1/24]---+---[Router]---
|
+---[Sun Ray]
+---[Sun Ray]
+---[Sun Ray]
-----------------------------------------------------------------------------------
[パッケージとパッチの入手 (12/2008 現在)]
Package
Sun Ray Software 4 10/06
Patch (Solaris 10/x86)
127554-03 Sun Ray Core Services version 4.0 Patch Update SunOS 5.10_x86
127554-04 Sun Ray Core Services version 4.0 Patch Update SunOS 5.10_x86
127554-05 Sun Ray Core Services version 4.0 Patch Update SunOS 5.10_x86
128166-01 Sun Ray Kiosk Session Service version 4.0 Patch Update SunOS 5.10_x86 for SRSS 4.0
[Apache Tomcat のインストール]
# pwd
/Desktop
# unzip -q srss_4.0_solaris.zip
# cd srss_4.0/Supplemental/Apache_Tomcat/
# /usr/sfw/bin/gtar zxvf apache-tomcat-5.5.20.tar.gz -C /opt
# cd /opt
# ln -s apache-tomcat-5.5.20 apache-tomcat
[SRS のインストール]
# pwd
/Desktop/srss_4.0
# ./utinstall
Sun Microsystems, Inc. ("Sun")
SOFTWARE LICENSE AGREEMENT
.
.
.
Accept (Y/N): Y
Do you want to install Sun Ray Server Software 4.0 French Admin GUI (Y/[N]): N
Do you want to install Sun Ray Server Software 4.0 Japanese Admin GUI (Y/[N]): Y
Do you want to install Sun Ray Server Software 4.0 Simplified Chinese Admin GUI (Y/[N]): N
Kiosk Mode 4.0 not installed
Enter Java v1.5 (or later) location [/usr/java]:
About to carry out the following operations:
Install [ Sun Ray Server Software 4.0 ]
Install [ Sun Ray Data Store 3.0 ]
Install [ Sun Ray Server Software 4.0 Japanese Admin GUI ]
Install [ Sun Ray Server Software 4.0 ]
Install [ Kiosk Mode 4.0 ]
Install [ data for utslaunch ]
Install [ Sun Ray Server Software 4.0 modules for utsunmc ]
Continue? ([Y]/N): Y
[SRS Patch のインストール]
# pwd
/Desktop
# unzip -q 127554-05.zip
# patchadd -d 127554-05
# init 6
[SRS の設定]
専用 LAN 構成の場合は、utadm -a e1000g1 等、
以下は DHCP サーバも兼ねる場合の設定。
# cd /opt/SUNWut/sbin
# ./utadm -A 192.168.10.0
### Configuring /etc/nsswitch.conf
### Configuring Service information for Sun Ray
### Disabling Routing
Selected values for subnetwork "192.168.10.0"
net mask: 255.255.255.0
no IP addresses offered
auth server list: 192.168.10.1
firmware server: 192.168.10.1
Accept as is? ([Y]/N): N
netmask: 255.255.255.0 (cannot be changed - system defined netmask)
Do you want to offer IP addresses for this subnet? (Y/[N]): Y
new first Sun Ray address: [192.168.10.245] 192.168.10.100
number of Sun Ray addresses to allocate: [155] 99
auth server list: 192.168.10.1
To read auth server list from file, enter file name:
Auth server IP address (enter 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: [192.168.10.1]
new router: [192.168.10.1]
Selected values for subnetwork "192.168.10.0"
net mask: 255.255.255.0
first unit address: 192.168.10.100
last unit address: 192.168.10.198
auth server list: 192.168.10.1
firmware server: 192.168.10.1
router: 192.168.10.1
Accept as is? ([Y]/N): Y
.
.
.
DHCP is not currently running, should I start it? ([Y]/N): Y
[utconfig]
# ./utconfig
Continue ([y]/n)? y
Enter Sun Ray admin password:
Re-enter Sun Ray admin password:
Configure Sun Ray Web Administration? ([y]/n)? y
Enter Apache Tomcat installation directory [/opt/apache-tomcat]:
Enter HTTP port number [1660]:
Enable secure connections? ([y]/n)? n
Enter Tomcat process username [utwww]:
Enable remote server administration? (y/[n])? y
.
.
.
Configure Sun Ray Kiosk Mode? (y/[n])? y
Enter user prefix [utku]:
Enter group [utkiosk]:
Enter userID range start [150000]:
Enter number of users [25]:
Configure this server for a failover group? (y/[n])?
[Sun Ray Connector のインストール]
# pwd
/Desktop
# unzip -q srwc_2.0_solaris.zip
# cd srwc_2.0
# ./installer
Accept (Y/N): Y
Enter the name of a pre-existing group for use by the Sun Ray Connector:
utkiosk
[Sun Ray Connector Patch]
# unzip -q 128166-01.zip
# patchadd 128166-01
# /opt/SUNWuttsc/sbin/uttscadm -c
# /opt/SUNWut/sbin/utrestart
これで、とりあえず動きます。
[Sun Ray Server のコンフィグクリア]
# cd /opt/SUNWut/sbin
# ./utfwadm -D -a -N all (もしくは ./utfwadm -D -a -n all)
# ./utreplica -u
# ./utadm -r
# ./utconfig -u
環境を再構築する場合は、ここで init 6 してから utadm。
[Sun Ray Server の削除]
# cd /
# /opt/SUNWut/sbin/utinstall -u
# init 6
-----------------------------------------------------------------------------------
[Memo]
1. POPUP GUI 対応ファームにする
# /opt/SUNWut/sbin/utfwadm -A -a -N 192.168.10.0 -f /opt/SUNWut/lib/firmware_gui
Note: VPN が使えないだけで、初代 Sun Ray 1 でも POPUP GUI は使えます。
ファームウェアは、Sun Ray Core Patch (127554-XX) で提供されます。
Menu の出し方は [Stop] + [m]
2. Windows KIOSK モードで USB メモリを使う
残念ながら、現時点では未サポートです。
3. KIOSK モードでログインした際に、ユーザのログイン環境をセットする。
/etc/opt/SUNWkio/prototypes/jds3 以下に $HOME 以下にある設定ファイル群をコピー
(例えば .starsuite)
chownr -R root:sys .starsuite
Sun RayをWebブラウザ専用Kiosk端末にする が参考になります。
4. 別ネットワークに接続した Sun Ray から Sun Ray Server に接続できない
Sun Ray 側に問題がないようであれば、以下を実行してみる
# /opt/SUNWut/sbin/utadm -L on
5. KIOSK モードで screen saver (モニタのブラックアウト)をオフにする
/usr/dt/config/Xsession.d/1100.SUNWut を作成し以下を記述
#!/bin/sh
/usr/openwin/bin/xset -dpms s off s noblank
-----------------------------------------------------------------------------------