Toolserver/Use the SP for remote control

From Wikitech
< Toolserver(Difference between revisions)
Jump to: navigation, search
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
There are remote-consols at every toolserver. These works without running OS or even without running server. The remoteconsole can used to restart a server for example.
+
== Sun V20z / V40z ==
  
== Connect ==
+
'''This applies to''': zedler; old knams hosts (clematis, vandale)
#Connect to a server within kenisnet
+
 
#Run ''ssh system@servername.ipmi''
+
* Connect with '''ssh system@''machine''.ipmi'''.  Password is the root password.
#Use the root-passwort for auth
+
* Commands:
#Run ''platform console'' to get the root-shell (there are other commands too).
+
*; platform console : connect to the serial console (type '''^Ec.''' to exit)
 +
*; platform set power state off -f : turn the machine off
 +
*; platform set power state on -f : turn the machine on
 +
*; platform set power state cycle -f : power-cycle the machine
 +
* Exit by typing ^D
 +
 
 +
== Sun X4100 ==
 +
 
 +
'''This applies to''': hemlock
 +
 
 +
* Connect with '''ssh root@''machine''.ipmi'''.  Password is the root password.
 +
* Commands:
 +
*; start /SP/console : connect to the serial console (type '''ESC (''' to exit)
 +
*; stop /SYS : turn the machine off
 +
*; start /SYS : turn the machine on
 +
*; reset /SYS : power-cycle the machine
 +
 
 +
How to fix the SP if it behaves weirdly:
 +
 
 +
Sometimes the SP on these machines stop working, e.g. you can't power cycle.  If this happens, connect as the user '''sunservice''' and type '''reboot'''.  The SP will reboot and should start working normally.
 +
 
 +
== Dell PowerEdge 1950 ==
 +
 
 +
'''This applies to''': yarrow
 +
 
 +
* Connect with '''ssh root@''machine''.ipmi'''.  Password is the root password.
 +
* Commands:
 +
*; connect com2 : connect to the serial console (type ^\ to exit)
 +
*; racadm serveraction powerdown : turn the machine off
 +
*; racadm serveraction powerup : turn the machine on
 +
*; racadm serveraction powercycle : power-cycle the machine
 +
 
 +
If you get "connect: com2 port is currently in use" when trying to use the serial console: reset the SP with "racadm racreset", wait a couple of minutes, and reconnect.
 +
 
 +
[[Category:Toolserver]]

Latest revision as of 13:49, 28 June 2012

[edit] Sun V20z / V40z

This applies to: zedler; old knams hosts (clematis, vandale)

  • Connect with ssh system@machine.ipmi. Password is the root password.
  • Commands:
    platform console 
    connect to the serial console (type ^Ec. to exit)
    platform set power state off -f 
    turn the machine off
    platform set power state on -f 
    turn the machine on
    platform set power state cycle -f 
    power-cycle the machine
  • Exit by typing ^D

[edit] Sun X4100

This applies to: hemlock

  • Connect with ssh root@machine.ipmi. Password is the root password.
  • Commands:
    start /SP/console 
    connect to the serial console (type ESC ( to exit)
    stop /SYS 
    turn the machine off
    start /SYS 
    turn the machine on
    reset /SYS 
    power-cycle the machine

How to fix the SP if it behaves weirdly:

Sometimes the SP on these machines stop working, e.g. you can't power cycle. If this happens, connect as the user sunservice and type reboot. The SP will reboot and should start working normally.

[edit] Dell PowerEdge 1950

This applies to: yarrow

  • Connect with ssh root@machine.ipmi. Password is the root password.
  • Commands:
    connect com2 
    connect to the serial console (type ^\ to exit)
    racadm serveraction powerdown 
    turn the machine off
    racadm serveraction powerup 
    turn the machine on
    racadm serveraction powercycle 
    power-cycle the machine

If you get "connect: com2 port is currently in use" when trying to use the serial console: reset the SP with "racadm racreset", wait a couple of minutes, and reconnect.

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox