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.
- Guidance on how to set the secondary hub in bulk/on a set of servers
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 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 I wrote on this to clarify.
See-> Editing probe packages (configuration files and templates: .cfg and .cfx) in UIM
https://knowledge.broadcom.com/external/article/34027
UIM - Change Probe Configuration Settings On Multiple Robots in UIM
https://knowledge.broadcom.com/external/article/35048
Test it on a single robot then deploy it as needed when the results are confirmed.