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

2.2.4 Oracle リソースを含まない userApplication の作成

ここでは下図のように、Oracle リソースを含まない構成を作成します。Oracle リソースの作成は、データベース作成後に行います。

GDS の設定

スタンバイ運用では、Global Disk Services (以降、GDS)を「切替えディスク」として設定します。

参考

スタンバイ運用の場合、例えば Oracle データベースの SYSTEM 表領域を配置するための Disk Class と、その他のデータを配置するための Disk Class を別々に用意し、Oracle データベースの SYSTEM 表領域用 Disk Class は、MONITORONLY 属性 "NO"、その他のデータ用 Disk Class は、MONITORONLY 属性 "YES" と設定しての運用も可能です。

userApplication の設定

以降の手順と、「PRIMECLUSTER 導入運用手引書」に従い userApplication を作成してください。

  

2.2.4.1 userApplication の作成

  

  1. hvw コマンドを実行し、RMS Wizard を起動します。

    # hvw  -n  <RMS 構成定義名>
  2. 「Main Configuration menu」画面で Application-Create を選択します。

    node1: Main configuration menu, current configuration: config_standby
    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: 3
  3. 「Application type selection menu」画面で WIZSTANDBY を選択します。

    Creation: Application type selection menu:
    1) HELP                                6) GENERIC
    2) QUIT                                7) ORACLE
    3) RETURN                              8) SCALABLE
    4) OPTIONS                             9) STANDBY
    5) DEMO                               10) WIZSTANDBY
    Application Type: 10

    注意

    • PRIMECLUSTER Wizard for NASと組み合わせる場合は、「PRIMECLUSTER Wizard for NAS 導入運用手引書」を参照してください。

  4. userApplication 名を変更する場合は、「Settings of turnkey wizard "WIZSTANDBY"」画面で ApplicationName を選択し userApplication 名を設定します。

    Settings of turnkey wizard "WIZSTANDBY" (APP1:not yet consistent)
    1) HELP                                 4) REMOVE+EXIT
    2) NO-SAVE+EXIT                         5) ApplicationName=APP1
    3) SAVE+EXIT                            6) Machines+Basics(-)
    Choose the setting to process: 5
  5. Machines+Basics を選択し、ノード設定と基本設定をします。

    Settings of turnkey wizard "WIZSTANDBY" (APP1:not yet consistent)
    1) HELP                                 4) REMOVE+EXIT
    2) NO-SAVE+EXIT                         5) ApplicationName=APP1
    3) SAVE+EXIT                            6) Machines+Basics(-)
    Choose the setting to process: 6

    Machines の設定は、運用ノードを Machines[0]、待機ノードを Machines[1] に設定します。ノードを追加する場合は AdditionalMachines を選択します。その他の設定については、HELP または「PRIMECLUSTER 導入運用手引書」を参照してください。

    参考

    以下の設定を推奨します。記述されていない属性は任意です。

    属性

    推奨設定値

    AutoSwitchOver

    HostFailure|ResourceFailure|ShutDown

    PersistentFault

    1

    HaltFlag

    Yes

    Machines+Basics (app1:consistent)
    1) HELP
    2) -
    3) SAVE+EXIT
    4) REMOVE+EXIT
    5) AdditionalMachine
    6) AdditionalConsole
    7) Machines[0]=node1RMS
    8) Machines[1]=node2RMS
    9) (PreCheckScript=)
    10) (PreOnlineScript=)
    11) (PostOnlineScript=)
    12) (PreOfflineScript=)
    13) (OfflineDoneScript=)
    14) (FaultScript=)
    15) (AutoStartUp=no)
    16) (AutoSwitchOver=HostFailure|ResourceFailure|ShutDown)
    17) (PreserveState=no)
    18) (PersistentFault=1)
    19) (ShutdownPriority=)
    20) (OnlinePriority=)
    21) (StandbyTransitions=)
    22) (LicenseToKill=no)
    23) (AutoBreak=yes)
    24) (AutoBreakMaintMode=no)
    25) (HaltFlag=yes)
    26) (PartialCluster=0)
    27) (ScriptTimeout=)
    Choose the setting to process:

      

  6. 設定が完了したら、SAVE+EXIT を選択し設定を保存します。

      

  7. 「Setting of turnkey wizard "WIZSTANDBY"」の画面で、必要となる共用ディスクリソース(例:GDS)、LocalFileSystems、Gls の設定をします。

    Settings of turnkey wizard "WIZSTANDBY" (APP1:not yet consistent)
    1) HELP                                10) Oracle(-)
    2) -                                   11) Symfoware(-)
    3) SAVE+EXIT                           12) Procedure:SystemState3(-)
    4) -                                   13) Procedure:SystemState2(-)
    5) ApplicationName=APP1                14) Gls:Global-Link-Services(Gls_APP1)
    6) Machines+Basics(app1)               15) IpAddresses(-)
    7) CommandLines(-)                     16) LocalFileSystems(Lfs_APP1)
    8) Procedure:Application(-)            17) Gds:Global-Disk-Services(Gds_APP1)
    9) Procedure:BasicApplication(-)
    Choose the setting to process:
  8. この状態で SAVE+EXIT で「Main Configuration menu」画面に戻ります(Oracle データベースに関する設定はまだ行いません)。

     Settings of turnkey wizard "WIZSTANDBY" (APP1:not yet consistent)
    1) HELP                                10) Oracle(-)
    2) -                                   11) Symfoware(-)
    3) SAVE+EXIT                           12) Procedure:SystemState3(-)
    4) -                                   13) Procedure:SystemState2(-)
    5) ApplicationName=APP1                14) Gls:Global-Link-Services(Gls_APP1)
    6) Machines+Basics(app1)               15) IpAddresses(-)
    7) CommandLines(-)                     16) LocalFileSystems(Lfs_APP1)
    8) Procedure:Application(-)            17) Gds:Global-Disk-Services(Gds_APP1)
    9) Procedure:BasicApplication(-)
    Choose the setting to process: 3

  

2.2.4.2 RMS 構成定義の生成と配布

  

  1. Configuration-Generate および Configuration-Activate を順に実行して、環境設定が完了します。

    node1: Main configuration menu, current configuration: config_standby
    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. QUIT を選択し、RMS Wizard を終了します。

     node1: Main configuration menu, current configuration: config_standby
    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