Professional Documents
Culture Documents
Follow the steps below to create a replication connection between the primary and secondary nodes.
Context
CAUTION:
Before performing operations in this chapter, make sure that all operations in previous chapters have been
performed on both the primary and secondary nodes.
Procedure
1. Open a terminal window. Choose Options > Font Size > Default, and then choose Options >
Window Size > 132x24 from the menu to adjust the terminal window accordingly.
2. Run the following command on the primary node and the secondary node:
# scp /.ssh/id_rsa.pub opposite_computer_IP_address:/tmp
The terminal displays:
The authenticity of host '129.9.1.2 (129.9.1.2)' can't be established.
RSA key fingerprint is d8:9c:57:e0:34:09:52:1e:cf:20:60:b9:86:89:9f:0b.
Are you sure you want to continue connecting (yes/no)?
NOTE:
The IP address and the key fingerprint are displayed according to the actual situation.
3. Enter yes.
The terminal displays:
Warning: Permanently added '129.9.1.2' (RSA) to the list of known hosts.
Password:
4. Enter the password of user root of the opposite computer.
The terminal displays:
id_rsa.pub 100%
|************************************************************************
*************************************| 219 00:00
5. After you perform the operations on the primary node and the secondary node, run the following
commands on both nodes:
6. # cd /tmp
# cat id_rsa.pub >> /.ssh/authorized_keys
7. Run the following command on the primary node and the secondary node:
# ssh local_IP_address
8. Enter yes, and press Enter.
9. Enter exit to exit SSH.
10. Optional: Run the following command on the primary node and the secondary node:
# ssh local_Data_replication_IP_address
NOTE:
If only one network card is used or if the IPMP feature is enabled in a computer where two network
cards are used, do not perform this step.
NOTE:
If only one network card is used or if the IPMP feature is enabled in a computer where two network
cards are used, do not perform this step.
13. Optional: Run the following command on the primary node and the secondary node:
# ssh opposite_computer_Data_replication_IP_address
NOTE:
If only one network card is used or if the IPMP feature is enabled in a computer where two network
cards are used, do not perform this step.
NOTE:
If only one network card is used or if the IPMP feature is enabled in a computer where two network
cards are used, do not perform this step.
NOTE:
If only one network card is used or if the IPMP feature is enabled in a computer where two network
cards are used, do not perform this step.
16. Run the following commands to replicate the data volume in the primary node:
17. # cd /opt/HWICMR/bin
# ./runtaskflow.sh rvg.tf
The terminal displays:
======= Select RVG =======
Select the data replication connection to create from the RVG name
list.
This program creates the data replication connection selected
according
to parameters defined in the rvgs.xml file.
1. datarvg
Select[1]:
18. Enter 1.
The terminal displays:
======= Enter the IP address =======
20. Run the following commands to configure GCO on the primary node.
21. # cd /opt/HWICMR/bin
# ./runtaskflow.sh config_gco.tf
The terminal displays:
======= Select Global Application =======
1. AppService
Select []:
22. Enter 1.
The terminal displays:
======= Enter IP Address =======
Enter []:
23. Enter the IP address of the master NIC of remote node (secondary node). For example, 129.9.1.2.
The terminal displays:
Configure Global Cluster Option (VCS)...........................Done
......
/var/ICMR/ICMR_LOG_20040418161630
24. Run the following commands on the primary and secondary nodes to restart the primary and
secondary nodes.
25. # sync;sync;sync;sync;sync
# shutdown -y -i6
Result
When all the above operations are complete, the T2000 HA system is successfully installed.