ETERNUS SF AdvancedCopy Manager Operator's Guide for cluster environment 13.0 -Microsoft(R) Windows(R) 2000/Microsoft(R) Windows Sever(TM) 2003-, -Solaris-, -HP-UX-, -Linux-, -AIX-
Contents Index PreviousNext

Chapter 4 Customization of Storage Management Server Transactions and Storage Server Transactions

This chapter explains how to customize Storage management server transactions and Storage server transactions.

For Solaris-version SynfinityCluster/PRIMECLUSTER, see "Customization for Solaris-version SynfinityCluster/PRIMECLUSTER" in this manual.

For Solaris-version VERITAS Cluster Server, see "Customization for Solaris-version VERITAS Cluster Server" in this manual.

For Linux-version PRIMECLUSTER, see "Customization for Linux-version PRIMECLUSTER" in this manual.

For Windows-version MSCS, see "Customization for Windows-version MSCS" in this manual.

For HP-version MC/ServiceGuard, see "Customization for HP-version MC/ServiceGuard" in this manual.

For HP-version VERITAS Cluster Server, see "Customization for HP-version VERITAS Cluster Server" in this manual.

For AIX-version VERITAS Cluster Server, see "Customization for AIX-version VERITAS Cluster Server" in this manual.

For AIX-version High Availability Cluster Multi-Processing, see "Customization for AIX-version High Availability Cluster Multi-Processing" in this manual.

4.1 Customization for Solaris-version SynfinityCluster/PRIMECLSTER

This chapter explains how to customize Solaris-version SynfinityCluster/PRIMECLSTER.

Throughout this chapter, the primary node is an active node in a cluster service (userApplication) performing Storage management server transactions and Storage server transaction, and the secondary node is the standby node in the same cluster service (userApplication).

The secondary node A shows the node which creates the environment of Storage management server transactions first in the secondary nodes in this cluster service (userApplication). The secondary node B shows the remaining secondary nodes in this cluster service (userApplication).

The customizing work of primary node and secondary node A is executed at 1:1 standby system, mutual standby system, and n:1 standby system.

The customizing work of primary node, secondary node A and secondary node B is executed at cascade topology system and priority transfer system.

Example:

When creating a cascade by three sets of nodes, one set is a primary node, one set is the secondary node A, and one set is the secondary node B. When creating a cascade by four sets of nodes, one set is a primary node, one set is the secondary node A, and two sets are the secondary node B.

4.1.1 Flow of Customizing 

This Chapter describes the flow of setup.

4.1.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 node and secondary node.

    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 "Confirmation of items," for the cluster service (userApplication) to be set up.

  3. Mount the shared disk on the primary node.

    For Storage management server transaction, mount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the primary node.

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

  4. Stop the cluster services (userApplication).

    To add a Storage management server transaction and a Storage server transaction to an existing cluster service (userApplication), stop the cluster service (userApplication) from the SynfinityCluster Operation Management view or PRIMECLUSTER RMS main window.

  5. Register port numbers

    Register the port number for the transaction communication in /etc/services. Use the OS command such as vi to register it in /etc/services.

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

    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 that 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.

    # /opt/swstorage/bin/stgclset_safe  -k Primary | Pri -m AdvancedCopy-Manager-Shared-Data-Mount-Point -n Logical-Node-Name -s Service-Name -i IP-Address -f mgr

    Example

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

    or

    # /opt/swstorage/bin/stgclset_safe -k Pri -m /STGMGRDISK -n nodeMGR -s manager_service -i 10.10.10.10 -f mgr

    For Storage management 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:

    # /opt/swstorage/bin/stgclset_safe  -k Primary | Pri -m AdvancedCopy-Manager-Shared-Data-Mount-Point -n Logical-Node-Name -s Transaction-Name

    Example

    # /opt/swstorage/bin/stgclset_safe -k Primary -m /CTTEST3 -n nodeAGT -s agent_service

    or

    # /opt/swstorage/bin/stgclset_safe -k Pri -m /CTTEST3 -n nodeAGT -s agent_service


  7. 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 Storage management server transaction:

    # /opt/swstorage/bin/stgclset_safe -k Primary -m /STGMGRDISK -n nodeMGR -s manag
    er_service -i 10.10.10.10 -f mgr
    AdvancedCopy Manager settings are as follows.
            Cluster system : SynfinityCluster or PRIMECLUSTER
            Node type      : Primary
            IP Address     : 10.10.10.10
            Mount point    : /STGMGRDISK
            Node name      : nodeMGR
            Service        : manager_service
            Function       : Management Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]

    For Storage server transaction:

    # /opt/swstorage/bin/stgclset_safe -k Primary -m /CTTEST3 -n nodeAGT -s agent_se
    rvice
    AdvancedCopy Manager settings are as follows.
            Cluster system : SynfinityCluster or PRIMECLUSTER
            Node type      : Primary
            Mount point    : /CTTEST3
            Node name      : nodeAGT
            Service        : agent_service
            Function       : Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]

    When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  8. 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 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

  9. For Storage management server transaction, specify the DB device.

    The window shown below opens. Enter the directory name for the DB file system according to the information in [Note], 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/DBFile/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.


  10. For Storage management server transaction, check the DB directory settings.

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

    ====================================================================
    
     Directory name for the DB file ............/ACMMnt/DBFile/DBFile
     Directory name for the RDB dictionary ...../ACMMnt/DBDic/DBDic
     Directory name for the RDB log file ......./ACMMnt/DBLog/DBLog
     Directory name for the DB space
               used to save repository data ..../ACMMnt/DBSpa/DBSpa
     Repository data Size ......................65MB
    
     ====================================================================
    
              Okay? [y/n] ==> y


  11. 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


  12. For Storage management server transaction, make the repository access settings.

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

    For the point of security, it recommends using not a root user but a general user.

              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) :

  13. Finnish 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.
    #


  14. Unmount the shared disks on the primary node.

    For Storage management server transaction, unmount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the primary node.

    For Storage server transaction, unmount the shared disk for AdvancedCopy Manager shared data on the primary node.

  15. Mount the shared disks on the secondary node A.

    For Storage management server transaction, mount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the secondary node A.

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

  16. Execute the cluster setup command on the secondary node A.

    For Storage management server transaction, on the secondary node A, execute the cluster setup command shown below after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data and that 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.

    On the secondary node A, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    # /opt/swstorage/bin/stgclset_safe  -k Secondary | Sec -m AdvancedCopy-Manager-Shared-Data-Mount-Point

    Example

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

    or

    # /opt/swstorage/bin/stgclset_safe -k Sec -m /STGMGRDISK

  17. 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 Storage management server transaction:

    # /opt/swstorage/bin/stgclset_safe -k Secondary -m /STGMGRDISK
    
    AdvancedCopy Manager settings are as follows.
            Cluster system : SynfinityCluster or PRIMECLUSTER
            Node type      : Secondary
            IP Address     : 10.10.10.10
            Mount point    : /STGMGRDISK
            Node name      : nodeMGR
            Service        : manager_service
            Function       : Management Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]

    For Storage server transaction:

    # /opt/swstorage/bin/stgclset_safe -k Secondary -m /CTTEST3 
    AdvancedCopy Manager settings are as follows.
            Cluster system : SynfinityCluster or PRIMECLUSTER
            Node type      : Secondary
            Mount point    : /CTTEST3
            Node name      : nodeAGT
            Service        : agent_service
            Function       : Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]

    When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  18. For 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

  19. Finnish 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.
    #


  20. Unmount the shared disks on the secondary node A.

    For Storage management server transaction, unmount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the secondary node A.

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

  21. Mount the shared disks on the secondary node B.

    For Storage management server transaction, mount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the secondary node B.

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

  22. Execute the cluster setup command on the secondary node B.

    Execute the cluster setup command on the secondary node B on which the shared disk for AdvancedCopy Manager shared data were mounted in step 21.

    For Storage management server transaction, on the secondary node B, execute the cluster setup command shown below after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data and that 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 Storage server transaction, on the secondary node B, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    # /opt/swstorage/bin/stgclset_safe  -k Secondary | Sec -m AdvancedCopy-Manager-Shared-Data-Mount-Point

    Example

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

    or

    # /opt/swstorage/bin/stgclset_safe -k Sec -m /STGMGRDISK

  23. 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 Storage management server transaction:

    # /opt/swstorage/bin/stgclset_safe -k Secondary -m /STGMGRDISK
    
    AdvancedCopy Manager settings are as follows.
            Cluster system : SynfinityCluster or PRIMECLUSTER
            Node type      : Secondary
            IP Address     : 10.10.10.10
            Mount point    : /STGMGRDISK
            Node name      : nodeMGR
            Service        : manager_service
            Function       : Management Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]

    For Storage server transaction:

    # /opt/swstorage/bin/stgclset_safe -k Secondary -m /CTTEST3 
    AdvancedCopy Manager settings are as follows.
            Cluster system : SynfinityCluster or PRIMECLUSTER
            Node type      : Secondary
            Mount point    : /CTTEST3
            Node name      : nodeAGT
            Service        : agent_service
            Function       : Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]

    When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  24. Check the addition of a secondary node.

    The window for confirming of adding a secondary node is displayed. After confirmation of a cascade, "y" is inputted and the Enter key is pushed.

    Secondary node is already setup in another node.
       The number of secondary nodes : 1
    Do you want to setup new secondary node? [default:n] y

    The number of secondary nodes already set up is outputted to "The number of secondary nodes."

  25. Start the creation of a common environment for AdvancedCopy Manager management server transactions.

    The initial window for setting the common environment opens. Confirm the displayed information, 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

  26. Finnish the cluster setup command on the secondary node B.

    The window indicating cluster setup command completion opens.

    swstf8101 The cluster setup of the secondary node has been completed.
    #


  27. Unmount the shared disks on the secondary node B.

    For Storage management server transaction, unmount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the secondary node B.

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

  28. Create resources.

    In SynfinityCluster, use the SynfinityCluster management view to create a takeover IP address resource. This operation is not necessary if a takeover IP address resource has already been created by the applicable cluster service.

    In PRIMECLUSTER, use the PRIMECLUSTER "userApplication Configuration Wizard" to create the following resources.

  29. Create and register a cluster service

    In SynfinityCluster, use the SynfinityCluster management view to create and register a cluster service for AdvancedCopy Manager.

    Register the following resources that compose the cluster service:

    In PRIMECLUSTER, use the PRIMECLUSTER "userApplication Configuration Wizard" to create and register a userApplication for AdvancedCopy Manager.

    Register the following resources that compose the userApplication:

  30. For Storage management server transaction, make the WebServer settings.

    With reference to "Setting up the Web Server," in the Solaris ETERNUS SFAdvancedCopy Manager Installation Guide, set up the Web Server in all nodes. If WebServer operation requires use of a physical IP address, specify settings so that multiple IP addresses can be used to access WebServer: that is, a physical IP address and a logical IP address. This is necessary because AdvancedCopy Manager in cluster operations accesses WebServer through a logical IP. For the required settings, refer to the applicable WebServer manual.

  31. Start the cluster services (userApplication) and the AdvancedCopy Manager.

    Use the SynfinityCluster management view and the RMS main window of PRIMECLLUSTER to start the new cluster service (userApplication) or the cluster service (userApplication) stopped in step 4.

  32. Back up the environment.

    In preparation for accidents, back up the following environments.

  33. Create an environment for Storage management server transaction and Storage server transaction.

    Use the GUI of AdvancedCopy Manager to create an environment for Storage management server transaction and Storage server transaction.

    In using storage server transaction function in storage management server transaction, create an environment for Storage server transaction.

