To set up a Managed Server transaction, use the following procedure:
Point
For explanatory purposes, the <Examples of command execution> in this section use the following settings:
<Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data> : /acmdata01
Logical node name : acmnode1
Restart the system.
Reboot all primary and secondary nodes that create Managed Server transactions.
Check the preparations.
Check each item of "A.1.1 Resources required for Solaris/Linux/HP-UX version", for the cluster transaction to be set up.
To add a Managed Server transaction to an existing cluster transaction, stop the cluster transaction.
Refer to your cluster software manuals for the procedure for stopping cluster transactions.
Execute "Customization procedure for primary node" in a primary node.
Execute "Customization procedure for secondary node" in a secondary node A.
For the cascade topology system or the priority transfer system, execute "Customization procedure for secondary node" in a secondary node B.
Create a cluster transaction and resources on the primary node.
Refer to your cluster software manuals for details.
Register the AdvancedCopy Manager service to the cluster software on the primary node.
Refer to "A.3 Registration of AdvancedCopy Manager service" for more information.
Start the AdvancedCopy Manager service registered to the cluster software on the primary node.
Back up the environment on the primary node.
In order to prepare for accidental data deletion or corruption, back up the data environments on the shared disk for AdvancedCopy Manager 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
Customization procedure for primary node
For Managed Server transactions, mount the shared disk.
Mount the shared disk for the AdvancedCopy Manager shared data on the primary node.
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.
Communication daemon for transactions : stgxfws_logicalNodeName
Note
Register the same port number on the primary node and all secondary nodes.
Specify the same value as Swstgnode in "Table A.7 Setting items" for logicalNodeName.
Edit the /opt/FJSVswstf/cluster/swcluster.ini file. Refer to "swcluster.ini" for information on how to edit.
Create directories on the shared disk for AdvancedCopy Manager shared data.
Create each directory in below structure:
<Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data>
+---/etc
| ---/opt
| ---/swstorage
+---/var
---/opt
---/swstorage |
Example
[root@m40001]# mkdir -p /acmdata01/etc/opt/swstorage [root@m40001]# chmod -R 755 /acmdata01/etc/opt/swstorage [root@m40001]# chown -R root:root /acmdata01/etc/opt/swstorage [root@m40001]# mkdir -p /acmdata01/var/opt/swstorage [root@m40001]# chmod -R 755 /acmdata01/var/opt/swstorage [root@m40001]# chown -R root:root /acmdata01/var/opt/swstorage |
Create the <Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data>/etc/opt/swstorage/clsetup.ini file. Refer to "clsetup.ini" for information on how to edit.
Copy the /etc/opt/swstorage/swstg.ini file.
Copy "swstg.ini" from the source directory to the directory under the mount point of the shared disk for AdvancedCopy Manager shared data.
Source directory of copying | Target directory of copying |
---|---|
/etc/opt/swstorage | <Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data>/etc/opt/swstorage |
Edit the <Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data>/etc/opt/swstorage/swstg.ini file. Refer to "swstg.ini" for information on how to edit.
For the Management Server transactions, edit the /etc/opt/swstorage/swstg.ini file. Refer to "swstg.ini" for information on how to edit.
Create symbolic links on the shared disk for AdvancedCopy Manager shared data.
Linked source directory | Link target directory (symbolic link file) |
---|---|
<Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data>/etc/opt/swstorage | /etc/opt/swstorage/logicalNodeName |
Linked source directory | Link target directory (symbolic link file) |
---|---|
<Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data>/var/opt/swstorage | /var/opt/swstorage/logicalNodeName |
Note
Specify the same value as Swstgnode in "Table A.7 Setting items" for logicalNodeName.
Example
[root@m40001]# ln -s /acmdata01/etc/opt/swstorage /etc/opt/swstorage/acmnode1 [root@m40001]# ln -s /acmdata01/var/opt/swstorage /var/opt/swstorage/acmnode1 |
Execute the following commands in the given sequence:
Sequence of execution | Command | Type of server that requires command execution |
---|---|---|
1 | Management Server transactions | |
2 | Management Server transactions | |
3 | clset_FJSVswsrp(set/cancel command for replication environment) | Management Server transactions |
4 | Management Server transactions |
Example
For Management Server transactions
[root@m40001]# /opt/FJSVswstf/bin/clset_FJSVswstf -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary clset_FJSVswstf completed [root@m40001]# /opt/FJSVswsts/bin/clset_FJSVswsts -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary clset_FJSVswsts completed [root@m40001]# /opt/FJSVswsrp/bin/clset_FJSVswsrp -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary clset_FJSVswsrp completed [root@m40001]# /opt/FJSVswstf/bin/StgDbSetup -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary |
Running the StgDbSetup command starts configuration of the shared environment.
Check the displayed contents, 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 |
Specify the DB device.
The window shown below opens. Enter the directory name for the DB file system 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 |
Enter the following directory name and data size.
Directory name for the RDB dictionary
Directory name for the RDB log file
Directory name for the DB space used to save repository data
Repository data Size
Confirm the continuation of processing.
After the window for confirming the continuation of processing opens, 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 |
Point
For repository access user, the user configured in "3.2 Installation for Solaris/Linux versions" is used.
To change the user name and password of repository access user, create the cluster environment, and reconfigure them referring to "12.2.4 Deleting the user/changing the password specified for the repository access user".
For Managed Server transactions
[root@m40001]# /opt/FJSVswstf/bin/clset_FJSVswstf -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary clset_FJSVswstf completed [root@m40001]# /opt/FJSVswsts/bin/clset_FJSVswsts -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary clset_FJSVswsts completed [root@m40001]# /opt/FJSVswsrp/bin/clset_FJSVswsrp -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Primary clset_FJSVswsrp completed |
For Managed Server transaction, dismount the shared disk.
Dismount the shared disk for AdvancedCopy Manager shared data on the primary node.
Customization procedure for secondary node
For Managed Server transactions, mount the shared disk.
Mount the shared disk for the AdvancedCopy Manager shared data on the secondary node.
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.
Communication daemon for transactions : stgxfws_logicalNodeName
Note
Register the same port number on the primary node and all secondary nodes.
Specify the same value as Swstgnode in "Table A.7 Setting items" for logicalNodeName.
Edit the /opt/FJSVswstf/cluster/swcluster.ini file. Refer to "swcluster.ini" for information on how to edit.
For the Management Server transactions, edit the /etc/opt/swstorage/swstg.ini file. Refer to "swstg.ini" for information on how to edit.
Create symbolic links on the shared disk for AdvancedCopy Manager shared data.
Linked source directory | Link target directory (symbolic link file) |
---|---|
<Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data>/etc/opt/swstorage | /etc/opt/swstorage/logicalNodeName |
Linked source directory | Link target directory (symbolic link file) |
---|---|
<Mountpoint-of-shared-disk-for-AdvancedCopy-Manager-shared-data>/var/opt/swstorage | /var/opt/swstorage/logicalNodeName |
Note
Specify the same value as Swstgnode in "Table A.7 Setting items" for logicalNodeName.
Example
[root@m40002]# ln -s /acmdata01/etc/opt/swstorage /etc/opt/swstorage/acmnode1 [root@m40002]# ln -s /acmdata01/var/opt/swstorage /var/opt/swstorage/acmnode1 |
Execute the following commands in the given sequence:
Sequence of execution | Command | Type of server that requires command execution |
---|---|---|
1 | Management Server transactions | |
2 | Management Server transactions | |
3 | clset_FJSVswsrp(set/cancel command for replication environment) | Management Server transactions |
4 | Management Server transactions |
Example
For Management Server transactions
[root@m40002]# /opt/FJSVswstf/bin/clset_FJSVswstf -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary clset_FJSVswstf completed [root@m40002]# /opt/FJSVswsts/bin/clset_FJSVswsts -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary clset_FJSVswsts completed [root@m40002]# /opt/FJSVswsrp/bin/clset_FJSVswsrp -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary clset_FJSVswsrp completed [root@m40002]# /opt/FJSVswstf/bin/StgDbSetup -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary |
Running the StgDbSetup command starts configuration of the shared environment.
Check the displayed contents, 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 Managed Server transactions
[root@m40002]# /opt/FJSVswstf/bin/clset_FJSVswstf -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary clset_FJSVswstf completed [root@m40002]# /opt/FJSVswsts/bin/clset_FJSVswsts -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary clset_FJSVswsts completed [root@m40002]# /opt/FJSVswsrp/bin/clset_FJSVswsrp -f /acmdata01/etc/opt/swstorage/clsetup.ini -t Secondary clset_FJSVswsrp completed |
For Managed Server transaction, dismount the shared disk.
Dismount the shared disk for AdvancedCopy Manager shared data on the secondary node.