Re: [Puppet Users] Puppet Learner

2012-04-17 Thread Luke Bigum

Overdue,

Walter is right in that you will need to look to another tool, such as 
MCollective. Puppet is not the best at orchestrating operations across 
multiple servers. It can reacting to things on one machine, like an 
Apache servers' config file updating, but there's nothing in core Puppet 
that's going to have your Varnish servers react to this event.


MCollective is a job scheduling frame work that can do what you're after 
and integrates with Puppet quite well. Other products are Func and RunDeck.


-Luke

On 17/04/12 00:54, Walter Heck wrote:

If you are not running your agents in daemon mode, you can have a look
at mcollective. It allows you to define a set of servers that you want
to do a puppet run on.

cheers,

Walter

On Tue, Apr 17, 2012 at 05:31, OverDue Oceanoverdueoc...@gmail.com  wrote:

Hi Guys, Let me Introduce myself as  self learner and very new to
puppet and I am sure that now on I am staying here in this group for
long and keep asking questions,

I am sorry if my message annoys you or if its a bit childish please
forgive me but i believes that if you want to learn you should ask,

My Question is :

I have a server running puppet Master and 8 clients are connected with
Master and every half an hour clients pulls up there configuration if
requires from master and update themselves, but if need to restart
Apache on 4 of them and have to restart varnish in the remaining 4 all
in a sudden then how i will do that? do I need to wait for the next
half an hour that clients connects with master and restart the service
or is there any other way for doing so?

--
You received this message because you are subscribed to the Google Groups Puppet 
Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.







--
Luke Bigum

Information Systems
Ph: +44 (0) 20 3192 2520
luke.bi...@lmax.com | http://www.lmax.com
LMAX, Yellow Building, 1A Nicholas Road, London W11 4AN


FX and CFDs are leveraged products that can result in losses exceeding
your deposit.  They are not suitable for everyone so please ensure you
fully understand the risks involved.  The information in this email is not
directed at residents of the United States of America or any other
jurisdiction where trading in CFDs and/or FX is restricted or prohibited
by local laws or regulations.

The information in this email and any attachment is confidential and is
intended only for the named recipient(s). The email may not be disclosed
or used by any person other than the addressee, nor may it be copied in
any way. If you are not the intended recipient please notify the sender
immediately and delete any copies of this message. Any unauthorised
copying, disclosure or distribution of the material in this e-mail is
strictly forbidden.

LMAX operates a multilateral trading facility.  Authorised and regulated 
by the Financial Services Authority (firm registration number 509778) and
is registered in England and Wales (number 06505809). 
Our registered address is Yellow Building, 1A Nicholas Road, London, W11

4AN.

--
You received this message because you are subscribed to the Google Groups Puppet 
Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet Learner

2012-04-17 Thread Kukki
Thanks guys that was really very helpful and did clear lots of concepts in
my mind for puppet. Absolutely brilliant that means that with collective I
can even launch the instances on EC2 aswel and can even run the required
services on demand within the boxs.

One thing I also like to know say puppet master connected to 20 boxs in a
cluster and all the agents are connected to master and are running in
daemon mode and  doing well,but if i need to do some changes or update few
things in an admin box itself (i.e Box with puppet master) so how do i do
that?  do i need to install puppet client aswel where puppet master is
running to do the required job or puppet master can be use to configure
itself? If yes then how.

