Antonio Rizzi
ServiceNow Employee
ServiceNow Employee

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

AntonioRizzi_0-1665874394532.png

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.

AntonioRizzi_1-1665874577962.png

 

 

 

 

 

Version history
Last update:
‎10-15-2022 04:07 PM
Updated by:
Contributors