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

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

B.2.1 クラスタアプリケーションの変更(Linkexpressの追加)

・「CRM」でLinkexpressを登録します。

hvw -n link
hstcll01: Main configuration menu, current configuration: link
 1) HELP                                10) Configuration-Freeze
 2) QUIT                                11) Configuration-Thaw
 3) Application-Create                  12) Configuration-Edit-Global-Settings
 4) Application-Edit                    13) Configuration-Consistency-Report
 5) Application-Remove                  14) Configuration-ScriptExecution
 6) Configuration-Generate              15) RMS-CreateMachine
 7) Configuration-Activate              16) RMS-RemoveMachine
 8) Configuration-Copy                  17) SwitchToRuntimeMode
 9) Configuration-Remove
Choose an action: 3



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



Consistency check ...
Yet to do: process the basic settings using Machines+Basics
Yet to do: choose a proper application name


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
        >> 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                                12) (OfflineDoneScript=)
 2) -                                   13) (FaultScript=)
 3) SAVE+EXIT                           14) (AutoStartUp=no)
 4) REMOVE+EXIT                         15) (AutoSwitchOver=No)
 5) AdditionalMachine                   16) (PreserveState=no)
 6) AdditionalConsole                   17) (PersistentFault=0)
 7) Machines[0]=hstcll01RMS             18) (ShutdownPriority=)
 8) (PreCheckScript=)                   19) (OnlinePriority=)
 9) (PreOnlineScript=)                  20) (LicenseToKill=no)
10) (PostOnlineScript=)                 21) (AutoBreak=yes)
11) (PreOfflineScript=)                 22) (HaltFlag=no)
Choose the setting to process: 5


1) HELP
2) RETURN
3) hstcll01RMS
4) hstcll02RMS
Choose a machine for this application: 4



Consistency check ...


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


1) HELP                                 4) HostFailure|ResourceFailure
2) RETURN                               5) HostFailure|ResourceFailure|ShutDown
3) No
Set the AutoSwitchOver mode: 5



Consistency check ...


Machines+Basics (app1_link:consistent)
 1) HELP
 2) -
 3) SAVE+EXIT
 4) REMOVE+EXIT
 5) AdditionalMachine
 6) AdditionalConsole
 7) Machines[0]=hstcll01RMS
 8) Machines[1]=hstcll02RMS
 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) (LicenseToKill=no)
22) (AutoBreak=yes)
23) (HaltFlag=no)
Choose the setting to process: 23

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]=hstcll01RMS
 8) Machines[1]=hstcll02RMS
 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) (LicenseToKill=no)
22) (AutoBreak=yes)
23) (HaltFlag=yes)
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: 9



Consistency check ...

Crm (CRM_APP1_LINK: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: 6



Settings of "SystemState3"
1) HELP                                 4) REMOVE+RETURN
2) NO-SAVE+RETURN                       5) AdditionalResource
3) -
Choose the setting to process: 5


1) HELP
2) RETURN
3) -
4) lnkexp
Choose the resource: 4



Settings of "SystemState3"
1) HELP                                 5) AdditionalResource
2) NO-SAVE+RETURN                       6) ResourceName[0]=lnkexp
3) SAVE+RETURN                          7) Flags[0]=OT1800
4) REMOVE+RETURN                        8) Priority[0]=65535
Choose the setting to process: 3



Consistency check ...


Crm (CRM_APP1_LINK:consistent)
1) HELP                                 5) SystemState2(-)
2) -                                    6) SystemState3(Crm_SystemState3)
3) SAVE+EXIT                            7) BasicApplication(-)
4) REMOVE+EXIT                          8) Application(-)
Choose the setting to process: 3



Consistency check ...


Settings of turnkey wizard "CRM"
 1) HELP                                 9) CRM(CRM_APP1_LINK)
 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: 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) (AutoRecover=no)
2) -                      5) AdditionalDiskClass    8) (Timeout=1800)
3) SAVE+EXIT              6) (ClassNameFilter=)
Choose the setting to process: 5


1) HELP
2) RETURN
3) FREECHOICE
4) class0001
Choose the disk class: 4



Consistency check ...


Volume management (Gds_APP1_LINK:consistent)
1) HELP                                 6) DiskClasses[0]=class0001
2) -                                    7) (ClassNameFilter=)
3) SAVE+EXIT                            8) (AutoRecover=no)
4) REMOVE+EXIT                          9) (Timeout=1800)
5) AdditionalDiskClass
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(CRM_APP1_LINK)
10) LocalFileSystems(-)
11) RemoteFileSystems(-)
12) IpAddresses(-)
13) RawDisks(-)
14) LVM-VolumeManagement(-)
15) Gds:Global-Disk-Services(Gds_APP1_LINK)
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
2) RETURN
3) FREECHOICE
4) 10.249.93.215
Choose a takeover IP address for Gls: 4



Set a flag for takeover IP address: 10.249.93.215
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.249.93.215
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(CRM_APP1_LINK)
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: 3






hstcll01: Main configuration menu, current configuration: link
 1) HELP                                10) Configuration-Freeze
 2) QUIT                                11) Configuration-Thaw
 3) Application-Create                  12) Configuration-Edit-Global-Settings
 4) Application-Edit                    13) Configuration-Consistency-Report
 5) Application-Remove                  14) Configuration-ScriptExecution
 6) Configuration-Generate              15) RMS-CreateMachine
 7) Configuration-Activate              16) RMS-RemoveMachine
 8) Configuration-Copy                  17) SwitchToRuntimeMode
 9) Configuration-Remove
