Zum Inhalt springen

Metacraft: Unterschied zwischen den Versionen

Vierlex (Diskussion | Beiträge)
Vierlex (Diskussion | Beiträge)
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]]