サーバの起動と同時に自動起動するInterstageに必要な環境変数を設定するため、Interstageのrcプロシジャを編集する必要があります。
編集するrcプロシジャは以下になります。
/etc/rc2.d/S99startis |
以下に、Interstageのrcプロシジャの編集例を示します。例内の“# for ISI (Start)”の行から“# for ISI (End)”の行までが、編集で追加する内容です。
#!/bin/sh # chkconfig: 2345 99 00 # description: Interstage Application Server # Interstage Application Server # startis : Interstage Application Server start procedure ########################################################################## # If you want to run Interstage Application Server on other locale # environments such as English, please customize the default locale # setting. ########################################################################## . /etc/sysconfig/i18n export LANG # for ISI (Start) . /opt/FJSVibs/etc/def/apfwrcsymfo.sh # for ISI (End) OD_HOME=/opt/FJSVod export OD_HOME ulimit -c unlimited case "$1" in start) touch /var/lock/subsys/stopis >/dev/null 2>/dev/nul /opt/FJSVtd/bin/isstart >/dev/null 2>/dev/nul ;; *) exit 0 ;; esac |
注意
rcプロシジャへの設定内容は、次回のサーバ再起動から有効になります。
サーバを再起動しない場合の、Interstageを再起動する方法は以下のとおりです。
Interstageの停止:
/opt/FJSVtd/bin/isstop |
Interstageの起動:
. /opt/FJSVibs/etc/def/apfwrcsymfo.sh /opt/FJSVtd/bin/isstart |