(Click to open topic with navigation)
Beginning with Torque 5.0.0, the pbsnodes -m command can modify the power state of nodes. Node cannot go from one low-power state to another low-power state. They must be brought up to the Running state and then moved to the new low-power state. The supported power states are:
State | Description |
---|---|
Running |
|
Standby |
|
Suspend |
|
Hibernate |
|
Shutdown |
|
In order to wake nodes and bring them up to a running state:
To configure nodes to use Wake-on-LAN
Enable WOL in the BIOS for each node. If needed, contact your hardware manufacturer for details.
Use the ethtool command to determine what types of WOL packets your hardware supports. Torque uses the g packet. If the g packet is not listed, you cannot use WOL with Torque.
[root]# ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: Twisted Pair PHYAD: 2 Transceiver: internal Auto-negotiation: on MDI-X: off Supports Wake-on: pumbgWake-on: p Current message level: 0x00000007 (7) drv probe link Link detected: yes
This Ethernet interface supports the g WOL packet, but is currently set to use the p packet.
If your Ethernet interface supports the g packet, but is configured for a different packet, use ethtool -s <interface> wol g to configure it to use g.
[root]# ethtool -s eth0 wol g
[root]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 2
Transceiver: internal
Auto-negotiation: on
MDI-X: off
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
Now the power state of your nodes can be modified and they can be woken up from power-saving states.
Related Topics