4.2 Customization for Solaris-version VERITAS Cluster Server

This chapter explains how to customize Solaris-version VERITAS Cluster Server.

Throughout this chapter, the primary node is the active node in the Service Group that executes Storage management server transaction and Storage server transactions, and the secondary node is the standby node in the same Service Group.

The secondary node A shows the node which creates the environment of Storage management server transactions and Storage server transactions first in the secondary nodes in this cluster service group. The secondary node B shows the remaining secondary nodes in this cluster service group.

The customizing work of primary node and secondary node A is executed at 1:1 standby system, mutual standby system, and n:1 standby system.

The customizing work of primary node, secondary node A and secondary node B is executed at cascade topology system.

Example:

When creating a cascade by three sets of nodes, one set is a primary node, one set is the secondary node A, and one set is the secondary node B. When creating a cascade by four sets of nodes, one set is a primary node, one set is the secondary node A, and two sets are the secondary node B.

4.2.1 Flow of Customizing 

This Chapter describes the flow of setup.

4.2.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 node and all 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 "Confirmation of items," for the Service Group to be set up.

  3. Mount the shared disk on the primary node.

    For 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.

  4. Stop the Service Groups.

    To add a Storage management server transaction and a Storage server transaction to an existing Service Group by using the VERITAS Cluster Server function, stop the applicable Service Group.

    For information on how to stop the user Service Group, see the "VERITAS Cluster Server User's Guide."

    # hagrp -offline User-Service-Group  -sys  system-name

    system-name: The node name by which the user service group is started

  5. Register port numbers

    Register the port number for the transaction communication in /etc/services. Use the OS command such as vi to register it in /etc/services.

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

    For 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 that 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.

    # /opt/swstorage/bin/stgclset_vcs  -k Primary | Pri -m AdvancedCopy-Manager-Shared-Data-Mount-Point  -i IP-Address -n Logical-Node-Name -s Service-Name -f mgr

    Example

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

    or

    # /opt/swstorage/bin/stgclset_vcs -k Pri -m /STGMGRDISK -n nodeMGR -s manager_service -i 10.10.10.10 -f mgr

    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:

    # /opt/swstorage/bin/stgclset_vcs  -k Primary | Pri -m AdvancedCopy-Manager-Shared-Data-Mount-Point -n Logical-Node-Name -s Service-Name

    Example

    # /opt/swstorage/bin/stgclset_vcs -k Primary -m /STGAGTMNT -n nodeAGT -s agent_service

    or

    # /opt/swstorage/bin/stgclset_vcs -k Pri -m /STGAGTMNT -n nodeAGT -s agent_service


  7. 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 Storage management server transaction:

    # /opt/swstorage/bin/stgclset_vcs -k Primary -m /STGMGRDISK -n nodeMGR -s manager_service -i 10.10.10.10 -f mgr
    AdvancedCopy Manager settings are as follows.
            Cluster system : VERITAS Cluster Server
            Node type      : Primary
            IP Address     : 10.10.10.10
            Mount point    : /STGMGRDISK
            Node name      : nodemgr
            Service        : STGMGRSRV
            Function       : Management Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]

    For Storage server transaction:

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

    When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  8. 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 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

  9. For Storage management server transaction, specify the DB device.

    The window shown below opens. Enter the directory name for the DB file system according to the information in [Note], 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/DBFile/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.


  10. For Storage management server transaction, check the DB directory settings.

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

    ====================================================================
    
     Directory name for the DB file ............/ACMMnt/DBFile/DBFile
     Directory name for the RDB dictionary ...../ACMMnt/DBDic/DBDic
     Directory name for the RDB log file ......./ACMMnt/DBLog/DBLog
     Directory name for the DB space
               used to save repository data ..../ACMMnt/DBSpa/DBSpa
     Repository data Size ......................65MB
    
     ====================================================================
    
              Okay? [y/n] ==> y


  11. For 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


  12. For Storage management server transaction, make the repository access settings.

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

    For the point of security, it recommends using not a root user but a general user.

              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) :

  13. Finnish the cluster setup command on the primary node.

    The window indicating password registration and 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.
    #

  14. Unmount the shared disks on the primary node.

    For Storage management server transaction, unmount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the primary node.

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

  15. Mount the shared disks on the secondary node A.

    For Storage management server transaction, mount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the secondary node A.

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

  16. Execute the cluster setup command on the secondary node A.

    For Storage management server transaction, on the secondary node A, execute the cluster setup command shown below after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data and that 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 Storage server transaction, on the secondary node A, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    # /opt/swstorage/bin/stgclset_vcs  -k Secondary | Sec -m AdvancedCopy-Manager-Shared-Data-Mount-Point

    Example

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

    or

    # /opt/swstorage/bin/stgclset_vcs -k Sec -m /STGMGRDISK

  17. 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 Storage management server transaction:

    # /opt/swstorage/bin/stgclset_vcs -k Secondary -m /STGMGRDISK 
    
    AdvancedCopy Manager settings are as follows.
            Cluster system : VERITAS Cluster Server
            Node type      : Secondary
            IP Address     : 10.10.10.10
            Mount point    : /STGMGRDISK
            Node name      : nodemgr
            Service        : STGMGRSRV
            Function       : Management Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]

    For Storage server transaction:

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

    When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  18. Start the creation of a common environment for AdvancedCopy Manager management server transactions.

    The initial window for setting the common environment opens. Confirm the displayed information, 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

  19. Finnish the cluster setup command on the secondary node A.

    The window indicating cluster setup command completion opens.

    swstf8101 The cluster setup of the secondary node has been completed.
    #


  20. Unmount the shared disks on the secondary node A.

    For Storage management server transaction, unmount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the secondary node A.

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

  21. Mount the shared disks on the secondary node B.

    For Storage management server transaction, mount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the secondary node B.

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

  22. Execute the cluster setup command on the secondary node B.

    Execute the cluster setup command on the secondary node B on which the shared disk for AdvancedCopy Manager shared data and the shared disk for the AdvancedCopy Manager repository were mounted in step 21.

    For Storage management server transaction, on the secondary node B, execute the cluster setup command shown below after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data and that 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 Storage server transaction, on the secondary node B, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    # /opt/swstorage/bin/stgclset_vcs  -k Secondary | Sec -m AdvancedCopy-Manager-Shared-Data-Mount-Point

    Example

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

    or

    # /opt/swstorage/bin/stgclset_vcs -k Sec -m /STGMGRDISK

  23. 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 Storage management server transaction:

    # /opt/swstorage/bin/stgclset_vcs -k Secondary -m /STGMGRDISK 
    AdvancedCopy Manager settings are as follows.
            Cluster system : VERITAS Cluster Server
            Node type      : Secondary
            IP Address     : 10.10.10.10
            Mount point    : /STGMGRDISK
            Node name      : nodemgr
            Service        : STGMGRSRV
            Function       : Management Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]

    For Storage server transaction:

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

    When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  24. Check the addition of a secondary node.

    The window for confirming of adding a secondary node is displayed. After confirmation of a cascade, "y" is inputted and the Enter key is pushed.

    Secondary node is already setup in another node.
       The number of secondary nodes : 1
    Do you want to setup new secondary node? [default:n] y

    The number of secondary nodes already set up is outputted to "The number of secondary nodes."

  25. Start the creation of a common environment for AdvancedCopy Manager management server transactions.

    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

  26. Finnish the cluster setup command on the secondary node B.

    The window indicating cluster setup command completion opens.

    swstf8101 The cluster setup of the secondary node has been completed.
    #


  27. Unmount the shared disks on the secondary node B.

    For Storage management server transaction, unmount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the secondary node B.

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

  28. Create and register a Service Group.

    Service of AdvancedCopy Manager create and register at a User Service Group.

    Please add the following types as a resource of AdvancedCopy Manager.

    Application should set up a dependency after MountPoint and IP to become on-line.

    Refer to VERITAS Cluster Server User's Guide about a user service group and the creation/registration method of a resource.

    The User Service Group by the command of VERITAS Cluster Server and the example of creation/registration of a resource are as follows.

    In this example, User Service Group name is set to "STGMGRSRV", active system node name is set to "node1", standby system node name is set to "node2", and resource (application) name is set to "AdvancedCopy_Manager_appl."

    VCS config table is saved by another file-name. (It performs by all nodes.)

    # mv  /etc/VRTSvcs/conf/config/main.cf /etc/VRTSvcs/conf/config/main.cf.bk

    Place VCS into the read-write enabled state.

    # haconf -makerw

    Define a list of systems used at occurrence of fail-over.

    Already, when set up into the User Service Group, it is not necessary to set up.

    The following commands perform a check.

    # hagrp -display STGMGRSRV -attribute SystemList
    # hagrp -display STGMGRSRV -attribute AutoStartList

    A User Service Group is newly created (it is unnecessary when already set up into the User Service Group). As the system priority sequence, active node has priority over standby node.

    # hagrp -add STGMGRSRV 
    # hagrp -modify STGMGRSRV SystemList node1 0 node2 1
    # hagrp -modify STGMGRSRV AutoStartList node1 node2

    Register applications.

    A resource (application) is registered into a User Service Group.

    # hares -add AdvancedCopy_Manager_appl Application STGMGRSRV

    Place resources into the enabled state.

    # hares -modify AdvancedCopy_Manager_appl Enabled 1

    Specify a super-user(root) who starts StartProgram, StopProgram, MonitorProgram.

    # hares -modify AdvancedCopy_Manager_appl User root

    Specify a start application.

    When a logical node name is nodemgr, the path of the application for starting becomes "/opt/FJSVswstf/cluster/clproc/vcsStart_nodemgr."

    # hares -modify AdvancedCopy_Manager_appl StartProgram /opt/FJSVswstf/cluster/clproc/vcsStart_nodemgr

    Specify a stop application.

    When a logical node name is nodemgr, the path of the application for a stop becomes "/opt/FJSVswstf/cluster/clproc/vcsStop_nodemgr."

    # hares -modify AdvancedCopy_Manager_appl StopProgram /opt/FJSVswstf/cluster/clproc/vcsStop_nodemgr

    Specify a monitor application.

    When a logical node name is nodemgr, the path of monitor application becomes "/opt/FJSVswstf/cluster/clproc/vcsMoni_nodemgr."

    # hares -modify AdvancedCopy_Manager_appl MonitorProgram /opt/FJSVswstf/cluster/clproc/vcsMoni_nodemgr

    The mount information on the shared disk for AdvancedCopy Manager share data is registered.

    In this example, a resource (mount) name is set to "AdvancedCopy_Manager_mount", and the mount point of shared disk for AdvancedCopy Manager share data is set to "/STGMGRDISK".

    Register resource into User Service Group.

    # hares -add AdvancedCopy_Manager_mount Mount STGMGRSRV

    Place the resource into the enabled state.

    # hares -modify AdvancedCopy_Manager_mount Enabled 1

    A mount pointer is set as a resource.

    # hares -modify AdvancedCopy_Manager_mount MountPoint /STGMGRDISK

    Specify a block device to be mounted.

    In this example, the block device of a shared disk is set to "/dev/dsk/c2t0d0s4".

    # hares -modify AdvancedCopy_Manager_mount BlockDevice /dev/dsk/c2t0d0s4

    Specify a file system type for the shared disk.

    In this example, a file system type is set to vxfs.

    # hares -modify AdvancedCopy_Manager_mount FSType vxfs

    For Storage management server transaction, the mount information on AdvancedCopy Manager repository is registered. This operation is not required when the shared disk for AdvancedCopy Manager share data is substituted for the shared disk for the AdvancedCopy Manager repository.

    In this example, all repository directories will be created on a single shared disk, and the resource (mount) name for this shared disk will be "AdvancedCopy_Manager_DB". If multiple shared disks have been prepared for repository directories, perform the same operation on all shared disks.

    Register resource in User Service Group.

    # hares -add AdvancedCopy_Manager_DB Mount STGMGRSRV

    Place the resource into the enabled state.

    # hares -modify AdvancedCopy_Manager_DB Enabled 1

    The mount pointer of a resource is set up.

    # hares -modify AdvancedCopy_Manager_DB MountPoint /ACMDB

    Specify a block device to be mounted.

    In this example, the block device of a shared disk is set to "/dev/dsk/c2t0d1s4".

    # hares -modify AdvancedCopy_Manager_DB BlockDevice /dev/dsk/ c2t0d1s4

    Specify a file system type for the shared disk.

    In this example, a file system type is set to "vxfs".

    # hares -modify AdvancedCopy_Manager_DB FSType vxfs

    Register a logical address.

    Already, when set up into the User Service Group, it is not necessary to set up.

    In this example, a resource (IP address) name is set to "sybase_ip".

    A resource is registered into a User Service Group.

    # hares -add sybase_ip IP STGMGRSRV

    Place the resource into the enabled state.

    # hares -modify Sybase_ip Enabled 1

    Specify a device.

    In this example, a device is set to "hme0".

    # hares -modify Sybase_ip  Device  hme0

    Specify an address.

    In this example, an IP address is set to "10.10.10.10".

    # hares -modify sybase_ip  Address  "10.10.10.10"

    Specify the dependency of a resource.

    # hares -link AdvancedCopy_Manager_appl AdvancedCopy_Manager_DB
    # hares -link AdvancedCopy_Manager_appl AdvancedCopy_Manager_mount
    # hares -link AdvancedCopy_Manager_appl sybase_ip

    Reflect the VCS setting and set VCS into the read only mode.

    # haconf -dump -makero


  29. For Storage management server transaction, make the WebServer settings.

    With reference to "Setting up the Web Server," in the Solaris AdvancedCopy Manager Installation Guide, set up the Web Server in all nodes. If WebServer operation requires use of a physical IP address, specify, specify settings so that multiple IP addresses can be used to access WebServer: that is, a physical IP address and a logical IP address. This is necessary because AdvancedCopy Manager in cluster operations accesses WebServer through a logical IP. For the required settings, refer to the applicable WebServer manual.

  30. Start the AdvancedCopy Manager and Transaction.

    Start the new User Service Group or the User Service Group stopped in step 4.

    Please refer to VERITAS Cluster Server User's Guide about the starting method of a User Service Group.

    The example of starting of the User Service Group by the command of VERITAS Cluster Server is as follows.

    In this example, a User Service Group name is set to "STGMGRSRV", and an active system node name is set to "node1".

    # hagrp -online STGMGRSRV -sys node1
  31. Back up the environment.

    In preparation for accidents, back up the following environments.

  32. Create an environment for Storage management server transaction and Storage server transaction.

    Use the GUI of AdvancedCopy Manager to create an environment for Storage management server transaction and Storage server transaction.

    In using storage server transaction function in storage management server transaction, create an environment for Storage server transaction.