Choose an action: 4



Edit: Application selection menu (restricted):
1) HELP
2) QUIT
3) RETURN
4) OPTIONS
5) APP1_LINK
Application Name: 4



Edit: selection criteria:
1) HELP                                 6) ApplicationsOnly
2) RETURN                               7) SearchPattern
3) NONE                                 8) ShowSubApplications
4) ShowTurnkeyWizardsOnly               9) FlagApplications
5) ShowAllAvailableWizards
Set selection criteria: 5




Edit: Application selection menu:
 1) HELP                   5) APP1_LINK              9) Gls_APP1_LINK
 2) QUIT                   6) CRM_APP1_LINK         10) app1_link
 3) RETURN                 7) Fsystem
 4) OPTIONS                8) Gds_APP1_LINK
Application Name: 6

/bin/ls: /usr/opt/reliant/build/wizard.d/link/*([A-Z0-9]).m: No such file or directory
You are going to change a sub application which is part of a
turnkey configuration. Please type yes to continue.
We strongly recommend to type CR instead which
will redirect you to the corresponding turnkey wizard:
        Please confirm this by typing yes: yes



Consistency check ...


Settings of application type "Crm" (consistent)
 1) HELP                                 7) SubApplications[1]=Gls_APP1_LINK
 2) NO-SAVE+EXIT                         8) SystemState2(-)
 3) SAVE+EXIT                            9) SystemState3(Crm_SystemState3)
 4) ApplicationName=CRM_APP1_LINK       10) BasicApplication(-)
 5) AdditionalSubApplication            11) Application(-)
 6) SubApplications[0]=Gds_APP1_LINK
Choose the setting to process: 5


1) HELP                                 5) Fsystem
2) RETURN                               6) Gds_APP1_LINK
3) FREECHOICE                           7) Gls_APP1_LINK
4) CRM_APP1_LINK
Choose a sub application to be controlled: 5


Consistency check ...


Settings of application type "Crm" (consistent)
 1) HELP                                 7) SubApplications[1]=Gls_APP1_LINK
 2) NO-SAVE+EXIT                         8) SubApplications[2]=Fsystem
 3) SAVE+EXIT                            9) SystemState2(-)
 4) ApplicationName=CRM_APP1_LINK       10) SystemState3(Crm_SystemState3)
 5) AdditionalSubApplication            11) BasicApplication(-)
 6) SubApplications[0]=Gds_APP1_LINK    12) Application(-)
Choose the setting to process: 3


You are going to change the the turn key sub application CRM_APP1_LINK,
        NOT using the corresponding turn key wizard.
        If you choose SAVE+EXIT, you will never be able to edit this
        sub application by the corresponding turn key wizard in the future.
1) HELP
2) CANCEL
3) SAVE+EXIT
Cancel changes or save and exit wizard: 3



Edit: Application selection menu:
 1) HELP                   5) APP1_LINK              9) Gls_APP1_LINK
 2) QUIT                   6) CRM_APP1_LINK         10) app1_link
 3) RETURN                 7) Fsystem
 4) OPTIONS                8) Gds_APP1_LINK
Application Name: 3



hstcll01: Main configuration menu, current configuration: link
 1) HELP                                10) Configuration-Freeze
 2) QUIT                                11) Configuration-Thaw
 3) Application-Create                  12) Configuration-Edit-Global-Settings
 4) Application-Edit                    13) Configuration-Consistency-Report
 5) Application-Remove                  14) Configuration-ScriptExecution
 6) Configuration-Generate              15) RMS-CreateMachine
 7) Configuration-Activate              16) RMS-RemoveMachine
 8) Configuration-Copy                  17) SwitchToRuntimeMode
 9) Configuration-Remove
Choose an action: 6



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



hstcll01: Main configuration menu, current configuration: link
 1) HELP                                10) Configuration-Freeze
 2) QUIT                                11) Configuration-Thaw
 3) Application-Create                  12) Configuration-Edit-Global-Settings
 4) Application-Edit                    13) Configuration-Consistency-Report
 5) Application-Remove                  14) Configuration-ScriptExecution
 6) Configuration-Generate              15) RMS-CreateMachine
 7) Configuration-Activate              16) RMS-RemoveMachine
 8) Configuration-Copy                  17) SwitchToRuntimeMode
 9) Configuration-Remove
Choose an action: 7



About to activate the configuration link ...


Testing for RMS to be up somewhere in the cluster  for 10s...... 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/link/link.us
About to distribute the new configuration data to hosts: hstcll01RMS,hstcll02RMS
The new configuration was distributed successfully.

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

To activate the new configuration restart RMS.
Hit CR to continue



hstcll01: Main configuration menu, current configuration: link
 1) HELP                                10) Configuration-Freeze
 2) QUIT                                11) Configuration-Thaw
 3) Application-Create                  12) Configuration-Edit-Global-Settings
 4) Application-Edit                    13) Configuration-Consistency-Report
 5) Application-Remove                  14) Configuration-ScriptExecution
 6) Configuration-Generate              15) RMS-CreateMachine
 7) Configuration-Activate              16) RMS-RemoveMachine
 8) Configuration-Copy                  17) SwitchToRuntimeMode
 9) Configuration-Remove
Choose an action: 2

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

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