9

My problem isn't one you encounter on a daily basis, yet I find interesting enough to share and ask for help. From the beginning: the academic scientific group I am a member of (we are focused on networking-related stuff) got today an ooold SPARC server, which we intend to use as our www/shell account machine (currently we use a pretty poor virtualized solution).

Here's a photo of it: http://i.imgur.com/s8iE9.jpg

The big question is: how do I find out if it's functional and install an OS on it? The thing hasn't got a VGA port which would make things way easier.

We've got a cable that looks like a DB-25 -> COM cable, but it's been reported not to work on a windows laptop with hyper terminal. I've been thinking about monitoring the network ports for any kind of traffic to confirm it's functional and then fiddling with network boot to install any OS on it - is it any good of an idea?

Thanks in advance for any help :)


Time for update #1:

I'd like to thank everyone for their advice! It was all very helpful, however I've run into some problems today. The first problem: http://i.imgur.com/tFgv5.jpg

As you can see, the thing on top was not a Sun Netra, but a StorEdge S1 disk array. The other thing is that I don't have a key, and the manual @lain says that you have to turn it on in the diagnostic mode to get a serial console. My google skills seem to be bad, @voretaq7, because I can't seem to find any information regarding turning on the diagnostic mode :-( Could a locksmith make a key that would fit provided I found a blueprint of the original key?

Here is the other photo: http://i.imgur.com/eFsEf.jpg

That's a big amount of ports there :-o How should I attach the StorEdge to the 4500? I browsed through it's manual and it seems like plugging one end of the SCSI cable to SE's out port and the other to the ,,1'' marked port on the 4500 is a good idea.

As for the DB25->COM cable - it turns out it was custom made, and probably isn't a null-modem one. Where could I find a diagram so I can make one?


Final update:

I'd like to thank everyone for their input :) You helped me a lot to get the machine running and I don't think I would be able to do it without you. http://i.imgur.com/A9obl.jpg - currently running OpenBSD, but I'll tree Free later on :) Cheers!

Wiesław Herr
  • 340
  • 1
  • 9
  • You possibly have 2 Sun computers there. It would be interesting and possibly helpful to have a picture of the backside also as all the connectors are there. (And the location of the console probably depends if there is a graphics card or not. Sun traditionally did not use VGA connectors but DB13W3 for graphics.) – snap Aug 04 '11 at 16:37
  • How's about telling us the model numbers from both of the boxes ? – user9517 Aug 04 '11 at 16:42
  • As I am already home now and will see the machine again tomorrow I will provide more photos and exact numbers then. Thanks for your interest :) – Wiesław Herr Aug 04 '11 at 17:10
  • @iain, the big box is Sun Enterprise 4500 and the 1U box at the top is Netra X1. http://en.wikipedia.org/wiki/File:Sun_Enterprise4500_Front.JPG – snap Aug 04 '11 at 18:25
  • @Wieslaw - Do you have the key for the Enterprise 4500 (see the photo snap posted)? If not you will probably want to retrieve that (or google around for how to use the box without the key -- It's just for turning the switch and many of them have been lost over the years so there's plenty of how-to pages on getting by without one) – voretaq7 Aug 04 '11 at 18:38
  • Be aware - the E4500 consumes an enormous amount of power, relatively speaking. That may not be directly relevant to you, but considering the horsepower of the hardware, it's a huge waste of electrons. They were great servers in their day, don't get me wrong, I ran a pair of them back at the turn of the century. :) – anastrophe Aug 04 '11 at 21:18

1 Answers1

7

First off, what models are they -- The little one on top looks like a Netra of some kind. The big one is obviously an Ultra Enterprise 4500.

