How to create relationship between the OLVM VMs and the Databases in Aria Operations
search cancel

How to create relationship between the OLVM VMs and the Databases in Aria Operations

book

Article ID: 429556

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

Relationships between Oracle Linux Virtualization Manager (OLVM) Virtual Machines and Oracle Databases hosted on them are not automatically established. This article provides steps to manually link these resources using the Inventory Management UI and the Swagger API.

Environment

Aria Operations 8.x

Cause

This is expected behaviour as the VMs are hosted on the OLVM platform and not vCenter.

Resolution

To manually link the Database to the VM, follow these steps:

  1. Open the Aria Operations UI.

  2. Navigate to Operations > Configurations > Inventory Management.

  3. Use the small blue box in the bottom middle of the page to enable the ID field.

  4. Search for the name of the Database you are interested in using the filter and take note of its ID.

  5. Open the Swagger interface for Aria Operations (typically https://<FQDN>/suite-api/doc/operations/index.html) and authorize with an admin account.

  6. Locate the following API call: POST /api/resource/properties

  7. Replace the resourceID parameter with the Database ID obtained in Step 4.

  8. In the values field, input the name of the VM that the Database should be related to.

Additional Information

Ensure you are using the exact VM name as it appears in the Aria Operations inventory.