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

A.4.2 Deletion Procedure

To delete the cluster environment, use the following procedure:

Point

For explanatory purposes, the <Examples of command execution> in this section use the following settings:

  • <Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data> : /acmdata01

  • Logical node name : acmnode1

  1. Delete the node.

    Use the AdvancedCopy Manager command to delete the node.

  2. Use the function of a clustered system to stop the transaction on the primary node.

    Refer to your cluster software documentation for information on how to stop transactions.

  3. Delete resources.

    Delete the AdvancedCopy Manager resources registered for the target transaction.

    Refer to your cluster software documentation for information on how to delete resources.

  4. If the system is a Cascade topology or a Priority transfer, execute "Deletion procedure for secondary node" on the secondary node B.

  5. Execute "Deletion procedure for secondary node" on the secondary node A.

  6. Execute "Deletion procedure for primary node" on the primary node.

Deletion procedure for secondary node

  1. For Managed Server transactions, mount the shared disk.

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

  2. Execute the following commands in the given sequence:

    Sequence of execution

    Command

    Type of server that requires command execution

    1

    StgDbSetup(set/cancel command for repository environment)

    Management Server transactions

    2

    clset_FJSVswsrp(set/cancel command for replication environment)

    Management Server transactions
    Managed Server transactions

    3

    clset_FJSVswsts(set/cancel command for backup environment)

    Management Server transactions
    Managed Server transactions

    4

    clset_FJSVswstf(set/cancel framework environment)

    Management Server transactions
    Managed Server transactions

    Example

    • For Management Server transactions

      [root@m40002]# /opt/FJSVswstf/bin/StgDbSetup -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary

      The StgDbSetup displays, a screen for confirming whether to delete the database is displayed.
      Check the displayed contents, enter "y", and press the Enter key. For Managed Server transactions, the screen is not displayed.

        +----------------------------------------------------------------+
        |                                                                |
        |   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
      [root@m40002]# /opt/FJSVswsrp/bin/clset_FJSVswsrp -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary
      clset_FJSVswsrp completed
      [root@m40002]# /opt/FJSVswsts/bin/clset_FJSVswsts -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary
      clset_FJSVswsts completed
      [root@m40002]# /opt/FJSVswstf/bin/clset_FJSVswstf -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary
      clset_FJSVswstf completed
    • For Managed Server transactions

      [root@m40002]# /opt/FJSVswsrp/bin/clset_FJSVswsrp -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary
      clset_FJSVswsrp completed
      [root@m40002]# /opt/FJSVswsts/bin/clset_FJSVswsts -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary
      clset_FJSVswsts completed
      [root@m40002]# /opt/FJSVswstf/bin/clset_FJSVswstf -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary
      clset_FJSVswstf completed
  3. Delete the symbolic links to the shared disk for AdvancedCopy Manager shared data.

    Table A.14 Symbolic link for data in the etc area

    Link target directory (symbolic link file)

    /etc/opt/swstorage/logicalNodeName

    Table A.15 Symbolic link for data in the var area

    Link target directory (symbolic link file)

    /var/opt/swstorage/logicalNodeName

    Example

    [root@m40002]# rm /etc/opt/swstorage/acmnode1
    [root@m40002]# rm /var/opt/swstorage/acmnode1
  4. Edit the /opt/FJSVswstf/cluster/swcluster.ini file. Refer to "swcluster.ini" for information on how to edit.

  5. For Management Server transactions, edit the /etc/opt/swstorage/swstg.ini file. Refer to "swstg.ini" for information on how to edit.

  6. Delete port numbers.

    Delete the following service defined in /etc/services during cluster setup. Use an OS command such as vi to delete it from /etc/services.

    • Communication daemon for transactions : stgxfws_logicalNodeName

  7. For Managed Server transactions, unmount the shared disk.

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


Deletion procedure for primary node

  1. For Managed Server transactions, mount the shared disk.

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

  2. Execute the following commands in the given sequence:

    Sequence of execution

    Command

    Type of server that requires command execution

    1

    StgDbSetup(set/cancel command for repository environment)

    Management Server transactions

    2

    clset_FJSVswsrp(set/cancel command for replication environment)

    Management Server transactions
    Managed Server transactions

    3

    clset_FJSVswsts(set/cancel command for backup environment)

    Management Server transactions
    Managed Server transactions

    4

    clset_FJSVswstf(set/cancel framework environment)

    Management Server transactions
    Managed Server transactions

    Example

    • For Management Server transactions

      [root@m40001]# /opt/FJSVswstf/bin/StgDbSetup -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary

      The StgDbSetup displays, a screen for confirming whether to delete the database is displayed.
      Check the displayed contents, enter "y", and press the Enter key. For Managed Server transactions, the screen is not displayed.

        +----------------------------------------------------------------+
        |                                                                |
        |   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
      [root@m40001]# /opt/FJSVswsrp/bin/clset_FJSVswsrp -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary
      clset_FJSVswsrp completed
      [root@m40001]# /opt/FJSVswsts/bin/clset_FJSVswsts -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary
      clset_FJSVswsts completed
      [root@m40001]# /opt/FJSVswstf/bin/clset_FJSVswstf -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary
      clset_FJSVswstf completed
    • For Managed Server transactions

      [root@m40001]# /opt/FJSVswsrp/bin/clset_FJSVswsrp -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary
      clset_FJSVswsrp completed
      [root@m40001]# /opt/FJSVswsts/bin/clset_FJSVswsts -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary
      clset_FJSVswsts completed
      [root@m40001]# /opt/FJSVswstf/bin/clset_FJSVswstf -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary
      clset_FJSVswstf completed
  3. Delete the symbolic links to the shared disk for AdvancedCopy Manager shared data.

    Table A.16 Symbolic link for data in the etc area

    Link target directory (symbolic link file)

    /etc/opt/swstorage/logicalNodeName

    Table A.17 Symbolic link for data in the var area

    Link target directory (symbolic link file)

    /var/opt/swstorage/logicalNodeName

    Example

    [root@m40001]# rm /etc/opt/swstorage/acmnode1
    [root@m40001]# rm /var/opt/swstorage/acmnode1
  4. Edit the /opt/FJSVswstf/cluster/swcluster.ini file. Refer to "swcluster.ini" for information on how to edit.

  5. Delete the directories in the shared disk for AdvancedCopy Manager shared data.

    <Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data>
    +---/etc
    |   ---/opt
    |       ---/swstorage
    +---/var
        ---/opt
            ---/swstorage
  6. For Management Server transactions, edit the /etc/opt/swstorage/swstg.ini file. Refer to "swstg.ini" for information on how to edit.

  7. Delete port numbers.

    Delete the following service defined in /etc/services during cluster setup. Use an OS command such as vi to delete it from /etc/services.

    • Communication daemon for transactions : stgxfws_logicalNodeName

  8. For Managed Server, unmount the shared disks.

    Unmount the shared disks for the AdvancedCopy Manager shared data on the primary node.

  9. For Managed Server transactions, start up cluster transaction when using the stopped cluster transaction except for AdvancedCopy Manager.

    Refer to your cluster software manual for information on how to start cluster transactions.