22 Apr 2020 07:32 PM
Anyone know if it is possible yet to set a host group for the first time on OneAgents which currently exist without the need for reinstall?
Thanks!
Solved! Go to Solution.
22 Apr 2020 07:59 PM
Hi Larry,
You can use the OneAgent CLI that is located with the OneAgent.
Best,
Kyle
22 Apr 2020 08:20 PM
Right, but I think that is only if you installed the OneAgent and called out a host group at that time. I am wondering if it is possible to now use that to configure a host group on OneAgents where host group was never used before without the need to reinstall.
22 Apr 2020 08:43 PM
I believe so, however this still requires an agent restart
22 Apr 2020 08:54 PM
Yes, you can set it via --set-host-group and there is even a convenient --restart-service you can add to do the stop/change/start of the oneagent service from a one liner, so it looks like this:
./oneagentctl --set-host-group EasyTravel_WebServer_Dev --restart-service
22 Apr 2020 09:32 PM
Nice! Have to love that. Thanks!
22 Apr 2020 09:07 PM
yes thats correct, you can but it will require a recycle of the oneagent process/Service FYI. Even if you did not define the host group at the time of install.