Hi Klaus,
you can create HOSTG objects to group agents. This will not be done by the system automatically. Agent Groups can contain one or many agents. You can use an Agent Group in a Job instead of an agent. An Agent Group has a Mode: Any, First, Next listed, Load dependent, all active, all active and inactive. Based on the mode a job executes on one or many agents in the the Agent Group.
1a) using an Agent Group does not change the communication behavior. The connection is initiated by the Agent and from then on it is bidirectional
1b) the agent checks it's connection to the CP using the settings in UC_HOSTCHAR_DEFAULT / KEEP_ALIVE
1c) it depends on the settings: if you want a failed job to be restarted automatically then you can set that up in the post conditions of the workflow task. When using an agent group in Mode "any" then the restarted job will be executed automatically on another active agent within the agent group.
2) some docu links:
https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#AWA/Objects/obj_agent_group.htm
https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#AWA/Workflows/wf_AgentGroupSetting.htm
Regards, Markus