[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cfengine Installing Cfengine
From: |
Mark . Burgess |
Subject: |
Re: Cfengine Installing Cfengine |
Date: |
Tue, 14 Oct 2003 22:46:27 +0200 (MEST) |
Perhaps you are thinking incorrectly about cfengine somehow?
You should never need to write
cfagent -f update.conf
update.conf is run as a normal phase of a cfagent execution.
To initiate cfengine on each host you simply need a copy
of the full configuration and a copy of cfagent binary,
mounted temporarily or copied as part of the installation
procedure or whatever. Let's suppose you mount these
temporarily onto /mnt/tmp
Then you do
export CFINPUTS=/mnt/tmp
/mnt/tmp/cfagent
and you're off. CFengine can install its local copies
in /var/cfengine, it can install itself as a cron job,
or start cfexecd in dameon mode, or both...and you're away.
Thereafter it shuold juts work.
This is how we install all hosts here. I know of people who
add this to jumpstart/kickstart as part of their insallation
for new hosts.
M
On 14 Oct, Rasheda M Menzies wrote:
> It does install itself but only on 1 client. If I run update.conf (which
> imports install.conf) from client X, then it only executes on client X;
> despite the fact that I list 2 other clients in the update.conf file.
> Note: I am running cfagne -f update.conf from GSA on client X. How can
> install on more than 1 client simultaneously? Your help with this is much
> appreciated. I would like to actually get to test Cfengine.
>
>
>
>
> Thanks,
> Rasheda
> ____________________________________________________
> Rasheda M. Menzies
> Software Engineer
> IBM Watson Research Center
> 1101 Kitchawan Road, Route 134
> Yorktown Heights, NY 10598
> Tel: 914-945-2401, Tie: 862-2401
> E-mail: rasheda@us.ibm.com
>
>
>
>
>
> Mark.Burgess@iu.hio.no
> 10/14/2003 04:25 PM
>
> To: Rasheda M Menzies/Poughkeepsie/IBM@IBMUS
> cc: help-cfengine@gnu.org, Mark.Burgess@iu.hio.no
> Subject: Re: Cfengine Installing Cfengine
>
>
>
>
> On 14 Oct, Rasheda M Menzies wrote:
>> Does Cfengine need some other tool (such as SYSCTL) or script to install
>
>> Cfengine on multiple clients. I am battling with this. I have created
> an
>> install.conf
>> which creates /var/cfengine..., edits /etc/services, starts appropriate
>> daemons and copies binaries locally. I would like to use this install
>> config file to install
>> Cfengine on a test cluster of 3 to 5 machines. I have successfully
>> installed on one machine using this config file. Do i need to use
> another
>> tool to perform the
>> install on multiple machines at once? Please tell me this isn't so.
>>
>> Thanks,
>> Rasheda
>
>
> I don't underdtand what you are asking. Why would cfengine need some
> other tool? All you need is to execute some cfagent binary once at
> installation and, if update.conf is set up, it should install itself.
>
> M
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
> Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~