Installing the Manager software in a Multi-Manager configuration
This topic describes how to install the BMC Database Automation (BDA) Manager software in a mesh on several servers. BDA uses the Slony-I enterprise-level replication system to provide the mesh for the Multi-Manager configuration. For more information on Slony-I, see http://www.slony.info/.
Before you begin
Make sure that the following prerequisites are met:
- You have satisfied the OS requirements for Multi-Manager environments.
- You must have root user privileges to perform this installation.
- Slony-I must be compiled at your site (supported versions are 1.2 and 2.1). The following tools are required to compile Slony-I:
- GNU make version 3.76 and later
- An ISO/ANSI C compiler, such as GCC
- PostgreSQL source version 7.3.3 and later
To install the Manager software in a Multi-Manager configuration
Perform the following steps on every manager that will be in the mesh:
- Install the Manager software on the servers that will comprise the mesh using the steps in Installing-the-Manager-software-in-a-stand-alone-configuration.
- To ensure that the changes made in this procedure are saved, make sure the dmanager, mtd and postgresql services are running.
- Download the Slony source file:
- Red Hat Enterprise Linux 5 (RHEL 5):
wget http://slony.info/downloads/1.2/source/slony1-1.2.14.tar.bz2 - RHEL 6 and RHEL 7:
wget http://slony.info/downloads/2.1/source/slony1-2.1.1.tar.bz2 - RHEL 7.5 with PostgreSQL server 9.6.x:
wget http://main.slony.info/downloads/2.2/source/slony1-2.2.7.tar.bz2 - RHEL 6 and RHEL 7 with PostgreSQL server 11.x:
wget http://main.slony.info/downloads/2.2/source/slony1-2.2.7.tar.bz2
- Red Hat Enterprise Linux 5 (RHEL 5):
- (Only if you are installing on RHEL 7.5 with PostgreSQL server 9.6.x)
- Use the command PATH=$PATH:/usr/pgsql-9.6/bin/ to set the path variable for PostgreSQL 9.6.x.
- Ensure that gcc is installed. If not, then install gcc-4.8.x or later.
- Link the PostgreSQL files from the /usr/pgsql-9.6/bin directory:
ln -snf /usr/pgsql-9.6/bin/* /usr/bin/
- (Only if you are installing on RHEL 6 or RHEL 7 with PostgreSQL server 11.x)
- Use the command PATH=$PATH:/usr/pgsql-11/bin/ to set the path variable for PostgreSQL 11.x.
- Make sure that gcc is installed. If not, then install gcc-4.8.x or later.
- Link the PostgreSQL files from the /usr/pgsql-11/bin directory:
ln -snf /usr/pgsql-11/bin/* /usr/bin/
- To unpack, compile, and install Slony, type the following commands and press <Enter>:
- tar xvjf <downloaded file from previous step>
- cd <extracted directory>
- ./configure --with-pgconfigdir=`which pg_config` --with-perltools=/var/lib/pgsql/data/slony
- make
- make install
- Link the Slony initialization script from the /etc/init.d directory:
ln -s /app/clarity/manager_scripts/bin/slony.init /etc/init.d/slony Grant remote login privileges to the Multi-Manager postgres users for all managers in the mesh:
- If the Manager is to be used as a Content manager:
- Open the /var/lib/pgsql/data/pg_hba.conf file in a text editor.
Add the the following lines at the beginning of the file:local GridApp megamesh_config trust
host GridApp megamesh_config 127.0.0.1/32 trusthost GridApp megamesh_config ::1/128 trust- Add the following lines under the lines that you added in the previous step (two-line entries for each Satellite manager in the mesh):
host all megamesh <satellite1 IP> 255.255.255.255 password
host all megamesh_config <satellite1 IP> 255.255.255.255 password - Save the /var/lib/pgsql/data/pg_hba.conf file.
- Open the /var/lib/pgsql/data/postgresql.conf file in a text editor.
- Add the following line at the beginning of the file:
listen_addresses = '*' - Save the /var/lib/pgsql/data/postgresql.conf file.
- Restart the postgresql service:
service postgresql restart
For restarting the postgresql-9.6 service:
service postgresql-9.6 restartFor restarting the postgresql-11 service:
service postgresql-11 restart - (BDA version 8.9.01 and later) Restart the middle tier service:
service mtd restart
- If the Manager is to be used as a Satellite manager:
- Open the /var/lib/pgsql/data/pg_hba.conf file in a text editor.
Add the the following lines at the beginning of the file:local GridApp megamesh_config trust
host GridApp megamesh_config 127.0.0.1/32 trusthost GridApp megamesh_config ::1/128 trust- Add the following lines immediately under the lines that you added in the previous step:
host all megamesh <content manager IP> 255.255.255.255 password
host all megamesh_config <content manager IP> 255.255.255.255 password Add the following lines immediately under the lines that you added in the previous step:
host all megamesh <satellite IP> 255.255.255.255 password
host all megamesh_config <satellite IP> 255.255.255.255 password
- Save the /var/lib/pgsql/data/pg_hba.conf file.
- Open the /var/lib/pgsql/data/postgresql.conf file in a text editor.
- Add the following line at the beginning of the file:
listen_addresses = '*' - Save the /var/lib/pgsql/data/postgresql.conf file.
- Restart the postgresql service:
{{code language="none"}}
service postgresql restart
{{/code}}
For restarting the postgresql-9.6 service:
service postgresql-9.6 restart
For restarting the postgresql-11 service:
service postgresql-11 restart - (BDA version 8.9.01 and later) Restart the middle tier service:
service mtd restart
- If the Manager is to be used as a Content manager:
To access the GUI by using the https protocol, install the Apache mod_ssl package on all servers where you have installed the Manager software, and run the following command:
{{code language="none"}}
/app/clarity/var/www/mgmt/bin/enable_ssl.sh
{{/code}}
The software is now installed in the /app/clarity/dmanager directory and by default, GUI is available on port 80 (http protocol) and port 443 (https protocol) of the Manager server. For instructions to access the GUI, see Accessing-the-interface.
Where to go next