We already have WOL enabled on BIOS, and need to check for the type of WOL our Ethernet card supports: # ethtool eth0 We will be configuring WOL on a Debian server. Update packages list and install ethtool: # apt-get update & apt-get install ethtool Configure WOL This can be done by using wake on LAN messages. It would be sensible to have the server sleeping and wake up only when needed to transfer backups. So, the backup server doesn’t need to be online 24/7, but on-demand instead. Server “A” and the backup server are on the same LAN.Server “A” then connects to the backup server and uploads a database copy there.At 2AM, server “A” creates a database backup and copies it on to external HDD.The Geek Stuff welcomes your tips and guest articles.We have a non-mission critical backup server which is hosting our nightly copies of MySQL databases from other servers. This article was written by SathiyaMoorthy, developer of enterprise postgres query analyser, an efficient tool for parsing postgresql log to generate html report, which can be used for fine tuning the postgres settings, and sql queries. Once the magic packet is sent, the remote system will start to boot. When the server is not up, execute the following command from another machine which is connected to the same LAN. Interrupt:17 Finally, Switch ON the machine remotely without physical access TX packets:2170162 errors:0 dropped:0 overruns:0 carrier:0 RX packets:3179855 errors:0 dropped:0 overruns:0 frame:0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Note down the MAC address of the server that you wish to switch on remotely.Įth0 Link encap:Ethernet HWaddr 00:16:k5:64:A9:68 # apt-get install wakeonlan Note down the MAC address of the remote server Install the wakeonlan package in the machine from where you need to send the magic packet to switch on your server. $ /sbin/ethtool eth0Ĭannot get device settings: Operation not permittedĬannot get wake-on-lan settings: Operation not permittedĬannot get link status: Operation not permitted Install wakeonlan package on a different machine Note: You should execute ethtool as root, else you may get following error message. If not, use ethtool to set the g flag to the wol option of the NIC card as shown below. Enabling wol option on the Ethernet Cardīy default the Wake-on will be set to g in most of the machines. If Supports Wake-on is g, then the support for wol feature is enabled on the NIC card. Supported link modes: 10baseT/Half 10baseT/FullĪdvertised link modes: 10baseT/Half 10baseT/Full ![]() But after the first first boot you can use wakeonlan to turn it on, if the server gets shutdown for some reason.Ĭheck whether wol is supported on the NICĮxecute the following ethtool command in the server which you want to switch ON from a remote place.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |