ページの先頭行へ戻る
Linkexpress Replication optionV5.0L17 クラスタ導入運用ガイド
FUJITSU Software

A.2 クラスタアプリケーションへのリソース登録のサンプル手順

以下の設定内容を元にクラスタアプリケーションにレプリケーションサービスのリソースを登録しています。
このサンプル手順では、作成済みのクラスタアプリケーションにレプリケーションサービスのリソースを登録しています。

  1. RMSが起動している場合は停止します。

  2. PRIMECLUSTERのhvwコマンドを実行し、クラスタアプリケーションにレプリケーションサービスのリソースを登録します。

    # hvw
    
    pcl-vm13: 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
    Edit: Application selection menu (restricted):
    1) HELP   
    2) QUIT   
    3) RETURN 
    4) OPTIONS
    5) APP1   
    6) REPAPP 
    Application Name: 6
    
    Consistency check ...
    
    Settings of turnkey wizard "STANDBY" (REPAPP:consistent)
     1) HELP                                      
     2) READONLY                                  
     3) SAVE+EXIT                                 
     4) -                                         
     5) ApplicationName=REPAPP                    
     6) Machines+Basics(repapp)                   
     7) CommandLines(-)                           
     8) Procedure:Application(-)                  
     9) Procedure:BasicApplication(ProBApp_REPAPP)
    10) Symfoware(Symfoware_REPAPP)               
    11) Procedure:SystemState3(-)                 
    12) Procedure:SystemState2(-)                 
    13) Gls:Global-Link-Services(Gls_REPAPP)      
    14) IpAddresses(-)                            
    15) LocalFileSystems(Lfs_REPAPP)              
    16) Gds:Global-Disk-Services(Gds_REPAPP)      
    Choose the setting to process: 8
    
    Consistency check ...
    Yet to do: assign at least an Procedure Resourcee
    
    Application Procedure (ProApp_REPAPP:not yet consistent)
    1) HELP                                 3) REMOVE+EXIT                
    2) -                                    4) AdditionalProcedureResource
    Choose the setting to process: 4
    1) HELP     
    2) RETURN   
    3) lnkreprsc
    Choose an procedure resource name: 3
    
    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
    
    Consistency check ...
    
    
    Application Procedure (ProApp_REPAPP:consistent)
    1) HELP                                        
    2) -                                           
    3) SAVE+EXIT                                   
    4) REMOVE+EXIT                                 
    5) AdditionalProcedureResource                 
    6) ProcedureResources[0]=lnkreprsc:T1800,P65535
    Choose the setting to process: 3
    
    Consistency check ...
    
    Settings of turnkey wizard "STANDBY" (REPAPP:consistent)
     1) HELP                                      
     2) -                                         
     3) SAVE+EXIT                                 
     4) -                                         
     5) ApplicationName=REPAPP                    
     6) Machines+Basics(repapp)                   
     7) CommandLines(-)                           
     8) Procedure:Application(ProApp_REPAPP)      
     9) Procedure:BasicApplication(ProBApp_REPAPP)
    10) Symfoware(Symfoware_REPAPP)               
    11) Procedure:SystemState3(-)                 
    12) Procedure:SystemState2(-)                 
    13) Gls:Global-Link-Services(Gls_REPAPP)      
    14) IpAddresses(-)                            
    15) LocalFileSystems(Lfs_REPAPP)              
    16) Gds:Global-Disk-Services(Gds_REPAPP)      
    Choose the setting to process: 3
    
    Edit: Application selection menu (restricted):
    1) HELP   
    2) QUIT   
    3) RETURN 
    4) OPTIONS
    5) APP1   
    6) REPAPP 
    Application Name: 3
    
    pcl-vm13: 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
    
    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
    
    pcl-vm13: 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
    
    About to activate the configuration config ...
    
    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: pcl-vm13RMS,pcl-vm14RMS
    
    The new configuration was distributed successfully.
    Hit CR to continue
    
    pcl-vm13: 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