Executing the Preprocessing Script
This section describes how to set up the trust relationship between the active and standby servers.
Procedure
- Use PuTTY to log in to the active eSight server as the root user, go to the directory where the eSight software package is decompressed, and run the following commands:
This step is required when the operating system version is SUSE Linux 12 SP5.
# cd /opt/install/eSight
# sed -i 's/\[ $patchlevel != "4" ]/\[ $patchlevel != "4" -a $patchlevel != "5" ]/g' setup.sh
# sed -i 's/\[ $patchlevel != "4" ]/\[ $patchlevel != "4" -a $patchlevel != "5" ]/g' setup_silent.sh
- Run the following command to check whether the sed command is successfully run:
# cat /opt/install/eSight/setup.sh
# cat /opt/install/eSight/setup_silent.sh
- Use PuTTY to log in to the active eSight server as the root user and run the following commands to start the preprocessing script:
# cd /opt/install
# chmod u+x install_pre.sh
# ./install_pre.sh
During the configuration, you can run the undo command to modify the previous configuration if it is incorrect.
- Enter 2 to select remote-HA.
################################################## Welcome to eSight installation & configuration Wizard ################################################## Please select HA type, 1(local-HA) 2(remote-HA): >2
- Enter the system IP address and heartbeat and replication IP address of the active server as prompted.
Please input local system ip address: >10.10.10.1 Please input local heartbeat ip address: >192.168.100.10
- Configure the southbound and northbound service isolation as prompted.
Enter 'y' to apply the setting of South IP Address or 'n' to ignore (y/n):
- In the scenario where southbound services are isolated from northbound services, type y and press Enter. Enter the Collecting Information southbound IP address as prompted.
>y Please input local south system ip address: >10.10.11.1
- In the scenario where southbound services are not isolated from northbound services, type n and press Enter.
>n
- In the scenario where southbound services are isolated from northbound services, type y and press Enter. Enter the Collecting Information southbound IP address as prompted.
- Enter the system IP address and heartbeat IP address of the standby server as prompted. For details, see Collecting Information.
Please input remote system ip address: >10.10.10.2 Please input remote heartbeat ip address: >192.168.100.20
In the scenario where southbound services are isolated from northbound services, you also need to enter the southbound IP address of the standby server in Collecting Information.Please input remote south system ip address: >10.10.11.2
- Check whether the configurations are correct. If yes, enter y. If no, enter n and modify the configuration.
Enter 'y' to apply these values and proceed to the next step, or 'n' to return to make any changes (y/n): >y
- Enter the root user's password of the standby server as prompted.
Please input remote root password:
- Check whether the operation is successful. If the following information is displayed, the operation is successful:
The process takes about 5 minutes.
begin to check local parameters... check parameters finish begin init... init finish begin to check remote parameters... check remote parameters finish. Previous configuration finish