On the primary node, cancel each settings in the following procedures.
Mount the shared disk for shared data that was used by ETERNUS SF Manager.
Execute the cluster unsetup command of the AdvancedCopy Manager's manager.
Execute the following commands in the given sequence.
Sequence of Execution | Command Name |
|---|---|
1 | "StgDbSetup" command |
2 | "clset_FJSVswsrp" command |
3 | "clset_FJSVswsts" command |
4 | "clset_FJSVswstf" command |
Point
Execute each command with the -u option specified.
Example
The command execution example is as follows.
# /opt/FJSVswstf/bin/StgDbSetup -u -f /esfmnt/etc/opt/swstorage/clsetup.ini -t Primary # /opt/FJSVswsrp/bin/clset_FJSVswsrp -u -f /esfmnt/etc/opt/swstorage/clsetup.ini -t Primary clset_FJSVswsrp completed # /opt/FJSVswsts/bin/clset_FJSVswsts -u -f /esfmnt/etc/opt/swstorage/clsetup.ini -t Primary clset_FJSVswsts completed # /opt/FJSVswstf/bin/clset_FJSVswstf -u -f /esfmnt/etc/opt/swstorage/clsetup.ini -t Primary clset_FJSVswstf completed
Execute the cluster unsetup command of the Storage Cruiser's manager.
Execute the following command after blocking other users from accessing the shared disk for shared data.
# /opt/FJSVssmgr/cluster/esc_clunsetup
Information
If free space in the local disk on the secondary node is insufficient for the data capacity on the shared disk for shared data, execute the command by specifying the -l option as shown below.
Specify the -l option if local free disk space on the primary node is insufficient.
# /opt/FJSVssmgr/cluster/esc_clunsetup -l
In this case, since the data on the shared disk for shared data is not copied onto the local disk, the operation cannot be continued.
Check the configurations.
ETERNUS SF Storage Cruiser settings were as follows.
Cluster system : PRIMECLUSTER
Node type : Primary
Mount point : /esfmnt
IP Address : 192.0.2.10
Mode : Normal
(restore from Shared Disk)Manager cluster deletion : Are you sure? [y,n,?]To continue the cluster environment deletion work, input "y". To interrupt the work, input "n".
Confirm that the displayed message is as follows.
FJSVrcx:INFO:27702:esc_clunsetup:primary node deletion completed
Delete the following symbolic link files that you created in "Chapter 5 Customization for Management Server Transaction".
The logicalNodeName is the logical node name that was prepared in "4.1 Confirmation of Customization Items".
/etc/opt/FJSVesfcm
/etc/opt/swstorage/logicalNodeName
/var/opt/FJSVesfcm
/var/opt/FJSVesflm
/var/opt/swstorage/logicalNodeName
Example
The command execution example is as follows.
# rm /etc/opt/FJSVesfcm # rm /etc/opt/swstorage/acmnode1 # rm /var/opt/FJSVesfcm # rm /var/opt/FJSVesflm # rm /var/opt/swstorage/acmnode1
Restore AdvancedCopy Manager CCM environment setting files that was backed up in "Chapter 5 Customization for Management Server Transaction".
Overwrite the following files to the copy destination.
Copy Source File | Copy Destination File |
|---|---|
/opt/FJSVccm/noncluster/micc/sys/.install.sys | /opt/FJSVccm/micc/sys/.install.sys |
/opt/FJSVccm/noncluster/bin/.stxc_install.sys | /opt/FJSVccm/bin/.stxc_install.sys |
/opt/FJSVccm/noncluster/sys/sys.properties | /opt/FJSVccm/sys/sys.properties |
Example
The copy execution example is as follows.
# cp -p /opt/FJSVccm/noncluster/micc/sys/.install.sys /opt/FJSVccm/micc/sys/.install.sys # cp -p /opt/FJSVccm/noncluster/bin/.stxc_install.sys /opt/FJSVccm/bin/.stxc_install.sys # cp -p /opt/FJSVccm/noncluster/sys/sys.properties /opt/FJSVccm/sys/sys.properties
Delete AdvancedCopy Manager CCM environment setting files that was backed up.
Delete the "/opt/FJSVccm/noncluster" directory and contents.
Example
The deletion execution example is as follows.
# rm -r /opt/FJSVccm/noncluster
Rename the following directories that was changed in "Chapter 5 Customization for Management Server Transaction" as original.
/etc/opt/FJSVesfcm
/var/opt/FJSVesfcm
/var/opt/FJSVesflm
Example
The following is an example of the case that a directory name was changed by putting "_bak" at the end of a file name.
# mv /etc/opt/FJSVesfcm_bak /etc/opt/FJSVesfcm # mv /var/opt/FJSVesfcm_bak /var/opt/FJSVesfcm # mv /var/opt/FJSVesflm_bak /var/opt/FJSVesflm
Set up the starting and stopping process of ETERNUS SF Manager to be controlled by operating system.
For Solaris environments
Execute the following command.
# ls /etc/rc*.d/*SFmanager*
Rename all of the files that were output by executing the command above. Delete "X" at the start of the file names.
Example
The command execution example is as follows.
# mv /etc/rc2.d/XS99startSFmanager /etc/rc2.d/S99startSFmanager
For Linux environments
Execute the following commands.
# /usr/bin/systemctl enable fjsvesfcm-internalDB.service # /usr/bin/systemctl enable fjsvesfcm-webserver.service # /usr/bin/systemctl enable fjsvesfcm-system.service # /usr/bin/systemctl enable fjsvswstf.service # /usr/bin/systemctl enable fjsvssast.service
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>/etc/opt
ShareVar=<Mountpoint-of-shared-disk-for-shared-data>/var/opt
MountPoint=<Mountpoint-of-shared-disk-for-shared-data>
IPVersion=<IP version of IP address>
IPAddr=<Takeover IPv4 address for AdvancedCopy Manager>
IPv6Addr=<Takeover IPv6 address for AdvancedCopy Manager>
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=1
Business=acmbiz01
ShareEtc=/esfmnt/etc/opt
ShareVar=/esfmnt/var/opt
MountPoint=/esfmnt
IPVersion=IPv4
IPAddr=192.0.2.10
IPv6Addr=
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=/esfmnt02/etc/opt ShareVar=/esfmnt02/var/opt MountPoint=/esfmnt02 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=1
Business=acmbiz01
ShareEtc=/esfmnt/etc/opt
ShareVar=/esfmnt/var/opt
MountPoint=/esfmnt
IPVersion=IPv4
IPAddr=192.0.2.10
IPv6Addr=
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=/esfmnt02/etc/opt ShareVar=/esfmnt02/var/opt MountPoint=/esfmnt02 IPAddr= IPUseType=0 IPRscName= Hostname= NodeName=m40001 ClusterName= DiskName= GroupName= SubNetMask= MSCSNetName= Date=00/00/00 00:00:00 Setup=YES ResourceType=Procedure
Edit the "/etc/opt/swstorage/swstg.ini" file.
Item Name | Explanation |
|---|---|
Type | AdvancedCopy Manager local transaction server type. |
Note
Do not add/modify/delete parameters other than those of "Table 13.2 Setting Items of "swstg.ini" File".
Modify the portions in italics according to your system environment.
[Common] Edition=EE Version=V16.9.1 Type=<AdvancedCopy Manager local transaction server type> AFSType=1 Language=ENGLISH BaseDir_Opt=/opt BaseDir_Var=/var/opt BaseDir_Etc=/etc/opt [Install] FJSVswstf=20101116 FJSVswtrc=20101116 FJSVgrapi=20101116 FJSVswsts=20101116 FJSVswsrp=20101116
Example
The example for editing the "swstg.ini" file is as follows. The italicized portions are the changes.
[Common]
Edition=EE
Version=V16.9.1
Type=1
AFSType=1
Language=ENGLISH
BaseDir_Opt=/opt
BaseDir_Var=/var/opt
BaseDir_Etc=/etc/opt
[Install]
FJSVswstf=20101116
FJSVswtrc=20101116
FJSVgrapi=20101116
FJSVswsts=20101116
FJSVswsrp=20101116Delete 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 for shared data that was used by ETERNUS SF Manager.