QuickTransit

2007/8/26更新

対応バージョン: Solaris/SPARC to Linux/x86-64-1.1.1

QuickTransitに含まれているVSE(Virtual Solaris Environment)のバージョンはSolaris 10相当だが、バージョンの差異はQuickTransitが吸収するので問題なく動作させられる。

ただし、バージョン番号を意識するプログラム(バージョン番号によって挙動を変えるようなプログラムの場合)はVSEのバージョン番号を変更する必要がある。

手順 (デーモン再起動は不要)

# vi /etc/opt/QuickTransit-SPARC/QuickTransit.conf
:
FU_OS_RELEASE=5.8 ← 追加(Solaris 8の場合)

確認

(変更前)

% uname -a
SunOS mota401a 5.10 TB1V0_BASELINE_0004 sun4u sparc SUNW,Sun-Fire-V210

(変更後)

% uname -a
SunOS mota401a 5.8 TB1V0_BASELINE_0004 sun4u sparc SUNW,Sun-Fire-V210

2007/8/26更新

対応バージョン: Solaris/SPARC to Linux/x86-64-1.1.1

設定ファイル/etc/opt/QuickTransit-SPARC/QuickTransit.confに以下の設定を追加する。

サーバの再起動(/etc/rc3.d/S99QuickTransit restart)は必要ない。

DEBUG_MODE=y

ログは/var/opt/QuickTransit-SPARC/log配下に「QTFuseLog.<実行コマンド>.<実行時PID>.0」というファイル名でコマンド毎に作られる。

ログは大量に作成される可能性があるので傷害時などの時の他は無効にしておくほうがよい。

2007/8/26更新

対応バージョン: Solaris/SPARC to Linux/x86-64-1.1.1

設定ファイル/etc/opt/QuickTransit-SPARC/QuickTransit.confに以下の設定を追加する。

サーバの再起動(/etc/rc3.d/S99QuickTransit restart)は必要ない。

FU_OPT_LD_LIBRARY_PATH=<必要なパス>

環境変数の先頭に「FU_OPT_」を付加する必要があるので注意すること。

2007/8/26更新

対応バージョン: Solaris/SPARC to Linux/x86-64-1.1.1

以下からSunのディストリビューションであるSolarisExpressをダウンロードして、その中に含まれる日本語環境構築に必要なパッケージをインストールする。

SUNWale

中国語、日本語、韓国語(CJK)ロケールで共有される共通ファイル

SUNWeuluf

米国英語/UTF-8版環境ユーザーファイル

SUNWjfpr

日本語機能パッケージ(JFP)用ストリームモジュール

SUNWjfpu

usr用日本語(EUC)機能パッケージ固有ファイル

SUNWman
SUNWjeman

上記2パッケージはmanコマンドとその日本語版なので必要に応じてインストールする。

2007/8/26更新

対応バージョン: Solaris/SPARC to Linux/x86-64-1.1.1

準備

導入に必要なもの

QuickTransit-Solaris_SPARC-Linux_x86_64-1.1.1.tar.gz
qt.lic ... ライセンスファイル
SolarisWorld-38-36.noarch.rpm ... Solaris VSE

導入OS

Red Hat Enterprise Linux AS 4 Update 4

ライセンスサーバ用アカウント作成

アカウント (UID)

qtlic (任意)

グループ (GID)

qtlic (任意)

ホームディレクトリ

/home/qtlic

ログインシェル

/bin/csh

ライセンスファイル修正

ライセンスデーモン用の以下の設定を追加
SERVER <サーバ名> ANY [<ポート番号>]
VENDOR QTRANSIT

(*) サーバ名はホスト名でもIPアドレスでもどちらでもよい。

(*) ポート番号は省略すると27000が使われる。

配布ファイル展開

% tar zxvf QuickTransit-Solaris_SPARC-Linux_x86_64-1.1.1.tar.gz
% cd QuickTransit-Solaris_SPARC-Linux_x86_64-1.1.1
% su

前バージョンアンインストール

以前のバージョンがインストールされている場合はまず以下の手順でアンインストールする。

QuickTransitデーモン停止

# /etc/init.d/QuickTransit stop

(*) ライセンスサーバは後述のアンインストール手順中にて自動停止する。

アンインストール

インストーラを使用してアンインストールを実行する。

# ./installer.sh
:
  1. Install Software.
  2. Upgrade Software.
  3. Uninstall Software.
  4. Show Installed Products.
  5. Quit.

Please select the type of operation you would like to perform: ■ ← 3
ライセンスサーバ関連ファイルアンインストール
  1. Uninstall a QuickTransit-SPARC Installation.
  2. Uninstall a SolarisWorld Installation.
  3. Uninstall a SolarisWorld Patch Installation.
  4. Uninstall QuickTransit Licensing.
  5. Go back to the Main Menu.
  6. Quit.

