ページの先頭行へ戻る
Systemwalker Centric Manager Consolidation Option ユーザーズガイド
FUJITSU Software

5.1 リソースの登録

Consolidation Option対応製品でミドルウェアインスタンスのクラスタアプリケーションを作成したあと、そのクラスタアプリケーションに対してCmdlineリソースを登録します。

PRIMECLUSTERのRMS Wizardを使用して、Cmdlineリソースをクラスタアプリケーションに登録する方法について説明します。

監視対象のミドルウェアインスタンスごとに以下の設定を行ってください。

参照

Symfoware Server Consolidation Optionのクラスタアプリケーションの詳細については“Symfoware Server Consolidation Option ユーザーズガイド”を参照してください。

Systemwalker Operation Manager Consolidation Option のクラスタアプリケーションの詳細については“Systemwalker Operation Manager Consolidation Option ユーザーズガイド”を参照してください。

PRIMECLUSTERの詳細については、PRIMECLUSTERのマニュアルを参照してください。

  1. RMS Wizardを起動します。

    以下のコマンドを実行します。

    /opt/SMAW/SMAWRrms/bin/hvw -n Configurationファイル

    「Configurationファイル」には、監視対象のミドルウェアインスタンスのリソースが登録されているConfigurationファイル名を指定してください。

    例)

    Configurationファイル名が「testconf」の場合

    /opt/SMAW/SMAWRrms/bin/hvw -n testconf

    注意

    他製品と共存している場合、Configurationファイルは各製品共通のものを指定してください。異なるものを指定すると、設定済の他製品の設定情報が消去される場合があります。

  2. [Main configuration menu]の[Application-Edit]を選択します。

    node1: Main configuration menu, current configuration: testconf
    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
  3. [Application selection menu]で、構成変更を行うuserApplicationを選択します。

    以下は、[APP1]を選択した例です。

    Edit: Application selection menu (restricted):
    1) HELP
    2) QUIT
    3) RETURN
    4) OPTIONS
    5) APP1
    Application Name: 5
  4. [turnkey wizard]で、[CommandLines]を選択します。

    Settings of turnkey wizard "STANDBY" (APP1:consistent)
    1) HELP                                 9) Procedure:BasicApplication(-)
    2) NO-SAVE+EXIT                        10) Symfoware(-)
    3) FROZEN                              11) Procedure:SystemState3(-)
    4) -                                   12) Procedure:SystemState2(-)
    5) ApplicationName=APP1                13) Gls:Global-Link-Services(Gls_APP1) 
    6) Machines+Basics(app1)               14) IpAddresses(-)
    7) CommandLines(-)                     15) LocalFileSystems(Lfs_APP1) 
    8) Procedure:Application(-)            16) Gds:Global-Disk-Services(Gds_APP1)
    Choose the setting to process: 7
  5. [CommandLines]で、[AdditionalStartCommand]を選択します。

    CommandLines (Cmd_APP1:not yet consistent) 
    1) HELP                                 4) REMOVE+EXIT
    2) -                                    5) AdditionalStartCommand
    3) SAVE+EXIT                            6) (ReturnCodes) 
    Choose the setting to process: 5
  6. [FREECHOICE]を選択し、以下のコマンドラインを入力します。

    /opt/FJSVfjzbx/bin/swopnzbxagtctrl start -d 監視対象のミドルウェアインスタンスホスト

    以下は、監視対象のミドルウェアインスタンスホスト名が、「SYMFOSVOI_inst01_host01」の場合の例です。

    1) HELP
    2) RETURN
    3) FREECHOICE
    Set a start command: 3
            >> /opt/FJSVfjzbx/bin/swopnzbxagtctrl start -d SYMFOSVOI_inst01_host01
  7. [CommandLines]で、[StopCommands]を選択します。

    CommandLines (Cmd_APP1:consistent)
    1) HELP                                 7) StopCommands[0]=none
    2) -                                    8) CheckCommands[0]=none
    3) SAVE+EXIT                            9) CheckCommandTimeouts[0]=none
    4) REMOVE+EXIT                         10) Flags[0]=DT300
    5) AdditionalStartCommand              11) (ReturnCodes)
    6) StartCommands[0]='xxxx'
    Choose the setting to process: 7
  8. [FREECHOICE]を選択し、以下のコマンドラインを入力します。

    /opt/FJSVfjzbx/bin/swopnzbxagtctrl stop -d 監視対象のミドルウェアインスタンスホスト

    以下は監視対象のミドルウェアインスタンスホスト名が、「SYMFOSVOI_inst01_host01」の場合の例です。

    1) HELP
    2) RETURN
    3) FREECHOICE
    Set a stop command: 3
            >> /opt/FJSVfjzbx/bin/swopnzbxagtctrl stop -d SYMFOSVOI_inst01_host01
  9. [CommandLines]で、[CheckCommands]を選択します。

    CommandLines (Cmd_APP1:consistent)
    1) HELP                                 7) StopCommands[0]='yyyy'
    2) -                                    8) CheckCommands[0]=none
    3) SAVE+EXIT                            9) CheckCommandTimeouts[0]=none
    4) REMOVE+EXIT                         10) Flags[0]=DT300
    5) AdditionalStartCommand              11) (ReturnCodes) 
    6) StartCommands[0]='xxxx'
    Choose the setting to process: 8
  10. [FREECHOICE]を選択し、以下のコマンドラインを入力します。

    ps -ef | grep [/]etc/opt/FJSVfjzbx/instances/監視対象のミドルウェアインスタンスホスト/zabbix_agentd.conf

    以下は監視対象のミドルウェアインスタンスホスト名が、「SYMFOSVOI_inst01_host01」の場合の例です。

    1) HELP
    2) RETURN
    3) FREECHOICE
    Set a stop command: 3
            >> ps -ef | grep  [/]etc/opt/FJSVfjzbx/instances/SYMFOSVOI_inst01_host01/zabbix_agentd.conf
  11. 設定情報が正しいことを確認し、[SAVE+EXIT]を選択します。

    CommandLines (Cmd_App1:not yet consistent)
    1) HELP                                 7) StopCommands[0]='yyyy'
    2) -                                    8) CheckCommands[0]='zzzz'
    3) SAVE+EXIT                            9) CheckCommandTimeouts[0]=none
    4) REMOVE+EXIT                         10) Flags[0]=DT300
    5) AdditionalStartCommand              11) (ReturnCodes) 
    6) StartCommands[0]='xxxx'
    Choose the setting to process: 3
  12. [turnkey wizard]で、[SAVE+EXIT]を選択します。

    Settings of turnkey wizard "STANDBY" (APP1:not yet consistent)
    1) HELP                                 9) Procedure:BasicApplication(-)
    2) READ ONLY                           10) Symfoware(-)
    3) SAVE+EXIT                           11) Procedure:SystemState3(-)
    4) -                                   12) Procedure:SystemState2(-)
    5) ApplicationName=APP1                13) Gls:Global-Link-Services(-)
    6) Machines+Basics(app1)               14) LocalFileSystems(-)
    7) CommandLines(Cmd_APP1)              15) Gds:Global-Disk-Services(-)
    8) Procedure:Application(-)
    Choose the setting to process: 3
  13. [Application selection menu]で、[RETURN]を選択します。

    Edit: Application selection menu (restricted):
    1) HELP
    2) QUIT
    3) RETURN
    4) OPTIONS
    5) APP1
    Application Name: 3
  14. [Main configuration menu]で、[Configuration-Generate]を選択します。

    node1: Main configuration menu, current configuration: testconf
    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-CreateMachine
    9) Configuration-Copy
    Choose an action: 7
  15. [Main configuration menu]で、[Configuration-Activate]を選択します。

    node1: Main configuration menu, current configuration: testconf
    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-CreateMachine
    9) Configuration-Copy
    Choose an action: 8
  16. [Main configuration menu]で、[QUIT]を選択し、RMS Wizardを終了します。

    node1: Main configuration menu, current configuration: testconf
    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-CreateMachine
    9) Configuration-Copy
    Choose an action: 2