Second, quick crash course on Sun hardware, probably applicable to the box on the bottom more than the one on the top:

  • As others have pointed out, if you want to use video you need a 13W3-to-VGA adapter (or a Sun/13W3 monitor).
    You also need a Sun keyboard - If you don't connect a keyboard…
  • …You can use a serial console (or HyperTerminal on a Windows machine).
    • Connect a null-modem cable between serial port A on the Sun machine & your Windows box or serial console)
    • Open up HyperTerminal & set it for 9600 baud, 8-bit bytes, No parity, 1 stop bit (9600/8/N/1).
    • Turn on the Sun machine. You should get dumped into the Sun boot monitor (and if an OS is installed, eventually a login: prompt.

From there an OpenBoot command reference should get you where you need to go in terms of getting the OS up and running or installing a new one.
If you don't want to run Solaris I would encourage you to consider NetBSD or OpenBSD - I'd lean toward the former if you expect to get a lot of heterogeneous "inherited" hardware, as you can install NetBSD on pretty much anything.

Beware of sending the break character once the OS is started (this often happens when a serial console is turned on, or when some USB-to-Serial adapters are plugged in). This will cause the machine to drop back into the boot monitor (suspending the OS and leaving you at an OK prompt) -- Should this happen to you inadvertently, just type go and the system will return to normal operation.


Assuming the box on top is a Netra it's a bit different -- There's usually a combination serial and Lights-Out-Management (LOM) port that you connect to with a Cisco-style console cable (9-pin to RJ45). This Page has instructions on fabricating one, but you can probably buy the cable for a small pittance and save yourself the work.
This page talks a bit about how the LOM system works (basically type #. (hash period) to get into it and it's a stripped-down equivalent to the boot monitor with some other capabilities).

Of the two the bigger box is likely to be better/more useful, assuming it wasn't stripped of all components of value.

Note: Some Sun hardware only has one serial port, marked "A/B" (I think the 4500 may be one of these but SunHelp disagrees) - on the off chance it is, I believe a regular serial cable will hit port "A" which is what you want. SunHelp's serial ports and pinouts page is also a great resource, as is the rest of the SunHelp site.

voretaq7
  • 79,345
  • 17
  • 128
  • 213
  • On the UE 4500, dig around in the OpenBoot reference - it's been a while since I've used Sun hardware, but I know there are test routines included in OpenBoot that will tell you what hardware is installed and perform basic diagnostics to tell you if it's working. – voretaq7 Aug 04 '11 at 18:28
  • Great! I saw some Sun monitors in one class in my Uni, so I'll try to get my hands on them if I fail with the serial cables. As for the 9-pin to RJ45 cable, I've seen a couple of those so the box on top seems a less problematic to get to work. As for the OS - can I run FreeBSD on that? It's a SPARC64, right? – Wiesław Herr Aug 04 '11 at 18:40
  • You will also need to steal a keyboard to use the monitor: Sun machines put the console on the serial port (no video out) if they don't see a keyboard plugged in. The Enterprise 4500 is Ultrasparc so FreeBSD/SPARC64 will work. Back when I was using Sun hardware that port was experimental so I don't have any firsthand knowledge of how well it does/doesn't work. – voretaq7 Aug 04 '11 at 18:47
  • 1
    Excellent instructions regarding the console! The only bit missing is that on Sun keyboard you can break into the boot monitor with keyboard combination L1-A (equivalent to break on the serial line. :) Be prepared to use a serial console with the UE 4500 too though, that is the normal way with Sun servers. The UE 4500 key (I hope you find it) is kind of funny: you turn it on but there is a delay before anything happens. I also have not used these boxes with *BSD because we bought Sun hardware specifically for running Solaris (and the *BSD ports only worked with basic SPARCstations back then). – snap Aug 04 '11 at 19:09
  • 1
    The system reference manual for the E4500 is [here](http://download.oracle.com/docs/cd/E19095-01/ent6k.srvr/805-2632-11/805-2632-11.pdf) – user9517 Aug 04 '11 at 19:19
  • 1
    I must add that the experience of writing "go" as quickly as possible when you see the "OK" prompt is part of the Sun experience. You must practice it: if you are too slow to react, Solaris has probably frozen already and you need to reboot. When you get tired of it you can solder a resistor in the serial connector to prevent the occasional break signal. – snap Aug 04 '11 at 19:22
  • 2
    Another vital part of the Sun experience is yanking and reattaching your friends' keyboards (which sends a break down the *keyboard*'s serial line, and drops you into the boot monitor too. – voretaq7 Aug 04 '11 at 19:43