ユーザアプリケーションからの登録解除について説明します。
ユーザアプリケーションからの登録解除操作の実施後は、構成データの配付操作を行います。
ユーザアプリケーションからの登録解除
ユーザアプリケーションへ登録したSystemwalker for Oracleのアプリケーションリソースを解除します。
ユーザアプリケーションからの登録解除は、運用系/待機系いずれかのノードで実行してください。
注意
以下に示す手順で表示される情報は、クラスタシステムに登録されているユーザアプリケーションおよびアプリケーションリソースの設定によって異なります。
hvwコマンドの実行
以下のコマンドを実行します。
# /opt/SMAW/SMAWRrms/bin/hvw -n configurationファイル名 <ENTER> |
アプリケーションの変更を選択する
ユーザアプリケーションに登録したSystemwalker for Oracleのアプリケーションリソースの使用を解除します。「Application-Edit」を選択します。
mpor01: Main configuration menu, current configuration: 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
変更するユーザアプリケーションを選択する
Systemwalker for Oracleのアプリケーションリソースが追加されているユーザアプリケーションを選択します。
以下の例では、ユーザアプリケーション「CMGR」にSystemwalker for Oracleのアプリケーションリソースが追加されている場合を示しています。
Edit: Application selection menu (restricted): 1) HELP 2) QUIT 3) RETURN 4) OPTIONS 5) CMGR Application Name: 5
Systemwalker for Oracleのプロシジャソースを解除する
Systemwalker for Oracleのプロシジャリソースが設定されている「Procedure:Application」を選択します。
Settings of turnkey wizard "STANDBY" (CMGR:consistent) 1) HELP 9) Procedure:BasicApplication(-) 2) READONLY 10) Symfoware(-) 3) SAVE+EXIT 11) Procedure:SystemState3(-) 4) - 12) Procedure:SystemState2(-) 5) ApplicationName=CMGR 13) Gls:Global-Link-Services(Gls_CMGR) 6) Machines+Basics(cmgr) 14) LocalFileSystems(Lfs_CMGR) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Procedure:Application(ProcApp_CMGR) Choose the setting to process: 8
解除するSystemwalker for Oracleのプロシジャリソースを選択する
Systemwalker for Oracleのプロシジャリソースを選択します。
以下の例では、「ProcedureResources[2]=FJSVmporals:T1800,P65535」を選択します。
Application Procedure (ProcApp_CMGR:consistent) 1) HELP 2) NO-SAVE+EXIT 3) SAVE+EXIT 4) REMOVE+EXIT 5) AdditionalProcedureResource 6) ProcedureResources[0]=CMGRPROC:T1800,P65530 7) ProcedureResources[1]=CMGRPMON:T1800,P65535 8) ProcedureResources[2]=FJSVmporals:T1800,P65535 Choose the setting to process: 8
次に、「NONE」を選択します。
1) HELP 5) CMGRPROC 2) RETURN 6) CMGRPMON 3) NONE 7) FJSVmporals 4) SELECTED:FJSVmporals:T1800,P65535 Choose an procedure resource name: 3
次に、Systemwalker for Oracleのプロシジャリソースが解除されていることを確認したあとに、変更した定義内容を格納します。「SAVE+EXIT」を選択します。
Application Procedure (ProcApp_CMGR:consistent) 1) HELP 2) NO-SAVE+EXIT 3) SAVE+EXIT 4) REMOVE+EXIT 5) AdditionalProcedureResource 6) ProcedureResources[0]=CMGRPROC:T1800,P65530 7) ProcedureResources[1]=CMGRPMON:T1800,P65535 Choose the setting to process: 3
Systemwalker for OracleのFsystemリソースを解除する
Systemwalker for OracleのFsystemリソースが設定されている「LocalFileSystems」を選択します。
なお、Systemwalker Centric Managerの共有ディスクを共用する場合は、Fsystemリソースの解除は不要です。
[手順12. 変更した定義情報を格納する]に進んでください。
Settings of turnkey wizard "STANDBY" (CMGR:consistent) 1) HELP 9) Procedure:BasicApplication(-) 2) - 10) Symfoware(-) 3) SAVE+EXIT 11) Procedure:SystemState3(-) 4) - 12) Procedure:SystemState2(-) 5) ApplicationName=CMGR 13) Gls:Global-Link-Services(Gls_CMGR) 6) Machines+Basics(cmgr) 14) LocalFileSystems(Lfs_CMGR) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Procedure:Application(ProcApp_CMGR) Choose the setting to process: 14
解除するSystemwalker for OracleのFsystemリソースを選択する
Systemwalker for OracleのMountPointsを選択します。
以下の例では、「MountPoints[2]=LAM:/swfo_share 」を選択します。
File systems (Lfs_CMGR:consistent) 1) HELP 6) MountPoints[0]=LA:/SW_DB 2) NO-SAVE+EXIT 7) MountPoints[1]=LA:/SWFWDB 3) SAVE+EXIT 8) MountPoints[2]=LAM:/swfo_share 4) REMOVE+EXIT 9) (Filter=) 5) AdditionalMountPoint 10) (Timeout=180) Choose the setting to process: 8
次に、「NONE」を選択します。
1) HELP 5) SELECTED:/swfo_share 2) RETURN 6) /SW_DB 3) NONE 7) /SWFWDB 4) FREECHOICE 8) /swfo_share Set the mount point: 3
次に、Systemwalker for OracleのFsystemリソースが解除されていることを確認したあとに、変更した定義内容を格納します。「SAVE+EXIT」を選択します。
File systems (Lfs_CMGR:consistent) 1) HELP 6) MountPoints[0]=LA:/SW_DB 2) NO-SAVE+EXIT 7) MountPoints[1]=LA:/SWFWDB 3) SAVE+EXIT 8) (Filter=) 4) REMOVE+EXIT 9) (Timeout=180) 5) AdditionalMountPoint Choose the setting to process: 3
変更した定義情報を格納する
「SAVE+EXIT」を選択し、変更した定義内容を格納します。
Settings of turnkey wizard "STANDBY" (CMGR:consistent) 1) HELP 9) Procedure:BasicApplication(-) 2) - 10) Symfoware(-) 3) SAVE+EXIT 11) Procedure:SystemState3(-) 4) - 12) Procedure:SystemState2(-) 5) ApplicationName=CMGR 13) Gls:Global-Link-Services(Gls_CMGR) 6) Machines+Basics(cmgr) 14) LocalFileSystems(Lfs_CMGR) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Procedure:Application(ProcApp_CMGR) Choose the setting to process: 3
メイン操作メニューに戻る
「RETURN」を選択します。
Edit: Application selection menu (restricted): 1) HELP 2) QUIT 3) RETURN 4) OPTIONS 5) CMGR Application Name: 3
構成データの配付
構成データの配付は、ユーザアプリケーションからの登録解除操作が完了したあとで行います。
以下の手順で構成データの配付を行います。
RMSの各種構成要素を生成する
変更された定義内容に従ってRMSの各種構成要素を生成する必要があります。
「Configuration-Generate」を選択します。
mpor01: Main configuration menu, current configuration: 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: 7
「Configuration-Generate」を選択すると、以下のように処理が実行されます。
Arranging sub applications topologically ... done. Check for all applications being consistent ... done. Running overall consistency check ... done. Generating pseudo code [one dot per (sub) application]: .............. done. Generating RMS resources [one dot per resource]: ..................... done hvbuild using /usr/opt/reliant/build/wizard.d/config/config.us Hit CR to continue
構成データを他のホストシステムに配付する
「Configuration-Generate」を実行して生成された構成データを、他のホストシステムにも配付する必要があります。
「Configuration-Activate」を選択します。
mpor01: Main configuration menu, current configuration: 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: 8
「Configuration-Activate」を選択すると、以下のように処理が実行されます。
About to activate the configuration oracle ... Testing for RMS to be up somewhere in the cluster ... done. Arranging sub applications topologically ... done. Check for all applications being consistent ... done. Running overall consistency check ... done. Generating pseudo code [one dot per (sub) application]: ......................... done. Generating RMS resources [one dot per resource]: ................................ done hvbuild using /usr/opt/reliant/build/wizard.d/config/config.us About to distribute the new configuration data to hosts: mpor01RMS,mpor02RMS The new configuration was distributed successfully. About to put the new configuration in effect ... done. The activation has finished successfully. Hit CR to continue
hvwコマンドを終了する
「QUIT」を選択します。
mpor01: Main configuration menu, current configuration: 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