Changes between Version 20 and Version 21 of remotely_turn_on_or_off_server


Ignore:
Timestamp:
Apr 14, 2016, 4:19:19 PM (3 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • remotely_turn_on_or_off_server

    v20 v21  
    77All power units are configured to list the name of the server connected to each port (we don't maintain a list on this page).
    88
    9 To power down a server, first determine if the server is in Telehouse or XO/Bandcon. Then, login to each power unit in the location and get a status listing to see if the server you want to power down is controlled by the power unit you are connected to.
    10 
    11 ''Note'' - if a server has two power supplies, it might be plugged into both remote power units in their cabinet. If that is the case, you will need to first power off one of the power units, then reboot the other (and then power on the power unit you powered off).
    12 
    13 
    14 == Telehouse ==
    15 
    16 In Telehouse, we have one PDU for all machines.
    17 
    18 === Connecting ===
    19 
    20 
    219{{{
    2210ssh -t pdu-console@console.mayfirst.org cereal attach pdu
    2311}}}
    2412
    25  * Hit enter twice to get a login prompt. The username is apc and the password is the same.
     13 * Hit enter twice to get a login prompt. Check keyringer for user/password.
    2614
    2715=== Commands ===
     
    4937apc>
    5038}}}
    51 == XO/Bandcon ==
    5239
    53 In our XO/Bandcon space we have two Baytech RPC-27 zero U devices named odetta and ochs.
    54 
    55 === Connecting ===
    56 
    57 {{{
    58 ssh sysadmin@paley.mayfirst.org
    59 }}}
    60 
    61 Followed by either:
    62 {{{
    63 connect direct deviceport odetta
    64 connect direct deviceport ochs
    65 }}}
    66 
    67 
    68 === Wiring details ===
    69 
    70 Thanks to Riseup for setting up our cables. Here are the details for creating an RJ45 to RJ45 cable that properly connects a Lantronix Serial Console server to the Baytech RPC-27 device.
    71 
    72 {{{
    73 ,----
    74 | this end plugs into the lantronix (where x is no wire):
    75 | x/WBr/WBl/O/x/Bl/WO/x   = 1/2/3/4/5/6/7/8
    76 `----
    77 
    78 ,----
    79 | and the other end (plugs into the baytech) is the standard 568B:
    80 | WO/O/WG/Bl/WBl/G/WBr/Br = 1/2/3/4/5/6/7/8
    81 `----
    82 
    83 ,----
    84 | Baytech   ->  SLC
    85 | 1 (DTR)  ->   7 (DSR)
    86 | 2 (GND)  ->   4 (GND)
    87 | 3 (RTS)  ->   x
    88 | 4 (Tx)   ->   6 (Rx)
    89 | 5 (Rx)   ->   3 (Tx)
    90 | 6 (N/C)  ->   x
    91 | 7 (DSR)  ->   2 (DTR)
    92 | 8 (DCD)  ->   x
    93 `----
    94 }}}
    95 
    96 === Creating new users on odetta ===
    97 
    98 Some notes from Riseup on creating new users:
    99 
    100  * The max password length appears to be 8 characters, doing a longer password results in an "Invalid password" error.
    101  * To set a password what you have to do is to create the user as 'admin', then logout of the 'admin' account and then login to the new user account (with no password), then run the 'password' command as that user.
    102  * By default all new users have access to no receptacles.