You can define a Wake on LAN (WOL_JOB) job to send a signal to a server to turn it on. The job can wake up a remote computer that has been soft-powered-down (ACPI D3-warm state).
Note: To run these jobs, your system requires CA WA Agent for UNIX, Linux, or Windows.
Required Statements
To define a Wake on LAN job, you must specify the following statements:
Optional Statements
You can specify the following optional statements for a Wake on LAN job:
Example: Broadcast the WOL Signal and Complete Immediately
This example broadcasts the WOL signal to the server identified by the 172.16.0.0 IP address and the 00-11-43-73-38-DC MAC address. After the WOL signal is sent, the job completes immediately without verifying whether the signal worked.
AGENT AGENTNME BROADCAST 172.16.0.0 MAC 00-11-43-73-38-DC
Example: Broadcast the WOL Signal and Ping a Port
This example broadcasts the WOL signal to the server identified by the 172.16.00 IP address and the 00-1E-4F-C1-0F-FE MAC address. After the WOL signal is sent, the agent pings port 7 of the host computer to ensure it is available. If port 7 is available, the job completes successfully; otherwise, it fails. The job uses the default timeout for the ping.
AGENT AGENTNME WAKEHOST host WAKEPORTS 7 BROADCAST 172.16.0.0 MAC 00-1E-4F-C1-0F-FE
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|