Hi
It seems
@David Michel and
@Luc Christiaens are both correct (just Luc is more correct)
If you install 20.4 on OC it works except for the /hubs/<domain>/<hub>/robots call (more on that in a moment)
If you install 20.4 on PRIMARY HUB it fails with authentication issue due to OCAuth jars not being present
If you install 20.3.3-HF1 on OC it works except for the /hubs/<domain>/<hub>/robots call (same as 20.4 not sure at which version it stopped working)
If you install 20.3.3-HF1 on PRIMARY HUB it works (full functionality as far as I can workout)
Upgrading 20.3.3-HF1 to 20.4 on either node keeps the same functionality, so on PRIMARY HUB if 20.4 is an upgrade from a previous version as Luc pointed out you you get full functionality (So I have up voted the Idea but I believe uimapi should work on other robots (like OC) as this allows us to spread the "load" to other CPU and other hubs robots) so have opened an issue with the functionality on OC.
The reason that 20.3.3-HF1 and 20.4 do not do offer full functionality is that when they start up they try to determine the local hub (but OC is not running on hub by design/recommendation) and fails so if a hub call is made that is not the OC robots hub then the hubs call will fail.
I hope this provides some guidance about how to deal/work-around the current uimapi functionality
Regards, Andrew
------------------------------
Knows a little about UIM/DXim, AE, Automic
------------------------------
Original Message:
Sent: May 12, 2022 10:25 AM
From: Christopher Pearson
Subject: uimapi does not run on main hub since 20.4.
Per what David noted, this needs to be on the OC server. If you would like to upvote the following:
https://community.broadcom.com/participate/ideation-home/viewidea?IdeationKey=4cb0a87a-5542-4bbd-86a3-d4d945450e34
Original Message:
Sent: May 12, 2022 03:13 AM
From: Luc Christiaens
Subject: uimapi does not run on main hub since 20.4.
With following packages/apps on your main/ha_hub uimapi should work: (9.20 upgraded to 20.4.2)
Original Message:
Sent: May 11, 2022 10:59 AM
From: Olaf Pape
Subject: uimapi does not run on main hub since 20.4.
Hi,
I upgraded my test servers to 20.4. I have a main hub, oc server and a cabi server.
As usual I deployed all other components (like uimapi) manually. After installing the uimapi package on the main hub I noticed that I only receive 500 - server error messages. While troubleshooting, I noticed a note in the uimapi documentation in the techdocs: "For UIM 20.3 or later, deploy the uimapi package to the OC robot in your UIM environment to access the uimapi REST APIs."
OK - 20.3.2 still worked on the Main Hub.
I installed the uimapi on the OC server and - what a surprise - the uimapi works on the OC server as expected.
In my opinion, this is a conceptual error. I prefer to locate the uimapi functionally on the backup server (main hub) rather than on the " second priority" GU server.
The main hub has to be processed with the highest priority in order to ensure a functioning monitoring with automatic alarm workflow and alerting, e.g. via SMS in case of a failure (even on weekends). The " second priority" GUI server can also be offline for some time.
I know there are other scenarios where the operators do the whole job in front of the OC, but at my customers a lot (some almost everything) is handled by alarm workflow and various types of alerting. Only in rare cases do they look at the OC.
Or does anyone know what component needs to run on the main hub for uimapi to run there even now?
Thanks,