First, set up PostgresSQL database replication. Then do the following:
- For each of the two JetPatch Manager Console:
- Install the JetPatch Manager Console.
- Stop JetPatch Agent Manager services:
/etc/init.d/tomcat_watchdog stop
/etc/init.d/tomcat stop
/etc/init.d/nginx stop
- Open the following file for editing:
/usr/share/tomcat/default/conf/intigua.properties
- Replace the following three keys' values with the correct values, on each server for its respective database:
- db.url
- db.username
- db.password
- On the active JetPatch Manager Console, start JetPatch Agent Manager services:
/etc/init.d/tomcat_watchdog start
/etc/init.d/tomcat start
/etc/init.d/nginx start
- On the active JetPatch Manager Console, install rsync by running:
yum install -y rsync
- On the standby server, do the following:
- Place the script you received from JetPatch Agent Manager in:
/usr/share/intigua
- Install rsync by running:
yum install -y rsync
- Establish a secure, trusted connection to the active server (to enable rsync to retrieve data) by running:
ssh-keygen
ssh-copy-id root@<active>
where <active> is the active server's resolvable name or IP address.
You will be prompted for the active server's root password.
- Create the following directory:
/etc/intigua
- Configure synchronization by running:
./sync.py --src=<active> -–createconfig
where <active> is the Active server's resolvable name or IP address.
- Copy intigua-sync to:
/etc/init.d
- Start synchronization by running:
service intigua-sync start
- Optionally, test synchronization by running:
./sync.py --src=<active>
where <active> is the active server's resolvable name or IP address.
- Place the script you received from JetPatch Agent Manager in:
- Check that the script is running, and that its output shows data being synchronized.
- Copy the following file from the active server to the standby server:
/usr/share/tomcat/default/conf/intigua.secret
- Log into the active server's Console, and configure connector management services' Communication setting to the active JetPatch Manager Console's hostname (not IP address). Make sure this setting is deployed to all endpoints.
Comments
0 comments
Please sign in to leave a comment.