Begin by setting hostnames for each machine. For this setup, you will need to assign the following names:

  • Assign machine 1 the name APP1 and it will be the PRIMARY Siemplify node.
  • Assign machine 2 the name APP2 and it will be the SECONDARY Siemplify node.
  1. Log in to an SSH session for machine 1 as shown below and put password when prompted.
    ssh usernameIP@ e.g ssh devs@172.30.203.92
  2. Once you are connected remotely, set the hostname of the machine as follows:
    hostnamectl set-hostname APP1
  3. Log in to an SSH session for machine 2 as shown below and put password when prompted.
    ssh usernameIP e.g ssh@ devs@172.30.203.93
  4. After you are connected remotely, set the hostname of the machine as follows:
    hostnamectl set-hostname APP2
  5. Configure each host to have the address information of the HA-Siemplify deployment infrastructure.
    The network information is contained in the /etc/host file so you need to configure it for each machine. This must be done as the root user which can be changed by using the command:
    sudo su -
    1. On machine 1 open the* /etc/hosts* file as follows:
      vi /etc/hosts 
    2. Add the following information to the file:
      db1_ip db1_hostname
      db2_ip  db2_hostname
      master_ip  master_hostname_application_Siemplify_server1
      slave_ip slave_hostname_application_Siemplify_server2

      Example:
      172.30.203.90 srv-db1
      172.30.203.91 srv-db2
      172.30.203.92 app1
      172.30.203.93 app2

    3. For machine 2, repeat the same steps.
      vi /etc/hosts
    4. Add the following information on the file:
      db1_ip  db1_hostname
      db2_ip db2_hostname
      master_ip master_hostname_application_Siemplify_server1
      slave_ip slave_hostname_application_Siemplify_server2

      Example:
      172.30.203.90 srv-db1
      172.30.203.91 srv-db2
      172.30.203.92 app1
      172.30.203.93 app2