ページの先頭行へ戻る
PRIMECLUSTER Wizard for NAS 4.5 導入運用手引書
FUJITSU Software

2.7.2 userApplication の設定

RMS Configuration Wizard の起動

RMS Configuration Wizard を起動して、userApplication の設定を行います。
hvw コマンドに指定するRMS 構成定義名は、"2.5.2 userApplication の設定" で指定したRMS 構成定義名と同じにします。

userApplication の編集

  1. トップメニューが表示されますので、Application-Edit を選択します。

    node1: Main configuration menu, current configuration: nas_config
    No RMS active in the cluster
     1) HELP                              10) Configuration-Remove
     2) QUIT                              11) Configuration-Freeze
     3) Application-Create                12) Configuration-Thaw
     4) Application-Edit                  13) Configuration-Edit-Global-Settings
     5) Application-Remove                14) Configuration-Consistency-Report
     6) Application-Clone                 15) Configuration-ScriptExecution
     7) Configuration-Generate            16) RMS-CreateMachine
     8) Configuration-Activate            17) RMS-RemoveMachine
     9) Configuration-Copy
    Choose an action: 4
  2. userApplication の一覧が表示されますので、編集する userApplication (すべて大文字)を選択します。

    Edit: Application selection menu (restricted):
    1) HELP
    2) QUIT
    3) RETURN
    4) OPTIONS
    5) APP1
    Application Name: 5
  3. NAS turnkey wizard が表示されますので、CommandLines を選択します。

    Settings of turnkey wizard "NAS"
     1) HELP                              12) Crm:SystemState2(-)
     2) -                                 13) LocalFileSystems(-)
     3) SAVE+EXIT                         14) RemoteFileSystems(Rfs_APP1)
     4) -                                 15) IpAddresses(-)
     5) ApplicationName=APP1              16) RawDisks(-)
     6) Machines+Basics(app1)             17) RC-VolumeManagement(-)
     7) CommandLines(-)                   18) VERITAS-VolumeManagement(-)
     8) Controllers(-)                    19) Netapp(Netapp_APP1)
     9) Crm:Application(-)                20) Eternusdx(-)
    10) Crm:BasicApplication(-)           21) Gds:Global-Disk-Services(-)
    11) Crm:SystemState3(-)               22) Gls:Global-Link-Services(-)
    Choose the setting to process: 7
  4. CommandLines wizard が表示されますので、AdditionalStartCommand を選択し、表示される選択肢から FREECHOICE を選択して、"2.7.2 userApplication の設定" で作成した起動スクリプトを指定します。

    CommandLines (Cmd_APP1:not yet consistent)
    1) HELP
    2) -
    3) SAVE+EXIT
    4) REMOVE+EXIT
    5) AdditionalStartCommand
    6) (ReturnCodes)
    Choose the setting to process: 5
    1) HELP
    2) RETURN
    3) FREECHOICE
    Set a start command: 3
            >> /nas/start.sh
  5. CommandLines wizard に戻りますので、StopCommands[0] を選択し、表示される選択肢から FREECHOICE を選択して、"2.7.1 Online/Offline スクリプトの作成" で作成した停止スクリプトを指定します。

    CommandLines (Cmd_APP1:consistent)
     1) HELP
     2) -
     3) SAVE+EXIT
     4) REMOVE+EXIT
     5) AdditionalStartCommand
     6) StartCommands[0]='/nas/start.sh'
     7) StopCommands[0]=none
     8) CheckCommands[0]=none
     9) CheckCommandTimeouts[0]=none
    10) Flags[0]=DT300
    11) (ReturnCodes)
    Choose the setting to process: 7
    1) HELP
    2) RETURN
    3) FREECHOICE
    Set a start command: 3
            >> /nas/stop.sh
  6. CommandLines wizard に戻りますので、複数アプリケーションがある場合は、AdditionalStartCommand で追加します。全ての設定が完了した時は、SAVE+EXIT を選択します。

    CommandLines (Cmd_APP1:consistent)
     1) HELP
     2) -
     3) SAVE+EXIT
     4) REMOVE+EXIT
     5) AdditionalStartCommand
     6) StartCommands[0]='/nas/start.sh'
     7) StopCommands[0]='/nas/stop.sh'
     8) CheckCommands[0]=none
     9) CheckCommandTimeouts[0]=none
    10) Flags[0]=DT300
    11) (ReturnCodes)
    Choose the setting to process: 3
  7. NAS turnkey wizard に戻りますので、他に必要な設定がありましたら、設定を行います。全ての設定が完了しましたら、SAVE+EXIT を選択します。

    Settings of turnkey wizard "NAS"
     1) HELP                              12) Crm:SystemState2(-)
     2) -                                 13) LocalFileSystems(-)
     3) SAVE+EXIT                         14) RemoteFileSystems(Rfs_APP1)
     4) -                                 15) IpAddresses(-)
     5) ApplicationName=APP1              16) RawDisks(-)
     6) Machines+Basics(app1)             17) RC-VolumeManagement(-)
     7) CommandLines(Cmd_APP1)            18) VERITAS-VolumeManagement(-)
     8) Controllers(-)                    19) Netapp(Netapp_APP1)
     9) Crm:Application(-)                20) Eternusdx(-)
    10) Crm:BasicApplication(-)           21) Gds:Global-Disk-Services(-)
    11) Crm:SystemState3(-)               22) Gls:Global-Link-Services(-)
    Choose the setting to process: 3
  8. userApplication の一覧に戻りますので、別の userApplication を設定する場合はそのuserApplication を、全ての設定が完了している時は RETURN を選択します。

    Edit: Application selection menu (restricted):
    1) HELP
    2) QUIT
    3) RETURN
    4) OPTIONS
    5) APP1
    Application Name: 3
  9. RMS Configuration Wizard に戻りますので、Configuration-Generate、Configuration-Activate を選択し、設定を反映させます。それらが完了しましたら、QUIT を選択します。

    node1: Main configuration menu, current configuration: nas_config
    No RMS active in the cluster
     1) HELP                              10) Configuration-Remove
     2) QUIT                              11) Configuration-Freeze
     3) Application-Create                12) Configuration-Thaw
     4) Application-Edit                  13) Configuration-Edit-Global-Settings
     5) Application-Remove                14) Configuration-Consistency-Report
     6) Application-Clone                 15) Configuration-ScriptExecution
     7) Configuration-Generate            16) RMS-CreateMachine
     8) Configuration-Activate            17) RMS-RemoveMachine
     9) Configuration-Copy
    Choose an action: 2

スケーラブル運用の場合

スケーラブル運用では userApplication は以下のように構成されます。

スタンバイ運用の場合

スタンバイ運用では userApplication は以下のように構成されます。