Top
ETERNUS SF Storage Cruiser V15.3/ AdvancedCopy Manager V15.3 Cluster Environment Setup Guide
ETERNUS

14.3.2 Deletion Procedure

To delete the cluster environment, use the following procedure:

  1. Delete the node.

    Use the AdvancedCopy Manager command to delete the node.

  2. Stop the transaction.

    Stop the transaction to be deleted using the High Availability Cluster Multi-Processing function.

    Refer to "High Availability Cluster Multi-Processing User's Guide" for stopping a Resource Group.

  3. Delete resources.

    Use the High Availability Cluster Multi-Processing function to delete the AdvancedCopy Manager resources registered for the target transaction. If Resource Groups have been created using only AdvancedCopy Manager resources, delete the whole Resource Group.

    Refer to "High Availability Cluster Multi-Processing User's Guide" for deleting a user resource group and a resource.

    If the system is the 1:1 standby system, the Mutual standby system or the n:1 standby system, proceed to step 9.

    If the system is Cascade topology, proceed to step 4.

  4. Mount the shared disk on the secondary node B.

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

    Note

    When there are two or more secondary nodes B, perform step 4 to step 8 for all of these nodes.

  5. Execute the cluster unsetup command on the secondary node B.

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

    Example:

    # /opt/swstorage/bin/stgclunset_hacmp -n nodeagt

    Refer to "16.3.3 stgclunset_hacmp (AIX version High Availability Cluster Multi-Processing environment cancel command)" for command details.

  6. Check the objects to be deleted.

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

    # /opt/swstorage/bin/stgclunset_hacmp -n nodeagt
    AdvancedCopy Manager settings were as follows. 
            Cluster system : High Availability Cluster Multi-Processing
            Node type      : Secondary
            Mount point    : /STGMGRDISK
            Node name      : nodeagt
            Service        : STGMGRSRV
            Function       : Server
            Number         : 3
            MODE           : Normal
    Do you want to continue with un-setting of AdvancedCopy Manager cluster? [default:y]

    To interrupt cluster environmental unsetup processing, input "n". To continue processing, input "y", or press the Enter key.

    Note

    The number of nodes that are not carrying out cluster unsetup command is output to "Number". For a secondary node B, it must be three or more.

  7. The cluster unsetup command is executed on the secondary node B.

    The window indicating cluster unsetup command completion opens.

    swstf8143 The cluster deletion of the secondary node has been completed. Next, delete the cluster environment of the other secondary node.
    #

    Note

    For secondary node B, a completion message is swstf8143.

  8. Dismount the shared disk on the secondary node B.

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

    Note

    If there are any remaining secondary nodes B that have not performed step 4 to step 8, perform from step 4 on the nodes. When operation from step 4 to step 8 is completed by all secondary nodes B, go to step 9.

  9. Mount the shared disk on the secondary node A.

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

  10. Execute the cluster unsetup command on the secondary node A.

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

    Example:

    # /opt/swstorage/bin/stgclunset_hacmp -n nodeagt

    Refer to "16.3.3 stgclunset_hacmp (AIX version High Availability Cluster Multi-Processing environment cancel command)" for command details.

  11. Check the objects to be deleted.

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

    # /opt/swstorage/bin/stgclunset_hacmp -n nodeagt
    AdvancedCopy Manager settings were as follows. 
            Cluster system : High Availability Cluster Multi-Processing
            Node type      : Secondary
            Mount point    : /STGMGRDISK
            Node name      : nodeagt
            Service        : STGMGRSRV
            Function       : Server
            Number         : 2
            MODE           : Normal
    Do you want to continue with un-setting of AdvancedCopy Manager cluster? [default:y]

    To interrupt cluster environmental unsetup processing, input "n". To continue processing, input "y", or press the Enter key.

    Note

    The number of nodes that are not performing the cluster unsetup command is output to "Number". For a secondary node, it must be two.

  12. The cluster unsetup command is executed on the secondary node A.

    The window indicating cluster unsetup command completion opens.

    swstf8103 The cluster deletion of the secondary node has been completed. Next, delete the cluster environment of the primary node.
    #
  13. Dismount the shared disk on the secondary node A.

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

  14. Mount the shared disk on the primary node.

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

  15. Execute the cluster unsetup command on the primary node.

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

    Example:

    # /opt/swstorage/bin/stgclunset_hacmp -n nodeagt

    Refer to "16.3.3 stgclunset_hacmp (AIX version High Availability Cluster Multi-Processing environment cancel command)" for command details.

  16. Check the objects to be deleted.

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

    # /opt/swstorage/bin/stgclunset_hacmp -n nodeagt
    AdvancedCopy Manager settings were as follows.
            Cluster system : High Availability Cluster Multi-Processing
            Node type      : Primary
            Mount point    : /STGMGRMNT
            Node name      : nodeagt
            Service        : STGMGRSRV
            Function       : Server
            Number         : 1
            MODE           : Normal
    Do you want to continue with un-setting of AdvancedCopy Manager cluster? [default:y]

    To interrupt cluster environmental unsetup processing, input "n". To continue processing, input "y", or press the Enter key.

    Note

    The number of nodes which is not carrying out cluster unsetup command is output to "Number". For a primary node, it must be one.

  17. The cluster unsetup command is executed on the primary node.

    The window indicating cluster unsetup command completion opens.

    swstf8102 The cluster deletion of the primary node has been completed.
    #
  18. Dismount the shared disk on the primary node.

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

  19. Delete port numbers.

    Delete the following service defined in /etc/services during cluster setup. Delete the services on the primary node and the secondary node. Use an OS command such as vi to delete the service from /etc/services.

    • Communication daemon for transactions: stgxfws_logicalNodeName

  20. Start the transaction.

    Start the transaction which stopped in step 2, using High Availability Cluster Multi-Processing function. This operation is not necessary if the Resource Group was deleted in step 3.

    Refer to "High Availability Cluster Multi-Processing User's Guide" for starting a resource group.