ページの先頭行へ戻る
Interstage Job Workload Server セットアップガイド
FUJITSU Software

3.9 Interstageのrcプロシジャの編集

バッチサーバの起動と同時に自動起動するInterstageに必要な環境変数を設定するため、Interstageのrcプロシジャを編集する必要があります。
編集するrcプロシジャは以下になります。

/etc/rc2.d/S99startis


Interstageのrcプロシジャの編集例を以下に示します。
例内の太字の行が、編集で追加する内容です。

  • Interstageのrcプロシジャの編集例

    #!/sbin/sh
    # Interstage Application Server
    # S99startis : Interstage Application Server start procedure

    . /opt/FJSVibs/etc/def/apfwrcsymfo.sh

    if [ -f /opt/FSUNtd/etc/.corba_use ];
    then
    OD_HOME=/opt/FSUNod
    export OD_HOME
    fi

    IS_ISV_CONSOLE_OUTPUT=OFF
    export IS_ISV_CONSOLE_OUTPUT

    OS_VERSION=`/usr/bin/uname -r`
    OS_VLEVEL=`echo $OS_VERSION | cut -f 2 -d "."`
    if [ $OS_VLEVEL -ge 10 ]
    then
    /usr/bin/newtask -p system -c $$ > /dev/null 2>/dev/null
    fi

    /opt/FSUNtd/bin/isstart

    #!/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

    . /opt/FJSVibs/etc/def/apfwrcsymfo.sh

    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

参照

/opt/FJSVibs/etc/def/apfwrcsymfo.sh は、“3.8 JMXサービスのrcプロシジャの編集”を参照してください。