Please select the type of uninstall you would like to perform: ■ ← 4

Are you sure you want to uninstall QuickTransit-Licensing? [y/N]: ■ ← y

Remove the QuickTransit-Licensing directory from /opt/QuickTransit-Licensing? [y/N]: ■ ← y
(*) インストールディレクトリを保存しておきたければ「N」
SolarisWorldパッチアンインストール
  1. Uninstall a QuickTransit-SPARC Installation.
  2. Uninstall a SolarisWorld Installation.
  3. Uninstall a SolarisWorld Patch Installation.
  4. Uninstall QuickTransit Licensing.
  5. Go back to the Main Menu.
  6. Quit.

Please select the type of uninstall you would like to perform: ■ ← 3

Are you sure you want to uninstall SolarisWorld-Patch-1? [y/N]: ■ ← y
SolarisWorldアンインストール
  1. Uninstall a QuickTransit-SPARC Installation.
  2. Uninstall a SolarisWorld Installation.
  3. Uninstall a SolarisWorld Patch Installation.
  4. Uninstall QuickTransit Licensing.
  5. Go back to the Main Menu.
  6. Quit.

Please select the type of uninstall you would like to perform: ■ ← 2

Are you sure you want to uninstall SolarisWorld? [y/N]: ■ ← y

Remove modified files and installed applications from SolarisWorld? [y/N]: ■ ← y
(*) インストール後に変更したファイルを保存しておきたければ「N」
QuickTransitアンインストール
  1. Uninstall a QuickTransit-SPARC Installation.
  2. Uninstall a SolarisWorld Installation.
  3. Uninstall a SolarisWorld Patch Installation.
  4. Uninstall QuickTransit Licensing.
  5. Go back to the Main Menu.
  6. Quit.

Please select the type of uninstall you would like to perform: ■ ← 1

Are you sure you want to uninstall QuickTransit-SPARC? [y/N]: ■ ← y

Remove QuickTransit log files from /var/opt/QuickTransit-SPARC/log? [y/N]: ■ ← y
(*) ログファイルを保存しておきたければ「N」

Remove the QuickTransit directory from /opt/QuickTransit-SPARC? [y/N]: ■ ← y
(*) インストールディレクトリを保存しておきたければ「N」

Remove QuickTransit config files from /etc/opt/QuickTransit-SPARC? [y/N]: ■ ← y
(*) 設定ファイルを保存しておきたければ「N」

インストール

ライセンスサーバインストール

# ./installer.sh

Welcome to the QuickTransit-SPARC Installer

  1. Install Software.
  2. Upgrade Software.
  3. Uninstall Software.
  4. Show Installed Products.
  5. Quit.

Please select the type of operation you would like to perform: ■ ← 1 

  1. Install QuickTransit Licensing.
  2. Install QuickTransit-SPARC + SolarisWorld.
  3. Go back to the Main Menu.
  4. Quit.

Please select the type of install you would like to perform: ■ ← 1

Install QuickTransit-Licensing to [/opt/QuickTransit-Licensing]: ■ ← リターン

Please enter the location of your QuickTransit-SPARC floating license file: ■
← ラインセンスファイル名を入力(ここではqt.licとして進める)

この段階で自動的にライセンスサーバが起動する。

# ps ax | grep QuickTransit
... /opt/QuickTransit-Licensing/bin/lmgrd -c /opt/QuickTransit-Licensing/licenses/qt.lic -l /opt/QuickTransit-Licensing/log
... QTRANSIT -T mota401a 10.8 3 -c /opt/QuickTransit-Licensing/licenses/qt.lic -lmgrd_port 6978 --lmgrd_start 46529fbd

QuickTransit本体 + SolarisWorldインストール

  1. Install Software.
  2. Upgrade Software.
  3. Uninstall Software.
  4. Show Installed Products.
  5. Quit.

Please select the type of operation you would like to perform: ■ ← 1 

  1. Install QuickTransit Licensing.
  2. Install QuickTransit-SPARC + SolarisWorld.
  3. Go back to the Main Menu.
  4. Quit.

Please select the type of install you would like to perform: ■ ← 2

Do you wish to use a license server to license QuickTransit-SPARC? [Y/n]: ■ ← リターン

Do you wish to configure three server redundancy? [y/N]: ■ ← リターン

Please enter the hostname or ip address of your QuickTransit license server [localhost]: ■
← ライセンスサーバ名を入力(ここではデフォルトのまま進める)

Please enter the port number your QuickTransit license server is running on [27000]: ■
← ライセンスサーバのポート番号を入力(ここではデフォルトのまま進める)

