The vCenter Python Actions Adapter allows you to modify objects on your managed vCenter Server instances from vRealize Operations Manager. The adapter is included with vRealize Operations Manager solution and works in combination with the vCenter Server Adapter.

Caution

Any adapter credentials you add are shared with other adapter administrators and vRealize Operations Manager collector hosts. Other administrators might use these credentials to configure a new adapter instance or to move an adapter instance to a new host.

Verify that the vCenter Adapter is configured for the vCenter Server instances on which you are running the actions. See Add a vCenter Adapter Instance in vRealize Operations Manager.

Ensure that you know the vCenter Server credentials that have sufficient privileges to connect and make changes to objects on this instance. If the credentials limited access to objects in vCenter Server, you have the ability to run actions only on the objects for which the credentials have permission. See How vCenter Python Actions Adapter Credentials Work.

1

In the left pane of vRealize Operations Manager, click the Administration icon and click Solutions.

2

On the Solutions tab, select VMware vSphere and click the Configure button on the toolbar.

3

Select vCenter Python Actions Adapter in the Adapter Type list to add a new adapter instance.

If you are adding an additional adapter instance, click the plus sign on the lower pane toolbar.

4

Type a Display Name and Description for the adapter configuration.

For example, vCenter Server Actions 192.0.2.0.

5

In the vCenter Server text box, enter the FQDN or IP address of the vCenter Server instance to which you are connecting.

The vCenter Server FQDN or IP address must be reachable from all nodes in the vRealize Operations Manager cluster.

6

To add credentials, click the plus sign.

a

In the Credential name text box, enter the name by which you are identifying the configured credentials.

b

Type the User name and Password for the vCenter Server instance.

c

Click OK.

7

Click Test Connection to validate the connection with your vCenter Server instance.

8

In the Review and Accept Certificate dialog box, review the certificate information.

If the certificate presented in the dialog box matches the certificate for your target vCenter Server, click OK.

If you do not recognize the certificate as valid, click Cancel. The test fails and the connection to vCenter Server is not completed. You must provide a valid vCenter Server URL or verify the certificate on the vCenter Server is valid before completing the adapter configuration.

9

To modify the advanced option regarding collectors, which determines which vRealize Operations Managercollector manages the adapter processes, expand the Advanced Settings and select one of the options.

If you have only one adapter instance, select Automatically select collector. If you have multiple collectors in your environment and you want to distribute the workload to optimize performance, select a collector.

10

Click Save Settings.

The adapter instance is added to the list.

Configure the default monitoring policy. See Define Monitoring Goals for Your VMware vSphere Solutions in vRealize Operations Manager

If the monitoring policies page is not available because you are configuring an additional adapter instance, configure the user roles for the actions. See Configure User Access for vCenter Server Actions in vRealize Operations Manager.

If this is not the first time you configured an adapter instance, you can test that the vCenter Server Python action adapter is working, select a virtual machine and then check that the actions are available in the Actions menu.