Hydra
From Wikitech
File:Hydra.jpeg
A hydra
A Sun Fire T2000, 6-core 1.0GHz UltraSPARC T1, 8GB RAM. It's on evaluation; not ours yet. IP 10.0.0.201. Runs Solaris 10.
ALOM: connect to port 'hydra' on the SCS. Type #. to enter the ALOM console, 'console' from there to enter the system console. From Solaris type ESC-B to enter the openboot prompt. Type 'go' to get back to Solaris.
Useful ALOM commands at the sc> prompt:
poweron poweroff powercycle
It has two drives with all FSs mirrored. If the primary drive fails then 'boot backup_root' from the prom (it should do this automatically).
Don't use GCC to compile things here (it's slow on SPARC). Use cc (or CC for C++) in /opt/SUNWspro/bin.
Software
Solaris packages are available in /h/w/src/solaris/. They install into /aux0/wmf. To build a package:
$ cd /home/wikipedia/src/solaris $ gzip -dc program-1.0.tar.gz | tar xf - $ cd program-1.0 $ ../configure.sh --prefix=/aux0/wmf/misc $ make $ make DESTDIR=/tmp/program install # or INSTALL_ROOT= for some programs $ cd ../ $ mkdir program $ cd program $ pkgproto /tmp/program=/ >prototype $ echo 'i pkginfo' >>prototype $ cat >pkginfo PKG=WMFprogram ARCH=sparc VERSION=1.0 NAME=A program built for WMF CATEGORY=application BASEDIR=/ ^D $ pkgmk -o $ cd .. $ pkgtrans -s /var/spool/pkg `pwd`/WMFprogram.sparc.pkg WMFprogram $ pkgadd -d WMFprogram.sparc.pkg