4.3 Customization for Linux-version PRIMECLSTER

This chapter explains how to customize Linux-version PRIMECLSTER.

The primary node is an active node in a userApplication performing Storage management server transactions, and the secondary node is the standby node in the same group.

The secondary node A shows the node which creates the environment of Storage management server transactions and Storage server transactions first in the secondary nodes in this userApplication. The secondary node B shows the remaining standby node and not active node in this userApplication.

The customizing work of primary node and secondary node A is executed at 1:1 standby system, mutual standby system, and n:1 standby system.

The customizing work of primary node, secondary node A and secondary node B is executed at cascade topology system and priority transfer system.

Example:

When creating a cascade by three sets of nodes, one set is a primary node, one set is the secondary node A, and one set is the secondary node B. When creating a cascade by four sets of nodes, one set is a primary node, one set is the secondary node A, and two sets are the secondary node B.

4.3.1 Flow of Customizing 

This Chapter describes the flow of setup.

4.3.2 Customization Procedure

To set up a Storage management server transaction and a Storage server transaction, use the following procedure:

  1. Restart the system.

    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 "Confirmation of items," for the userApplication to be set up.

  3. Mount the shared disk on the primary node.

    For Storage management server transaction, mount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the primary node.

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

  4. Stop the userApplication.

    To add a Storage management server transaction and a Storage server transaction to an existing userApplication, use the RMS Wizard to stop the applicable userApplication.

  5. Register port numbers.

    Register the port number for the transaction communication in /etc/services. Use the OS command such as vi to register it in /etc/services.

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

    For 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 that 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.

    # /opt/swstorage/bin/stgclset_lxprm  -k Primary | Pri -m AdvancedCopy-Manager-Shared-Data-Mount-Point -n Logical-Node-Name -s Service-Name -i IP-Address -f mgr

    Example

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

    or

    # /opt/swstorage/bin/stgclset_lxprm -k Pri -m /STGMGRDISK -n nodeMGR -s manager_service -i 10.10.10.10 -f mgr

    For Storage management 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:

    # /opt/swstorage/bin/stgclset_lxprm  -k Primary | Pri -m AdvancedCopy-Manager-Shared-Data-Mount-Point -n Logical-Node-Name -s Service-Name

    Example

    # /opt/swstorage/bin/stgclset_lxprm -k Primary -m /CTTEST3 -n nodeAGT -s agent_service

    or

    # /opt/swstorage/bin/stgclset_lxprm -k Pri -m /CTTEST3 -n nodeAGT -s agent_service


  7. 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 Storage management server transaction:

    # /opt/swstorage/bin/stgclset_lxprm -k Primary -m /STGMGRDISK -n nodeMGR -s manager_service -i 10.10.10.10 -f mgr
    AdvancedCopy Manager settings are as follows.
            Cluster system : PRIMECLUSTER
            Node type      : Primary
            IP Address     : 10.10.10.10
            Mount point    : /STGMGRDISK
            Node name      : nodeMGR
            Service        : manager_service
            Function       : Management Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]

    For Storage server transaction:

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

    When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  8. 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 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

  9. For Storage management server transaction, specify the DB device.

    The window shown below opens. Enter the directory name for the DB file system according to the information in [Note], 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/DBFile/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.


  10. For Storage management server transaction, check the DB directory settings.

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

    ====================================================================
    
     Directory name for the DB file ............/ACMMnt/DBFile/DBFile
     Directory name for the RDB dictionary ...../ACMMnt/DBDic/DBDic
     Directory name for the RDB log file ......./ACMMnt/DBLog/DBLog
     Directory name for the DB space
               used to save repository data ..../ACMMnt/DBSpa/DBSpa
     Repository data Size ......................65MB
    
     ====================================================================
    
              Okay? [y/n] ==> y


  11. For 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


  12. For Storage management server transaction, make the repository access settings.

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

    For the point of security, it recommends using not a root user but a general user.

              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) :

  13. Finnish the cluster setup command on the primary node.

    The window indicating password registration and 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.
    #

  14. Unmount the shared disks on the primary node.

    For Storage management server transaction, unmount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the primary node.

    For Storage server transaction, unmount the shared disk for AdvancedCopy Manager shared data on the primary node.

  15. Mount the shared disks on the secondary node A.

    For Storage management server transaction, mount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the secondary node A.

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

  16. Execute the cluster setup command on the secondary node A.

    For Storage management server transaction, on the secondary node A, execute the cluster setup command shown below after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data and that 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 Storage server transaction, on the secondary node A, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    # /opt/swstorage/bin/stgclset_lxprm  -k Secondary | Sec -m AdvancedCopy-Manager-Shared-Data-Mount-Point

    Example

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

    or

    # /opt/swstorage/bin/stgclset_lxprm -k Sec -m /STGMGRDISK

  17. 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 Storage management server transaction:

    # /opt/swstorage/bin/stgclset_lxprm -k Secondary -m /STGMGRDISK
    AdvancedCopy Manager settings are as follows.
            Cluster system : PRIMECLUSTER
            Node type      : Secondary
            IP Address     : 10.10.10.10
            Mount point    : /STGMGRDISK
            Node name      : nodeMGR
            Service        : manager_service
            Function       : Management Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]

    For Storage server transaction:

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

    When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  18. Start the creation of a common environment for AdvancedCopy Manager management server transactions.

    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

  19. Finnish the cluster setup command on the secondary node A.

    The window indicating cluster setup command completion opens.

    swstf8101 The cluster setup of the secondary node has been completed.
    #


  20. Unmount the shared disks on the secondary node A.

    For Storage management server transaction, unmount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the secondary node A.

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

  21. Mount the shared disks on the secondary node B.

    For Storage management server transaction, mount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the secondary node B.

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

  22. Execute the cluster setup command on the secondary node B.

    For Storage management server transaction, on the secondary node B, execute the cluster setup command shown below after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data and that 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 Storage server transaction, on the secondary node B, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    # /opt/swstorage/bin/stgclset_lxprm  -k Secondary | Sec -m AdvancedCopy-Manager-Shared-Data-Mount-Point

    Example

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

    or

    # /opt/swstorage/bin/stgclset_lxprm -k Sec -m /STGMGRDISK

  23. 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 Storage management server transaction:

    # /opt/swstorage/bin/stgclset_lxprm -k Secondary -m /STGMGRDISK
    AdvancedCopy Manager settings are as follows.
            Cluster system : PRIMECLUSTER
            Node type      : Secondary
            IP Address     : 10.10.10.10
            Mount point    : /STGMGRDISK
            Node name      : nodeMGR
            Service        : manager_service
            Function       : Management Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y]

    For Storage server transaction:

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

    When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  24. Check the addition of a secondary node.

    The window for confirming of adding a secondary node is displayed. After confirmation of a cascade, "y" is inputted and the Enter key is pushed.

    Secondary node is already setup in another node.
       The number of secondary nodes : 1
    Do you want to setup new secondary node? [default:n] y

    The number of secondary nodes already set up is outputted to "The number of secondary nodes."

  25. Start the creation of a common environment for AdvancedCopy Manager management server transactions.

    The initial window for setting the common environment opens. Confirm the displayed information, 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

  26. Finnish the cluster setup command on the secondary node B.

    The window indicating cluster setup command completion opens.

    swstf8101 The cluster setup of the secondary node has been completed.
    #


  27. Unmount the shared disks on the secondary node B.

    For Storage management server transaction, unmount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the secondary node B.

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

  28. Create the userApplication and resources.

    On both the primary node and the secondary node, set up "logical IP takeover of the NIC switching mode" of GLS. When using the existing GLS, this setup of GLS is unnecessary.

    On either the primary node or the secondary node, use the RMS Wizard to create a userApplication and the following resources.

  29. For Storage management server transaction, make the WebServer settings.

    With reference to "Setting up the Web Server," in the Linux ETERNUS SF AdvancedCopy Manager Installation Guide, set up the Web Server in all nodes.

  30. Start the userApplication and the AdvancedCopy Manager.

    Use the RMS Wizard to start the new userApplication or the userApplication stopped in step 4.

  31. Back up the environment.

    In preparation for accidents, back up the following environments.

  32. Create an environment for Storage management server transaction and Storage server transaction.

    Use the GUI of AdvancedCopy Manager to create an environment for Storage management server transaction and Storage server transaction.

    In the case of Storage management server transaction cum Storage server transaction, also create an environment for Storage server transaction.

