Project:Infrastructure/SPARC server recovery

This document covers how to recover from hard failure on the Sun Fire T2000 development servers, bender.sparc.dev.gentoo.org and totoro.sparc.dev.gentoo.org.

Thanks to User:Iamben for writing this document. Wikified by User:Robbat2

Short version

 * 1) SSH to ALOM
 * 2) Press  at SILO prompt:
 * 3) Press,  to disconnect console
 * 1) Press  at SILO prompt:
 * 2) Press,  to disconnect console
 * 1) Press,  to disconnect console

Long version
(need to wikify the following still) 1)	From woodpecker, ssh to ALOM (out of band mgmt)	1a)	bender: ssh -oKexAlgorithms=diffie-hellman-group1-sha1 10.0.0.176 1b)	totoro: ssh -oKexAlgorithms=diffie-hellman-group1-sha1 10.0.0.32

# ssh -oKexAlgorithms=diffie-hellman-group1-sha1 10.0.0.176

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

Sun(tm) Advanced Lights Out Manager CMT v1.3.1

Please login: admin Please Enter password: *********

sc>

2) From sc> prompt, run "poweroff" and wait for shutdown confirmation

sc> poweroff Are you sure you want to power off the system [y/n]? y	SC Alert: SC Request to Power Off Host. sc> SC Alert: Host system has shut down. sc>

3)	From sc> prompt, run "poweron"

sc> poweron SC Alert: Host System has Reset sc>

4) From sc> prompt run "console -f" to attach to the host console

sc> console -f Warning: User < > currently has write permission to this console and forcibly removing them will terminate any current write actions and all work will be lost. Would you like to continue? [y/n]y Enter #. to return to ALOM. 

4)	From "boot: boot:" prompt, press enter to boot default gentoo linux kernel

Sun Fire T200, No Keyboard Copyright 2006 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.25.0, 16376 MB memory available, Serial #75611764. Ethernet address 0:14:4f:81:be:74, Host ID: 8481be74.

Boot device: disk File and args: SILO Version 1.4.14_git20170829 boot: boot: Allocated 64 Megs of memory at 0x40000000 for kernel Uncompressing image... Loaded kernel version 4.20.2

[   0.000028] PROMLIB: Sun IEEE Boot Prom 'OBP 4.25.0 2006/11/07 23:24' [   0.000037] PROMLIB: Root node compatible: sun4v [   0.000062] Linux version 4.20.2-gentoo (root@bender) (gcc version 8.2.0 (Gentoo 8.2.0-r6 p1.7)) #1 SMP Wed Jan 16 14:16:59 -00 2019 [   1.797025] printk: bootconsole [earlyprom0] enabled [   2.037192] ARCH: SUN4V

7)	Enter "#." key sequence to disconnect the console & return to sc> prompt

This is bender.gentoo.osuosl.org (Linux sparc64 4.20.2-gentoo) 22:37:04

bender login: sc>

8)	At sc> prompt, "logout" to return to woodpecker

sc> logout Connection to 10.0.0.176 closed. bkohler@woodpecker ~ $