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).
Delete the node.
Use the AdvancedCopy Manager command to delete the node.
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.
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.
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.
Mount the shared disk.
Mount the shared disk for shared data of AdvancedCopy Manager.
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
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
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=300Example
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
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
Unmount the shared disk.
Unmount the shared disk for shared data of AdvancedCopy Manager.
On the primary node, perform the following procedures.
Mount the shared disk.
Mount the shared disk for shared data of AdvancedCopy Manager.
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
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
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=300Example
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
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
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
Unmount the shared disk.
Unmount the shared disk for shared data of AdvancedCopy Manager.
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.