Adding Hubs and Gateways
This procedure describes how to add additional Hubs and Gateways to your Control-M MFT Enterprise environment. This ensures that file transfers between external and internal users are successful even if one Hub or Gateway is down.
BMC recommends to set up at least three Hubs and two Gateways.
Before You Begin
Ensure that you have completed all the setup procedures, as described in Setting Up the Control-M MFT Enterprise Environment.
Begin
-
From the Environment tab, do one or more of the following:
- To add a Hub, do the following:
-
Click Add Hub.
-
From the Add Agent drop-down list, select one of the available Agents to serve as a Hub, and then click Save.
-
All Agents must be installed on the same platform (Windows or Linux) and defined in the same host group.
-
After a new Hub is added to the environment, its connection profiles, PGP, and MVS templates are overwritten with the existing host data. BMC recommends that you add a new MFT host to the environment.
-
To add a Gateway, do the following:
-
Click Add Gateway.
-
Type the hostname and the port where the Gateway is installed, and then click Add.
-
Repeat these steps to add additional Hubs and Gateways.
Connecting to a Centralized Database
This procedure describes how to connect an external centralized database to a Hub in a Control-M MFT Enterprise High Availability environment. You only need to perform this procedure when you add a second Hub, as described in Adding Hubs and Gateways.
You can connect to either a BMC-provided Control-M MFT Enterprise Database or an existing external PostgreSQL 15 or higher.
Before You Begin
-
Ensure that you have completed all setting up MFT Enterprise Site with a single Hub, as described in Setting Up High Availability for Control-M MFT Enterprise.
-
Verify that Control-M/EM 9.0.27 or higher is installed. If Control-M/EM 9.0.21-9.0.22 is installed, you can only add a second Hub for High Availability via Control-M Automation API 9.0.27 or higher, as described in config mfte:site:cluster:hub::add.
-
Install a BMC-provided Control-M MFT Enterprise Database or an external PostgreSQL 15 or higher, as described in Centralized Database Installation.
-
If you want to change the listening port for the Control-M MFT Enterprise Database server from the default port 9092 to another port, you can change it, as described in Changing the Control-M MFT Enterprise Database Server Listening Port.
Begin
-
From the Environment tab, click Add Hub.
The Connect External Database and Add Hub dialog box appears.
-
Define the required parameters, as described in Centralized Database Parameters.
-
Click Add.
Centralized Database Parameters
The following table describes the parameters that connect a Hub to a centralized database.
|
Parameter |
Description |
|---|---|
|
Database Type |
Determines one of the following types of centralized databases:
|
|
Database Name |
Defines the name of the database where the Hubs store the shared configuration. If you connect Control-M MFT Enterprise Database, you do not need to create the database manually since it is automatically created with this name when you add the Hub. If you connect an external PostgreSQL database, you must provide the name of the database that you created manually before you connect it to the Hub. Rules:
|
|
Database Host (PostgreSQL) |
Defines the external PostgreSQL database server hostname. Rules:
|
|
Port (PostgreSQL) |
Determines the port number to connect to the external PostgreSQL database server. Valid Values: 1-65535 (numeric values only) Default: 5432 |
|
Primary Database Host (Control-M MFT Enterprise Database) |
Defines the primary external Control-M MFT Enterprise Database server hostname. Rules:
|
|
Port (Control-M MFT Enterprise Database) |
Determines the port number to connect to the external primary Control-M MFT Enterprise Database server. Valid Values: 1-65535 (numeric values only) Default: 9092 |
|
Secondary Database Host (Control-M MFT Enterprise Database) |
(Optional) Defines the secondary external Control-M MFT Enterprise Database server hostname. Rules:
|
|
Port (Control-M MFT Enterprise Database) |
(Optional) Determines the port number to connect to the external secondary Control-M MFT Enterprise Database server. Valid Values: 1-65535 (numeric values only) Default: 9092 |
|
Database Username |
Defines the username to connect Control-M MFT Enterprise to the database. If you connect the Control-M MFT Enterprise Database, you do not need to create the user manually since it is automatically created when you add the Hub. If you connect an external PostgreSQL database, you must provide the username of the database that you created manually before you connect it to the Hub. Rules:
|
|
Database Password |
Defines the password to connect Control-M MFT Enterprise to the database. If you connect the Control-M MFT Enterprise Database, you do not need to configure the password manually since it is automatically configured when you add the Hub. If you connect an external PostgreSQL database, you must provide the password for the database that you created manually before you connect it to the Hub. Rules:
|
|
Select Agent |
Determines which available Agent is designated as a Hub. |
Changing the Control-M MFT Enterprise Database Server Listening Port
This procedure describes how to change the listening port of the Control-M MFT Enterprise Database server.
Begin
-
Stop the Control-M MFT Enterprise Database service, as follows:
-
Windows: Stop the Control-M Managed File Transfer Enterprise Database service.
-
Linux: Run the following command to stop the mftedb service:
systemctl stop mftedb.service
-
-
Open the mftedb_startup.properties configuration file as a user with administrator or root privileges from one of the following directories:
-
Windows: <local drive with Control-M MFT Enterprise Database>\Program Files\BMC Software\MFT Enterprise Database\data
-
Linux: /opt/bmc/mftedb/data
-
-
Change the value of db_port parameter and save the change. The default port is 9092.
-
Start the Control-M MFT Enterprise Database service, as follows:
-
Windows: Start the Control-M Managed File Transfer Enterprise Database service.
-
Linux: Run the following command to start the mftedb service:
systemctl start mftedb.service
-
