To set up a Storage Management Server transaction and a Storage Server transaction, use the procedure below.
Restart the system.
Restart the primary node and secondary node.
If the system is restarted in an extension of the installation process of AdvancedCopy Manager, then proceed to check the preparations.
Check the preparations.
Check each item of "3.3 Confirmation of items", for the cluster service (userApplication) to be set up.
Mount the shared disk on the primary node.
For a Storage Management Server transaction, mount the shared disk for AdvancedCopy Manager shared data and that for the AdvancedCopy Manager repository on the primary node.
For a Storage Server transaction, mount the shared disk for shared data on the primary node.
Stop the cluster services (userApplication).
To add a Storage Management Server transaction and a Storage Server transaction to an existing cluster service (userApplication), stop the cluster service (userApplication) from the SynfinityCluster Operation Management view or PRIMECLUSTER RMS main window.
Register port numbers
Register the port number for the transaction communication in /etc/services. Use the 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 cluster setup command shown below after blocking other users from accessing the shared disk for shared data and also for the repository. When this command is executed, a repository is created in addition to the cluster being set up. For more information, see the chapter on database creation.
If the status transition procedure resources are used:
Example
# /opt/swstorage/bin/stgclset_safe -k Primary -m /STGMGRDISK -n nodeMGR -s manager_service -i 10.10.10.10 -f mgr |
If command line resources are used:
Example
# /opt/swstorage/bin/stgclset_safe -k Primary -m /STGMGRDISK -n nodeMGR -s manager_service -i 10.10.10.10 -f mgr -r cmd |
Note
For a Storage Management Server transaction to be performed, use the location that is specified when the Storage Management Server is installed.
In combined operation with the scalable class, the IP address for a Storage Management Server transaction specified with the -i option must be the "takeover IP address for AdvancedCopy Manager" prepared for the Storage Management Server transaction. Do not specify the logical IP address of the transaction in the scalable class.
Do not specify "-r cmd" with SynfinityCLUSTER.
For Storage Management Server transaction, on the primary node, execute the following cluster setup command after blocking other users from accessing the shared disk for shared data:
If the status transition procedure resources are used:
Example
# /opt/swstorage/bin/stgclset_safe -k Primary -m /CTTEST3 -n nodeAGT -s agent_service |
If command line resources are used:
Example
# /opt/swstorage/bin/stgclset_safe -k Primary -m /CTTEST3 -n nodeAGT -s agent_service -r cmd |
Note
Do not specify "-r cmd" with SynfinityCLUSTER.
For detials on this command, refer to "8.2.1 stgclset_safe (Solaris edition SafeCLUSTER/PRIMECLUSTER environment setup command)".
Check the setup object.
Information is displayed about the logical node specified by the command. After confirming the displayed information, press the Enter key.
For a Storage Management Server transaction (when using status transition procedure resources):
# /opt/swstorage/bin/stgclset_safe -k Primary -m /STGMGRDISK -n nodeMGR -s manager_service -i 10.10.10.10 -f mgr AdvancedCopy Manager settings are as follows. Cluster system : SynfinityCluster or PRIMECLUSTER Node type : Primary IP Address : 10.10.10.10 Mount point : /STGMGRDISK Node name : nodeMGR Service : manager_service Resource : Procedure Function : Management Server Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y] |
For a Storage Server transaction (when using command line resources):
# /opt/swstorage/bin/stgclset_safe -k Primary -m /CTTEST3 -n nodeAGT -s agent_service -r cmd AdvancedCopy Manager settings are as follows. Cluster system : SynfinityCluster SafeCluster or PRIMECLUSTER Node type : Primary Mount point : /CTTEST3 Node name : nodeAGT Service : agent_service Resource : CmdLine Function : Server Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y] |
To interrupt the cluster environmental setting processing, input "n"., To continue processing, input "y" , or press the Enter key.
Note
If the transaction is the Storage Management Server transaction, proceed to step 8.
If the transaction is the Storage Server transaction, proceed to step 13.
Start the creation of a common environment for Storage Management Server transactions.
The initial window for setting the common environment opens. Confirm the displayed information, then enter "y", and press the Enter key.
+----------------------------------------------------------------+ | A common environment for the AdvancedCopy Manager | | Storage Management Server will be created. | | [Notes] | | Prepare the following directories before starting processing.| | ============================================================== | | | | 1) Directory for the DB file | | 2) Directory for the RDB dictionary | | 3) Directory for the RDB log file | | 4) Directory for the DB space to store the repository data | | | +----------------------------------------------------------------+ Do you want to continue with processing? [y/n] ==> y |
For a Storage Management Server transaction, specify the DB device.
The window shown below opens. Enter the directory name for the DB file system according to the information in [Notes], and press the Enter key.
-----------------------< DB device setting >---------------------- Enter the directory name for the DB file. [Notes] Enter the absolute path name of the directory. Enter ==> /ACMMnt/ Vol202/DBFile |
A similar setting window opens for input of the directory names for the RDB dictionary, RDB log file, and DB space where repository data is stored. Enter a directory name for each item, and press the Enter key after each entry.
After setting up the directory name for DB space where repository data is stored, the setting window for inputting the size of repository data is opened. Enter the size of repository data, and press the Enter key.
For a Storage Management Server transaction, check the DB directory settings.
The four directory names and the size of repository data specified in step 9 are displayed. Confirm the displayed information, enter "y", and press the Enter key.
==================================================================== Directory name for the DB file ............/ACMMnt/Vol202/DBFile Directory name for the RDB dictionary ...../ACMMnt/Vol203/DBDic Directory name for the RDB log file ......./ACMMnt/Vol204/DBLog Directory name for the DB space used to save repository data ..../ACMMnt/Vol205/DBSpa Repository data Size ......................65MB ==================================================================== Okay? [y/n] ==> y |
Confirm the continuation of processing.
After the window for confirming the continuation of processing opens, enter "y", and press the Enter key.
+----------------------------------------------------------------+ | Creation of the AdvancedCopy Manager Storage management | | server environment will start. | | ============================================================== | | | | Once processing has started, system information is rewritten.| | Make sure that the environment allows execution | | before proceeding. | | | +----------------------------------------------------------------+ Do you want to continue with processing? [y/n] ==> y |
For Storage Management Server transaction, perform the repository access settings.
The window for setting repository access opens. Enter a user name and password, and press the Enter key.
Point
For security purposes it is recommended to use a general user and not a root user which has frequent changes.
Enter the user name and password for accessing the repository of AdvancedCopy Manager. [Notes] We recommend you to input a general user other than root. Username : acmuser Password : Password(Re-enter) : |
Note
If user settings were entered as shown above, and the user is deleted or the password is changed from the operating system, perform the setup processing again. Refer to "User deletion or password change in repository access user settings" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide".
Finish the cluster setup command on the primary node.
The window indicating 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.
For a Storage Management Server transaction, dismount the shared disk for shared data and the one for the repository on the primary node.
For a Storage Server transaction, dismount the shared disk for shared data on the primary node.
Mount the shared disks on the secondary node A.
For a Storage Management Server transaction, mount the shared disk for shared data and the one for the repository on the secondary node A.
For a Storage Server transaction, mount the shared disk for shared data on the secondary node A.
Execute the cluster setup command on the secondary node A.
For a Storage Management Server transaction, on the secondary node A, execute the cluster setup command shown below after blocking other users from accessing the shared disk for shared data and also for the repository. When this command is executed, a repository is created in addition to the cluster being set up. For more information, see the chapter on database creation.
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_safe -k Secondary -m /STGMGRDISK |
Refer to "8.2.1 stgclset_safe (Solaris edition SafeCLUSTER/PRIMECLUSTER environment setup command)" for command details.
Note
For a Storage Management Server transaction to be performed, use the location that is specified when the Storage Management Server is installed.
Check the setup object.
Information about the logical node specified by the command is displayed. After confirming the displayed information, press the Enter key.
For a Storage Management Server transaction:
# /opt/swstorage/bin/stgclset_safe -k Secondary -m /STGMGRDISK AdvancedCopy Manager settings are as follows. Cluster system : SynfinityCluster or PRIMECLUSTER Node type : Secondary IP Address : 10.10.10.10 Mount point : /STGMGRDISK Node name : nodeMGR Service : manager_service Resource : Procedure Function : Management Server Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y] |
For a Storage Server transaction:
# /opt/swstorage/bin/stgclset_safe -k Secondary -m /CTTEST3 AdvancedCopy Manager settings are as follows. Cluster system : SynfinityCluster SafeCluster or PRIMECLUSTER Node type : Secondary Mount point : /CTTEST3 Node name : nodeAGT Service : agent_service Resource : CmdLine 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.
Note
If the transaction is the Storage Management Server transaction, proceed to step 18.
If the transaction is the Storage Server transaction, proceed to step 19.
For a Storage Management Server transaction, confirm the continuation of processing.
After the window for confirming the continuation of processing opens, enter "y", and press the Enter key.
+----------------------------------------------------------------+ | Creation of the AdvancedCopy Manager Storage management | | server environment will start. | | ============================================================== | | | | Once processing has started, system information is rewritten.| | Make sure that the environment allows execution | | before proceeding. | | | +----------------------------------------------------------------+ Do you want to continue with processing? [y/n] ==> y |
Finish the cluster setup command on the secondary node.
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.
For a Storage Management Server transaction, dismount the shared disk for data and that for the repository on the secondary node A.
For a Storage Server transaction, 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 28.
If the system is Cascade topology and the Priority transfer, proceed to step 21.
Mount the shared disks on the secondary node B.
For a Storage Management Server transaction, mount the shared disk for shared data and that for the repository on the secondary node B.
For a Storage Server transaction, mount the shared disk for shared data on the secondary node B.
Note
When there are two or more secondary nodes B, Step 21 to Step 27 is processed by 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 were mounted in step 21.
For a Storage Management Server transaction, on the secondary node B, execute the cluster setup command shown below after blocking other users from accessing the shared disk for shared data and the one for the repository. When this command is executed, a repository is created in addition to the cluster being set up. For more information, see the chapter on database creation.
For a Storage Server transaction, 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_safe -k Secondary -m /STGMGRDISK |
Refer to "8.2.1 stgclset_safe (Solaris edition SafeCLUSTER/PRIMECLUSTER environment setup command)" for command details.
Note
For a Storage Management Server transaction to be performed, use the location that is specified when the Storage Management Server is installed.
Check the setup object.
Information about the logical node specified by the command is displayed. After confirming the displayed information, press the Enter key.
For a Storage Management Server transaction:
# /opt/swstorage/bin/stgclset_safe -k Secondary -m /STGMGRDISK AdvancedCopy Manager settings are as follows. Cluster system : SynfinityCluster or PRIMECLUSTER Node type : Secondary IP Address : 10.10.10.10 Mount point : /STGMGRDISK Node name : nodeMGR Service : manager_service Resource : Procedure Function : Management Server Do you want to continue with setting of AdvancedCopy Manager cluster? [default:y] |
For a Storage Server transaction:
# /opt/swstorage/bin/stgclset_safe -k Secondary -m /CTTEST3 AdvancedCopy Manager settings are as follows. Cluster system : SynfinityCluster or PRIMECLUSTER Node type : Secondary Mount point : /CTTEST3 Node name : nodeAGT Service : agent_service Resource : CmdLine 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 of adding 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.
If the transaction is the Storage Management Server transaction, proceed to step 25.
If the transaction is the Storage Server transaction, proceed to step 26.
Start the creation of a common environment for AdvancedCopy Manager management server transactions.
The initial window for setting the common environment opens. Confirm the displayed information, enter "y", and press the Enter key.
+----------------------------------------------------------------+ | Creation of the AdvancedCopy Manager Storage management | | server environment will start. | | ============================================================== | | | | Once processing has started, system information is rewritten.| | Make sure that the environment allows execution | | before proceeding. | | | +----------------------------------------------------------------+ Do you want to continue with processing? [y/n] ==> y |
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.
For a Storage Management Server transaction, dismount the shared disk for shared data and the one for the repository on the secondary node B.
For a Storage Server transaction, dismount the shared disk for share data on the secondary node B.
Note
When more secondary nodes B remain to be set up ie, ( Step 21 to Step 27 have not been performed on these nodes), perform from Step 21 in the nodes.
When operation from Step 21 to Step 27 is completed for all secondary nodes B, go to Step 28.
Create resources.
In SynfinityCluster, use the SynfinityCluster management view to create a takeover IP address resource. This operation is not necessary if a takeover IP address resource has already been created by the applicable cluster service.
In PRIMECLUSTER, use the PRIMECLUSTER "userApplication Configuration Wizard" to create the following resources.
GDS resource
For a Storage Management Server transaction, register the class of the shared disk for shared data and the class of the shared disk for a repository.
For a Storage Server transaction, register the class of the shared disk for shared data.
The shared disk must be set as a switching disk.
Fsystem resource
For Storage Management Server transactions, register the mount point of the shared disk for shared data and the mount point of the shared disk with the directory for the repository.
For Storage Server transactions, register the mount point of the shared disk for shared data.
IP address resource
This resource is not necessary if a takeover IP address resource has already been created by the applicable userApplication.
Procedure resource
Specify if procedure resources are used.
Specify "SMGRPROC_Logical-Node-Name".
Command line resource
Specify of command line resources are used.
Specify the following values in each of the command line resource parameters:
Start script
/opt/FJSVswstf/cluster/clproc/acm_logical-node-name start
Stop script
/opt/FJSVswstf/cluster/clproc/acm_logical-node-name stop
Note
For information on how to create resources with PRIMECLUSTER, see "Appendix A Creating Resources and userApplications with Solaris-version PRIMECLUSTER".
The cluster setup command (8.2.1 stgclset_safe (Solaris edition SafeCLUSTER/PRIMECLUSTER environment setup command)) has already created the preparatory settings (ie, creating a state transition procedure and storing resources in the resource database) that are defined to set PRIMECLUSTER procedure resources.
Do not specify anything in the command line resource check script.
Set the following for the parameters specified as "script attributes" of the command line resource:
NULLDETECTOR:Yes
ALLEXITCODES:No
LIEOFFLINE:No
CLUSTEREXCLUSIVE:No
AUTORECOVER:No
MONITORONLIY:No
STANDBYCAPABLE:No
REALTIME:No
TIMEOUT:300
Create and register a cluster service
In SynfinityCluster, use the SynfinityCluster management view to create and register a cluster service for AdvancedCopy Manager.
Operation type: Standby
Register the following resources that compose the cluster service:
Takeover IP resource
This is not required if an existing takeover IP address resource is used.
Shared disk prepared for AdvancedCopy Manager
The shared disk must be set as a switching disk.
State transition procedure
The state transition procedure name is "SMGRPROC_Logical-Node-Name".
In PRIMECLUSTER, use the PRIMECLUSTER "userApplication Configuration Wizard" to create and register a userApplication for AdvancedCopy Manager.
Operation type: Standby
Register the following resources that comprise the userApplication:
The resources are created in Step 28
Note
Some information must be registered as switchover file system information. This includes the mount point and partition on the shared disk for shared data, and the mount point and partition for the shared disk where the repository directory is located. Please refer to a SynfinityCluster Installation/Administration Guide for the registration method or a PRIMECLUSTER Installation and Administration Guide for the registration method
The cluster setup command (8.2.1 stgclset_safe (Solaris edition SafeCLUSTER/PRIMECLUSTER environment setup command)) has already created the SynfinityCluster "Setting Up Resources (Application Resources)" (ie, creating a state transition procedure and storing resources in the resource database).
For information on how to create resources with PRIMECLUSTER, refer to "Appendix A Creating Resources and userApplications with Solaris-version PRIMECLUSTER".
Start the cluster services (userApplication) and the AdvancedCopy Manager.
Use the SynfinityCluster management view and the RMS main window of PRIMECLLUSTER to start the new cluster service (userApplication) or the cluster service (userApplication) stopped in step 4.
Back up the environment.
In order to prepare for accidental data deletion or corruption, back up the following environments.
Database
For Storage Management Server transactions, refer to "Saving a database," in the "ETERNUS SF AdvancedCopy Manager Operations Guide (Solaris)" and back up the created database area.
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 Management Server transaction and a Storage Server transaction.
Use the Web GUI screen of AdvancedCopy Manager to create an environment for a Storage Management Server transaction and a Storage Server transaction.
In using the Storage Server transaction function in a Storage Management Server transaction, 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 (Solaris)."