以下の手順でリソースを作成します。
RMSが停止していることを確認します。
以下のコマンドを実行します。
ここでは、例としてconfigurationファイル名を“testconf”とします。
/opt/SMAW/SMAWRrms/bin/hvw -n testconf |
注意
他製品と共存している場合、configurationファイルは各製品共通のものを指定してください。異なる指定をするとすでに設定済みの他製品の設定情報が消去される場合があります。
[Main configuration menu]で“Application-Create”を選択します。
Host1: 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: 3
“CRM”を選択します。
1) HELP 7) SYMFOWARE 2) QUIT 3) RETURN 4) OPTIONS 5) CRM 6) GENERIC Application Type: 5
“ApplicationName=APP2”を選択します。
APP[X]の[X]部分は、環境により変化することがあります。
ここでは例として“ApplicationName=APP2”を選択します。
Settings of turnkey wizard "CRM" 1) HELP 9) CRM(-) 2) - 10) LocalFileSystems(-) 3) SAVE+EXIT 11) RemoteFileSystems(-) 4) - 12) IpAddresses(-) 5) ApplicationName=APP2 13) RawDisks(-) 6) Machines+Basics(app2) 14) LVM-VolumeManagement(-) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Controllers(-) 16) Gls:Global-Link-Services(-) Choose the setting to process: 5
“FREECHOICE”を選択し、アプリケーション名を入力します。
ここでは例として“CMGR”を入力します。
1) HELP 2) RETURN 3) FREECHOICE 4) APP1 Enter the name of this application: 3 >> CMGR
“Machines+Basics(cmgr)”を選択します。
Settings of turnkey wizard "CRM" 1) HELP 9) CRM(-) 2) - 10) LocalFileSystems(-) 3) SAVE+EXIT 11) RemoteFileSystems(-) 4) - 12) IpAddresses(-) 5) ApplicationName=CMGR 13) RawDisks(-) 6) Machines+Basics(cmgr) 14) LVM-VolumeManagement(-) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Controllers(-) 16) Gls:Global-Link-Services(-) Choose the setting to process: 6
“AdditionalMachine”を選択します。
Machines+Basics (cmgr:consistent) 1) HELP 14) (AutoStartUp=no) 2) - 15) (AutoSwitchOver=No) 3) SAVE+EXIT 16) (PreserveState=no) 4) REMOVE+EXIT 17) (PersistentFault=0) 5) AdditionalMachine 18) (ShutdownPriority=) 6) AdditionalConsole 19) (OnlinePriority=) 7) Machines[0]=host1RMS 20) (StandbyTransitions=) 8) (PreCheckScript=) 21) (LicenseToKill=no) 9) (PreOnlineScript=) 22) (AutoBreak=yes) 10) (PostOnlineScript=) 23) (HaltFlag=no) 11) (PreOfflineScript=) 24) (PartialCluster=0) 12) (OfflineDoneScript=) 25) (ScriptTimeout=) 13) (FaultScript=) Choose the setting to process: 5
セカンダリノードのホスト名を選択します。
ここでは、例として“host2RMS”を選択します。
1) HELP 2) RETURN 3) host1RMS 4) host2RMS Choose a machine for this application: 4
“SAVE+EXIT”を選択します。
Machines+Basics (cmgr:consistent) 1) HELP 14) (FaultScript=) 2) - 15) (AutoStartUp=no) 3) SAVE+EXIT 16) (AutoSwitchOver=No) 4) REMOVE+EXIT 17) (PreserveState=no) 5) AdditionalMachine 18) (PersistentFault=0) 6) AdditionalConsole 19) (ShutdownPriority=) 7) Machines[0]=host1RMS 20) (OnlinePriority=) 8) Machines[1]=host2RMS 21) (StandbyTransitions=) 9) (PreCheckScript=) 22) (LicenseToKill=no) 10) (PreOnlineScript=) 23) (AutoBreak=yes) 11) (PostOnlineScript=) 24) (HaltFlag=no) 12) (PreOfflineScript=) 25) (PartialCluster=0) 13) (OfflineDoneScript=) 26) (ScriptTimeout=) Choose the setting to process: 3
Fsystemリソースの登録
以下の手順でマウントポイントを設定します。
【運用管理サーバの場合】
“LocalFileSystems(-)”を選択します。
Settings of turnkey wizard "CRM" 1) HELP 9) CRM(-) 2) - 10) LocalFileSystems(-) 3) SAVE+EXIT 11) RemoteFileSystems(-) 4) - 12) IpAddresses(-) 5) ApplicationName=CMGR 13) RawDisks(-) 6) Machines+Basics(cmgr) 14) LVM-VolumeManagement(-) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Controllers(-) 16) Gls:Global-Link-Services(-) Choose the setting to process: 10
“AdditionalMountPoint”を選択します。
File systems (Lfs_CMGR:not yet consistent) 1) HELP 4) REMOVE+EXIT 7) (Timeout=180) 2) - 5) AdditionalMountPoint 3) SAVE+EXIT 6) (Filter=) Choose the setting to process: 5
“/SWFWDB”を選択します。
1) HELP 6) /share 2) RETURN 3) FREECHOICE 4) ALL 5) /SWFWDB Choose a mount point: 5
“SAVE+RETURN”を選択します。
Set flags for mount point: /SWFWDB Currently set: LOCAL,AUTORECOVER (LA) 1) HELP 4) DEFAULT 7) SHARE(S) 2) - 5) SYNC(Y) 8) MONITORONLY(M) 3) SAVE+RETURN 6) NOT:AUTORECOVER(A) Choose one of the flags: 3
“AdditionalMountPoint”を選択します。
File systems (Lfs_CMGR:consistent) 1) HELP 5) AdditionalMountPoint 2) - 6) MountPoints[0]=LA:/SWFWDB 3) SAVE+EXIT 7) (Filter=) 4) REMOVE+EXIT 8) (Timeout=180) Choose the setting to process: 5
“/share”を選択します。
1) HELP 6) /share 2) RETURN 3) FREECHOICE 4) ALL 5) /SWFWDB Choose a mount point: 6
“SAVE+RETURN”を選択します。
Set flags for mount point: /share Currently set: LOCAL,AUTORECOVER (LA) 1) HELP 4) DEFAULT 7) SHARE(S) 2) - 5) SYNC(Y) 8) SERVERCONTROLLED(C) 3) SAVE+RETURN 6) NOT:AUTORECOVER(A) 9) MONITORONLY(M) Choose one of the flags: 3
“SAVE+EXIT”を選択します。
File systems (Lfs_CMGR:consistent) 1) HELP 6) MountPoints[0]=LA:/SWFWDB 2) - 7) MountPoints[1]=LA:/share 3) SAVE+EXIT 8) (Filter=) 4) REMOVE+EXIT 9) (Timeout=180) 5) AdditionalMountPoint Choose the setting to process: 3
【部門管理サーバ/業務サーバの場合】
“LocalFileSystems(-)”を選択します。
Settings of turnkey wizard "CRM" 1) HELP 9) CRM(-) 2) - 10) LocalFileSystems(-) 3) SAVE+EXIT 11) RemoteFileSystems(-) 4) - 12) IpAddresses(-) 5) ApplicationName=CMGR 13) RawDisks(-) 6) Machines+Basics(cmgr) 14) LVM-VolumeManagement(-) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Controllers(-) 16) Gls:Global-Link-Services(-) Choose the setting to process: 10
“AdditionalMountPoint”を選択します。
File systems (Lfs_CMGR:not yet consistent) 1) HELP 4) REMOVE+EXIT 7) (Timeout=180) 2) - 5) AdditionalMountPoint 3) SAVE+EXIT 6) (Filter=) Choose the setting to process: 5
クラスタ設定時に指定した共有ディスクのマウントポイントを選択します。
ここでは、例として“/share”を選択します。
1) HELP 2) RETURN 3) FREECHOICE 4) ALL 5) /share Choose a mount point: 5
“SAVE+RETURN”を選択します。
Set flags for mount point: /share Currently set: LOCAL,AUTORECOVER (LA) 1) HELP 4) DEFAULT 7) SHARE(S) 2) - 5) SYNC(Y) 8) SERVERCONTROLLED(C) 3) SAVE+RETURN 6) NOT:AUTORECOVER(A) 9) MONITORONLY(M) Choose one of the flags: 3
“SAVE+EXIT”を選択します。
File systems (Lfs_CMGR:consistent) 1) HELP 6) MountPoints[0]=LA:/share 2) - 7) (Filter=) 3) SAVE+EXIT 8) (Timeout=180) 4) REMOVE+EXIT 5) AdditionalMountPoint Choose the setting to process: 3
Ipaddressリソースの登録
以下の手順で引き継ぎIPを設定します。
“Gls:Global-Link-Services(-)”を選択します。
Settings of turnkey wizard "CRM" 1) HELP 9) CRM(-) 2) - 10) LocalFileSystems(Lfs_CMGR) 3) SAVE+EXIT 11) RemoteFileSystems(-) 4) - 12) IpAddresses(-) 5) ApplicationName=CMGR 13) RawDisks(-) 6) Machines+Basics(cmgr) 14) LVM-VolumeManagement(-) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Controllers(-) 16) Gls:Global-Link-Services(-) Choose the setting to process: 16
“AdditionalTakeoverIpaddress”を選択します。
Gls (Gls_CMGR:not yet consistent) 1) HELP 4) REMOVE+EXIT 2) - 5) AdditionalTakeoverIpaddress 3) SAVE+EXIT 6) (Timeout=60) Choose the setting to process: 5
IPアドレスを選択します。
1) HELP 2) RETURN 3) FREECHOICE 4) 192.168.0.1 Choose a takeover IP address for Gls: 4
“SAVE+RETURN”を選択します。
Set a flag for takeover IP address: 192.168.0.1 Currently set: 1) HELP 5) AUTORECOVER(A) 2) - 3) SAVE+RETURN 4) DEFAULT Choose additionally one of the flags: 3
“SAVE+EXIT”を選択します。
Gls (Gls_CMGR:consistent) 1) HELP 5) AdditionalTakeoverIpaddress 2) - 6) TakeoverIpaddress[0]=N,192.168.0.1 3) SAVE+EXIT 7) (Timeout=60) 4) REMOVE+EXIT Choose the setting to process: 3
Procedureリソース登録
以下の手順でProcedureリソースを登録します。
【運用管理サーバ/部門管理サーバの場合】
Systemwalker Centric Managerのセットアップで作成されたProcedureリソース追加(CMGRPROC,CMGRPMON)を登録します。
以下に手順を示します。
“9) CRM(-)”を選択します。
Settings of turnkey wizard "CRM" 1) HELP 9) CRM(-) 2) - 10) LocalFileSystems(Lfs_CMGR) 3) SAVE+EXIT 11) RemoteFileSystems(-) 4) - 12) IpAddresses(-) 5) ApplicationName=CMGR 13) RawDisks(-) 6) Machines+Basics(cmgr) 14) LVM-VolumeManagement(-) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Controllers(-) 16) Gls:Global-Link-Services(Gls_CMGR) Choose the setting to process: 9
“8) Application(-)”を選択します。
Crm (CRM_CMGR:not yet consistent) 1) HELP 4) REMOVE+EXIT 7) BasicApplication(-) 2) - 5) SystemState2(-) 8) Application(-) 3) SAVE+EXIT 6) SystemState3(-) Choose the setting to process: 8
“5) AdditionalResource”を選択します。
Settings of "Application" 1) HELP 4) REMOVE+RETURN 2) NO-SAVE+RETURN 5) AdditionalResource 3) - Choose the setting to process: 5
“5) CMGRPROC”を選択します。
1) HELP 2) RETURN 3) FREECHOICE 4) CMGRPMON 5) CMGRPROC Choose the resource: 5
“5) AdditionalResource”を選択します。
Settings of "Application" 1) HELP 5) AdditionalResource 2) NO-SAVE+RETURN 6) ResourceName[0]=CMGRPROC 3) SAVE+RETURN 7) Flags[0]=OT1800 4) REMOVE+RETURN 8) Priority[0]=65535 Choose the setting to process: 5
“4) CMGRPMON”を選択します。
1) HELP 2) RETURN 3) FREECHOICE 4) CMGRPMON 5) CMGRPROC Choose the resource: 4
10)、11)を確認し、CMGRPROCのPriority(リソースクラス内優先度)がCMGRPMONのPriority(リソースクラス内優先度)より小さいことを確認し、“3) SAVE+RETURN”を選択します。
CMGRPROCのPriority(リソースクラス内優先度)がCMGRPMONのPriority(リソースクラス内優先度)より大きい場合には、値の変更が必要となります。
Settings of "Application" 1) HELP 7) ResourceName[1]=CMGRPMON 2) NO-SAVE+RETURN 8) Flags[0]=OT1800 3) SAVE+RETURN 9) Flags[1]=OT1800 4) REMOVE+RETURN 10) Priority[0]=65530 5) AdditionalResource 11) Priority[1]=65535 6) ResourceName[0]=CMGRPROC Choose the setting to process: 3
“3) SAVE+EXIT”を選択します。
Crm (CRM_CMGR:consistent) 1) HELP 5) SystemState2(-) 2) - 6) SystemState3(-) 3) SAVE+EXIT 7) BasicApplication(-) 4) REMOVE+EXIT 8) Application(Crm_Application) Choose the setting to process: 3
【業務サーバの場合】
Systemwalker Centric Managerのセットアップで作成されたProcedureリソース追加(SDPROC, SDPMON)を登録します。
以下に手順を示します。
“9) CRM(-)”を選択します。
Settings of turnkey wizard "CRM" 1) HELP 9) CRM(-) 2) - 10) LocalFileSystems(Lfs_CMGR) 3) SAVE+EXIT 11) RemoteFileSystems(-) 4) - 12) IpAddresses(-) 5) ApplicationName=CMGR 13) RawDisks(-) 6) Machines+Basics(cmgr) 14) LVM-VolumeManagement(-) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Controllers(-) 16) Gls:Global-Link-Services(Gls_CMGR) Choose the setting to process: 9
“8) Application(-)”を選択します。
Crm (CRM_CMGR:not yet consistent) 1) HELP 4) REMOVE+EXIT 7) BasicApplication(-) 2) - 5) SystemState2(-) 8) Application(-) 3) SAVE+EXIT 6) SystemState3(-) Choose the setting to process: 8
“5) AdditionalResource”を選択します。
Settings of "Application" 1) HELP 4) REMOVE+RETURN 2) NO-SAVE+RETURN 5) AdditionalResource 3) - Choose the setting to process: 5
“5) SDPROC”を選択します。
1) HELP 2) RETURN 3) FREECHOICE 4) SDPMON 5) SDPROC Choose the resource: 5
“5) AdditionalResource”を選択します。
Settings of "Application" 1) HELP 5) AdditionalResource 2) NO-SAVE+RETURN 6) ResourceName[0]=SDPROC 3) SAVE+RETURN 7) Flags[0]=OT1800 4) REMOVE+RETURN 8) Priority[0]=65535 Choose the setting to process: 5
“4) SDPMON”を選択します。
1) HELP 2) RETURN 3) FREECHOICE 4) SDPMON 5) SDPROC Choose the resource: 4
10)、11)を確認し、SDPROCのPriority(リソースクラス内優先度)がSDPMONのPriority(リソースクラス内優先度)より小さいことを確認し、“3) SAVE+RETURN”を選択します。
SDPROCのPriority(リソースクラス内優先度)がSDPMONのPriority(リソースクラス内優先度)より大きい場合には、値の変更が必要となります。
Settings of "Application" 1) HELP 7) ResourceName[1]=SDPMON 2) NO-SAVE+RETURN 8) Flags[0]=OT1800 3) SAVE+RETURN 9) Flags[1]=OT1800 4) REMOVE+RETURN 10) Priority[0]=65530 5) AdditionalResource 11) Priority[1]=65535 6) ResourceName[0]=SDPROC Choose the setting to process: 3
“3) SAVE+EXIT”を選択します。
Crm (CRM_CMGR:consistent) 1) HELP 5) SystemState2(-) 2) - 6) SystemState3(-) 3) SAVE+EXIT 7) BasicApplication(-) 4) REMOVE+EXIT 8) Application(Crm_Application) Choose the setting to process: 3