Linkexpress クラスタシステム導入説明書
目次 索引 前ページ次ページ

付録B Linkexpressのリソース設定手順サンプルログ(Linux)> B.4 Linkexpressクラスタアプリケーション作成のサンプルログ(PRIMECLUSTER 4.1A30)

B.4.1 GLSリソース、GDSリソース、Fsystemリソースのクラスタアプリケーションの登録

以下の設定内容を元にクラスタアプリケーションを作成しています。

なお、リソースの登録状態等により記載されている内容と異なる場合があります。指定する数字横のキーワードを必ず確認の上、操作を行ってください。

hvw -n symfoPT
Monaco: Main configuration menu, current configuration: symfoPT
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



Creation: Application type selection menu:
1) HELP                                 7) GENERIC
2) QUIT                                 8) SYMFOWARE
3) RETURN
4) OPTIONS
5) CRM
6) DEMO
Application Type: 5



Consistency check ...
Yet to do: process the basic settings using Machines+Basics


Settings of turnkey wizard "CRM"
1) HELP                   4) REMOVE+EXIT            7) Machines+Basics(-)
2) NO-SAVE+EXIT           5) ApplicationName=APP1
3) SAVE+EXIT              6) BeingControlled=no
Choose the setting to process: 5


1) HELP
2) RETURN
3) FREECHOICE
4) APP1
Enter the name of this application: 3


1) HELP
2) RETURN
3) FREECHOICE
4) APP1
Enter the name of this application: 3
        >> APP1_LINK




Consistency check ...
Yet to do: process the basic settings using Machines+Basics


Settings of turnkey wizard "CRM"
1) HELP                                 5) ApplicationName=APP1_LINK
2) NO-SAVE+EXIT                         6) BeingControlled=no
3) SAVE+EXIT                            7) Machines+Basics(-)
4) REMOVE+EXIT
Choose the setting to process: 7




Consistency check ...


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



1) HELP
2) RETURN
3) monacoRMS
4) nurburgRMS
Choose a machine for this application: 4





Consistency check ...


Machines+Basics (app1_link: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]=monacoRMS               20) (OnlinePriority=)
 8) Machines[1]=nurburgRMS              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: 15



1) HELP
2) RETURN
3) yes
4) no
Set the AutoStartUp mode: 3




Consistency check ...


Machines+Basics (app1_link:consistent)
 1) HELP                                14) (FaultScript=)
 2) -                                   15) (AutoStartUp=yes)
 3) SAVE+EXIT                           16) (AutoSwitchOver=No)
 4) REMOVE+EXIT                         17) (PreserveState=no)
 5) AdditionalMachine                   18) (PersistentFault=0)
 6) AdditionalConsole                   19) (ShutdownPriority=)
 7) Machines[0]=monacoRMS               20) (OnlinePriority=)
 8) Machines[1]=nurburgRMS              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: 16



Set flags for AutoSwitchOver:  Currently set: NO (N)
1) HELP                   4) DEFAULT                7) RESOURCEFAILURE(R)
2) -                      5) NO(N)                  8) SHUTDOWN(S)
3) SAVE+RETURN            6) HOSTFAILURE(H)
Choose one of the flags: 6



Set flags for AutoSwitchOver:  Currently set: HOSTFAILURE (H)
1) HELP                   4) DEFAULT                7) RESOURCEFAILURE(R)
2) -                      5) NO(N)                  8) SHUTDOWN(S)
3) SAVE+RETURN            6) NOT:HOSTFAILURE(H)
Choose one of the flags: 7



Set flags for AutoSwitchOver:  Currently set: HOSTFAILURE,RESOURCEFAILURE (HR)
1) HELP                   4) DEFAULT                7) NOT:RESOURCEFAILURE(R)
2) -                      5) NO(N)                  8) SHUTDOWN(S)
3) SAVE+RETURN            6) NOT:HOSTFAILURE(H)
Choose one of the flags: 8




