Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Setup the domain level replication between Swarm clusters via Cloud Gateway. The requirements for the setup are:

 

Source Swarm Cluster 

 

Target Swarm Cluster 

Cluster name 

scs-lab1.datacore.internal 

 

scs-lab2.datacore.internal 

adminDomain 

Lab1GatewayAdminDomain 

➠ 

 

Domain 

objstor.cloud.datacore.internal 

➠ 

 

Gateway IP 

172.16.33.16 

➠ 

172.16.34.16 

Gateway IP 

172.16.33.17 

172.16.34.17 

The adminDomain (e.g., Lab1GatewayAdminDomain) for storage must be mirrored (replicated) to remote target Swarm cluster where clients will access the storage domain. This is mandatory so that the IDSYS, Policy, XFORM, authentication tokens, and other tracking information used to manage the storage domain are available in the Gateways running on the remote target Swarm cluster.

To replicate a domain from the source Swarm cluster to target (remote) Swarm cluster, the adminDomain is auto-created when the first gateway is initialized. Ensure that adminDomain is also replicated to remote the site and to enable client requests (read, write, delete) to be performed at the remote cluster.

# 
# Client communications and handling 
#
[gateway]

adminDomain = Lab1GatewayAdminDomain 

threads = 200
# multipartSpoolDir = /var/spool/cloudgateway 

The adminDomain is located at SYSTEM TENENT.

Inside the SYSTEM TENENT, ensure that the adminDomain is replicated to the target remote cluster. 

Refer to the following steps for domain-level replication setup:

  1. Update /etc/caringo/cloudgateway/gateway.cfg on the gateway of remote Swarm cluster to enable it to accept replication from Source Swarm Gateway's IP Subnet.

    vi /etc/caringo/cloudgateway/gateway.cfg 
    
    # Set the following if this Gateway is the target of a push-style replication feed. 
    # See 'Replication Feeds' in the Swarm documentation for details. 
    # allowSwarmAdminIP = list,of,node,ips -or- all 
    allowSwarmAdminIP=172.16.33.0/24 
  2. Restart gateway service on the remote cluster.

  3. Log in to the source Swarm cluster storage UI (http://172.16.33.16:91/_admin/storage).

  4. Select Storage Management.

  5. Navigate to Cluster > Feeds and then click +Add.

  6. Select Replication Data Feed.

  7. Provide the below details:

    1. Name - Name of the domain to be replicated.

    2. Include Domains - Add one or multiple domain URLs as required. The domain name is always set unique for each Swarm cluster to prevent replication collision.

    3. Cluster Name - Name of the target cluster.

    4. Gateway IP Addresses - IP addresses of the target gateway. 

    5. Remote admin username and password

      1. Admin: dcadmin

      2. Password: datacore

  8. Click Save.

  • No labels