Author Topic: anyone running a minecraft server?  (Read 3113 times)

Offline mrklaw

  • Member
  • **
  • Posts: 97
anyone running a minecraft server?
« on: May 18, 2011, 01:43:00 PM »
I'm running sabnzbd, sickbeard, plex media server and a minecraft server on my mac mini. I'd like to move as much of that onto a separate server, possibly a HP proliant with unRAID installed. CPU is an AMD N36L, dual core 1.3GHz.

Anyone got minecraft running on unRAID? How about with plugins? Its a java server, and from my limited observations isn't very CPU intensive, but can use quite a lot of disk activity and network.

I was thinking to have a 'scratch' drive in the HP for sabnzbd temporary downloads/NZB archive etc, and thats where the minecraft data would live. Can unRAID support that?


Offline Chris Pollard

  • Hero Member
  • *****
  • Posts: 750
    • Frumble Fabrics
Re: anyone running a minecraft server?
« Reply #1 on: May 18, 2011, 01:50:19 PM »
sab and sickbeard are no problem,  PMS on Linux is still young but I expect it will get better but the microserver might not have the guts to run transcoding.

Minecraft will probably work....  I think people are running other java stuff already, again dual 1.3ghz might not suit it.
« Last Edit: May 18, 2011, 01:51:50 PM by Chris Pollard »
unRAID : Lian Li 343-B, Asus M3A32-MVP Deluxe, Athlon 64 x2 4000+, 6gb RAM, Intel 330 120gb SSD Cache, Supermicro AOC-SASLP-MV8 x2 - Retired
unRAID2 5.0.2 : X-Case RM424, Supermicro X9SCM-F, Xeon E3-1230 v2, AOC-SASLP-M8 x2, Seagate ST1000DX001 1TB SSHD Cache,  8gb ECC - 40.03TB
unRAID3 6.0b5a : X-Case RM424, Supermicro X10SLM-F-B, Xeon E3-1220 v3, AOC-SASLP-M8, 500gb Momentus XT Cache, 8gb ECC - 18.19TB
unRAID Test Box : HP Microserver N36L, 2gb RAM - 2.55TB Usable

Offline prostuff1

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6045
  • Greenleaf Technology
    • Greenleaf Technology
Re: anyone running a minecraft server?
« Reply #2 on: May 18, 2011, 01:52:53 PM »
I think people are running other java stuff already, again dual 1.3ghz might not k.... suit it.

Airvideo is Java, so getting Minecraft to work should be possible.
Like us on Facebook | Follow me on Twitter
Looking for a prebuilt server? Greenleaf Technology
Building it yourself? Greenleaf Prototype Builds
Troubleshooting | Wiki

Offline pantheis

  • Member
  • **
  • Posts: 38
Re: anyone running a minecraft server?
« Reply #3 on: May 26, 2011, 09:46:35 PM »
I have a Minecraft RAMDISK based server running on MineOS+ inside a VirtualBox on my Unraid box.

My Unraid box is a Sempron 140 single core with 2GB of ram.

I have Unraid 4.7, Unmenu, cache_dirs, the full HTML server for the PHP web interface to administer VirtualBox and I'm sure I'm missing something else.

My Minecraft server is set to use 1GB of ram. I have mounted a 100GB drive formatted as ext3 under /mnt/cache2 and use it as a permanent storage solution. That's where my MineOS+ virtualbox drive file resides. I also have set aside 5GB of that 100GB drive as a linux-swap partition for the Unraid box.

Everything works great! :)

Offline mrklaw

  • Member
  • **
  • Posts: 97
Re: anyone running a minecraft server?
« Reply #4 on: May 27, 2011, 02:13:13 AM »
was it difficult to set up - just looking at virtualbox and mineos+ and mineos+ has some great youtube tutorials but they're all based on the GUI running in windows, and I'm assuming this would need to run headless on unRAID? As all I need to do is run minecraft, I'm wondering whether trying to get it going with the JRE directly in unraid is worth a try.

Can you copy across and existing world, and use bukkit/plugins?
« Last Edit: May 27, 2011, 03:47:33 AM by mrklaw »

Offline pantheis

  • Member
  • **
  • Posts: 38
Re: anyone running a minecraft server?
« Reply #5 on: May 27, 2011, 09:14:11 PM »
Let me preface all of the following with this: If you are not comfortable with the linux command line I would avoid putting VirtualBox + MineOS+ on your unraid box. I started with just using VirtualBox on my Windows 7 64bit system and playing with MineOS+ inside of that before trying to get it working on my Unraid server.

Just install Vbox on Windows and install MineOS+ inside that.

That said:

If you follow the VirtualBox tutorials on this very forum to install VBox on your unraid server, you'll end up with a web UI interface into virtualbox, complete with a web console (or even RDP) to whatever virtual machines you run. Of course, once you get MineOS+ setup, you can SSH in to your server as well as use the web interface to manage your server.

I have made some customizations to how Vbox (and a lot of other addons for unraid) are stored and installed. Instead of having them packaged in gzipped tar files that have to be uncompressed every reboot of the unraid box, I have them stored on my fake cache drive (/mnt/cache2). I manually partitioned and formatted the drive for reiserFS (I think previously I said it was ext3, I was incorrect) and added commands to the unraid "Go" file to manually mount it on boot. I then have it create symlinks to directory structures on the mounted disk so that the files for virtualbox and other addons show up in the right places already preinstalled. This saves a huge amount of ram as VBox takes over 100MB fully installed. I also have 5GB of linux-swap partitioned on that 100GB fake cache drive and use the unmenu swap addon to enable it.

As for the MineOS+ virtualbox, I pre-allocated a 4.3GB (small enough so it would fit on a DVD+R) file on /mnt/cache2 (outside of the array) and used that as my Vbox hard disk for the MineOS+ install. I allocated 1GB to swap, 2.5GB for the backup partition(sda2) and 500MB for the system partition (sda1). I'm using the ramdisk installation for MineOS+. This is where it really shines.

I have a full craft bukkit server running Minecraft 1.5_01 (because 1.6x is horribly buggy and needs fixing) along with a whole host of plugins. I setup automatic incremental+differential backups every 10 minutes of all three worlds, auto backup pruning (keeps 72 hours of backups), auto mapping using the google map API every 4 hours (you can see this at www.kaijin.com - pick world three or two, one is boring) along with an automatic encrypted public key protected rsync of the files up to the previous mentioned website, and daily safe shutdown and restart of the virtual machine (gives in-game warnings, saves everything, reboots).  On restart of the virtual machine, it will restore all three worlds from the latest backup to the ramdisk and then start world three by default. :)  Considering that my entire Unraid box only has 2GB of ram on it and is running a Sempron 140 single core CPU, I think things run damn well. The swap space for both the MineOS+ and unraid box are needed to keep both from running out of memory, but I do not find swap is used all that often.

I just ordered another 2GB of ram for the unraid box and plan on giving 1.5GB of it to the minecraft VM and leaving the other 512MB to Unraid.

In terms of just trying to get the minecraft server itself to run on the unraid box, that's super easy. Install JVM and you are basically done. I decided to go with MineOS+ because of the ramdisk based install, built-in web administration and easy customization along with fully incremental and differential compressed backups and the ability to provide a level of protection between the internet and my unraid box.

Also, if minecraft crashes and takes down the entire VM, it shouldn't end up crashing the entire unraid box. I have had the VM crash and hard lock multiple times while fiddling with things and it never once made the unraid box blink. :)

Offline mrklaw

  • Member
  • **
  • Posts: 97
Re: anyone running a minecraft server?
« Reply #6 on: June 02, 2011, 01:38:08 AM »
sounds amazing. Massively complex to set up? You have any links to material that would help me do something similar?