Set flags for AutoSwitchOver:  Currently set: HOSTFAILURE,RESOURCEFAILURE,SHUTDOWN (HRS)
1) HELP                   4) DEFAULT                7) NOT:RESOURCEFAILURE(R)
2) -                      5) NO(N)                  8) NOT:SHUTDOWN(S)
3) SAVE+RETURN            6) NOT:HOSTFAILURE(H)
Choose one of the flags: 3




Consistency check ...


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


1) HELP
2) RETURN
3) yes
4) no
Set the Halt mode: 3




Consistency check ...


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



Set flags for StandbyTransitions:  Currently set: NO (N)
1) HELP                   4) NO(N)                  7) SWITCHREQUEST(W)
2) -                      5) CLEARFAULTREQUEST(C)
3) SAVE+RETURN            6) STARTUP(T)
Choose one of the flags: 5



Set flags for StandbyTransitions:  Currently set: ClearFaultRequst (C)
1) HELP                                 5) NOT:CLEARFAULTREQUEST(C)
2) -                                    6) STARTUP(T)
3) SAVE+RETURN                          7) SWITCHREQUEST(W)
4) NO(N)
Choose one of the flags: 6



Set flags for StandbyTransitions:  Currently set: ClearFaultRequst,StartUp (CT)
1) HELP                                 5) NOT:CLEARFAULTREQUEST(C)
2) -                                    6) NOT:STARTUP(T)
3) SAVE+RETURN                          7) SWITCHREQUEST(W)
4) NO(N)
Choose one of the flags: 7



Set flags for StandbyTransitions:  Currently set: ClearFaultRequst,StartUp,SwitchRequest (CTW)
1) HELP                                 5) NOT:CLEARFAULTREQUEST(C)
2) -                                    6) NOT:STARTUP(T)
3) SAVE+RETURN                          7) NOT:SWITCHREQUEST(W)
4) NO(N)
Choose one of the flags: 3




Consistency check ...


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



Consistency check ...
Yet to do: process at least one of the non-basic settings


Settings of turnkey wizard "CRM"
 1) HELP                                 9) CRM(-)
 2) -                                   10) LocalFileSystems(-)
 3) SAVE+EXIT                           11) RemoteFileSystems(-)
 4) -                                   12) IpAddresses(-)
 5) ApplicationName=APP1_LINK           13) RawDisks(-)
 6) Machines+Basics(app1_link)          14) LVM-VolumeManagement(-)
 7) CommandLines(-)                     15) Gds:Global-Disk-Services(-)
 8) Controllers(-)                      16) Gls:Global-Link-Services(-)
Choose the setting to process: 16



Consistency check ...
Yet to do: assign at least a TakeoverIpaddress

Gls (Gls_APP1_LINK:not yet consistent)
1) HELP                                 4) REMOVE+EXIT
2) -                                    5) AdditionalTakeoverIpaddress
3) SAVE+EXIT                            6) (Timeout=60)
Choose the setting to process: 5



1) HELP                                 5) 10.124.95.163
2) RETURN
3) FREECHOICE
4) 10.124.95.160
Choose a takeover IP address for Gls: 5




Set a flag for takeover IP address: 10.124.95.163
Currently set:
1) HELP                                 5) AUTORECOVER(A)
2) -
3) SAVE+RETURN
4) DEFAULT
Choose additonally one of the flags: 3





Consistency check ...


Gls (Gls_APP1_LINK:consistent)
1) HELP                                 5) AdditionalTakeoverIpaddress
2) -                                    6) TakeoverIpaddress[0]=N,10.124.95.163
3) SAVE+EXIT                            7) (Timeout=60)
4) REMOVE+EXIT
Choose the setting to process: 3




Consistency check ...


