[Anthill-pro] Can we set our own agent.id property?
Peter Steele
psteele at maxiscale.com
Wed Jul 30 15:06:25 CDT 2008
BTW, does Anthill support environment variables in the properties file?
For example, could we use a generic line such as
locked/agent.id=${HOSTNAME}
assuming HOSTNAME is an defined environment variable?
-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Ryan Smith
Sent: Wednesday, July 30, 2008 10:13 AM
To: AnthillPro user and support list.
Subject: Re: [Anthill-pro] Can we set our own agent.id property?
Peter,
Yes you can set it. It is best to set it during the installation or just
after installation and before first starting the agent. We only ask that
you make it unique.
Change the id of an existing agent will make it appear as if a new agent
is installed and the old one will not be usable.
Ryan
Peter Steele wrote:
>
> When a new agent is installed the field agent.id in the
> agent.properties file is auto-generated as a unique key, e.g.
>
> locked/agent.id=emNqOTBqM2F6M3oweHlzdjQ1Nj
>
> Can we set this field ourselves? More specifically, after installing
> an agent and before starting it for the first time, can we set this
> field to
>
> locked/agent.id=<hostname>
>
> where <hostname> is the name of the machine where this agent is
> installed. The reasons we need to do this are long and complex and I
> won't elaborate here, at least for now. I've done some simple tests
> and Anthill doesn't seem to mind if we set this property manually. I'd
> like some verification though from the experts whether this is safe to
> do. Thanks.
>
> Peter
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
More information about the Anthill-pro
mailing list