To set up a Storage Server transaction, use the procedure below.
Restart the system.
Restart the primary node and all secondary nodes. If the system is restarted as an extension of the installation process of AdvancedCopy Manager, proceed to step 2.
Check the preparations.
Check each item of "3.3 Confirmation of items" for the package to be set up.
Mount the shared disk on the primary node.
Mount the shared disk for shared data on the primary node.
Stop the Resource Groups.
To add a Storage Server transaction to an existing Resource Group by using the High Availability Cluster Multi-Processing function, stop the applicable Resource Group.
For information on how to stop the user Resource Group, see the "High Availability Cluster Multi-Processing User's Guide."
Register port numbers
Register the port number for the transaction communication in /etc/services. Use an OS command such as vi to register it in /etc/services.
Transaction communication daemon: stgxfws_Logical-Node-Name
Note
Register the same port number on the primary node and all secondary nodes.
Execute the cluster setup command on the primary node.
On the primary node, execute the following cluster setup command after blocking other users from accessing the shared disk for shared data:
Example
# /opt/swstorage/bin/stgclset_hacmp -k Primary -m /STGAGTMNT -n nodeAGT -s agent_service |
Refer to "8.2.8 stgclset_hacmp (AIX edition High Availability Cluster Multi-Processing environment setup command)" for command details.
Check the setup object.
Information about the logical node specified by the command is displayed. After confirming the displayed information, press the Enter key.
# /opt/swstorage/bin/stgclset_hacmp -k Primary -m /STGAGTMNT -n nodeAGT -s agent_service AdvancedCopy Manager settings are as follows. Cluster system : High Availability Cluster Multi-Processing Node type : Primary Mount point : /STGAGTMNT Node name : nodeAGT Service : agent_service Function : Server Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y] |
To interrupt cluster environmental setting processing, input "n". To continue processing, input "y", or press the Enter key.
Finish the cluster setup command on the primary node.
The window indicating password registration and cluster setup command completion opens.
swstf8100 The cluster setup of the primary node has been completed. Next, create the cluster environment of the secondary node. # |
Dismount the shared disks on the primary node.
Dismount the shared disk for shared data on the secondary node.
Mount the shared disks on the secondary node A.
Mount the shared disk for shared data on the secondary node A.
Execute the cluster setup command on the secondary node A.
On the secondary node A, execute the following cluster setup command after blocking other users from accessing the shared disk for shared data:
Example
# /opt/swstorage/bin/stgclset_hacmp -k Secondary -m /STGMGRDISK |
Refer to "8.2.8 stgclset_hacmp (AIX edition High Availability Cluster Multi-Processing environment setup command)" for command details.
Check the setup object.
Information about the logical node specified by the command is displayed. After confirming the displayed information, press the Enter key.
# /opt/swstorage/bin/stgclset_hacmp -k Secondary -m /STGAGTMNT AdvancedCopy Manager settings are as follows. Cluster system : High Availability Cluster Multi-Processing Node type : Secondary Mount point : /STGAGTMNT Node name : nodeAGT Service : agent_service Function : Server Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y] |
To interrupt cluster environmental setting processing, input "n". To continue processing, input "y", or press the Enter key.
Finish the cluster setup command on the secondary node A.
The window indicating cluster setup command completion opens.
swstf8101 The cluster setup of the secondary node has been completed. # |
Dismount the shared disks on the secondary node A.
Dismount the shared disk for share data on the secondary node A.
Note
If the system is the 1:1 standby system, the Mutual standby system and the n:1 standby system, proceed to step 21.
If the system is the Cascade topology and Priority transfer, proceed to step 15.
Mount the shared disks on the secondary node B.
Mount the shared disk for shared data on the secondary node B.
Note
When there are two or more secondary nodes B, Step 15 to Step 20 is processed for all the secondary nodes B.
Execute the cluster setup command on the secondary node B.
Execute the cluster setup command on the secondary node B on which the shared disk for shared data and the shared disk for the repository were mounted in step 15.
On the secondary node B, execute the following cluster setup command after blocking other users from accessing the shared disk for shared data:
Example
# /opt/swstorage/bin/stgclset_hacmp -k Secondary -m /STGMGRDISK |
Refer to "8.2.8 stgclset_hacmp (AIX edition High Availability Cluster Multi-Processing environment setup command)" for command details.
Check the setup object.
Information about the logical node specified by the command is displayed. After confirming the displayed information, press the Enter key.
# /opt/swstorage/bin/stgclset_hacmp -k Secondary -m /STGAGTMNT AdvancedCopy Manager settings are as follows. Cluster system : High Availability Cluster Multi-Processing Node type : Secondary Mount point : /STGAGTMNT Node name : nodeAGT Service : agent_service Function : Server Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y] |
To interrupt cluster environmental setting processing, input "n". To continue processing, input "y", or press the Enter key.
Check the addition of a secondary node.
The window for confirming the addition of a secondary node is displayed.
After confirmation of a cascade, "y" is inputted and the Enter key is pushed.
Secondary node is already setup in another node.
The number of secondary nodes : 1
Do you want to setup new secondary node? [default:n] y |
The number of secondary nodes already set up is outputted to "The number of secondary nodes."
Note
The default value is "n." "n" means cancellation of processing.
Finish the cluster setup command on the secondary node B.
The window indicating cluster setup command completion opens.
swstf8101 The cluster setup of the secondary node has been completed. # |
Dismount the shared disks on the secondary node B.
Dismount the shared disk for share data on the secondary node B.
Note
When more secondary nodes B remain (that have not performed Step 21 to Step 27), perform from Step 21 in the remaining nodes. When operation from Step 21 to Step 27 is completed by all secondary nodes B, go to Step 28.
Create and register a Resource Group.
Use the function of the High Availability Cluster Multi-Processing to create and register a Resource Group for AdvancedCopy Manager.
Please add the following types as a resource of AdvancedCopy Manager.
Application Server
Specify a "/opt/FJSVswstf/cluster/clproc/hacmpStart_Logical-Node-Name" to be Start script.
Specify a "/opt/FJSVswstf/cluster/clproc/hacmpStop_Logical-Node-Name" to be Stop script.
MountPoint
Register the shared disk for share data.
IP
Register the logical IP address for AdvancedCopy Manager. When using the logical IP address already used in the system, it is not necessary to register it again.
The application should set up a dependency after MountPoint and IP become on-line.
Refer to the High Availability Cluster Multi-Processing User's Guide for information about a resource group and the creation/registration method for a resource.
Start the AdvancedCopy Manager and Transaction.
Start the new Resource Group or the Resource Group stopped in step 4.
Please refer to the High Availability Cluster Multi-Processing User's Guide about the method of starting a Resource Group.
Back up the environment.
To safeguard against accidental loss of data or file corruption, back up the following environments.
Data on the shared disk for shared data
Use an OS command such as cp to back up the following directories on the shared disk for shared data:
Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data/etc
Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data/var
Create an environment for a Storage Server transaction.
Use the Web GUI of AdvancedCopy Manager to create an environment for a Storage Server transaction.
Note
Create an environment for a Storage Management Server transaction and an environment for a Storage Server transaction by referring to the "ETERNUS SF AdvancedCopy Manager Operator's Guide (AIX)"