Metacraft: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
K (Software)
(finished, yeah)
Zeile 8: Zeile 8:
 
}}
 
}}
 
== Wtf ==
 
== Wtf ==
Metacraft is our local Minecraft-Server which runs on-demand. You can wake it up through a Magicpacket and it will shut down if nobody is on the server.
+
Metacraft is our local Minecraft-Server which runs on-demand. You can wake it up through a Magicpacket and it will shut down if nobody is on the server for about 15 minutes.
  
 
== Hardware ==
 
== Hardware ==
Zeile 24: Zeile 24:
 
** custom 3.3.4 kernel to support hibernate/WOL
 
** custom 3.3.4 kernel to support hibernate/WOL
 
* Auto Shutdown Script
 
* Auto Shutdown Script
** /usr/games/minecraft/list_num_players.py
+
** /usr/games/minecraft/shutdown_checkar.py
** parses number of players from server log & calls /sbin/halt (should be changed to /usr/sbin/pm-hibernate)
+
** checks every 5 minutes if 15 minutes have passed after the last serverlog change.
** which intervals to call this script with cron?
+
** stops the server, then calls /usr/sbin/pm-hibernate
** needs grace period,.. so we dont shut down the server after wie boot it up.
+
 
* WakeOnLan to Boot
 
* WakeOnLan to Boot
 
** build a custom kernel so hibernate/WOL will work [https://groups.google.com/forum/?fromgroups#!topic/mineos/3oqjInYJsUU src]
 
** build a custom kernel so hibernate/WOL will work [https://groups.google.com/forum/?fromgroups#!topic/mineos/3oqjInYJsUU src]
** use 'ethtool -s eth0 wol g' after a hard reboot to setup WOL
 
*** put it in some startup script thing..
 
** grace period after booting, so worlds dont get corrupted when connecting too fast (3 mins?)
 
  
 
== Network ==
 
== Network ==
  
* runs locally at 10.20.31.142:25565
+
* runs locally at 10.20.31.142:25565 (not static yet)
 
* password protected webinterface at http://10.20.31.142/admin
 
* password protected webinterface at http://10.20.31.142/admin
 
* send a magic packet to 00:0E:A6:74:BB:7C if the server is down/you are the first player
 
* send a magic packet to 00:0E:A6:74:BB:7C if the server is down/you are the first player
Zeile 42: Zeile 38:
 
== Location ==
 
== Location ==
  
Serverkammerl
+
Serverkammerl, hooked up directly to the switch
 +
 
 +
*sorry pepi*
  
 
[[Kategorie:Netzwerk]]
 
[[Kategorie:Netzwerk]]

Version vom 20. Mai 2013, 02:38 Uhr

Language: English


Metacraft
No-Logo.png

Gestartet:

15.05.2013

Involvierte:

User:vierlex, User:Fab

Status:

in progress

Beschreibung:

Metalabs Minecraft Server only reachable through our LAN

Zuletzt aktualisiert:

20.05.2013

Wtf

Metacraft is our local Minecraft-Server which runs on-demand. You can wake it up through a Magicpacket and it will shut down if nobody is on the server for about 15 minutes.

Hardware

  • P4P800-E Deluxe
  • Intel Pentium 4 @ 3 GHz (+HyperThreading)
  • 4x512 MB DDR RAM
  • 500GB Seagate Baracuda 7200
  • some junk power supply

Software

  • MineOS CRUX 0.4.11 (2013-01-21)
    • scripts updated to beta
    • custom 3.3.4 kernel to support hibernate/WOL
  • Auto Shutdown Script
    • /usr/games/minecraft/shutdown_checkar.py
    • checks every 5 minutes if 15 minutes have passed after the last serverlog change.
    • stops the server, then calls /usr/sbin/pm-hibernate
  • WakeOnLan to Boot
    • build a custom kernel so hibernate/WOL will work src

Network

  • runs locally at 10.20.31.142:25565 (not static yet)
  • password protected webinterface at http://10.20.31.142/admin
  • send a magic packet to 00:0E:A6:74:BB:7C if the server is down/you are the first player

Location

Serverkammerl, hooked up directly to the switch

  • sorry pepi*