Log files created by QuickTransit will be stored in [/var/opt/QuickTransit-SPARC/log]: ■
← ログファイルの格納場所を入力(ここではデフォルトのまま進める)

Install QuickTransit-SPARC to [/opt/QuickTransit-SPARC]: ■
← QuickTransitのインストール場所を入力(ここではデフォルトのまま進める)

Install SolarisWorld to [/solaris]: ■
← SolarisWorldのインストール場所を入力(ここではデフォルトのまま進める)

Installing QuickTransit-SPARC-1.1.142.0004-1.x86_64.rpm... Done.       

Installing SolarisWorld-38-36.noarch.rpm... Done.       

Removing ypbind and rcpbind rc3.d and rc0.d links... Done.

Configuring /etc/nsswitch.conf... Done.

Configuring Nodename... Done.

Please enter the path to your users' home directory [/home]: ■
← SunWorld上のホームディレクトリをLinux上のどのディレクトリに割り当てるかを
   入力する(ここではデフォルトのまま進める)

Install default Solaris Users + Groups (RECOMMENDED)? [Y/n]: ■ ← リターン

(*) ここでインストールされたSolaris用ユーザ/グループはQuickTransitの
    アンインストール時に削除されないので注意する。

A startup script has been added at /etc/init.d/QuickTransit
and this will be run at next boot.  To start using QuickTransit
right now, run: 
  /etc/init.d/QuickTransit start

Installation of QuickTransit + SolarisWorld complete.

SolarisWorld用パッチ適用

  1. Install Software.
  2. Upgrade Software.
  3. Uninstall Software.
  4. Show Installed Products.
  5. Quit.

Please select the type of operation you would like to perform: ■ ← 2

  1. Upgrade a QuickTransit-SPARC Installation.
  2. Apply a Patch to a SolarisWorld Installation.
  3. Upgrade a QuickTransit-Licensing Installation.
  4. Go back to the Main Menu.
  5. Quit.

Please select the type of upgrade you would like to perform: ■ ← 2

Upgrading will terminate all instances of QuickTransit.
Are you sure you want to continue? [Y/n]: ■ ← リターン

Apply patch SolarisWorld-Patch-1-1-1.noarch.rpm? [y/N]: ■ ← y

Installing SolarisWorld-Patch-1-1-1.noarch.rpm... Done.       

インストール物 (man,infoは除く)

ライセンスサーバ
/opt/QuickTransit-Licensing/bin/QTRANSIT	ベンダデーモン
/opt/QuickTransit-Licensing/bin/lmgrd		ライセンスサーバ
/opt/QuickTransit-Licensing/bin/lmutil		ライセンス管理ツール

/opt/QuickTransit-Licensing/licenses/qt.lic	ライセンスファイル

/opt/QuickTransit-Licensing/doc/LicensingEndUserGuide.pdf
QuickTransit本体
/opt/QuickTransit-SPARC/bin/QuickTransit
/opt/QuickTransit-SPARC/bin/bindsol
/opt/QuickTransit-SPARC/bin/linksol
/opt/QuickTransit-SPARC/bin/qtDiagnosticTest.sh
/opt/QuickTransit-SPARC/bin/qtd
/opt/QuickTransit-SPARC/bin/runsol

/opt/QuickTransit-SPARC/lib/*/*
SolarisWorld (Solaris実行環境)
/solaris/*/*/*
設定ファイル
/etc/opt/QuickTransit-SPARC/QuickTransit.conf

/var/opt/QuickTransit-SPARC/cache (ディレクトリのみ)
/var/opt/QuickTransit-SPARC/log (ディレクトリのみ)
initスクリプト
/etc/init.d/QuickTransit
/etc/init.d/QuickTransit-Licensing
/etc/init.d/ipmi

/etc/rc3.d/S95QuickTransit -> ../init.d/QuickTransit
/etc/rc3.d/S94QuickTransit-Licensing -> ../init.d/QuickTransit-Licensing
/etc/rc3.d/K87ipmi -> ../init.d/ipmi

/etc/rc0.d/K05QuickTransit -> ../init.d/QuickTransit
/etc/rc0.d/K06QuickTransit-Licensing -> ../init.d/QuickTransit-Licensing
/etc/rc0.d/K87ipmi -> ../init.d/ipmi

インストール後、/etc/nsswitch.confに以下の内容が追加される。

ipnodes:    files

各種設定

必要に応じて設定ファイル/etc/opt/QuickTransit-SPARC/QuickTransit.confを修正する。

動作確認

QuickTransitデーモン起動

# /etc/init.d/QuickTransit start
Starting qtd...ok
Started qtd                        [  OK  ]
Starting QuickTransit              [  OK  ]

# ps ax|grep qtd
29970 ?        Ssl    0:00 /opt/QuickTransit-SPARC/bin/qtd