Active IQ Unified Manager Discussions

WFA Commands to Refresh Cluster managed by OCUM 6.X and Acquire the OCUM 6.X Data Source

sinhaa
20,252 Views

About a year ago I had posted commands on how to refresh a Cluster on OCUM6.X and then acquire a OCUM6.X DataSource in WFA. The old post is here.

 

I find that these commands are highly popular and useful, so I decided to make improvements and remodel them.

 

What did I change from the previous version?

 

Refresh Cluster monitoring on an OCUM 6.X

  1. Used new APIs as the old ones have become unsupported. May continue to work, but still not supported.
  2. Improved command code logic to use tags in API calls to improve performance and resource consumption. Hence no major OCUM negative performance impact even if your OCUM is monitoring many clusters.
  3. Used Parameter Mapping to allow using Command Parameter definitions or Search or Define an existing Cluster. So easy to use within your workflow.

 

Acquire OCUM DataSource.

 

  1. Made it specific to OCUM Data Source type and scheme.
  2. Removed undesired user-inputs.
  3. Waiting for Data Source acquistion to complete is now separate command of type Wait for Condition.

 

Prerequisites:

 

 

The following are the one-time prerequisites.

 

  1. You need PowerShell 3.0 on your WFA server.
  2. Import the attached WFA22_Refresh_a_Cluster_on_OCUM6X_and_Acquire_the_OCUM6X_Data_Source_Locked_sinhaa.dar in your WFA. The DAR can be imported on WFA2.2 or above.
  3. Add credentials of a WFA Admin/Architect in you WFA itself with Name/IP: localhost

Match: Exact

Type: Other

Name/IP: localhost

Username: <WFA Admin/Architect Username>

Password: <User Password>

 

Credentials_localhost.png

 

 

 

How to use it?

 

Just add these commands in your workflow where you need to Refresh the Cluster in OCUM and then acquire the OCUM Data Source.

 

 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
12 REPLIES 12
Public