[Anthill-pro] Can we set our own agent.id property?

Peter Steele psteele at maxiscale.com
Fri Sep 5 15:00:37 CDT 2008


No, unfortunately. I just haven't been able to find the time to learn
the Anthill coding needed to do this kind of thing. We're still adding
our agents manually, setting their initial security and environment via
the GUI. An automated way to do this would be *so* nice...

-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of emerson
cargnin
Sent: Thursday, September 04, 2008 10:07 AM
To: AnthillPro user and support list.
Subject: Re: [Anthill-pro] Can we set our own agent.id property?

Hi Peter

Do you got the script to go through all agents and configure them?
Can you share?

emerson

On 02/08/2008, Peter Steele <psteele at maxiscale.com> wrote:
> I didn't realize we could add custom properties to agent.properties, I
> sort of assumed only Anthill recognized properties could be defined
> there. So yes, that could work. I assume we could also set default
> security properties in the same fashion? My only concern is the script
> itself. For example, how would I check if an agent is "unconfigured"?
>
> -----Original Message-----
> From: anthill-pro-bounces at lists.urbancode.com
> [mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Eric
> Minick
> Sent: Friday, August 01, 2008 12:53 PM
> To: AnthillPro user and support list.
> Subject: Re: [Anthill-pro] Can we set our own agent.id property?
>
> My best guess would be that you could add additional properties to the
> agent config file like, "Initial Environment Name" and then have a
> script that looks up all the unconfigured agents, inspects those
values
> and configures them appropriately. Does that sound viable?
>
> -- Eric
>
> Peter Steele wrote:
> > It's going to be even worse than I originally stated. We've decided
to
> > delete all of our existing agents and reinstall them with custom
agent
> > ids. That means I'll have to recreate 200+ agents. We can automate
the
> > software installation aspect of the process. The final step though
is
> > setting the environment/security for each agent. I really hope there
> is
> > a way to automate this...
> >
> > -----Original Message-----
> > From: anthill-pro-bounces at lists.urbancode.com
> > [mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of
emerson
> > cargnin
> > Sent: Thursday, July 31, 2008 2:49 AM
> > To: AnthillPro user and support list.
> > Subject: Re: [Anthill-pro] Can we set our own agent.id property?
> >
> > I'd be also very interested in the answer of this question.
> >
> > regards
> > emerson
> >
> > On 30/07/2008, Peter Steele <psteele at maxiscale.com> wrote:
> >
> >> Okay, that's exactly what my tests seemed to show. That's good;
this
> >> will really simplify our lives. The other related issue is how to
> >> automate the addition of multiple agents simultaneously. We're
about
> >>
> > to
> >
> >> add 50+ agents and each one needs to be placed in the appropriate
> >> environment and have the proper security settings assigned. It
seems
> >>
> > we
> >
> >> have to do this one agent at a time, and this can get very tedious
> for
> >> large numbers of agents. Is there any way to automate this process?
> >>
> >> -----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
> >> _______________________________________________
> >> 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
> > _______________________________________________
> > 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
> _______________________________________________
> 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