4.4 Customization for Windows-version MSCS

This chapter explains how to customize Windows-version MSCS.

The primary node is an active node in a cluster service (userApplication) performing Storage management server transactions, and the secondary node is the standby node in the same group.

The secondary node A shows the node which creates the environment of Storage management server transactions and Storage server transactions first in the secondary nodes in this cluster group. The secondary node B shows the remaining secondary nodes in this cluster group.

The customizing work of primary node and secondary node A is executed at 1:1 standby system, mutual standby system, and n:1 standby system.

The customizing work of primary node, secondary node A and secondary node B is executed at cascade topology system.

Example:

When creating a cascade by three sets of nodes, one set is a primary node, one set is the secondary node A, and one set is the secondary node B. When creating a cascade by four sets of nodes, one set is a primary node, one set is the secondary node A, and two sets are the secondary node B.

When you applied Windows Server 2003 Service Pack 1 or Windows Server 2003 R2, set the firewall function with reference to ""Notes in the installation," in the "Windows Installation Guide".

4.4.1 Flow of Customizing 

This chapter describes the flow of setup.

4.4.2 Customization Procedure 

To set up a Storage management server transaction and a Storage server transaction, use the procedure below.

Do not use the following services to perform this processing; otherwise, a problem may occur:

If the Storage management server is the Windows Server 2003, use by making console session connection with terminal service. Refer to the following for the method of console session connection.
http://support.microsoft.com/kb/278845

  1. Reactivate the primary node.

    Reactivate the primary node. If the system has been reactivated as the extension of AdvancedCopy Manager installation, go to the step 2.

  2. For Storage management server transaction, cancel the setting processing of database information.

    When the following window is displayed, click the [Cancel] button.

  3. Offline group as required.

    To add the Storage management server transactions and the Storage server transaction to an existing cluster group, offline the cluster group using the cluster administrator. This step is not required if a new cluster group is being created.

    For Storage management server transaction, leave the shared disk for AdvancedCopy Manager shared data and the shared disk for AdvancedCopy Manager repository online.

    For Storage server transaction, leave the shared disk for AdvancedCopy Manager shared data online.

    For information on how to stop the cluster group and how to vary the shared disk online, refer to the Microsoft(R) Cluster Server manuals.

  4. Acquire the ownership rights on Microsoft(R) Cluster Server.

    Acquire the ownership rights for the Quorum disk and the shared disk used by AdvancedCopy Manager and the ownership rights for the cluster group on the primary node using the cluster administrator. For information about how to acquire ownership rights, refer to the Microsoft(R) Cluster Server manuals.

  5. Execute the cluster setup command.

    Execute the following cluster setup command on the primary node:

    Program_directory\bin\stgclset_mscs


  6. Select the node type and shared disk.

    The initial window of the cluster setup command is displayed.

    Each item is explained below. Make the required entries and then click the [OK] button.

  7. Set the cluster information for the primary node.

    The setting window of the cluster setup command is displayed.

    For Storage management server transaction:

    For Storage Server transaction:

    Each item is explained below. Make the required entries and then click the [OK] button.

  8. Set the port number and service.

    The [Port number setting] window is displayed. If the port number and service has already been set, this window does not display.

    Each item is explained below. Make the required entries and then click the [OK] button.

  9. The port number and service settings have been completed.

    Click the [OK] button.

  10. For Storage management server transaction, set the database information.

    When the [Database creation location and database size settings] window is displayed, change the displayed information as required, and click the [Continue] button. If one shared disk is used for the AdvancedCopy Manager repository and AdvancedCopy Manager shared data, specify the drive selected in item 6 as the database creation folder. And, be sure to create a database on the shared disk.

  11. For Storage management server transaction, set the database access user.

    Enter the user name and password of the user who will access the database. After entering the information, click the [Settings] button. The IP address entered in cluster setup command window is displayed in the IP address field of the Storage management server. This IP address cannot be changed.

    There are the following conditions in specification of User and Password.

  12. For Storage management server transaction, confirm the setting information.

    When the setting information for the database is displayed, confirm the displayed information and click the [Start] button.

  13. For Storage management server transaction, the DB Setup processing started.

  14. For Storage management server transaction, the DB Setup processing is completed.

    The DB Setup completion window is displayed; click the [Close] button.

  15. For Storage management server transaction, set the Web server.

    The following confirmation dialogs are displayed. In using a Web client, click the [OK] button and set up a Web server (Microsoft Internet Information Server/Microsoft Internet Information Services).

    When only a command is used without using a Web client, click the [NO] button.

    The following virtual directories are set as a Web server.

    Virtual directory

    Directory name

    Property of virtual directory

    Swstorage

    program-directory\inet\wwwroot

    Addition of "read"

    swstorage-j

    program-directory\java

    Addition of "read"

    swstorage-cgi

    program-directory\inet\cgi

    Addition of "Execute permissions" (CGI is stored.)

    swstorage-d

    shared-disk-for-advancedcopymanager-shared-data:

    \etc\opt\swstorage\etc\data

    Addition of "read"


  16. The cluster setup of the primary node has been completed.

    When the cluster setup completion window is displayed, click the [OK] button. Continue by setting up the secondary node.

  17. For Storage management server transaction, move the disk resource as required.

    If the shared disk for the AdvancedCopy Manager repository and the shared disk for AdvancedCopy Manager shared data are separate, use the cluster administrator to move the disk resource on the shared disk for the AdvancedCopy Manager repository to the cluster group. For information about how to move disk resource, refer to the Microsoft(R) Cluster Server manuals.

  18. Reactivate the secondary node A.

    If the system has been reactivated as an extension of the AdvancedCopy Manager installation process, go to the step 19.

  19. For Storage management server transaction, cancel setting processing of the database information.

    When the following window is displayed, click the [Cancel] button.

  20. Acquiring cluster group ownership by using the secondary node A

    Acquire the ownership rights for cluster group on the secondary node A. For information about how to acquire ownership rights, refer to the Microsoft(R) Cluster Server manuals.

  21. Execute the cluster setup command.

    Execute the following cluster setup command on the secondary node:

    Program_directory \bin\stgclset_mscs


  22. Select the node type and shared disk.

    The initial window of the cluster setup command is displayed.

    Each item is explained below. Make the required entries and then click the [OK] button.

  23. Set the cluster information for the secondary node A.

    The values set for the primary node are displayed in the cluster setup command setting window (Only the node type needs to be changed to secondary node.). After confirming each item, click the [OK] button.

    For Storage management server transaction:

    For Storage server transaction:

  24. Set the port number and service.

    The [Port number setting] window is displayed. If a port number and service has already been set, this window does not display. Except for the password, the same values as those set for the primary node are displayed.

    Enter the password entered when AdvancedCopy Manager was installed in the password field. After entering the password, click the [OK] button.

  25. The port number and service settings have been completed.

    Click the [OK] button.

  26. For Storage management server transaction, set the database information.

    When the [Database creation location and database size settings] window is displayed, enter the same information as that set for the primary node, and click the [Continue] button.

  27. For Storage management server transaction, confirm the database access user.

    The values set for the primary node are displayed in the [IP address and repository access user setting] window. Confirm each setting, and click the [Settings] button.

  28. For Storage management server transaction, confirm the setting information.

    When the setting information for the database is displayed, confirm the displayed information and click the [Start] button.

  29. For Storage management server transaction, the DB Setup processing started.

  30. For Storage management server transaction, the DB Setup processing is completed.

    The DB Setup completion window is displayed; click the [Close] button.

  31. For Storage management server transaction, set the Web server.

    The following confirmation dialogs are displayed. In using a Web client, click the [OK] button and set up a Web server (Microsoft Internet Information Server/Microsoft Internet Information Services).

    When only a command is used without using a Web client, click the [NO] button.

    The following virtual directories are set as a Web server.

    Virtual directory

    Directory name

    Property of virtual directory

    Swstorage

    program-directory\inet\wwwroot

    Addition of "read"

    swstorage-j

    program-directory\java

    Addition of "read"

    swstorage-cgi

    program-directory\inet\cgi

    Addition of "Execute permissions" (CGI is stored.)

    swstorage-d

    shared-disk-for-advancedcopymanager-shared-data:

    \etc\opt\swstorage\etc\data

    Addition of "read"


  32. The cluster setup of the secondary node has been completed.

    When the cluster setup completion window is displayed, click the [OK] button.

  33. Reactivate the secondary node B.

    If the system has been reactivated as an extension of the AdvancedCopy Manager installation process, go to the step 34.

  34. For Storage management server transaction, cancel setting processing of the database information.

    When the following window is displayed, click the [Cancel] button.

  35. Acquiring cluster group ownership by using the secondary node B

    Use the cluster administrator to acquire the ownership rights for cluster group on the secondary node B. For information about how to acquire ownership rights, refer to the Microsoft(R) Cluster Server manuals. For information about how to acquire ownership rights, refer to the Microsoft(R) Cluster Server manuals.

  36. Execute the cluster setup command.

    Execute the following cluster setup command on the secondary node B:

    Program_directory \bin\stgclset_mscs


  37. Select the node type and shared disk.

    The initial window of the cluster setup command is displayed.

    Each item is explained below. Make the required entries and then click the [OK] button.

  38. Confirm the addition of the secondary node.

    A confirmation dialog box for adding a secondary node to a cascade topology is displayed. Confirm that the service is for a cascade topology, and click the [Yes] button.

    The number of secondary nodes already set up is displayed at "Secondary nodes already set up."

  39. Set the cluster information for the secondary node B.

    The values set for the primary node are displayed in the cluster setup command setting window (Only the node type needs to be changed to secondary node.). After confirming each item, click the [OK] button.

    For Storage management server transaction:

    For Storage server transaction:

  40. Set the port number and service.

    The [Port number setting] window is displayed. If a port number and service has already been set, this window does not display. Except for the password, the same values as those set for the primary node are displayed.

    Enter the password entered when AdvancedCopy Manager was installed in the password field. After entering the password, click the [OK] button.

  41. The port number and service settings have been completed.

    Click the [OK] button.

  42. For Storage management server transaction, set the database information.

    When the [Database creation location and database size settings] window is displayed, enter the same information as that set for the primary node, and click the [Continue] button.

  43. For Storage management server transaction, confirm the database access user.

    The values set for the primary node are displayed in the [IP address and repository access user setting] window. Confirm each setting, and click the [Settings] button.

  44. For Storage management server transaction, confirm the setting information.

    When the setting information for the database is displayed, confirm the displayed information and click the [Start] button.

  45. For Storage management server transaction, the DB Setup processing started.

  46. For Storage management server transaction, the DB Setup processing is completed.

    The DB Setup completion window is displayed; click the [Close] button.

  47. For Storage management server transaction, set the Web server.

    The following confirmation dialogs are displayed. In using a Web client, click the [OK] button and set up a Web server (Microsoft Internet Information Server/Microsoft Internet Information Services).

    When only a command is used without using a Web client, click the [NO] button.

    The following virtual directories are set as a Web server.

    Virtual directory

    Directory name

    Property of virtual directory

    Swstorage

    program-directory\inet\wwwroot

    Addition of "read"

    swstorage-j

    program-directory\java

    Addition of "read"

    swstorage-cgi

    program-directory\inet\cgi

    Addition of "Execute permissions" (CGI is stored.)

    swstorage-d

    shared-disk-for-advancedcopymanager-shared-data:

    \etc\opt\swstorage\etc\data

    Addition of "read"


  48. The cluster setup of the secondary node B has been completed.

    When the cluster setup completion window is displayed, click the [OK] button.

  49. If necessary, specify the resource dependency and the ownership rights required for execution.

    If necessary, specify the resource dependency and the ownership rights required for execution.

    For Storage management server transaction, if the shared disk for AdvancedCopy Manager repository and the shared disk for AdvancedCopy Manager shared data are separate, use the cluster administrator to add the shared disk resource for AdvancedCopy Manager repository to the dependency of the following resources. For information on how to add the resource dependency, refer to the Microsoft(R) Cluster Server manuals.

    Add a business disk resource to the dependence of the following resources by using the cluster administrator when the operation of the backup management etc. is executed (Storage management server transaction, Storage server transaction, and Storage server transaction).

    If the number of cluster group nodes is greater than the number of cluster system nodes (such as in an n:1 standby system), change the ownership rights required for execution.

    Using cluster administrator authority, change the property information (ownership rights required for execution) of the AdvancedCopy Manager resources belonging to the cluster group for only the nodes operating in the cluster group. For information on how to change the ownership rights required for execution, refer to the Microsoft(R) Cluster Server manuals.

    The property information must be changed for the following AdvancedCopy Manager resources:

  50. For Storage management server transaction, set the Web server to enable MIME use in the primary and secondary nodes.

    For use of the Web screen, files may need to be downloaded. When the Yes button has been clicked in steps 15 and 30 to set up the Web server, the following settings are required for downloading of the files.

    For information on the settings, see "Step 9 for Details of Storage Management Server Customization (MIME setting of the Web server)," in the Windows ETERNUS SF AdvancedCopy Manager Installation Guide.

  51. Online cluster group on the primary node.

    Use the cluster administrator to cause the cluster group whose settings have been completed online to start AdvancedCopy Manager service.

  52. Back up the environment.

    Back up the following environment in preparation for a potential accident:

  53. Verify operation on the node.

    Using cluster administrator authority, verify that the cluster group operates on the node.

  54. Create an environment for Storage management server transaction and Storage server transaction.

    Use the GUI of AdvancedCopy Manager to create an environment for Storage management server transaction Storage server transaction.

    In using storage server transaction function in storage management server transaction, create an environment for Storage server transaction.

