I want to implement a master-slave switchover

Hi, I’m really sorry I have a question. I want to implement a master-slave switchover. I have now deployed passbolt on both VMS, synchronized the sql files, configuration files, and gpg backups, installed keepalived, and configured a virtual ip (which will be configured with a domain name later). I want to access this domain name to ensure high availability of the passbolt service. Which configuration should I change for each passbolt? Now I modify the/etc/passbolt/passbolt fullbaseurl in PHP for the virtual IP, I need in the/etc/nginx/conf. d/passbolt. conf modify inside?
Checklist
I have read intro post: https://community.passbolt.com/t/about-the-installation-issues-category/12
I have read the tutorials, help and searched for similar issues
I provide relevant information about my server (component names and versions, etc.)
I provide a copy of my logs and healthcheck
I describe the steps I have taken to trouble shoot the problem
I describe the steps on how to reproduce the issue

Hi there,

Here’s what you need to adjust (I am guessing you are on a RPM distro):

  1. For the Passbolt configuration, the fullBaseUrl in /etc/passbolt/passbolt.php to use your domain name.
  2. For the Nginx configuration, you need to update the server_name directive in /etc/nginx/conf.d/passbolt_ssl.conf to match your domain name.
  3. Configure a simple check script for keepalived to verify Passbolt is working properly (not just that the VM is up) by checking the /healthcheck/status endpoint.

Hope it helps.

Hello! Thank you very much for your prompt reply! Now I have completed all these based on your suggestions. Then I want to achieve master-slave synchronization of mariadb. However, I initially installed mariadb through the dependency installation script in the documentation. Do I need to install the database independently without using the script at the beginning? Or how should I configure it? Looking forward to your reply