Initial Setup
After both nodes and MetaDefender MFT HA Controller™ are installed on their respective hosts, an initial configuration is required to activate MetaDefender MFT HA Controller™.
In order to do that, the following steps needs to be done:
Collect the following information on both nodes:
- Application Address (e.g.
http://192.168.100.101:8010
) - Node API key: This is located in the following file on the node's host:
<mft-install-dir>\Services\node-manager.appsettings.json
- Application Address (e.g.
Update the MetaDefender MFT HA Controller™ Configuration
- Navigate to the installation directory of the MetaDefender MFT HA Controller™.
- Open
appsettings.json
file - Under HighAvailabilitySettings -> Nodes section, populate the following fields using the information collected from each node:
- ApplicationAddress
- NodeManagerAddress
- ApiKey
Restart the MetaDefender MFT High Availability Controller™ Service
Following a successful installation and startup, the MetaDefender MFT HA Controller™ will be listening on the configured port - port 8100 by default - which is accessible both locally via
http://127.0.0.1:8100
and remotely from external hosts, depending on network configuration and firewall settings.
See the Configuration page for more configuration details.
Example
Let's assume we installed both nodes and the HA controller. we collected the following data from the nodes:
Node name | Node address | API Key |
---|---|---|
Node1 | http://192.168.100.101:8010 | "API key 1" |
Node2 | http://192.168.100.102:8010 | "API key 2" |
Then fill in the ApplicationAddress
, NodeManagerAddress
and ApiKey
fields for both Nodes section the following way, and restart the MetaDefender MFT HA Controller™ service.
{
"HighAvailabilitySettings": {
"HealthCheckInterval": "00:00:01",
"NumberOfFailedHealthChecksBeforeFailover": 2,
"NodeManagerClientTimeout": "00:00:30",
"ApplicationClientTimeout": "00:02:00",
"Nodes": [
{
"Name": "MFT1",
"ApplicationAddress": "http://192.168.100.101:8010",
"NodeManagerAddress": "http://192.168.100.101:8010/node_manager/",
"ApiKey": "API key 1"
},
{
"Name": "MFT2",
"ApplicationAddress": "http://192.168.100.102:8010",
"NodeManagerAddress": "http://192.168.100.102:8010/node_manager/",
"ApiKey": "API key 2"
}
]
},
// ....
}