Top
ETERNUS SF Storage Cruiser V16.9.1 / AdvancedCopy Manager V16.9.1 Cluster Environment Setup Guide
FUJITSU Storage

14.2.2 Deletion Procedure

Follow the procedure below to delete the cluster environment for a Managed Server transaction.

Point

For explanatory purposes, the command execution examples in this section use the following settings:

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

  • Logical node name: acmnode1

Note

Perform the procedures by root (super user).

  1. Delete the node.

    Use the AdvancedCopy Manager command to delete the node.

  2. Use the function of a cluster software to stop the cluster transaction on the primary node.

    Refer to your cluster software manuals for information on how to stop a cluster transaction.

  3. Delete resources.

    Delete the AdvancedCopy Manager resources that are registered for the target cluster transaction.
    Refer to your cluster software manuals for information on how to delete a resource.

  4. On the secondary node, perform the following procedures.

    If you used a Cascade system or a Priority Transfer system, after performing from step a to step f on all of the secondary node B, perform from step a to step f on the secondary node A.
    If you used a 1:1 Standby system, a Mutual Standby system, or a n:1 Standby system, perform from step a to step f on the secondary node A.

    1. Mount the shared disk.

      Mount the shared disk for shared data of AdvancedCopy Manager.

    2. Execute the following commands in the given sequence.

      Sequence of Execution

      Command Name

      1

      "clset_FJSVswsrp" command

      2

      "clset_FJSVswsts" command

      3

      "clset_FJSVswstf" command

      Point

      Execute each command with the -u option specified.

      Example

      The command execution example is as follows.

      # /opt/FJSVswsrp/bin/clset_FJSVswsrp -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary
      clset_FJSVswsrp completed
      # /opt/FJSVswsts/bin/clset_FJSVswsts -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary
      clset_FJSVswsts completed
      # /opt/FJSVswstf/bin/clset_FJSVswstf -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary
      clset_FJSVswstf completed
    3. Delete the symbolic link files to the shared disk for shared data of AdvancedCopy Manager.

      Delete the following symbolic link files. The logicalNodeName is the logical node name.

      • /etc/opt/swstorage/logicalNodeName

      • /var/opt/swstorage/logicalNodeName

      Example

      The command execution example is as follows.

      # rm /etc/opt/swstorage/acmnode1
      # rm /var/opt/swstorage/acmnode1
    4. Edit the "/opt/FJSVswstf/cluster/swcluster.ini" file.

      Modify or delete the portions in italics according to your system environment.

      [ClusterCommon]
      Cluster=ON (*1)
      Max=20
      StartTimeOut=300
      StopTimeOut=300
      System=GEN (*2)
      Env_N=<Logical node name>
      [<Logical node name>]
      Type=Secondary
      BusiType=<AdvancedCopy Manager server type>
      Business=<Name of cluster transaction>
      ShareEtc=<Mountpoint-of-shared-disk-for-shared-data-of-AdvancedCopy-Manager>/etc/opt
      ShareVar=<Mountpoint-of-shared-disk-for-shared-data-of-AdvancedCopy-Manager>/var/opt
      MountPoint=<Mountpoint-of-shared-disk-for-shared-data-of-AdvancedCopy-Manager>
      IPAddr=
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=<Name of primary node (Host name of primary node)>
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      Date=00/00/00 00:00:00
      Setup=YES
      ResourceType=Procedure

      *1: This line needs to be modified when deleting the last cluster transactions on this server.
      *2: This line needs to be deleted when deleting the last cluster transactions on this server.

      Example

      When deleting the last cluster transactions on the same server, the example for editing the "swcluster.ini" file is as follows.

      [Before editing]

      The italicized portions are the changes and deletions.

      [ClusterCommon]
      Cluster=ON
      Max=20
      StartTimeOut=300
      StopTimeOut=300
      System=GEN
      Env_1=acmnode1
      [acmnode1]
      Type=Secondary
      BusiType=2
      Business=acmbiz01
      ShareEtc=/acmdata01/etc/opt
      ShareVar=/acmdata01/var/opt
      MountPoint=/acmdata01
      IPAddr=
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=m40001
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      Date=00/00/00 00:00:00
      Setup=YES
      ResourceType=Procedure

      [After editing]

      [ClusterCommon]
      Cluster=OFF
      Max=20
      StartTimeOut=300
      StopTimeOut=300

      Example

      When cluster transactions have already been created on the same server, the example for editing the "swcluster.ini" file is as follows.

      [Before editing]

      The italicized portions are the deletions.

      [ClusterCommon]
      Cluster=ON
      Max=20
      StartTimeOut=300
      StopTimeOut=300
      System=GEN
      Env_2=acmnode2
      Env_1=acmnode1
      [acmnode2]
      Type=Secondary
      BusiType=2
      Business=acmbiz02
      ShareEtc=/acmdata02/etc/opt
      ShareVar=/acmdata02/var/opt
      MountPoint=/acmdata02
      IPAddr=
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=m40001
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      Date=00/00/00 00:00:00
      Setup=YES
      ResourceType=Procedure
      [acmnode1]
      Type=Secondary
      BusiType=2
      Business=acmbiz01
      ShareEtc=/acmdata01/etc/opt
      ShareVar=/acmdata01/var/opt
      MountPoint=/acmdata01
      IPAddr=
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=m40001
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      Date=00/00/00 00:00:00
      Setup=YES
      ResourceType=Procedure

      [After editing]

      [ClusterCommon]
      Cluster=ON
      Max=20
      StartTimeOut=300
      StopTimeOut=300
      System=GEN
      Env_2=acmnode2
      [acmnode2]
      Type=Secondary
      BusiType=2
      Business=acmbiz02
      ShareEtc=/acmdata02/etc/opt
      ShareVar=/acmdata02/var/opt
      MountPoint=/acmdata02
      IPAddr=
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=m40001
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      Date=00/00/00 00:00:00
      Setup=YES
      ResourceType=Procedure
    5. Delete the port number.

      Use the "vi" command etc. of OS, and delete the line of the following service from the "/etc/services" file.

      • Transaction communication daemon: stgxfws_logicalNodeName

    6. Unmount the shared disk.

      Unmount the shared disk for shared data of AdvancedCopy Manager.

  5. On the primary node, perform the following procedures.

    1. Mount the shared disk.

      Mount the shared disk for shared data of AdvancedCopy Manager.

    2. Execute the following commands in the given sequence.

      Sequence of Execution

      Command Name

      1

      "clset_FJSVswsrp" command

      2

      "clset_FJSVswsts" command

      3

      "clset_FJSVswstf" command

      Point

      Execute each command with the -u option specified.

      Example

      The command execution example is as follows.

      # /opt/FJSVswsrp/bin/clset_FJSVswsrp -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary
      clset_FJSVswsrp completed
      # /opt/FJSVswsts/bin/clset_FJSVswsts -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary
      clset_FJSVswsts completed
      # /opt/FJSVswstf/bin/clset_FJSVswstf -u -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary
      clset_FJSVswstf completed
    3. Delete the symbolic link files to the shared disk for shared data of AdvancedCopy Manager.

      Delete the following symbolic link files. The logicalNodeName is the logical node name.

      • /etc/opt/swstorage/logicalNodeName

      • /var/opt/swstorage/logicalNodeName

      Example

      The command execution example is as follows.

      # rm /etc/opt/swstorage/acmnode1
      # rm /var/opt/swstorage/acmnode1
    4. Edit the "/opt/FJSVswstf/cluster/swcluster.ini" file.

      Modify or delete the portions in italics according to your system environment.

      [ClusterCommon]
      Cluster=ON (*1)
      Max=20
      StartTimeOut=300
      StopTimeOut=300
      System=GEN (*2)
      Env_N=<Logical node name>
      [<Logical node name>]
      Type=Primary
      BusiType=<AdvancedCopy Manager server type>
      Business=<Name of cluster transaction>
      ShareEtc=<Mountpoint-of-shared-disk-for-shared-data-of-AdvancedCopy-Manager>/etc/opt
      ShareVar=<Mountpoint-of-shared-disk-for-shared-data-of-AdvancedCopy-Manager>/var/opt
      MountPoint=<Mountpoint-of-shared-disk-for-shared-data-of-AdvancedCopy-Manager>
      IPAddr=
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=<Name of primary node (Host name of primary node)>
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      Date=00/00/00 00:00:00
      Setup=YES
      ResourceType=Procedure

      *1: This line needs to be modified when deleting the last cluster transactions on this server.
      *2: This line needs to be deleted when deleting the last cluster transactions on this server.

      Example

      When deleting the last cluster transactions on the same server, the example for editing the "swcluster.ini" file is as follows.

      [Before editing]

      The italicized portions are the changes and deletions.

      [ClusterCommon]
      Cluster=ON
      Max=20
      StartTimeOut=300
      StopTimeOut=300
      System=GEN
      Env_1=acmnode1
      [acmnode1]
      Type=Primary
      BusiType=2
      Business=acmbiz01
      ShareEtc=/acmdata01/etc/opt
      ShareVar=/acmdata01/var/opt
      MountPoint=/acmdata01
      IPAddr=
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=m40001
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      Date=00/00/00 00:00:00
      Setup=YES
      ResourceType=Procedure

      [After editing]

      [ClusterCommon]
      Cluster=OFF
      Max=20
      StartTimeOut=300
      StopTimeOut=300

      Example

      When cluster transactions have already been created on the same server, the example for editing the "swcluster.ini" file is as follows.

      [Before editing]

      The italicized portions are the deletions.

      [ClusterCommon]
      Cluster=ON
      Max=20
      StartTimeOut=300
      StopTimeOut=300
      System=GEN
      Env_2=acmnode2
      Env_1=acmnode1
      [acmnode2]
      Type=Primary
      BusiType=2
      Business=acmbiz02
      ShareEtc=/acmdata02/etc/opt
      ShareVar=/acmdata02/var/opt
      MountPoint=/acmdata02
      IPAddr=
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=m40001
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      Date=00/00/00 00:00:00
      Setup=YES
      ResourceType=Procedure
      [acmnode1]
      Type=Primary
      BusiType=2
      Business=acmbiz01
      ShareEtc=/acmdata01/etc/opt
      ShareVar=/acmdata01/var/opt
      MountPoint=/acmdata01
      IPAddr=
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=m40001
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      Date=00/00/00 00:00:00
      Setup=YES
      ResourceType=Procedure

      [After editing]

      [ClusterCommon]
      Cluster=ON
      Max=20
      StartTimeOut=300
      StopTimeOut=300
      System=GEN
      Env_2=acmnode2
      [acmnode2]
      Type=Primary
      BusiType=2
      Business=acmbiz02
      ShareEtc=/acmdata02/etc/opt
      ShareVar=/acmdata02/var/opt
      MountPoint=/acmdata02
      IPAddr=
      IPUseType=0
      IPRscName=
      Hostname=
      NodeName=m40001
      ClusterName=
      DiskName=
      GroupName=
      SubNetMask=
      MSCSNetName=
      Date=00/00/00 00:00:00
      Setup=YES
      ResourceType=Procedure
    5. Delete the directories that were created on the shared disk for shared data of AdvancedCopy Manager when setting up the cluster environment.

      Delete the following directories:

      • <Mountpoint-of-shared-disk-for-shared-data-of-AdvancedCopy-Manager>/etc/opt/swstorage

      • <Mountpoint-of-shared-disk-for-shared-data-of-AdvancedCopy-Manager>/var/opt/swstorage

    6. Delete the port number.

      Use the "vi" command etc. of OS, and delete the line of the following service from the "/etc/services" file.

      • Transaction communication daemon: stgxfws_logicalNodeName

    7. Unmount the shared disk.

      Unmount the shared disk for shared data of AdvancedCopy Manager.

    8. If you use the stopped cluster transactions in any application other than AdvancedCopy Manager CCM, restart these cluster transactions.

      Refer to your cluster software manuals for information on how to start a cluster transaction.

The deletion the cluster environment for a Managed Server transaction in Solaris/Linux/HP-UX clustered system is completed.