Configure database replication on your Layer 7 Gateway servers by creating a Master-Master configuration.
Follow these steps:
service ssg stop
Note: You may see the following message:
Shutting down Gateway Services: [FAILED]
This simply means that the gateway service had not been started. Continue with database replication.
cd ~/download; chmod +x add_slave_user.sh; chmod +x create_slave.sh
./add_slave_user.sh
Important! Enter known or default values for configurations that are not specified in this section.
./add_slave_user.sh
Important! Enter known or default values for configurations that are not specified in this section.
./create_slave.sh
Note: This script uses port 3306. If required, change the port to 3307.
Important! Do not clone the database.
./create_slave.sh
Note: This script uses port 3306. If required, change the port to 3307.
Important! Do not clone the database.
mysql -p -e "show slave status\G"
Note: -p is required to prompt for root password.
Enter 7layer for the password.
|
Copyright © 2013 CA.
All rights reserved.
|
|