Settings of turnkey wizard "CRM"
 1) HELP
 2) -
 3) SAVE+EXIT
 4) -
 5) ApplicationName=APP1_LINK
 6) Machines+Basics(app1_link)
 7) CommandLines(-)
 8) Controllers(-)
 9) CRM(-)
10) LocalFileSystems(-)
11) RemoteFileSystems(-)
12) IpAddresses(-)
13) RawDisks(-)
14) LVM-VolumeManagement(-)
15) Gds:Global-Disk-Services(-)
16) Gls:Global-Link-Services(Gls_APP1_LINK)
Choose the setting to process: 15




Consistency check ...
Yet to do: assign at least one disk class

Volume management (Gds_APP1_LINK: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



 1) HELP             5) SymfoFs          9) Systemwalker    13) Linkexpress
 2) RETURN           6) SymfoDb         10) Interstage
 3) FREECHOICE       7) gds             11) CentricMGR
 4) GFSctlClass      8) sfcfs           12) gds01
Choose the disk class: 13




Set a flag for the disk class: Linkexpress
Currently set:
1) HELP                                 5) MONITORONLY(M)
2) -
3) SAVE+RETURN
4) DEFAULT
Choose additionally one of the flags: 3




Consistency check ...


Settings of turnkey wizard "CRM"
 1) HELP
 2) -
 3) SAVE+EXIT
 4) -
 5) ApplicationName=APP1_LINK
 6) Machines+Basics(app1_link)
 7) CommandLines(-)
 8) Controllers(-)
 9) CRM(-)
10) LocalFileSystems(-)
11) RemoteFileSystems(-)
12) IpAddresses(-)
13) RawDisks(-)
14) LVM-VolumeManagement(-)
15) Gds:Global-Disk-Services(Gds_APP1_LINK)
16) Gls:Global-Link-Services(Gls_APP1_LINK)
Choose the setting to process: 10




Consistency check ...
Yet to do: assign at least one mount point
Yet to do: configure at least one file system without the M flag

File systems (Lfs_APP1_LINK: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




1) HELP                                 5) /ias-disk
2) RETURN                               6) /mnt/gds
3) FREECHOICE                           7) /mnt/shared001
4) ALL                                  8) /mnt/swtest01
Choose a mount point: 7




Set flags for mount point: /mnt/shared001 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





Consistency check ...


File systems (Lfs_APP1_LINK:consistent)
1) HELP                                 5) AdditionalMountPoint
2) -                                    6) MountPoints[0]=LA:/mnt/shared001
3) SAVE+EXIT                            7) (Filter=)
4) REMOVE+EXIT                          8) (Timeout=180)
Choose the setting to process: 3




Consistency check ...


Settings of turnkey wizard "CRM"
 1) HELP
 2) -
 3) SAVE+EXIT
 4) -
 5) ApplicationName=APP1_LINK
 6) Machines+Basics(app1_link)
 7) CommandLines(-)
 8) Controllers(-)
 9) CRM(-)
10) LocalFileSystems(Lfs_APP1_LINK)
11) RemoteFileSystems(-)
12) IpAddresses(-)
13) RawDisks(-)
14) LVM-VolumeManagement(-)
15) Gds:Global-Disk-Services(Gds_APP1_LINK)
16) Gls:Global-Link-Services(Gls_APP1_LINK)
Choose the setting to process: 3





monaco: Main configuration menu, current configuration: symfoPT
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





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/symfoPT/symfoPT.us
Hit CR to continue




monaco: Main configuration menu, current configuration: symfoPT
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





About to activate the configuration symfoPT ...


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/symfoPT/symfoPT.us
About to distribute the new configuration data to hosts: monacoRMS,nurburgRMS

The new configuration was distributed successfully.

About to put the new configuration in effect ... done.

The activation has finished successfully.
Hit CR to continue




monaco: Main configuration menu, current configuration: symfoPT
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


目次 索引 前ページ次ページ

All Rights Reserved, Copyright(C) 富士通株式会社 1997-2007