CMS1 and
CMS2 are both running Database,
CMS1 is the master node and CMS2 is the slave.
CMS3 is the Core CallBridge Not-Co-located Database
On the Primary Node CMS1, run the pki selfsigned dbca CN:collab.com command.
On the Primary Node CMS1, create a server certificate for database server using the pki csr dbserver CN:cms1.collab.com subjectAltName:cms2.collab.com command.
On the Primary Node CMS1, create a client certificate for database client using the pki csr dbclient CN:postgres command.
On the Primary Node CMS1, use dbca certificate to sign the server certificate dbserver using the pki sign dbserver dbca command.
On the Primary Node CMS1, use dbca certificate to sign the client certificate dbclient using the cert pki sign dbclient dbca command.
Copy the dbclient.crt certificate with the corresponding private key to servers CMS2 and CMS3.
Copy the dbserver.crt certificate with the corresponding private key to CMS2.
Copy the dbca.crt certifcate to CMS2 and CMS3.
CMS2.
CMS3.
On the Primary Node CMS1, run the database cluster certs dbserver.key dbserver.crt dbclient.key dbclient.crt dbca.crt command. This uses the dbca.crt as the root ca-cert .
On the Primary Node CMS1, run the database cluster localnode a command.
On the Primary Node CMS1, run the database cluster initialize command.
On CMS2 (co-located database), run the database cluster certs dbserver.key dbserver.crt dbclient.key dbclient.crt dbca.crt command.
On CMS3 (not co-located database), run the database cluster certs dbclient.key dbclient.crt dbca.crt command.
On CMS2 (co-located database), run the following commands to JOIN CMS2 to the Database Cluster.
- run database cluster localnode a
- run database cluster join
On CMS3 (not co-located database), run the following command to CONNECT CMS3 to the Database Cluster.
- run database cluster localnode a
- run database cluster connect
Verify the Database Cluster Status on CMS1, CMS2 and CMS3.