Wake a CI by sending a Wake On Lan packet (WOL) to network interfaces
Import
·
Oct 15, 2022
·
article
Mid Server script and binary payload for sending Wake On Lan magic packet to wake up a CI. This example works on Mid Servers deployed on 64bit Linux hosts.
Script can be invoked via Flow Action Run WoL Command which accepts as parameter:
- reference to Mid Server to be used for sending WOL
- string containing Mac address in the form xx:xx:xx:xx:xx:xx
- optionally can be provided broadcast IP address and if nothing is provided 255.255.255.255 will be used
Subflow Wake CI can be used to wake a specific CI: it will cycle through all network interfaces associated to the CI and send a WOL packet to each interface MAC address.
View original source
https://www.servicenow.com/community/now-platform-articles/wake-a-ci-by-sending-a-wake-on-lan-packet-wol-to-network/ta-p/2353189