Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Initialize on 1st gateway

To initialize Swarm cluster on 1st Cloud gateway, refer to the following steps:

Info

Swarm gateway is initialized only on the first gateway; for all sesequent gateways, initialization is not required.

  1. Run /opt/caringo/cloudgateway/bin/initgateway to initialize Swarm cluster on 1st gateway and to create an administrative domain e.g., adminDomain = Lab1GatewayAdminDomain.

  2. Start Cloud gateway and ensure that the gateway service running on the system boot.

    Code Block
    languagebash
    systemctl start cloudgateway 
    systemctl enable cloudgateway 

Setup 2nd or other gateways 

...

Setup Additional Gateways

[CALLOUT] These steps assume that the first Gateway has been fully configured and initialized. (perhaps a link is needed to that page where we discuss those steps). 

  1. Repeat install gateway on the additional machines by referring to steps 1 to 13.

  2. Copy configure files from 1st node Gateway before starting gateway services.

    Code Block
    languagebash
    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 
  3. Start gateway services and then ensure that they are running on the system boot.

    Code Block
    languagebash
    systemctl start cloudgateway 
    systemctl enable cloudgateway

...

Note - No further Gateway initialization is needed for these additional Gateway instances.