Overview

Users can register multiple gateways in multiple tenants with a single cluster (Not in the same tenants). Make sure that a single server has enough resources. If it is ISO/OVA based deployment, ensure that the HA cluster is initialized with more load balancer IPs.
Users can create multiple Kubernetes namespaces, install multiple gateways, and register with multiple tenants.

bootstrap

As shown in the above figure, gateway-service1 is running on one Kubernetes namespace on top of the Kubernetes cluster and registered to Tenant A. Similarly, gateway-service2 is running on another Kubernetes namespace that is registered to Tenant B, and gateway-service3 is running on another Kubernetes namespace that is registered to Tenant C.

Create Namespace

To register multiple gateways in the same VM, create a namespace in Kubernetes.

kubectl create namespace <name>
Example:
bootstrap

Register gateway

  1. To register multiple gateways to the OpsRamp cloud from a single VM, use the following command with namespace.

    opsramp-collector-start install --url {cloud_url} --key {auth_token} --namespace {namespace}
    Example: Gateway-1
    bootstrap
    Gateway-2
    bootstrap

  2. Now, verify the nextgen-gw-0 pods using the following command.

bootstrap
3. Check the tunnel status of gateways.

Example: Gateway-1

bootstrap

Gateway-2

bootstrap