How to share the same database between multiple Foreman Servers?

Hi Guys,

Today I have installed the foreman on two server using below foreman-installer-- and i am able to login from both node but using the first node foreman generated credentials. and also all the data whatever I am creating from the UI is visible from both node. ( so i am assuming it is working in Active /Active) .

can please someone let me know if this is the correctly installed & configured.

foreman-installer --enable-foreman --enable-foreman-cli --enable-foreman-proxy --enable-foreman-plugin-bootdisk --enable-foreman-plugin-setup --enable-puppet --puppet-server-ca=true --puppet-server-foreman-url=https://foreman-server1.asia-east1-a.c.foreman-deployment.internal --foreman-proxy-puppetca=true --foreman-proxy-puppet=true --foreman-proxy-tftp=false --foreman-proxy-foreman-base-url=https://foreman-server1.asia-east1-a.c.foreman-deployment.internal --foreman-proxy-trusted-hosts=foreman-server1.asia-east1-a.c.foreman-deployment.internal --foreman-proxy-oauth-consumer-key="UNEUcr33ki8x7MMMeo6P3tYaZTvpygfn" --foreman-proxy-oauth-consumer-secret="owqpJsQcCPKKW4f5eSXNMBy68kg6dAU5" --foreman-proxy-bmc-ssh-powerstatus=true --foreman-proxy-dhcp-managed=true --foreman-proxy-dns-managed=true --foreman-proxy-freeipa-remove-dns=true --foreman-proxy-logs=true --foreman-proxy-manage-puppet-group=true --foreman-proxy-manage-sudoersd=true --foreman-proxy-register-in-foreman=true --foreman-proxy-ssl=true --foreman-db-manage=true --foreman-plugin-memcache-compress=true --foreman-db-manage=false --foreman-db-host=172.30.32.5 --foreman-db-database=foreman-db --foreman-db-username=foreman-admin --foreman-db-password=xxxx

 foreman-installer --enable-foreman --enable-foreman-cli  --enable-foreman-proxy --enable-foreman-plugin 
-bootdisk --enable-foreman-plugin-setup --enable-puppet --puppet-server-ca=true --puppet-server-foreman-url=https://foreman-server1.asia-east1
-a.c.foreman-deployment.internal --foreman-proxy-puppetca=true --foreman-proxy-puppet=true --foreman-proxy-tftp=false --foreman-proxy-foreman-
base-url=https://foreman-server1.asia-east1-a.c.foreman-deployment.internal --foreman-proxy-trusted-hosts=foreman-server1.asia-east1-a.c.forem
an-deployment.internal --foreman-proxy-oauth-consumer-key="UNEUcr33ki8x7MMMeo6P3tYaZTvpygfn" --foreman-proxy-oauth-consumer-secret="owqpJsQcCP
KKW4f5eSXNMBy68kg6dAU5" --foreman-proxy-bmc-ssh-powerstatus=true --foreman-proxy-dhcp-managed=true --foreman-proxy-dns-managed=true --foreman-
proxy-freeipa-remove-dns=true --foreman-proxy-logs=true --foreman-proxy-manage-puppet-group=true --foreman-proxy-manage-sudoersd=true --forema
n-proxy-register-in-foreman=true --foreman-proxy-ssl=true --foreman-db-manage=true --foreman-plugin-memcache-compress=true --foreman-db-manage
=false --foreman-db-host=172.30.32.5 --foreman-db-database=foreman-db --foreman-db-username=foreman-admin  --foreman-db-password=xxxx