Create a Repo with High Availability on two Logpoints in the Distributed Logpoint setup

Follow the steps mentioned below to create a repo on two LogPoints in the Distributed LogPoint setup.

Create an Open Door connection in the First LogPoint

  • Execute the OpenDoor - Create API in the Director Console API.

Create a Distributed LogPoint Setup in the Second LogPoint

  1. Execute the OpenDoor - List API in the first LogPoint to obtain the value of the network parameter. Use this value in the private_ip parameter of the DistributedLogPoints - Create API in the second LogPoint.

  2. Execute the DistributedLogPoints - Create API.

Create a Repo in the Second LogPoint

  • Execute the DistributedLogPoints - List API to obtain the value of the private_ip parameter. Use this value in the ha_li parameter of the Repos - Create API.

Sample API Requests and Responses for Creating a Repo with High Availability on Two LogPoints in the Distributed LogPoint Setup

Create an Open Door Connection in the First LogPoint (LP1)

  • Execute the OpenDoor - Create API in the Director Console API of the first LogPoint.

    Config API:
    POST
    https://api-server-host-name/configapi/v1/{pool_UUID}/{logpoint_identifier}/OpenDoor
    
    {
        "data":
        {
          "netmask": "255.255.255.0", 
          "password": "examplePassword", 
          "opened": "on", 
          "network": "10.4.0.1"
        }
    }
    
    Response:
    
    {
    "status": "Success",
    "message": "monitorapi/v1/336294dbd0f141ce86cb925bca74133a/41b5b7fffa6c4e3cb6bc6d799a5ee6e5/orders/71c23e11-a25b-4688-a88d-275e14251d6c"
    }
    
    Monitoring API:
    
    GET
    https://api-server-host-name/monitorapi/v1/336294dbd0f141ce86cb925bca74133a/41b5b7fffa6c4e3cb6bc6d799a5ee6e5/orders/71c23e11-a25b-4688-a88d-275e14251d6c
    
    Response:
    
    {
    "request": {},
    "logpoint_identifier": "41b5b7fffa6c4e3cb6bc6d799a5ee6e5",
    "pool_uuid": "336294dbd0f141ce86cb925bca74133a",
    "response":
    {
        "message": "Opendoor preferences edited",
        "errors": [],
        "success": true
    }
    }

This step successfully enables a secure connection for Distributed LogPoint setup.

Create a Distributed LogPoint Setup in the Second LogPoint (LP2)

  1. Execute the OpenDoor - List API in the first LogPoint to obtain the value of the network parameter.

  2. Execute the DistributedLogPoints - Create API in the second LogPoint. Use the value of the network parameter obtained from step 1, in the private_ip parameter of the DistributedLogPoints - Create API.

This step successfully enables a Distributed LogPoint setup in the remote LogPoint.

Create a Repo in the Second LogPoint

  1. Execute the DistributedLogPoints - List API to obtain the value of the private_ip parameter.

  2. Execute the Repos - Create API. Use the value obtained from step 1 in the private_ip parameter in the ha_li parameter of the Repos - Create API.

This step successfully creates a repo with high availability on two LogPoints in the Distributed LogPoint setup.

Last updated

Was this helpful?