Idea Details

Filetransfer (JOBF): Allow usage of 2 Hostgroups

Last activity 06-13-2019 02:13 PM
Bernhard Flegel's profile image
04-13-2018 04:37 PM

We are using Hostgroups to identify which Agent should be used for a job etc. when running in the Test-System or the Production-System, but the AE-Filetransfer (JOBF) allows only the usage of 1 Hostgroup.

In our Test-System we have other agents than in the Production-System. For Example:

Testsystem:
Hostgroup "AGR_NATPROP004" contains the Agent "NATCONK001"
Hostgroup "AGR_AVPRODP001" contains the Agent "AVPRODK001"

Production:
Hostgroup "AGR_NATPROP004" contains the Agent "NATPROP004"
Hostgroup "AGR_AVPRODP001" contains the Agent "AVPRODP001"


We want to use Source-Agent "AGR_NATPROP004" and Destination-Agent "AGR_AVPRODP001" to avoid manuell changing of the agents during the transfer of JOBF-Objects between the Test-System and the Production-System.


Comments

01-10-2019 03:38 AM

Hallo Tim,

this is a nice workaround... I will test it.

Thank you.

Bye Bernhard

12-06-2018 08:47 AM

The requirement itself can be implemented via Automic Script in the script of the JOBF.

 

!I do not take any responsibility for this script

:SET &HND# = PREP_PROCESS_AGENTGROUP("AGR_NATPROP004","*",BY_RULE)
:PROCESS &HND#

:  SET &AGENT_SRC# = GET_PROCESS_LINE(&HND#,1)
:  PRINT "Agent Source: &AGENT_SRC#"
:ENDPROCESS
:CLOSE_PROCESS &HND#
!
:SET &HND# = PREP_PROCESS_AGENTGROUP("AGR_AVPRODP001","*",BY_RULE)
:PROCESS &HND#
:  SET &AGENT_DST# = GET_PROCESS_LINE(&HND#,1)
:  PRINT "Agent Destination: &AGENT_DST#"
:ENDPROCESS
:CLOSE_PROCESS &HND#
!
:PUT_ATT FT_SRC_HOST = &AGENT_SRC#
:PUT_ATT FT_DST_HOST = &AGENT_DST#

05-18-2018 12:49 AM

We need this very often in our cloud environment, where nearly every job is run on a host group ("next" or "load dependent" mode). It's very awkward to get around.

 

It seems wise to avoid a many-to-many transfer, but as long as both groups are not "all" mode, then it should be perfectly reasonable to expect a transfer to work the same way as a job.

05-18-2018 12:49 AM

Yes, I do agree with Jessica "as long as both groups are not "all" mode, then it should be perfectly reasonable".