To install the custom Gateway image:
-
From the server that is running the DNS Primary Failover, run the following
commands from the terminal:
docker login quay.io Username: <quay_username> Password: <quay_password>
-
Review the ports used on the host machine that is installing the Gateway
instance using the following command:
sudo docker ps -a
In the following example output, ports 80 and 443 are used:STATUS PORTS NAMES Up 34 minutes 0.0.0.0:80->8000/tcp, 0.0.0.0:443->44300/tcp gateway_20_3_1
-
Run the custom Gateway image using the following command:
sudo docker run -d \ --name dns_master_failover \ -e BAM_IP=<IP Address> \ -e INTERVAL=60 \ -e PASSPHRASE=portal \ -p <http_port>:8000 \ -p <https_port>:44300 \ -e BAM_USER=portal \ -e RETRIES=3 \ -e IDS=<ID1,ID2> \ quay.io/bluecat/dns_master_failover:20.5.2
Where <http_port> and <https_port> represent different ports than those used by the Gateway instance. For example, you can set port 81 as the <http_port> and port 444 as the <https_port> values.Note: You need to curl localhost # needed to init the service