If you have virtual as an option, go for it. Incidentally all three of
our servers (cron, web and db) are VMWare virtual machines.
One thing to bear in mind is that the cron and app servers need to
operate on the same filesystem, so you need to export the moodledata
directory using NFS (Linux), or share it (Windows).
We've started to look at clustering file systems to accomplish this
without recourse to the network. Red Hat has GFS, and Oracle's OCFS2 is
available on other distros.
A third option is to sync a local copy from the app server to the cron
server just before invoking cron. Rsync on Linux is the obvious choice
for this. Robocopy on Windows does much the same thing. The advantage
of this approach is that you have a redundant copy of your moodledata
directory, but the disadvantage is that you need to copy things like the
RSS cache back to the app server once cron has completed.
Chris
> -----Original Message-----
> From: List dedicated to technical discussions about Moodle
> [mailto:[log in to unmask]] On Behalf Of Paul Vaughan
> Sent: 22 April 2010 15:24
> To: [log in to unmask]
> Subject: Re: Moodle cron script
>
> Hi Chris.
>
> We have a Moodle split between two servers, one app/file
> server with the
> database on another server, both fairly pokey machines. We're
> experiencing no particular performance issues but I am always
> looking to
> tweak the system. Do you think getting another server (even a virtual
> one) solely running cron is of particular beneift?
>
> Paul.
>
>
Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/planningAndCorporatePolicy/legalandComplianceTeam/legal/disclaimer.htm
|