+ Post New Thread
Results 1 to 6 of 6
*nix Thread, Multiple services (fog, censornet, moodle) on one Ubuntu box? Dual NIC? in Technical; We're trying to consolidate our many linux servers into one new box with plenty of storage and grunt. At the ...
  1. #1
    ben604's Avatar
    Join Date
    Jan 2010
    Posts
    314
    Thank Post
    81
    Thanked 29 Times in 24 Posts
    Rep Power
    22

    Multiple services (fog, censornet, moodle) on one Ubuntu box? Dual NIC?

    We're trying to consolidate our many linux servers into one new box with plenty of storage and grunt.

    At the moment, we have servers (workstations) for the following:

    Moodle
    Censornet
    Mahara
    Zimbra
    Fog
    Nagios
    Xibo

    Some of these run on the same box, but none of the critical ones do - Fog, Censornet and Moodle.

    Would they all run happily on a new quad-core server? Would we hit a network bottleneck if we were imaging a room while other users were trying to access Moodle? Could we assign a specific NIC for just moodle while the other services use the other NIC? Are dual NICs even supported?

    Your guidance would be most welcome!

    Ben & ReggieP

  2. #2


    Join Date
    May 2009
    Posts
    2,878
    Thank Post
    258
    Thanked 767 Times in 582 Posts
    Rep Power
    269
    Quote Originally Posted by ben604 View Post
    Would they all run happily on a new quad-core server?
    That rather depends on the demand (mostly number of concurrent users). It might be OK in a small school BUT imaging from fog may well show up a bottleneck on the network (but depends on the actual config).

    I'd be inclined to run them on separate (virtualised) servers and at least split end user/admin/infrastructure. If you don't, you are building up single point of failure around the core services (apache/mysql). But for really useful advice I think we would need a lot more info about the expected loads.

  3. #3
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    816
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    39
    FOG in particular doesn't play nicely with other software as the installer / updater assumes that it's the only thing on the server. . I would look at virtualisation or running in containers like OpenVZ or Linux vServer. Moodle requirements are generally dictated by concurrent users. I imagine Censornet may not perform well as a VM and you may have issues trying to virtualise it as it shipped as an appliance rather than a software package (been a while since I've looked at it though). For FOG have a virtual server for the web interface and TFTP and then deploy images from physical storage nodes, these can be any old PC or server and can be considered disposable. At least if you do virtualise or containerise something you've got the option to move to different hardware with a minimum of fuss if you do get performance issues.

  4. #4

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,613
    Thank Post
    1,229
    Thanked 772 Times in 670 Posts
    Rep Power
    234
    Quote Originally Posted by ben604 View Post
    We're trying to consolidate our many linux servers into one new box with plenty of storage and grunt.
    By all means move everything on to one physical server, but as already pointed out you'd do best to split functionality up into separate virtual machines. I generally do this by having a separate boot volume (maybe USB-based flash storage, especially if you get a nice new server with an internal port for just that) and having a larger disk array for virtual machine storage. Linux software RAID (md RAID) works very well, although if you really need disk performance you can use a hardware RAID card (expect to pay at least 300 for a proper hardware RAID card). You can then flexibly split that array up with LVM, assigning each virtual machine an LVM partition.

    Linux will handle multiple network cards with no problem - we have one server here with 6 network ports. You can aggregate ports together in the main host and pass the aggregated link to a virtual machine as one connection, or you can pass hardware network ports directly through to virtual machines. Your server needs to have hardware support for hardware virtualisation for this, mind - check before you buy, several processors seem to support standard process virtualisation but not hardware virtualisation.

  5. #5

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,529
    Thank Post
    513
    Thanked 2,406 Times in 1,862 Posts
    Blog Entries
    24
    Rep Power
    822
    I'd not be wanting to put all of those packages on a single server - each one has its own requirements, and even if they are happy to work together now, one of them or all of them might decide in the future to change requirements - eg. one may switch to a new version of a library, but another doesn't, and suddenly one of your services stops working.

    Instead, like others have suggested, I would virtualise them all.

    I would also not be keen on many of those services sharing NICs - I'd want them all to have their own NIC really, to ensure one service doesn't slow down another (you don't want FOG hogging bandwidth when kids need access to their Moodle accounts for example).

  6. #6
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,648
    Thank Post
    164
    Thanked 217 Times in 200 Posts
    Rep Power
    66
    I'd watch the disk performance as well, a well used Moodle site can hit disks heavily as could web filtering if you've got a reporting system in with it.

    Maybe virtualize Fog, Nagios and Xibo but I'd leave your VLE on a dedicated server.

    Also if you're going virtual will you have a second server for redundancy? Lots of eggs in one basket otherwise...
    Last edited by gshaw; 26th April 2012 at 08:34 AM.

SHARE:
+ Post New Thread

Similar Threads

  1. multiple routers on one internet connection
    By madguitarist09 in forum Internet Related/Filtering/Firewall
    Replies: 7
    Last Post: 19th January 2011, 07:29 AM
  2. moodle on ubuntu server
    By itgeek in forum Virtual Learning Platforms
    Replies: 5
    Last Post: 28th September 2010, 08:29 AM
  3. Replies: 5
    Last Post: 7th September 2010, 10:27 AM
  4. Installing Moodle on Ubuntu.....
    By TheFopp in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 4th November 2009, 11:07 PM
  5. My "How to" Guide on Installing Moodle on Ubuntu 6.06
    By darknova in forum Virtual Learning Platforms
    Replies: 11
    Last Post: 8th May 2008, 03:40 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •