Initialize on 1st gateway
To initialize Swarm cluster on 1st Cloud gateway, refer to te following steps:
Run
/opt/caringo/cloudgateway/bin/initgateway
to initialize Swarm cluster on 1st gateway and to create an administrative domain e.g., adminDomain = hkLab1GatewayAdminDomain.Start Cloud gateway and ensure that the gateway service running on the system boot.
systemctl start cloudgateway systemctl enable cloudgateway
Setup 2nd or other gateways
Repeat install cloud gateway. Steps 1 to 13, WebUI on other nodes, copy configure files from 1st node before starting gateway services.
scp root@172.16.33.17:/etc/caringo/cloudgateway/gateway.cfg /etc/caringo/cloudgateway/gateway.cfg scp root@172.16.33.17:/etc/caringo/cloudgateway/idsys.json /etc/caringo/cloudgateway/idsys.json scp root@172.16.33.17:/etc/caringo/cloudgateway/policy.json /etc/caringo/cloudgateway/policy.json
Now, you can start gateway services via
systemctl start cloudgateway
command.