----- Original Message -----
> From: "Malintha Adikari" <malin...@wso2.com>
> To: "puppet-users" <puppet-users@googlegroups.com>
> Sent: Thursday, October 15, 2015 6:34:21 AM
> Subject: [Puppet Users] Puppet command through MCollective are extremely slow

> Hi,
> 
> I have configured puppet master and set of agent. When I issue "puppet
> agent -vt" catalog run command from agents directly, it takes millisecond
> scale time to complete that operation(very less time). Then I configured

running that command by hand doesn't take that little, I guess you mean when you
run it via mco?  What that tends to do is start a background agent run that then
take a lot longer to complete.

The mcollective runonce command just starts a background one so that is indeed
quick.

> MCollective to orchestrate this process. I installed MCollective server on
> each agent and MCollective client in separate machine and configured
> ActiveMQ as the message broker in the middle of MCollective client and
> servers. It was also working fine. But now the process has become extremely
> slow. When I issue
> 
> mco puppet runall 10

the purpose of this command is to run all your machines but at a concurrency of
10, a puppet run can take a long time - many seconds or minutes - and during 
that
time load is placed on your dom0's, your puppet master, your package repos and
so forth and so on.  So mcollective is used to limit the concurrency of runs, so
as soon as one finish another is started - never more than 10 a time.

so it's expected to take a lot longer than just starting the process

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1128719217.106726.1444896287873.JavaMail.zimbra%40devco.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to