4.5 Customization for HP-version MC/ServiceGuard

This chapter explains how to customize HP-version MC/ServiceGuard.

Throughout this chapter, the primary node is an active node in a cluster service performing Storage server transactions, and the secondary node is the standby node in the same package.

The secondary node A shows the node which first creates the environment of the Storage server transactions in the secondary nodes in this package. The secondary node B shows the remaining secondary nodes in this package.

The primary node and secondary node A are customized in a 1:1 standby system, mutual standby system, and n:1 standby system.

The primary node, secondary node A, and secondary node B are customized in a cascade topology system.

Example:When creating a cascade with three sets of nodes, one set is a primary node, one set is the secondary node A, and one set is the secondary node B. When creating a cascade with four sets of nodes, one set is a primary node, one set is the secondary node A, and two sets are the secondary node B.

4.5.1 Flow of Customizing 

This Chapter describes the flow of setup.

4.5.2 Customization Procedure 

To set up a Storage server transaction, use the procedure below.

  1. Restart the system.

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

  2. Transaction environment is checked / created by using the MC/ServiceGuard function.

    Please refer to the manual of MC/ServiceGuard about the check method of a package, and the creation method.

    The Transactions (package) which adds Storage server Transactions is checked. In the case of new Transactions, it checks that a package is created, a package is started and a package can move between nodes.

  3. Check the preparations.

    Check each item of "Confirmation of items," the package to be set up.

  4. Stop the transaction by using the MC/ServiceGuard function.

    Stop the target transaction (stop a package).

    Please refer to the manual of MC/ServiceGuard about the stop method of transaction.

  5. Mount the shared disk on the primary node.

    The shared disk for AdvancedCopy Manager share data checks that it is in the state of unmount on the primary node and the secondary node.

    Then, Mount the shared disk for AdvancedCopy Manager shared data on the primary node.

  6. Register port numbers.

    Register the port number for the transaction communication daemon in /etc/services. Use the OS command such as vi to register it in /etc/services.

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

    On the primary node, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    # /opt/swstorage/bin/stgclset_mcsg  -k Primary | Pri -m AdvancedCopy-Manager-Shared-Data-Mount-Point -s Service-Name -v Volume-Group-Name -i IP-Address -u Subnet

    The example of an input:

    # /opt/swstorage/bin/stgclset_mcsg  -k Primary -m /stgmount -n nodepr -s serv1 -v vg01 -i 10.10.10.10 -u 10.10.10.0

    or

    # /opt/swstorage/bin/stgclset_mcsg  -k Pri -m /stgmount -n nodepr -s serv1 -v vg01 -i 10.10.10.10 -u 10.10.10.0


  8. Check the setup object.

    Information on the logical node specified by the command is displayed. After the displayed content is confirmed press the Enter key.

    AdvancedCopy Manager settings are as follows.
       Cluster system   : MC/ServiceGuard
       Node type        : Primary
       IP Address       : 10.10.10.10
       SUBNET           : 10.10.10.0
       Mount point      : /stgmount
       Device Name      : /dev/vg01/lvol1
       Volume Group     : vg01
       Node name        : nodepr
       Service          : serv1
       Function         : Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y] y

    It asks whether continue setting processing. When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  9. Completed the setup command on the primary node.

    The completion screen of the cluster setup command is displayed.

    swstf8100 The cluster setup of the primary node has been completed. Next, create
     the cluster environment of the secondary node.
    #


  10. Unmount the shared disk on the primary node.

    Unmount the shared disk for AdvancedCopy Manager share data on the primary node.

  11. Mount the shared disk on the secondary nodeA.

    Mount the shared disk for AdvancedCopy Manager shared data on the secondary node A.

  12. Execute the cluster setup command on the secondary nodeA.

    On the secondary nodeA, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    # /opt/swstorage/bin/stgclset_mcsg  -k Secondary | Sec -m AdvancedCopy-Manager-Shared-Data-Mount-Point

    The example of an input:

    # /opt/swstorage/bin/stgclset_mcsg  -k Secondary -m /stgmount

    or

    # /opt/swstorage/bin/stgclset_mcsg  -k Sec -m /stgmount


  13. Check the setup object.

    Information on the logical node specified by the command is displayed. After the displayed content is confirmed press the Enter key.

    AdvancedCopy Manager settings are as follows.
       Cluster system   : MC/ServiceGuard
       Node type        : Secondary
       IP Address       : 10.10.10.10
       SUBNET           : 10.10.10.0
       Mount point      : /stgmount
       Device Name      : /dev/vg01/lvol1
       Volume Group     : vg01
       Node name        : nodepr
       Service          : serv1
       Function         : Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y] y

    It asks whether continue setting processing. When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  14. Completed the setup command on the secondary nodeA.

    The completion screen of the cluster setup command is displayed.

    swstf8101 The cluster setup of the secondary node has been completed.
    #


  15. Unmount the shared disk on the secondary nodeA.

    Unmount the shared disk for AdvancedCopy Manager share data on the secondary nodeA.

  16. Mount the shared disk on the secondary node B where the cluster setup command will be executed.

    Mount the shared disk for AdvancedCopy Manager shared data on the secondary node B.

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

    Execute the cluster setup command on the secondary node B on which the shared disk for AdvancedCopy Manager was mounted in step 16.

    On the secondary node B, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    # /opt/swstorage/bin/stgclset_mcsg  -k Secondary | Sec -m AdvancedCopy-Manager-Shared-Data-Mount-Point

    Example:

    # /opt/swstorage/bin/stgclset_mcsg  -k Secondary -m /stgmount

    or

    # /opt/swstorage/bin/stgclset_mcsg  -k Sec -m /stgmount
  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.

    AdvancedCopy Manager settings are as follows.
       Cluster system   : MC/ServiceGuard
       Node type        : Secondary
       IP Address       : 10.10.10.10
       SUBNET           : 10.10.10.0
       Mount point      : /stgmount
       Device Name      : /dev/vg01/lvol1
       Volume Group     : vg01
       Node name        : nodepr
       Service          : serv1
       Function         : Server
    Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y] y

    A message displays, asking whether to continue the setup processing. To interrupt cluster environmental setting processing, type "n", to continue processing, type "y" or press the Enter key.

  19. Check the addition of a secondary node.

    The confirmation window for adding a secondary node is displayed. After confirming the cascade, type "y" and press the Enter key.

    Secondary node is already setup in another node.
       The number of secondary nodes : 1
    Do you want to setup new secondary node? [default:n] y

    The number of secondary nodes already set up is output to "The number of secondary nodes."

  20. Finish the cluster setup command on the secondary node B.

    A window displays, indicating that the cluster setup command is complete .

    swstf8101 The cluster setup of the secondary node has been completed.
    #

  21. Unmount the shared disks on the secondary node B.

    Unmount the shared disk for AdvancedCopy Manager share data on the secondary node B.

  22. Edit and register a package information.

  23. Start the transaction by using the MC/ServiceGuard function.

    Start the transaction stopped in step 4. (A package is made into on-line.)

    Please refer to the manual of MC/ServiceGuard about the starting method of transaction.

  24. Back up the environment.

    In preparation for accidents, back up the following environments.

  25. Create an environment for Storage server transaction.

    Use the GUI of AdvancedCopy Manager to create an environment for Storage server transaction.

4.6 Customization for HP-version VERITAS Cluster Server

The HP edition of VERITAS Cluster Server has not supported.

4.7 Customization for AIX-version VERITAS Cluster Server

The AIX edition of VERITAS Cluster Server has not supported.

4.8 Customization for AIX-version High Availability Cluster Multi-Processing

This chapter explains how to customize AIX-version High Availability Cluster Multi-Processing.

Throughout this chapter, the primary node is the active node in the Resource Group that executes Storage server transactions, and the secondary node is the standby node in the same Resource Group.

The secondary node A shows the node which creates the environment of Storage server transactions first in the secondary nodes in this cluster resource group. The secondary node B shows the remaining secondary nodes in this cluster resource group.

The customizing work of primary node and secondary node A is executed at 1:1 standby system, mutual standby system, and n:1 standby system.

The customizing work of primary node, secondary node A and secondary node B is executed at cascade topology system.

Example:

When creating a cascade by three sets of nodes, one set is a primary node, one set is the secondary node A, and one set is the secondary node B. When creating a cascade by four sets of nodes, one set is a primary node, one set is the secondary node A, and two sets are the secondary node B.

4.8.1 Flow of Customizing 

This Chapter describes the flow of setup.

4.8.2 Customization Procedure 

To set up a Storage server transaction, use the procedure below.

  1. Restart the system.

    Restart the primary node and all 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 "Confirmation of items," for the package to be set up.

  3. Mount the shared disk on the primary node.

    Mount the shared disk for AdvancedCopy Manager shared data on the primary node.

  4. Stop the Resource Groups.

    To add a Storage server transaction to an existing Resource Group by using the High Availability Cluster Multi-Processing function, stop the applicable Resource Group.

    For information on how to stop the user Resource Group, see the " High Availability Cluster Multi-Processing User's Guide."

  5. Register port numbers

    Register the port number for the transaction communication in /etc/services. Use the OS command such as vi to register it in /etc/services.

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

    On the primary node, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    # /opt/swstorage/bin/stgclset_hacmp  -k Primary | Pri -m AdvancedCopy-Manager-Shared-Data-Mount-Point -n Logical-Node-Name -s Service-Name

    Example

    # /opt/swstorage/bin/stgclset_hacmp -k Primary -m /STGAGTMNT -n nodeAGT -s agent_service

    or

    # /opt/swstorage/bin/stgclset_hacmp -k Pri -m /STGAGTMNT -n nodeAGT -s agent_service


  7. Check the setup object.

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

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

    When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  8. Finnish the cluster setup command on the primary node.

    The window indicating password registration and 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.
    #


  9. Unmount the shared disks on the primary node.

    Unmount the shared disk for AdvancedCopy Manager shared data on the secondary node.

  10. Mount the shared disks on the secondary node A.

    Mount the shared disk for AdvancedCopy Manager shared data on the secondary node A.

  11. Execute the cluster setup command on the secondary node A.

    On the secondary node A, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    # /opt/swstorage/bin/stgclset_hacmp  -k Secondary | Sec -m AdvancedCopy-Manager-Shared-Data-Mount-Point

    Example

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

    or

    # /opt/swstorage/bin/stgclset_hacmp -k Sec -m /STGMGRDISK


  12. Check the setup object.

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

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

    When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  13. Finnish the cluster setup command on the secondary node A.

    The window indicating cluster setup command completion opens.

    swstf8101 The cluster setup of the secondary node has been completed.
    #


  14. Unmount the shared disks on the secondary node A.

    Unmount the shared disk for AdvancedCopy Manager share data on the secondary node A.

  15. Mount the shared disks on the secondary node B.

    Mount the shared disk for AdvancedCopy Manager shared data on the secondary node B.

  16. Execute the cluster setup command on the secondary node B.

    Execute the cluster setup command on the secondary node B on which the shared disk for AdvancedCopy Manager shared data and the shared disk for the AdvancedCopy Manager repository were mounted in step 15.

    On the secondary node B, execute the following cluster setup command after blocking other users from accessing the shared disk for AdvancedCopy Manager shared data:

    # /opt/swstorage/bin/stgclset_hacmp  -k Secondary | Sec -m AdvancedCopy-Manager-Shared-Data-Mount-Point

    Example

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

    or

    # /opt/swstorage/bin/stgclset_hacmp -k Sec -m /STGMGRDISK


  17. Check the setup object.

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

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

    When interrupting cluster environmental setting processing, "n" is inputted, when continuing processing, "y" is inputted, or press the Enter key.

  18. Check the addition of a secondary node.

    The window for confirming of adding a secondary node is displayed. After confirmation of a cascade, "y" is inputted and the Enter key is pushed.

    Secondary node is already setup in another node.
       The number of secondary nodes : 1
    Do you want to setup new secondary node? [default:n] y

    The number of secondary nodes already set up is outputted to "The number of secondary nodes."

  19. Finnish the cluster setup command on the secondary node B.

    The window indicating cluster setup command completion opens.

    swstf8101 The cluster setup of the secondary node has been completed.
    #

  20. Unmount the shared disks on the secondary node B.

    Unmount the shared disk for AdvancedCopy Manager share data on the secondary node B.

  21. Create and register a Resource Group.

    Use function of the High Availability Cluster Multi-Processing to create and register a Resource Group for AdvancedCopy Manager.

    Please add the following types as a resource of AdvancedCopy Manager.

    Application should set up a dependency after MountPoint and IP to become on-line.

    Refer to High Availability Cluster Multi-Processing User's Guide about a resource group and the creation/registration method of a resource.

  22. Start the AdvancedCopy Manager and Transaction.

    Start the new Resource Group or the Resource Group stopped in step 4.

    Please refer to High Availability Cluster Multi-Processing User's Guide about the starting method of a Resource Group.

  23. Back up the environment.

    In preparation for accidents, back up the following environments.

  24. Create an environment for Storage server transaction.

    Use the GUI of AdvancedCopy Manager to create an environment for Storage server transaction.


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2002-2006