running 2 agents, different version on Linux

Everything about Control-M agents installation or setup.
Post Reply
User avatar
jstarkw
Nouveau
Nouveau
Posts: 58
Joined: 14 Jan 2010 12:00

running 2 agents, different version on Linux

Post by jstarkw » 14 Oct 2013 9:11

i cannot figure out how to know which agent is access a .bash-profiel. i am trying to put an if clause like this in my .bash_profile.

if agent version 8
then
export PATH=${PATH}:/opt/BMC/controlm/ctm/scripts:/opt/BMC/controlm/ctm/exe
export LD_LIBRARY_PATH=/opt/BMC/contrlom/ctm/exe
export CONTROLM=/opt/BMC/controlm/ctm
else
export PATH=${PATH}:/opt/BMC/ctmag64prod/ctm/scripts:/opt/BMC/ctmag64prod/ctm/exe
export LD_LIBRARY_PATH=/opt/BMC/ctmag64prod/ctm/exe
export CONTROLM=/opt/BMC/ctmag64prod/ctm
fi

How do I resolve "if agent version 8"?

Thanks,

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 15 Oct 2013 6:34

Hi,
Can you access the $home from the agent?
So look the $home/installed-version.txt from the agent
Regards
Philmalmaison

Fifa14Coins

Post by Fifa14Coins » 22 Jan 2014 9:13

At the cessation of Nintendos E3 columnist conference, abounding had assured that Nintendo Acreage would be arranged with the Wii U, not clashing Wii Sports was included with Nintendos last-gen console. As a accumulating of mini-games, it absolutely seems analogous. Katsuya Eguchi, ambassador of the game, agrees that the allegory is fair, but admits that he doesnt apperceive what the plan is.




---------------------------------------------------------------
Fifa Coins

User avatar
hardis
Nouveau
Nouveau
Posts: 2
Joined: 29 Jan 2014 12:00

Post by hardis » 29 Jan 2014 3:44

A very unique perspective for your article, I agree with your point of view.I also hope that you are at work is to be able to relax, this is what I recommend to your game!




wow gold

Post Reply