<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.sig
        {mso-style-name:sig;}
span.sigsmall
        {mso-style-name:sigsmall;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle26
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle27
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="FR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Hi again,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">We don’t have this folder : </span>
<span style="color:windowtext">/var/cfengine/state/<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">And it seems that we don’t have files with this extension : .tcdb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">So I can’t mount a RAM disk on /var/cfengine/state/<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Any other idea ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">BR</span><span style="color:windowtext"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR"> rudder-users-bounces@lists.rudder-project.org
 [mailto:rudder-users-bounces@lists.rudder-project.org] <b>De la part de</b> Prestasit01<br>
<b>Envoyé :</b> mercredi 25 septembre 2013 11:19<br>
<b>À :</b> 'Nicolas Charles'; rudder-users@lists.rudder-project.org<br>
<b>Objet :</b> Re: [rudder-users] IO on vmware<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR">Mesured I/O is on the managed node.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR">I will try your solution.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR">BR<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">
<a href="mailto:rudder-users-bounces@lists.rudder-project.org">rudder-users-bounces@lists.rudder-project.org</a> [<a href="mailto:rudder-users-bounces@lists.rudder-project.org">mailto:rudder-users-bounces@lists.rudder-project.org</a>]
<b>De la part de</b> Nicolas Charles<br>
<b>Envoyé :</b> mercredi 25 septembre 2013 11:10<br>
<b>À :</b> <a href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a><br>
<b>Objet :</b> Re: [rudder-users] IO on vmware<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello,<br>
<br>
The mesured I/O is on the Rudder server root, or on a managed node ?<br>
<br>
Cfengine uses internally a TokyoCabinet database, and is a bit eager on the writing on it. So even if it is not changing anything, it writes (a lot) that it checked the system. So if the problem happen on a managed node, you can use the workaround suggested
 in this blog post:<br>
<a href="http://blog.normation.com/en/2013/09/09/speed-up-your-cfengine-by-using-a-ram-disk/">http://blog.normation.com/en/2013/09/09/speed-up-your-cfengine-by-using-a-ram-disk/</a><br>
<br>
<br>
Please note that the Rudder Server root centralises all messages, so it is expected that he has some I/O<br>
<br>
Please tell me if it helps you or solves your issue<br>
<br>
Regards,<br>
Nicolas<br>
<br>
On 25/09/2013 10:55, Prestasit01 wrote: <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Hello all,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">I found that rudder creates a lot of I/O each 5 minutes.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">It seems normal that he works each 5 minutes due to the default configuration but I/O creation seems not normal .</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">We only have 4 rules applied on this node :</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">Rudder system policy: basic setup (common) => default</span></b><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">Rudder system policy: daily inventory => default</span></b><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">00_Constante – myserver => variable definition</span></b><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">(with theses 3 first rules we have 270Ko/s each 5 mins)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">And when we add another rule we have 778Ko/s each 5 mins :
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">02_Init Système</span></b><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">-----repertoire fichiers</span></b><span style="font-size:9.0pt"> => folder creation with enforced permissions</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">-----SSH </span></b><span style="font-size:9.0pt">=> edit ssh configuration<b>
</b></span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">-----Profile Root & Repo</span></b><span style="font-size:9.0pt"> => repository file creation with enforced content</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">-----User perso2</span></b><span style="font-size:9.0pt"> => user creation with « Everytime » option checked (corresponding to « How often do you want to want to check the password »)</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">-----Appli Rsyslog Conf</span></b><span style="font-size:9.0pt"> => modification of the rsyslog.conf (no enforced content)</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">-----Permissions /projet</span></b><span style="font-size:9.0pt"> => set permission on two folder</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">-----Sudoers </span></b><span style="font-size:9.0pt">=> modification on the sudoers file with « Enforce content of the file ONLY at creation » checked</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">-----Service Rsyslog</span></b><span style="font-size:9.0pt">  => start service on boot, restart service if number of process instances less than 0</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">-----Permission Sources</span></b><span style="font-size:9.0pt"> => folder creation with permissions adjusted recursively</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">-----profile user exploit</span></b><span style="font-size:9.0pt"> => 2 files creation, with permission set</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">-----Clés SSH</span></b><span style="font-size:9.0pt"> => add two ssh key</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">-----Permission user</span></b><span style="font-size:9.0pt"> => set permission on a file</span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt">-----User perso </span></b><span style="font-size:9.0pt">=> user creation with « Everytime » option checked (corresponding to « How often do you want to want to check the password »)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt"> </span></b><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Have you got one idea of what can be write each 5 mins ??? (because normally it will only write if values are changed)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">BR</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">CJARD </span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR">-------------------------------------------------------------------------<br>
Les informations ou pieces jointes contenues dans ce message sont confidentielles. Seul le destinataire expressement vise peut en prendre connaissance. Toute autre personne qui en divulguera, diffusera ou prendra des copies sera passible de poursuites. La societe
 Ouest-France decline en outre, toute responsabilite de quelque nature que ce soit au titre de ce message s'il a ete altere, deforme ou falsifie.
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>rudder-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a><o:p></o:p></pre>
<pre><a href="http://www.rudder-project.org/mailman/listinfo/rudder-users">http://www.rudder-project.org/mailman/listinfo/rudder-users</a><o:p></o:p></pre>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR"><br>
<br>
<o:p></o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>Nicolas CHARLES<o:p></o:p></pre>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:windowtext;mso-fareast-language:FR">-------------------------------------------------------------------------<br>
Les informations ou pieces jointes contenues dans ce message sont confidentielles. Seul le destinataire expressement vise peut en prendre connaissance. Toute autre personne qui en divulguera, diffusera ou prendra des copies sera passible de poursuites. La societe
 Ouest-France decline en outre, toute responsabilite de quelque nature que ce soit au titre de ce message s'il a ete altere, deforme ou falsifie.
<o:p></o:p></span></p>
</div>
-------------------------------------------------------------------------<br>
Les informations ou pieces jointes contenues dans ce message sont
confidentielles. Seul le destinataire expressement vise peut en prendre
connaissance. Toute autre personne qui en divulguera, diffusera ou prendra des copies sera passible de poursuites. La societe Ouest-France decline en outre, toute responsabilite de quelque nature que ce soit au titre de ce message s'il a ete altere, deforme ou falsifie.
</body>
</html>