HA hub robot.cfg being overwritten creating itself as another hub instead of the HA hub
search cancel

HA hub robot.cfg being overwritten creating itself as another hub instead of the HA hub

book

Article ID: 278651

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

The HA hub robot has listed itself as the hub. I have changed the config to list a different hubnam as the hub but the config gets overwritten with the self-named hub info.  I have noticed that there is a file that gets created just before the robot.cfg overwrites called robot_env.sds.  I renamed that file and tried to make the change and the file got created then the robot.cfg got overwritten again.  The Primary Hub had the original name listed in its Hubs tab.  I removed that and tried stopping the robot on that same hub-robot, making the change, and starting the robot again.  It got overwritten again, but the hub is no longer listed in the Hubs list on the Primary. 

Environment

  • UIM 20.4

Resolution

1. Stop the HA robot

2. Check the Primary Hub and make sure it doesn't list the <hub_example1_name> Hub or robot

3. Via hub Raw Configure, change broadcast = no for the Primary and HA Hub.

4. On the Primary and HA hubs:

    - > Delete the niscache folder

    - > Delete the hubs.sds file (this will update afterward, over time)

    -> Save a copy of the robot.sds

    -> Delete the existing robot.sds

5. Start the Primary Hub-robot.

6. Make sure the HA hub-robot.cfg has the following entries:

robotname = <leave this empty>
robotip = <robot_ip>

hub = <new_preferred_hub_name>
hubrobotname = <hub_example1_name>  (assuming the robot name is still the same)
hubip = <hubip>

hub.cfg (which I don't have a copy of), should contain this entry under the hub section.


7. Make sure the HA <hub> section has the entry:
    hubname = <new_preferred_hub_name

8. Start the HA Hub.

9. Wait about 20 minutes.

10. Check the results, if ok,

11. Via hub Raw Configure, change broadcast = yes for the Primary and HA Hub.