<div class="gmail_quote">On Mon, May 23, 2011 at 5:12 PM, la Bigmac <span dir="ltr"><<a href="mailto:la_bigmac@...">la_bigmac@...</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Hello list, </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Seems to be a few people recently
wanting to discuss Gentoo as a server :-) so thought I would pose a question that
has been bugging me. </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">What would you guys recommend to
manage multiple servers and the package versions? </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">While I have a central emerge
server (<b>rsync)</b> and sync all of my servers to it I still manually update
the packages.</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Example, openssh how should I be
updating openssh on all of my servers other than logging onto each one in turn
and running emerge openssh.</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Should I cron schedule an <i>emerge</i>
--<i>update world </i>and control the repository of packages or is there
a more elegant solution?</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Regards,</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Mat. </span></p>
</div>
</blockquote></div><br><div><br></div><div>You can always use clusterssh to send the same command to all of them.</div><div><br></div><div>When I was managing multiple servers, I would have a cron job set to eix-sync daily (the maximum frequency Gentoo recommends syncing), then once a week I would have emerge -DNpvu world e-mailed from cron. I would then review the e-mail and see if I wanted to upgrade. If I didn't, I'd mask the package version and move on.</div>
|