Top
ETERNUS SFAdvancedCopy Manager 14.0 Operator's Guide forCluster Environment

5.3.2 Deletion procedure

To delete the cluster environment, use the following procedure:

  1. Delete the node.

    Use the Web GUI of the AdvancedCopy Manager to delete the node. For a Storage Management Server transaction, however, this operation is not necessary.

  2. Stop the transaction.

    Stop the resource group to be deleted by using the Sun Cluster function.

    Please refer to the Sun Cluster manual for information about the method of stopping a resource group.

  3. Mount the shared disk on the secondary node.

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

    For a Storage Management Server transaction, also mount the repository shared disk in the secondary node.

  4. Execute the cluster unsetup command on the secondary node.

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

    [Input example]

    # /opt/swstorage/bin/stgclunset_sun -n nodeMGR

    Refer to "8.3.3 stgclunset_sun (Solaris edition Sun Cluster environment cancel command)" for command details.

    Note

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

  5. 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_sun -n nodeMGR
    AdvancedCopy Manager settings were as follows.
            Cluster system   : Sun Cluster
            Node type        : Secondary
            IP Address       : 10.10.10.10    (not displayed for Storage Server transactions)
            Mount point      : /STGMGRDISK
            Node name        : nodeMGR
            Service          : manager_service
            Network Resource : stgnet
            Function         : Management Server ("Server" is displayed for a Storage server transaction)
            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 carrying out cluster unsetup command is outputted to "Number". In a secondary node, it is likely to be two.

  6. For a Storage Management Server transaction, delete the database.

    A window for confirming database deletion opens. Confirm the displayed information, enter "y", and press the Enter key. The window is not displayed in the case of a Storage Server transaction.

      +-------------------------------------------------------------------+
      |  All of database environments of AdvancedCopy Manager             |
      |   will be deleted.                                                |
      |                                                                   |
      |  [Notes]                                                          |
      |    Once processing has started, all stored data is discarded.     |
      |    Make sure that the environment allows execution                |
      |    before proceeding.                                             |
      |                                                                   |
      +-------------------------------------------------------------------+
    
              Do you want to continue with processing? [y/n] ==> y
  7. The cluster unsetup command is executed on the secondary node.

    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.
    #
  8. Dismount the shared disk on the secondary node.

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

    For a Storage Management Server transaction, also dismount the repository shared disk on the secondary node.

  9. Mount the shared disk on the primary node.

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

    For a Storage Management Server transaction, also mount the repository shared disk on the primary node.

  10. 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:

    [Input example]

    # /opt/swstorage/bin/stgclunset_sun -n nodeMGR

    Refer to "8.3.3 stgclunset_sun (Solaris edition Sun Cluster environment cancel command)" for command details.

    Note

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

  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_sun -n nodeMGR
    AdvancedCopy Manager settings were as follows.
            Cluster system   : Sun Cluster
            Node type        : Primary
            IP Address       : 10.10.10.10  (not displayed for a Storage server transaction)
            Mount point      : /STGMGRMNT
            Node name        : nodeMGR
            Service          : manager_service
            Network Resource : stgnet
            Function       : Management Server  ("Server" is displayed for a Storage server transaction)
            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 continuing processing, input "y", or press the Enter key.

    Note

    The number of nodes that are not carrying out cluster unsetup command is outputted to "Number". In a primary node, it will be set to 1.

  12. For a Storage Management Server transaction, delete the database.

    A window for confirming database deletion opens. Confirm the displayed information, enter "y", and press the Enter key. The window is not displayed in the case of a Storage Server transaction.

      +--------------------------------------------------------------------+
      |                                                                    |
      |   All of database environments of AdvancedCopy Manager             |
      |   will be deleted.                                                 |
      |                                                                    |
      |  [Notes]                                                           |
      |    Once processing has started, all stored data is discarded.      |
      |    Make sure that the environment allows execution                 |
      |    before proceeding.                                              |
      |                                                                    |
      +--------------------------------------------------------------------+
    
              Do you want to continue with processing? [y/n] ==> y
  13. 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.
    #
  14. Dismount the shared disk on the primary node.

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

    For a Storage Management Server transaction, also dismount the repository shared disk on the primary node.

  15. Delete port numbers.

    Delete the following services 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_Logical-Node-Name

  16. Delete resources.

    If required, delete the following resources:

    • Name of the AdvancedCopy Manager logical hostname resource and the shared address resource

    • The AdvancedCopy Manager SUNW.HAStoragePlus resource

  17. Start the transactions.

    The function of Sun Cluster is used to start the transaction stopped in step 2.

    Please refer to the Sun Cluster manual about the method of starting a resource group.