クラスタアプリケーションにリソースを登録します。ここでは、以下のリソースを用いてクラスタアプリケーションを設定する手順を説明します。
Fsystemリソース(共有ディスクリソース)
Gdsリソース
Glsリソース(引き継ぎIPアドレスリソース)
プロシジャリソース(状態遷移プロシジャ)
注意
クラスタアプリケーションを構成するすべてのノードで、リソースとして使用するマウントポイントを事前に以下のファイルに定義しておく必要があります。
PRIMECLUSTER 4.2A00以前の場合:/etc/fstab
PRIMECLUSTER 4.2A30以降の場合:/etc/fstabと/etc/fstab.pcl
詳細については、PRIMECLUSTERマニュアルを参照してください。
[Fsystemリソースの設定]
以下の手順で設定します。
【運用管理サーバの場合】
“LocalFileSystem”を選択し、Fsystemリソース(共有ディスク)を設定します。
Settiongs of turnkey wizard "STANDBY" (CMGR:not yet 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(-) 6) Machines+Basics(cmgr) 14) LocalFileSystem(-) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Procedure:Application(-) Choose the settiong to process: 14 |
“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 |
クラスタアプリケーションに登録するマウントポイントを選択します。ここでは、例として"RDB管理情報専用パーティション"に"/SWFWDB"を選択し、"共有資源用パーティション"に"/share"を選択した例を示します。
/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) MountPoint[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) MONITORONLY(M) 3) SAVE+RETURN 6) NOT:AUTORECOVER(A) Choose one of the flags: 3 |
"SAVE+EXIT"を選択します。
File systems (Lfs_CMGR: consistent) 1) HELP 6) MountPoint[0]=LA:/SWFWDB 2) - 7) MountPoint[0]=LA:/share 3) SAVE+EXIT 8) (Filter=) 4) REMOVE+EXIT 9) (TimeOut=180) 5) AdditionalMountPoint Choose the setting to process: 3 |
【部門管理サーバ/業務サーバの場合】
“LocalFileSystem”を選択し、Fsystemリソース(共有ディスク)を設定します。
Settiongs of turnkey wizard "STANDBY" (CMGR:not yet 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(-) 6) Machines+Basics(cmgr) 14) LocalFileSystem(-) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Procedure:Application(-) Choose the settiong to process: 14 |
“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"を選択した例を示します。
/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) MONITORONLY(M) 3) SAVE+RETURN 6) NOT:AUTORECOVER(A) Choose one of the flags: 3 |
"SAVE+EXIT"を選択します。
File systems (Lfs_CMGR: consistent) 1) HELP 5) AdditionalMountPoint 2) - 6) MountPoint[0]=LA:/share 3) SAVE+EXIT 7) (Filter=) 4) REMOVE+EXIT 8) (TimeOut=180) Choose the setting to process: 3 |
[Gdsリソースの設定]
“Gds”を選択し、Gdsリソースを設定します。
Settiongs 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(-) 6) Machines+Basics(cmgr) 14) LocalFileSystem(Lfs_CMGR) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Procedure:Application(-) Choose the settiong to process: 15 |
“AdditionalDiskClass”を選択します。
Volume management (Gds_CMGR:not yet consistent) 1) HELP 4) REMOVE+EXIT 7) (StandbySupport=no) 2) - 5) AdditionalDiskClass 8) (AutoRecover=no) 3) SAVE+EXIT 6) (ClassNameFilter=) 9) (Timeout=1800) Choose the setting to process: 5 |
ディスククラスが表示されます。クラスタアプリケーションに登録するディスククラスを選択します。class0001を選択した例を示します。
1) HELP 2) RETURN 3) FREECHOICE 4) class0001 Choose the disk class: 4 |
“SAVE+RETURN”を選択します。
Set a flag for the disk class: class0001 Currently set: 1) HELP 5) MONITORONLY(M) 2) - 3) SAVE+RETURN 4) DEFAULT Choose additionally one of the flags: 3 |
“SAVE+EXIT”を選択します。
Volume management (Gds_CMGR:consistent) 1) HELP 6) DiskClasses[0]=class0001 2) - 7) (ClassNameFilter=) 3) SAVE+EXIT 8) (StandbySupport=no) 4) REMOVE+EXIT 9) (AutoRecover=no) ) AdditionalDiskClass 10) (Timeout=1800) Choose the setting to process: 3 |
[Glsリソースの設定]
“Gls”を選択し、Glsリソース(引き継ぎIPアドレス)を設定します。
Settiongs 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(-) 6) Machines+Basics(cmgr) 14) LocalFileSystem(Lfs_CMGR) 7) CommandLines(-) 15) Gds:Global-Disk-Services(Gds_CMGR) 8) Procedure:Application(-) Choose the settiong to process: 13 |
“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アドレスが表示されます。クラスタアプリケーションに登録する引き継ぎIPアドレスを選択します。000.000.000.00xを選択した例を示します。
1) HELP 4) FREECHOICE 2) RETURN 5) 000.000.000.00x 3) NONE Choose a takeover IP address for Gls: 5 |
“SAVE+RETURN”を選択します。
Set a flag for takeover IP address: 000.000.000.00x Currently set: 1) HELP 5) AUTORECOVER(A) 2) - 3) SAVE+RETURN 4) DEFAULT Choose additonally one of the flags: 3 |
“SAVE+EXIT”を選択します。
Gls (Gls_CMGR:not yet consistent) 1) HELP 5) AdditionalTakeoverIpaddress 2) - 6) 3) SAVE+EXIT 7) (TimeOut=60) 4) REMOVE+EXIT Choose the setting to process: 3 |
[プロシジャリソースの設定]
以下の手順でプロシジャリソースを設定します。
【運用管理サーバ/部門管理サーバの場合】
"Application"を選択します。
Settiongs 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) LocalFileSystem(Lfs_CMGR) 7) CommandLines(-) 15) Gds:Global-Disk-Services(Gds_CMGR) 8) Procedure:Application(-) Choose the settiong to process: 8 |
"AdditionalProcedureResource"を選択します。
Application Procedure (ProApp_CMGR:not yet consistent) 1) HELP 3) REMOVE+EXIT 2) - 4) AdditionalProcedureResource Choose the setting to process: 4 |
"CMGRPROC"を選択します。
1) HELP 2) RETURN 3) CMGRPROC 4) CMGRPMON Choose an procedure resource name: 3 |
"PRIORITY"を選択します。
Set flags for Procedure resource : Currently set: TIMEOUT (T1800), PRIORITY (P65535) 1) HELP 2) - 3) SAVE+RETURN 4) TIMEOUT 5) PRIORITY Choose one of the flags: 5 |
CMGRPROCのPriority(リソースクラス内優先度)を"CMGRPMON"のPriorityより小さくするために、値を設定します。
以下にPriorityに"65530"を設定した例を示します。FREECHOICEを選択し、"65530"と入力します。
1) HELP 2) RETURN 3) FREECHOICE 4) 65535 Set an appropriate priority:3 |
"SAVE+RETURN"を選択します。
Set flags for Procedure resource : Currently set: TIMEOUT (T1800), PRIORITY (P65530) 1) HELP 2) - 3) SAVE+RETURN 4) TIMEOUT 5) PRIORITY Choose one of the flags: 3 |
"AdditionalProcedureResource"を選択します。
Application Procedure (ProApp_CMGR:consistent) 1) HELP 2) - 3) SAVE+EXIT 4) REMOVE+EXIT 5) AdditionalProcedureResource 6) ProcedureResource[0]=CMGRPROC:T1800,P65530 Choose the setting to process:5 |
"CMGRPMON"を選択します。
1) HELP 2) RETURN 3) CMGRPROC 4) CMGRPMON Choose an procedure resource name: 4 |
"SAVE+RETURN"を選択します。
Set flags for Procedure resource : Currently set: TIMEOUT (T1800), PRIORITY (P65535) 1) HELP 2) - 3) SAVE+RETURN 4) TIMEOUT 5) PRIORITY Choose one of the flags: 3 |
"SAVE+EXIT"を選択します。
Application Procedure (ProApp_CMGR:consistent) 1) HELP 2) - 3) SAVE+EXIT 4) REMOVE+EXIT 5) AdditionalProcedureResource 6) ProcedureResource[0]=CMGRPROC:T1800,P65530 7) ProcedureResource[1]=CMGRPMON:T1800,P65535 Choose the setting to process:3 |
【業務サーバの場合】
"Application"を選択します。
Settiongs 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) LocalFileSystem(Lfs_CMGR) 7) CommandLines(-) 15) Gds:Global-Disk-Services(-) 8) Procedure:Application(-) Choose the settiong to process: 8 |
"AdditionalProcedureResource"を選択します。
Application Procedure (ProApp_CMGR:not yet consistent) 1) HELP 3) REMOVE+EXIT 2) - 4) AdditionalProcedureResource Choose the setting to process: 4 |
"SDPROC"を選択します。
1) HELP 2) RETURN 3) FREECHOICE 4) SDRPMON 5) SDPROC Choose an procedure resource name: 5 |
"PRIORITY"を選択します。
Set flags for Procedure resource : Currently set: 1) HELP 2) - 3) SAVE+RETURN 4) TIMEOUT 5) PRIORITY Choose one of the flags: 5 |
SDPROCのPriority(リソースクラス内優先度)を"SDPMON"のPriorityより小さくするために、値を設定します。
以下にPriorityに"65530"を設定した例を示します。FREECHOICEを選択し、"65530"と入力します。
1) HELP 2) RETURN 3) FREECHOICE 4) 65535 Set an appropriate priority:3 |
"SAVE+RETURN"を選択します。
Set flags for Procedure resource : Currently set: 1) HELP 2) - 3) SAVE+RETURN 4) TIMEOUT 5) PRIORITY Choose one of the flags: 3 |
"AdditionalProcedureResource"を選択します。
Application Procedure (ProApp_CMGR:consistent) 1) HELP 2) NO-SAVE+EXIT 3) SAVE+EXIT 4) REMOVE+EXIT 5) AdditionalProcedureResource 6) ProcedureResource[0]=SDPROC:T1800,P65530 Choose the setting to process:5 |
"SDPMON"を選択します。
1) HELP 2) RETURN 3) FREECHOICE 4) SDPMON 5) SDPROC Choose an procedure resource name: 4 |
"SAVE+RETURN"を選択します。
Set flags for Procedure resource : Currently set: 1) HELP 2) - 3) SAVE+RETURN 4) TIMEOUT 5) PRIORITY Choose one of the flags: 3 |
"SAVE+EXIT"を選択します。
Application Procedure (ProApp_CMGR:consistent) 1) HELP 2) NO-SAVE+EXIT 3) SAVE+EXIT 4) REMOVE+EXIT 5) AdditionalProcedureResource 6) ProcedureResource[0]=SDPROC:T1800,P65530 7) ProcedureResource[1]=SDPMON:T1800,P65535 Choose the setting to process:3 |
[リソース設定]
設定後、“SAVE+EXIT”を選択し、クラスタアプリケーションにリソースを設定します。
Settiongs 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) LocalFileSystem(Lfs_CMGR) 7) CommandLines(-) 15) Gds:Global-Disk-Services(Gds_CMGR) 8) Procedure:Application(ProApp_CMGR) Choose the settiong to process: 3 |