Configuration of secondary hubs in bulk on a set of robots/servers
search cancel

Configuration of secondary hubs in bulk on a set of robots/servers

book

Article ID: 247322

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

We have recently added a few hubs to UIM and now have to move a set of bulk servers from 1 hub to a new hub.

Accordingly, we have to set the secondary hub data for each server. Kindly guide us with the process of how can we configure secondary hubs in bulk for our robots.

Environment

  • Release: 20.3 or higher
  • Component: UIM - ROBOT
  • controller - any version
  • distsrv
  • UIM - any version

Cause

  • Guidance on how to set the secondary hub in bulk/on a set of servers

Resolution

These are the parameters you would configure and update to configure/reconfigure secondary hubs for robots:

secondary_domain = 
secondary_hub = 
secondary_hubrobotname = 
secondary_hubip = 
secondary_hubport = 
secondary_hub_dns_name = 

The directive you use depends on the current contents of the existing robot.cfg.

If that section is present in the robot.cfg already, you can use the <overwrite> directive.

<controller> overwrite
   secondary_domain = <secondary_domain>
   secondary_hub = <secodary hubname>
   secondary_hubrobotname = <robot_hostname>
   secondary_hubip = <ip_address>
   secondary_hubport = 48002
</controller>

If the section does NOT already exist, use no directive.

‘ ‘ - No directive: add keys from this section if they are not already present in the target configuration file. For example, your package robot.cfx file contents would contain something like this:

<controller>
   secondary_domain = <secondary_domain>
   secondary_hub = <secodary hubname>
   secondary_hubrobotname = <robot_hostname>
   secondary_hubip = <ip_address>
   secondary_hubport = 48002
</controller>

Here are some articles to help clarify.

Editing probe packages (configuration files and templates: .cfg and .cfx) in UIM

UIM - Change Probe Configuration Settings On Multiple Robots in UIM

Make global configuration changes to cdm probe on multiple systems

Best practice would be to test it on a single robot, then deploy it as needed when you confirm the expected results (changes).