Top
ETERNUS SFAdvancedCopy Manager 14.0 Operator's Guide forCluster Environment

4.3.2 Customization Procedure

To set up a Storage Management Server transaction and a Storage Server transaction, use the procedure below.

  1. Restart the system.

    Restart the primary and secondary nodes. If the system is restarted in an extension of the installation process of AdvancedCopy Manager, proceed to step 2.

  2. Check the preparations.

    Check each item of "3.3 Confirmation of items" for the resource group to be set up.

  3. Create and check the resource group

    Check the resource group that adds the Storage Management Server transactions or Storage Server transactions. If there is no resource group, create one.

    Check the logical host name resources and shared address resources that belong to the resource group. If there are no resources, create logical host name resources and add them to the resource group.

    Create a shared disk SUNW.HAStoragePlus resource group for AdvancedCopy Manager, and add it to the resource groups.

    Note

    • The resource group must be a failover resource group.

    • The resource name for the shared disk SUNW.HAStoragePlus resource for AdvancedCopy Manager must be STGMGR-DSK-logical-node-name.

  4. Stop transactions

    Use the Sun Cluster functions to stop the targeted resource group.

    Refer to the Sun Cluster manual for information on stopping resource groups.

  5. Mount the shared disk on the primary node.

    For a Storage Management Server transaction, mount the shared disk for AdvancedCopy Manager shared data (one partition). Also mount the shared disk for the AdvancedCopy Manager repository (mount all shared disks where repository directories will be created) on the primary node.

    For Storage Server transaction, mount the shared disk for AdvancedCopy Manager shared data on the primary node.

  6. Register port numbers

    Use the service name shown below to register the port number for transaction communication daemon, prepared in advance, in /etc/services. Use an OS command such as vi to register it in /etc/services.

    • Transaction communication daemon: stgxfws_Logical-Node-Name

    Note

    Register the same port number on the primary node and all secondary nodes.

  7. Execute the cluster setup command on the primary node.

    For a Storage Management Server transaction, on the primary node execute the cluster setup command shown below after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data, and the shared disk for the AdvancedCopy Manager repository. When this command is executed, a repository is created in addition to the cluster being set up. For more information, see the chapter on database creation.

    Example

    # /opt/swstorage/bin/stgclset_sun -k Primary -m /STGMGRDISK -h stgnet -n nodeMGR -s manager_service -i 10.10.10.10 -f mgr

    Note

    For a Storage Management Server transaction to be performed, use the location that is specified when the Storage Management Server is installed.

    For Storage Server transaction, on the primary node, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    Example

    # /opt/swstorage/bin/stgclset_sun -k Primary -m /STGAGTMNT -h stgnet -n nodeAGT -s agent_service

    Refer to "8.2.3 stgclset_sun (Solaris edition Sun Cluster environment setup command)" for command details.

  8. Check the setup object.

    Information about the logical node specified by the command is displayed. After confirming the displayed information, press the Enter key.

    • For a Storage Management Server transaction:

      # /opt/swstorage/bin/stgclset_sun -k Primary -m /STGAGTMNT -h stgnet -n nodeMGR -s  manager_service -i 10.10.10.10 -f mgr
      AdvancedCopy Manager settings are as follows.
              Cluster system : Sun Cluster 
              Node type      : Primary
              IP Address     : 10.10.10.10
              Mount point    : /STGAGTMNT
              Node name      : nodeMGR
              Service        : manager service
              Network Resource : stgnet
      	        Function       : Management Server
      Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]
    • For a Storage Server transaction:

      # /opt/swstorage/bin/stgclset_sun -k Primary -m /STGAGTMNT -h stgnet -n nodeAGT -s agent_service
      AdvancedCopy Manager settings are as follows.
              Cluster system : Sun Cluster
              Node type      : Primary
              Mount point    : /STGAGTMNT
              Node name      : nodeAGT
              Service        : agent_service
              Network Resource: stgnet
              Function       : Server
      Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]
      

    To interrupt the cluster environment setting process, enter "n". To continue the setting process, enter "y" or press the Enter key.

    Note

    • For a Storage Management Server transaction, proceed to step 9.

    • For a Storage Server transaction, proceed to step 14.

  9. Start the creation of a common environment for Storage Management Server transactions.

    The initial window for setting the common environment opens. Confirm the displayed information, enter "y", and then press the Enter key.

      +----------------------------------------------------------------+
      |   A common environment for the AdvancedCopy Manager            |
      |   Storage Management Server will be created.                   |
      |  [Notes]                                                       |
      |   Prepare the following directories before starting processing.|
      | ============================================================== |
      |                                                                |
      |   1) Directory for the DB file                                 |
      |   2) Directory for the RDB dictionary                          |
      |   3) Directory for the RDB log file                            |
      |   4) Directory for the DB space to store the repository data   |
      |                                                                |
      +----------------------------------------------------------------+
    
              Do you want to continue with processing? [y/n] ==> y
  10. For a Storage Management Server transaction, specify the DB directory.

    The window shown below opens. Enter the directory name for the DB file system according to the information in [Notes], and press the Enter key.

    -----------------------< DB device setting >----------------------
    
              Enter the directory name for the DB file.
    
             [Notes]
               Enter the absolute path name of the directory.
    
                       Enter ==> /ACMMnt/Vol202/DBFile

    A similar setting window opens for input of the directory names for the RDB dictionary, RDB log file, and DB space where repository data is stored. Enter a directory name for each item, and press the Enter key after each entry.

    After setting up the directory name for DB space where repository data is stored, the setting window for inputting the size of repository data is opened. Enter the size of repository data, and press the Enter key.

  11. For a Storage Management Server transaction, check the DB directory settings.

    The four directory names and the size of repository data specified in step 9 above are displayed. Confirm the displayed information, enter "y", and press the Enter key.

    =================================================================================
     Directory name for the DB file ............................../ACMMnt/Vol202/DBFile
     Directory name for the RDB dictionary ....................../ACMMnt/Vol203/DBDic
     Directory name for the RDB log file ......................../ACMMnt/Vol204/DBLog
     Directory name for the DB space for saving repository data ..../ACMMnt/Vol205/DBSpa
     Repository data Size .......................................65MB
    
     ================================================================================
    
              Okay? [y/n] ==> y
  12. For a Storage Management Server transaction, confirm the continuation of processing.

    After the window for confirming the continuation of processing opens, enter "y", and press the Enter key.

      +--------------------------------------------------------------------+
      |   Creation of the AdvancedCopy Manager Storage management          |
      |   server environment will start.                                   |
      | ================================================================== |
      |                                                                    |
      |   Once processing has started, system information is rewritten.    |
      |   Make sure that the environment allows execution                  |
      |   before proceeding.                                               |
      |                                                                    |
      +--------------------------------------------------------------------+
    
              Do you want to continue with processing? [y/n] ==> y
  13. For a Storage Management Server transaction, enter the repository access settings.

    The window for setting AdvancedCopy Manager repository access opens. Enter a user name and then a password, and press the Enter key.

    Point

    For the sake of security, Fujitsu recommends a general user as the user name, not a root user which has frequent password changes.

              Enter the user name and password for accessing
              the repository of AdvancedCopy Manager.
    
             [Notes]
              We recommend you to input a general user other than root.
    
                    Username           : acmuser
                    Password           :
                    Password(Re-enter) :

    Note

    If user settings were entered as shown above, and the user is deleted or the password is changed from the operating system, perform the setup processing again. Refer to "User deletion or password change in repository access user settings" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide (Solaris)".

  14. Finish the cluster setup command on the primary node.

    The window indicating cluster setup command completion opens.

    swstf8100 The cluster setup of the primary node has been completed. Next, create the cluster environment of the secondary node.
    #
  15. Dismount the shared disks on the primary node.

    For a Storage Management Server transaction, dismount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the primary node.

    For a Storage Server transaction, dismount the shared disk for AdvancedCopy Manager shared data on the secondary node.

  16. Mount the shared disks on the secondary node.

    For a Storage Management Server transaction, mount the shared disk for AdvancedCopy Manager shared data and the shared disk for the AdvancedCopy Manager repository on the secondary node.

    For a Storage Server transaction, mount the shared disk for AdvancedCopy Manager shared data on the secondary node.

  17. Execute the cluster setup command on the secondary node.

    For a Storage Management Server transaction, on the secondary node, execute the cluster setup command shown below after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data and the shared disk for the AdvancedCopy Manager repository. When this command is executed, a repository is created in addition to the cluster being set up. For more information, see the chapter on database creation.

    For a Storage Server transaction, on the secondary node, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    Example

    # /opt/swstorage/bin/stgclset_sun -k Secondary -m /STGMGRDISK

    Refer to "8.2.3 stgclset_sun (Solaris edition Sun Cluster environment setup command)" for command details.

    Note

    For a Storage Management Server transaction to be performed, use the location that is specified when the Storage Management Server was installed.

  18. Check the setup object.

    Information about the logical node specified by the command is displayed. After confirming the displayed information, press the Enter key.

    • For a Storage Management Server transaction:

      # /opt/swstorage/bin/stgclset_sun -k Secondary -m /STGMGRDISK
      
      AdvancedCopy Manager settings are as follows.
              Cluster system : Sun Cluster
              Node type      : Secondary
              IP Address     : 10.10.10.10
              Mount point    : /STGMGRDISK
              Node name      : nodeMGR
              Network Resource: stgnet
              Service        : manager service
              Function       : Management Server
      Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]
    • For a Storage Server transaction:

      # /opt/swstorage/bin/stgclset_sun -k Secondary -m /STGAGTMNT
      AdvancedCopy Manager settings are as follows.
              Cluster system : Sun Cluster
              Node type      : Secondary
              Mount point    : /STGAGTMNT
              Node name      : nodeAGT
              Service        : agent_service
              Network Resource: stgnet
              Function       : Server
      Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]

    To interrupt the cluster environment setting process, enter "n". To continue the setting process, enter "y" or press the Enter key.

    Note

    • If the transaction is a Storage Management Server transaction, proceed to step 19.

    • If the transaction is a Storage Server transaction, proceed to step 20.

  19. For Storage Management Server transactions, confirm the continuation of processing.

    The window for confirmation of continuation opens. Enter "y", then press the Enter key.

      +--------------------------------------------------------------------+
      |   Creation of the AdvancedCopy Manager Storage management          |
      |   server environment will start.                                   |
      | ================================================================== |
      |                                                                    |
      |   Once processing has started, system information is rewritten.    |
      |   Make sure that the environment allows execution                  |
      |   before proceeding.                                               |
      |                                                                    |
      +--------------------------------------------------------------------+
    
              Do you want to continue with processing? [y/n] ==> y
  20. Finish the cluster setup command on the secondary node.

    The window indicating cluster setup command completion opens.

    swstf8101 The cluster setup of the secondary node has been completed.
    #
  21. Unmount the shared disks on the secondary node.

    For a Storage Management Server transaction, unmount the shared disk for AdvancedCopy Manager shared data and the shared disk for the AdvancedCopy Manager repository on the secondary node.

    For a Storage Server transaction, unmount the shared disk for AdvancedCopy Manager share data on the secondary node.

  22. Check the resource group resources.

    Check that the following resource has been registered:

    AdvancedCopy Manager application resource (resource name: STGMGR-APP-logical-node-name)

  23. Start AdvancedCopy Manager and the Transaction.

    Use the Sun Cluster functions to start the resource group that was stopped in Step 4.

    Refer to the Sun Cluster manual for information on starting resource groups.

  24. Back up the environment.

    As a safeguard against loss of data, back up the following environments.

    • Database

      For a Storage Management Server transaction, refer to "Saving a database" in the "ETERNUS SF AdvancedCopy Manager Operations Guide (Solaris)" and back up the database area that was created.

    • Data on the shared disk for AdvancedCopy Manager shared data

      Use an OS command such as cp to back up the following directories on the shared disk for AdvancedCopy Manager shared data:

      • Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data/etc

      • Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data/var

  25. Create an environment for Storage Management Server transactions and Storage Server transactions.

    Use the Web GUI of AdvancedCopy Manager to create an environment for Storage Management Server transactions and Storage Server transactions.

    If only one server is used for Storage Management Server transactions and Server storage transactions, you should also create a Storage Server transaction environment.

    Note

    Create an environment for Storage Management Server transactions and an environment for Storage Server transactions by referring to the "ETERNUS SF AdvancedCopy Manager Operator's Guide (Solaris)."