wiki:remotely_turn_on_or_off_server

How do I remotely turn on or off (or power-cycle) a physical server?

This page is intended for MFPL admins only. Instructions for rebooting a virtual server.

All power units are configured to list the name of the server connected to each port (we don't maintain a list on this page).

ssh -t pdu-console@console.mayfirst.org 
telnet pdu
  • Hit enter twice to get a login prompt. Check keyringer for user/password.

Commands

  • Get help:
    help
    
  • Show outlets with the connected device:
    apc>olName all
    E000: Success
     1: monkeyman
     [...]
    24: Outlet 24
    
    apc>
    
  • Power cycle a device, where DEVICE_NAME=the name from output above.
    apc>olReboot monkeyman
    E000: Success
    
    apc>
    
Last modified 18 months ago Last modified on Apr 26, 2018, 12:53:19 PM