Manual removal of stale Site Pairing
search cancel

Manual removal of stale Site Pairing

book

Article ID: 314206

calendar_today

Updated On:

Products

VMware HCX VMware vSphere ESXi

Issue/Introduction

  • You are unable to remove the site pairing using the HCX UI.
  • The HCX site pairing entry still remains listed even if the remote HCX Manager is no longer available.
  • HCX service mesh cannot be edited and interconnect appears in unknown state.

Environment

HCX

Cause

The site pairing entry may become stale due to a failed configuration.

Resolution

 

If you encounter this issue, you can delete the pairing using the following API request:

curl -k -v 'https://<hcx-manager-url>/hybridity/api/endpointPairing/<target systemID>' \

  -X 'DELETE' \

  -H 'x-hm-authorization: X-HM_TOKEN' \

  --insecure

Before running the request above, you must generate an x-hm authorization token. Select the appropriate API command based on your product version:

For Version 9.x

curl -k -i -X POST \

  "https:/<hcx-manager-url>/api/admin/v1/sessions" \

  -H "Content-Type: application/json" \

  -d '{

    "username": "admin",

    "password": "<password>",

    "authType": "local"

  }'

For Version 4.11.x

curl -k -i -X POST \

  "https://<hcx-manager-url>/hybridity/api/sessions" \

  -H "accept: application/json" \

  -H "Accept: application/json" \

  -H "Content-Type: application/json" \

  -d '{

    "username": "<SSO_USER>",

    "password": "<PASSWORD>"

  }'

If the issue persists open a support case with Broadcom Support and provide the following information. 

  • Log bundle from source/destination HCX-MGRs (including DB dump).
    • In most cases, individual appliance logs are not needed. 

For more information, see Creating and managing Broadcom support cases.