shazza6887 Posted August 15, 2018 Posted August 15, 2018 Hi Guys, I have currently built my unraid server and am in the process of pre clearing the disks. I have a question re the Dynamix sleep plugin. When the server goes to sleep due toi inactivity will it wake up by simply accessing a file through the server. EG starting a stream on the Nvidia Shield? My Server is going to be used for only storing media and i work shift work so i may want to use it all hours of the night/day. Am i betting off just using a hdd spin down instead of sleep? Cheers
primeval_god Posted August 15, 2018 Posted August 15, 2018 4 hours ago, shazza6887 said: Hi Guys, I have currently built my unraid server and am in the process of pre clearing the disks. I have a question re the Dynamix sleep plugin. When the server goes to sleep due toi inactivity will it wake up by simply accessing a file through the server. No, to wake the server remotely from the S3 sleep state you would need to use Wake On Lan. I dont know how familiar you are with WOL but it entails sending a "Magic Packet" to the server to wake it up, usually through a special program. I have an app on my phone that i use to send WOL packets when i am connected to my home network. IDK what media client program you are using on the shield, but there are some that have an option or plugin to wake servers with WOL.
shazza6887 Posted August 15, 2018 Author Posted August 15, 2018 Ye i figured there was something like that, What is the app on your phone you use? I am pretty sure kodi has a WOL ferature, i would first have to enable it in my bios correct?
Zonediver Posted August 16, 2018 Posted August 16, 2018 11 hours ago, shazza6887 said: Ye i figured there was something like that, What is the app on your phone you use? I am pretty sure kodi has a WOL ferature, i would first have to enable it in my bios correct? There are several ways to wake up the server: !!! For all this examples you need to config your Server-BIOS for WOL first !!! 1) Over a magic packet within your LAN (WOL - Wake on LAN) or over the internet (WOW - Wake on WAN) 2) Over an App like "Wake On Lan" (Android) - works with WOL and WOW https://play.google.com/store/apps/details?id=co.uk.mrwebb.wakeonlan 3) Directly, when you start your program (Plex, Kodi) on your PC - for this you can use a *.bat file which starts your client and then send the magic packet. You can do this over wolcmd.exe (Windows) If you use a Raspberry (like me) for Plex (or Kodi), you have to use the Phone-App because Plex doesnt have a WOL-function integrated! Broadcast Example (within a *.bat File) for a Windows machine to send a WOW (Wake on WAN): wolcmd 0A0A0A0A0A0A 199.199.199.199 255.255.255.255 66666 The 0As are the MAC of your server The 199s are your IP on the Internet The 255s are the broadcast adress 66666 is the Port where the WOL-Packed comes in. The Router must take it and forward it to port 9 (Firewall rule needed) For a dynamic DNS entry replace the 199s with your dynDNS entry like xyz.dyndns.org (example). The App can also remotely wake your Server over WAN (internet) but only with a propper config on your Router (Broadcast) And here is an example for a *.bat file (with wake.exe) - this works only within your LAN: d: cd \ cd "000 - SUPPORT" cd "WOL Tool" wake FF-FF-FF-FF-FF-FF 192.168.x.x cd \ cd "Program Files (x86)" cd "Plex Home Theater" "Plex Home Theater.exe" When you execute the *.bat, it sends an WOL to the server and starts the Plex-Client.
JonathanM Posted August 16, 2018 Posted August 16, 2018 2 hours ago, Zonediver said: And here is an example for a *.bat file (with wake.exe) - this works only within your LAN: d: cd \ cd "000 - SUPPORT" cd "WOL Tool" wake FF-FF-FF-FF-FF-FF 192.168.x.x cd \ cd "Program Files (x86)" cd "Plex Home Theater" "Plex Home Theater.exe" When you execute the *.bat, it sends an WOL to the server and starts the Plex-Client. Nice! I'd add a line to wait until the IP started responding to pings before starting Plex though.
shazza6887 Posted August 16, 2018 Author Posted August 16, 2018 Once these drives have finally pre cleared (Been nearly 40 hours) 2x 8tb ill start mucking around with it and let you know how i go
Zonediver Posted August 16, 2018 Posted August 16, 2018 15 minutes ago, jonathanm said: Nice! I'd add a line to wait until the IP started responding to pings before starting Plex though. Like this? @echo off wake 00-00-00-00-00-00 192.168.2.255 ping -n 3 127.0.0.1>NUL cd /Program Files (x86) cd OpenPHT OpenPHT.exe
Recommended Posts
Archived
This topic is now archived and is closed to further replies.