Regards,
On 17 April 2012 09:07, Luke Bigum luke.bi...@lmax.com wrote:

 Overdue,

 Walter is right in that you will need to look to another tool, such as
 MCollective. Puppet is not the best at orchestrating operations across
 multiple servers. It can reacting to things on one machine, like an Apache
 servers' config file updating, but there's nothing in core Puppet that's
 going to have your Varnish servers react to this event.

 MCollective is a job scheduling frame work that can do what you're after
 and integrates with Puppet quite well. Other products are Func and RunDeck.

 -Luke


 On 17/04/12 00:54, Walter Heck wrote:

 If you are not running your agents in daemon mode, you can have a look
 at mcollective. It allows you to define a set of servers that you want
 to do a puppet run on.

 cheers,

 Walter

 On Tue, Apr 17, 2012 at 05:31, OverDue Oceanoverdueoc...@gmail.com
  wrote:

 Hi Guys, Let me Introduce myself as  self learner and very new to
 puppet and I am sure that now on I am staying here in this group for
 long and keep asking questions,

 I am sorry if my message annoys you or if its a bit childish please
 forgive me but i believes that if you want to learn you should ask,

 My Question is :

 I have a server running puppet Master and 8 clients are connected with
 Master and every half an hour clients pulls up there configuration if
 requires from master and update themselves, but if need to restart
 Apache on 4 of them and have to restart varnish in the remaining 4 all
 in a sudden then how i will do that? do I need to wait for the next
 half an hour that clients connects with master and restart the service
 or is there any other way for doing so?

 --
 You received this message because you are subscribed to the Google
 Groups Puppet Users group.
 To post to this group, send email to puppet-users@googlegroups.com.
 To unsubscribe from this group, send email to puppet-users+unsubscribe@*
 *googlegroups.com puppet-users%2bunsubscr...@googlegroups.com.
 For more options, visit this group at http://groups.google.com/**
 group/puppet-users?hl=enhttp://groups.google.com/group/puppet-users?hl=en
 .





 --
 Luke Bigum

 Information Systems
 Ph: +44 (0) 20 3192 2520
 luke.bi...@lmax.com | http://www.lmax.com
 LMAX, Yellow Building, 1A Nicholas Road, London W11 4AN


 FX and CFDs are leveraged products that can result in losses exceeding
 your deposit.  They are not suitable for everyone so please ensure you
 fully understand the risks involved.  The information in this email is not
 directed at residents of the United States of America or any other
 jurisdiction where trading in CFDs and/or FX is restricted or prohibited
 by local laws or regulations.

 The information in this email and any attachment is confidential and is
 intended only for the named recipient(s). The email may not be disclosed
 or used by any person other than the addressee, nor may it be copied in
 any way. If you are not the intended recipient please notify the sender
 immediately and delete any copies of this message. Any unauthorised
 copying, disclosure or distribution of the material in this e-mail is
 strictly forbidden.

 LMAX operates a multilateral trading facility.  Authorised and regulated
 by the Financial Services Authority (firm registration number 509778) and
 is registered in England and Wales (number 06505809). Our registered
 address is Yellow Building, 1A Nicholas Road, London, W11
 4AN.


 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To post to this group, send email to puppet-users@googlegroups.com.
 To unsubscribe from this group, send email to puppet-users+unsubscribe@**
 googlegroups.com puppet-users%2bunsubscr...@googlegroups.com.
 For more options, visit this group at http://groups.google.com/**
 group/puppet-users?hl=enhttp://groups.google.com/group/puppet-users?hl=en
 .



-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet Learner

2012-04-17 Thread Luke Bigum
Yes, your Puppet Master can be an Agent, it just talks to itself. Most 
people manage Puppet Agent and Master configuration with Puppet itself - 
get it to manage it's own config and restart itself when it changes. 
This means you only need a bunch of text files - your modules and 
manifests - to rebuild your entire infrastructure.


On 17/04/12 12:18, Kukki wrote:
Thanks guys that was really very helpful and did clear lots of 
concepts in my mind for puppet. Absolutely brilliant that means that 
with collective I can even launch the instances on EC2 aswel and can 
even run the required services on demand within the boxs.
One thing I also like to know say puppet master connected to 20 boxs 
in a cluster and all the agents are connected to master and are 
running in daemon mode and  doing well,but if i need to do some 
changes or update few things in an admin box itself (i.e Box with 
puppet master) so how do i do that?  do i need to install puppet 
client aswel where puppet master is running to do the required job or 
puppet master can be use to configure itself? If yes then how.

Regards,
On 17 April 2012 09:07, Luke Bigum luke.bi...@lmax.com 
mailto:luke.bi...@lmax.com wrote:


Overdue,

Walter is right in that you will need to look to another tool,
such as MCollective. Puppet is not the best at orchestrating
operations across multiple servers. It can reacting to things on
one machine, like an Apache servers' config file updating, but
there's nothing in core Puppet that's going to have your Varnish
servers react to this event.

MCollective is a job scheduling frame work that can do what you're
after and integrates with Puppet quite well. Other products are
Func and RunDeck.

-Luke


On 17/04/12 00:54, Walter Heck wrote:

