AnsweredAssumed Answered

Tibco BusinessWorks and agent names

Question asked by carloszuluaga on Oct 17, 2012
Latest reply on Nov 9, 2012 by Guenter_Grossberger
Hi everyone.

I have a big CA Introscope deployment monitoring about 200 Tibco BusinessWorks agents running on 5 Tibco BusinessWorks servers, all this agents belongs to the same business application. As you can imagine, agent naming is an important issue, since there are hundreds of agents and assigning a name to each is a long and complicate task.

To avoid the process of individual agent naming, we're using the autoname feature for Tibco BusinessWorks, which is really good giving the agents a meaningful name (from the final user point of view) and is easy to manage for the Tibco administrators, they only have to add two properties to the bwengine.tra: [font=Courier New]java.extended.properties=-javaagent:<Agent_Home>/Agent.jar ‑Dcom.wily.introscope.agentProfile=<Agent_Home>/core/config/IntroscopeAgent.profile[font].

This configuration allows us only modify one file per Tibco server, instead of modifying 200 tra files if we were configuring each instance, and after the bwengine.tra configuration, the administrator guys only redeploy instances and automatically they are monitored by Introscope Agents.

But, this feature has a big inconvenient for our client: all agents take 2 minutes to start with their default name (UnknownAgent, AgentName, for example) and get connected to the Enterprise Manager and 8 or 10 additional minutes to get their real name, 10 minutes is the best configuration I've had. For our client, this is not a good behavior because they lose about 10 minutes of metrics, yes, after an agent renaming the metrics are lost and stay within the agent with the old (and grey) name so we can never take them in case of a root cause analysis for some problem.

In order to avoid losing this metrics, we tried to assign a name for each agent in the <application>.tra file but it is a hard and time consuming task, even worse, after an application is redeployed that property is lost and the Tibco administrators would need to repeat the configuration each time they redeploy each of the 200 applications.

Finally this is my question:

Is there any smarter way to assign names to each agent without the need of waiting 10 minutes to get good names? also without assigning individual names?, I've realized that Tibco needs about 10 minutes to get their automatic naming mechanism working, but the instances names are assigned from the creation time, I mean, the instance name is given by the administrator/developer when it's created, so could be any way to get it maybe as a variable in the bwengine.tra such like:

[font=Courier New]-Dcom.wily.introscope.agent.agentName=$InstanceName[font]

Do you have any experience with Tibco and Introscope?, if not, do you have any idea to workaround this issue?

In the worst case, is there any way to get those metrics when the agent automatically changes it's name?

Thanks in advance,

Outcomes