Add VMware vCenter
You can add VMware vCenter entities using the Add Entity UI or using the cloud agent command line interface (omcli
) with the appropriate JSON files.
Step 1: Prepare VMware vCenter for monitoring.
Prerequisites |
---|
In order for the Cloud Agent to be able to collect all the metrics for the Oracle Management Cloud VMware entities, you should:
Credentials: username/password required to access VMware vCenter (use Administrator role). Example: Certificates: You need to explicitly add the vCenter certificate to the Agent's JKS: Example: How to extract certificate from vCenter:
Discovery properties: How to retrieve VMware vCenter Server Instance UUID to be passed in at discovery time through the entity property omc_virtual_mgmt_system_id using VMware PowerCLI: Example:
|
Step 2: Add the VMware vCenter using omcli
and the Appropriate JSON Files
- Download and extract the required JSON file(s) from the master JSON zip file. See the table below for the specific JSON files you'll need.
- Edit the file(s) and specify the requisite properties shown below.
VMware vCenter JSON Files and Properties Definition File: omc_vmware_vcenter_sample.json
- omc_virtual_mgmt_system_id: VMware vCenter Server Instance UUID
- omc_virtual_type: VMware
- omc_dispatch_url: vmware-https://<Fully qualified host name or IP address of vCenter>/sdk/vimservice
Credential File: omc_vmware_vcenter_sample_creds.json
- username: VMware vCenter username (use Administrator role).
- password: VMware vCenter password (use Administrator role).
- Add the entity using
omcli
.omcli add_entity agent DEFINITION_FILE [-credential_file CREDENTIAL_FILE [-encryption_method_gpg]]
- Verify the status of the newly added entity.
omcli status_entity agent DEFINITION_FILE
See step 4. Adding Entities to Your Service of Add Entities Using JSON Files for more information.
Step 3: (Optional but recommended) Set up alerts.
To enable lights-out monitoring, you can set up alert rules to generate alerts and send notifications if your entities have performance issues.
See Set Up Alert Rules and Set Up Alert Thresholds and Notifications.Troubleshooting
If you run into any issues regarding discovery or monitoring of VMware vCenter, see the following: