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 te following steps:

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

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

    Code Block
    systemctl start cloudgateway 
    systemctl enable cloudgateway 

Setup 2nd or other gateways 

...

Note

Mandatory to Initialize the First Gateway

It is assumed that the first gateway has been fully configured and initialized. Refer to https://perifery.atlassian.net/wiki/spaces/public/pages/2919006213/Swarm+Gateway#Cluster-Initialization and then set additional gateways using the below steps if not:

  1. Repeat https://perifery.atlassian.net/wiki/spaces/public/pages/2919006213/Swarm+Gateway#Install-Swarm-Gateway on the additional machines by referring to steps 1 to 13.

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

    Code Block
    languagebash
    scp root@172.16.33.17:/etc/caringo/cloudgateway/gateway.cfg /etc/caringo/cloudgateway/gateway.

...

  1. cfg 
    scp root@172.16.33.17:/etc/caringo/cloudgateway/idsys.json /etc/caringo/cloudgateway/idsys.

...

  1. json
    scp root@172.16.33.17:/etc/caringo/cloudgateway/policy.json /etc/caringo/cloudgateway/policy.

...

Now, you can start gateway services via systemctl start cloudgateway command. 

...

  1. json
  2. Start gateway services and verify they are running on the system boot.

    Code Block
    languagebash
    systemctl start cloudgateway
    systemctl enable cloudgateway
Info

Info

No further gateway initialization is needed for these additional Gateway instances.

Tip

Next, Install Swarm Storage Management UI .