If you are not running your agents in daemon mode, you can
have a look
at mcollective. It allows you to define a set of servers that
you want
to do a puppet run on.

cheers,

Walter

On Tue, Apr 17, 2012 at 05:31, OverDue
Oceanoverdueoc...@gmail.com mailto:overdueoc...@gmail.com
 wrote:

Hi Guys, Let me Introduce myself as  self learner and very
new to
puppet and I am sure that now on I am staying here in this
group for
long and keep asking questions,

I am sorry if my message annoys you or if its a bit
childish please
forgive me but i believes that if you want to learn you
should ask,

My Question is :

I have a server running puppet Master and 8 clients are
connected with
Master and every half an hour clients pulls up there
configuration if
requires from master and update themselves, but if need to
restart
Apache on 4 of them and have to restart varnish in the
remaining 4 all
in a sudden then how i will do that? do I need to wait for
the next
half an hour that clients connects with master and restart
the service
or is there any other way for doing so?

--
You received this message because you are subscribed to
the Google Groups Puppet Users group.
To post to this group, send email to
puppet-users@googlegroups.com
mailto:puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com
mailto:puppet-users%2bunsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.





-- 
Luke Bigum


Information Systems
Ph: +44 (0) 20 3192 2520 tel:%2B44%20%280%29%2020%203192%202520
luke.bi...@lmax.com mailto:luke.bi...@lmax.com | http://www.lmax.com
LMAX, Yellow Building, 1A Nicholas Road, London W11 4AN


FX and CFDs are leveraged products that can result in losses exceeding
your deposit.  They are not suitable for everyone so please ensure you
fully understand the risks involved.  The information in this
email is not
directed at residents of the United States of America or any other
jurisdiction where trading in CFDs and/or FX is restricted or
prohibited
by local laws or regulations.

The information in this email and any attachment is confidential
and is
intended only for the named recipient(s). The email may not be
disclosed
or used by any person other than the addressee, nor may it be
copied in
any way. If you are not the intended recipient please notify the
sender
immediately and delete any copies of this message. Any unauthorised
copying, disclosure or distribution of the material in this e-mail is
strictly forbidden.

LMAX operates a multilateral 

[Puppet Users] Puppet Learner

2012-04-16 Thread OverDue Ocean
Hi Guys, Let me Introduce myself as  self learner and very new to
puppet and I am sure that now on I am staying here in this group for
long and keep asking questions,

I am sorry if my message annoys you or if its a bit childish please
forgive me but i believes that if you want to learn you should ask,

My Question is :

I have a server running puppet Master and 8 clients are connected with
Master and every half an hour clients pulls up there configuration if
requires from master and update themselves, but if need to restart
Apache on 4 of them and have to restart varnish in the remaining 4 all
in a sudden then how i will do that? do I need to wait for the next
half an hour that clients connects with master and restart the service
or is there any other way for doing so?

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet Learner

2012-04-16 Thread Walter Heck
If you are not running your agents in daemon mode, you can have a look
at mcollective. It allows you to define a set of servers that you want
to do a puppet run on.

cheers,

Walter

On Tue, Apr 17, 2012 at 05:31, OverDue Ocean overdueoc...@gmail.com wrote:
 Hi Guys, Let me Introduce myself as  self learner and very new to
 puppet and I am sure that now on I am staying here in this group for
 long and keep asking questions,

 I am sorry if my message annoys you or if its a bit childish please
 forgive me but i believes that if you want to learn you should ask,

 My Question is :

 I have a server running puppet Master and 8 clients are connected with
 Master and every half an hour clients pulls up there configuration if
 requires from master and update themselves, but if need to restart
 Apache on 4 of them and have to restart varnish in the remaining 4 all
 in a sudden then how i will do that? do I need to wait for the next
 half an hour that clients connects with master and restart the service
 or is there any other way for doing so?

 --
 You received this message because you are subscribed to the Google Groups 
 Puppet Users group.
 To post to this group, send email to puppet-users@googlegroups.com.
 To unsubscribe from this group, send email to 
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/puppet-users?hl=en.




-- 
Walter Heck

--
follow @walterheck on twitter to see what I'm up to!
--
Check out my new startup: Server Monitoring as a Service @ http://tribily.com
Follow @tribily on Twitter and/or 'Like' our Facebook page at
http://www.facebook.com/tribily

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.