wiki:remotely_turn_on_or_off_server

Version 21 (modified by Jamie McClelland, 8 years ago) ( diff )

--

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 cereal attach 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>
    
Note: See TracWiki for help on using the wiki.