Xyplex Maxserver 1500

Other Information

Proper Unix boxen and network gear has an excellent advantage – serial console ports. Do away with monitors, keyboards and mice – just plug in a console server.

The Xyplex Maxserver 1500 is an excellent piece of kit – it’s fairly straightforward to configure, it has 16 ports, and – most of all – it’s cheap. Very cheap. I picked mine up from Ebay for $15.

I’m going to cover setting up a Maxserver 1500, using an Ultra 2 running Solaris 9, which also happens to be my Jumpstart host.

A company called MRV Communications have taken over Xyplex’s Maxserver line – they have a collection of documentation, FAQs, and the software you’ll need.

Initial setup

This page has some good information on the initial setup of the Maxserver – resetting the existing config, and getting into the configuration menu.

Getting a console onto the Maxserver

This is fairly straightforward – get a serial->UTP DTE converter, and plug it into serial port B on your Ultra 2. The plug in some Cat5 cable between that and port 1 on the back of the Maxserver.

Edit /etc/remote on the Ultra 2, and make sure the cuab line looks as follows:

cuab:dv=/dev/cua/b:br#9600

Then fire up tip with tip cuab, hit enter a couple of times, and you have a working console connection to your Maxserver.

The Maxserver OS

One of the first problems we’re going to find is that the Maxserver needs an OS image to boot from. In and of itself, this isn’t a major problem – however, unlike it’s bigger brother the 16×0, and 15×0 series don’t have any internal storage.

This means they have to boot off the network to get their OS.

Setting up network booting

In my case, I had a handy Solaris Jumpstart server, which made it easy to serve out the boot image for the Maxserver.

When you connect to a port on the Maxserver, you’ll find it trying to broadcast boot requests. The header information that you see will contain the unit’s MAC address.

You should see something similar to the following:

RS-423 Terminal Server, Type 36, Rev P.00.00
Ethernet address 08-00-87-01-39-D1, IP address 172.16.0.2, port 1
Automatic Network Selection: Searching for functional network.

On the Jumpstart server, we need to edit a few files for our network booting.

First of all, we need to take the MAC address and put it in /etc/ethers:

00:08:bf:89:b6 consoleserver # Maxserver 1500

Once that’s in place, we need to give it an IP address. Since we want the consoleserver to be always available, it makes sense to give it a static IP, as opposed to using DHCP to serve it out.

So, we need to place a matching entry in /etc/hosts:

192.168.1.254 consoleserver # Maxserver 1500

Now we have this in place, we need to configure our host to serve out the necessary boot images. Since I was using a Jumpstart server, this was already done. For completeness, however, here are the steps we need to take:

- edit /etc/inetd.conf and un-comment the tftp line:

tftp dgram udp wait nobody /usr/libexec/tcpd tftpd /tftpboot

then kill -HUP inetd so the changes can take effect

- next, we need to create the /tftpboot directory, and make sure everyone can read it

cd /
mkdir tftpboot
chmod 755 tftpboot

Now that’s in place, we need to take our boot image and place it in the tftpboot directory.

Initially my Maxserver wouldn’t automatically pick it’s image file up – some messing around with snoop, and I worked out the specific path and filename it was looking for.

Go to the MRV’s website and download the latest mx1500.exe file from there. You’ll need to uncompress this with unzip mx1500.exe, and you’ll end up with an OS image file – mx1500.sys.

Looking at the output from snoop, however, my Maxserver is looking for an OS image file called type36.img, and it believes it is in the XYPLEX subdirectory. So, a quick bit of renaming and moving, and we have that in place.

Once this has been done, we need to start rarpd so we can service the RARP requests the Maxserver will send out when it tries to boot:

/usr/sbin/rarpd -a

Note that, at this stage, Solaris will be clever if we reboot our host. When Solaris comes up, it will check for the /tftpboot directory. If it exists, Solaris will assume it is a Jumpstart host serving out boot images, and will start rarpd automatically for us – most handy.

At this point, we’re all set. Plug a transciever into the AUI port on the Maxserver, connect some Cat5 from there to your hub, and power on the Maxserver.

You should now see the Maxserver asking for a boot image, getting one, and then starting up.

Ooops

Fooled you! Few things ever work first time. So, what went wrong? We have two options for troubleshooting – rarpd itself, and also snoop to see what’s happening on the wire.

First off, let’s look at rarpd. Kill it off, then restart it with the following command:

/usr/sbin/rarpd -a -d

-d puts it in debug mode – rarpd will run in the foreground, and report on what’s going on, This will let you see the rarp requests and replies that occur when the Maxserver boots. You’ll be able to see fairly quickly if you have any configuration errors.

Next up we have snoop, which comes out of the box with Solaris. Just fire up snoop when you power on the Maxserver, and note the network conversation that takes place. You can immediately see what files the Maxserver is looking for as it boots, and what rarpd and your Solaris host are offering it.

Between those two you should be able to solve any boot problems you may have.

Configuring the Maxserver for your consoles

From your port 1 terminal session, type in the following commands, and then reset the Maxserver. This lot should setup ports 2-16 to provide console sessions to Unix hosts and network kit.

define port all telnet transmit immediate
define port 1 telnet echo mode disable
define port 2-16 telnet echo mode character
define port all telnet newline nothing
define port all telnet binary session mode passall
define port all default session mode passall
define port all broadcast disable
define port 1 access local
define port 2-16 access remote
define port all speed 9600
define port all autobaud disable
define port all modem enable
define port all dsrlogout disable
define port dsrwait disable
define port 2-16 dtrwait forconnection
define port all flow control disable
define port 2-16 dcd timeout 0
define port all flow xon
define port all typeahead 16348
define port all autoprompt disabled
define port all line editor disabled
define port all verification disabled
logout port 2-16

Console cables

To wire everything up, we’ll need to get some DB25 and DB9 to UTP converters – you plug one end into your server’s serial port, and then use some Cat5 cable to plug the other end into the Maxserver.

The easiest thing to do is use stock Cat5 patch cables (normally wired UTP ethernet) and then use a converter wired for DCE.

I bought mine as kits from Netshop.

25pin modular adapters can be had from here.

9pin modular adapters can be had from here.

You’d think that there would be some sort of standard way of wiring these things up, but sadly not. There are 4 different standards that I have found – not to mention all the cretinous things vendors do.

So, the table below shows how to wire up each cable. I’ve also included the wire colours, but note that the colours will only be accurate for the above kits from Netshop.

UTP pin
DB25 pin
DB9 pin
Wire colour
What it’s used for
3
2
3
Yellow
TX
6
3
2
Black
RX
1
4
7
White
RTS
8
5
8
Blue
CTS
7
6
6
Orange
DSR
5 and 4
7
5
Red and Green
GND
2
20
4
Brown
DTR

 

The above converters have been tested with Suns, Dec Alpha, and Origin 200s, and have all worked with the Maxserver 1500.

Using it

Once everything is plugged in, and the Maxserver is booting correctly, you can just telnet to ports on it to access the consoles.

The formula for working out which port to use is simple:

2000 + (100 x <console_port_number>)

So, if you want to access the console of the machine that’s plugged into port 4, you would do:

telnet consoleserver 2400

Periodic Tables

Silicon Graphics FAQs

SGI traditionally published periodic tables to show the various system options, and how they compared to each other. Here’s a listing of all the periodic tables I’ve been able to find – please get in touch if you’ve found any more that should be added.

Periodic Tables of the Irises – these cover a larger product range from the time:

IRIX Security

Silicon Graphics FAQs

IRIX Security HOWTO

In an effort to solve the many security FAQs which pop up, I’ve written a security HOWTO for IRIX. It contains step by step instructions on how to secure your 6.5 system.

The current version is 0.1, and it can be viewed here: irix_security_howto_0.1.pdf PDF icon

Please send any questions or feedback.

 

SGI

SGI provides security patches, as well as recommended/required patch sets, for free.
For some of the patches, you’ll need a Supportfolio username and password to download them – you can apply for one here.

 

Other Security Resources

  • CERT – the Computer Emergency Response Team co-ordinates reports of vulnerabilities, and has a fairly comprehensive list of vulnerabilities, plus information on vendor-supplied fixes (and where to get them from)

  • SANS – the SANS Institute was founded in 1989 as a co-operative research and education organisation. It’s one of the premier computer security organisations – lots of helpful information here.

  • SecurityFocus has grown out of the BugTraq mailing list – it contains archives of vulnerabilities, archives of security related mailing lists, exploits, discussions – the works. You should subscribe to the BugTraq mailing list – it’s well worth it.

  • If you have one of the newer SGI Visual Workstations, running Windows, then you should also subscribe to the NTBugTraq mailing list

Local mirrors

Silicon Graphics FAQs

This is a collection of sites that I’ve found too useful to risk losing – hence they’ve been mirrored locally.

Reality is back as http://reality.sgiweb.org. However, not all the old Reality content is live yet. Please give them a donation to keep them going!

If there is extra information you think should be mirrored, or you have content you’d like mirrored, please get in touch.

At the moment, the current information is mirrored here:

Management Speak

Funny Stuff

As a Sysadmin, there will be occasions when users – or management – may use some underhand tactics to push through some noxious change. If you’re not prepared, these tactics can leave you defenseless to counter their arguments, and thus your machines will be pillaged by those who don’t really know any better.

In order that you may more effectively defend yourself against such base tactics, I’ve compiled here a list of strategies to use – both offensive and defensive – to ensure you get to do what’s best for your machines.

Not only can you have fun using them yourself, but also you can play a "Buzzword Bingo" equivalent as you try and spot other people doing it, too!

We’ll examine the following in terms of a ‘challenger’ and a ‘victim’. Note I use these phrases because, in conventional warfare, the victim is just that – a victim who loses out to a challenger.

Reaching Out

Railroading

There are Donkeys in Paraguay

Juggling Frogs and Weasels

Exaggerate the Case

Extreme Politeness

 


Reaching Out

Overview: Reaching Out (not to be confused with the ‘Reach Around’) is what Catholic Priests do to small boys. It is where specially trained officers sit in a non-threatening playroom with a child and say “Show me where the Bad Man reached out to you, on this doll”.

Marketers – and, increasingly, insecure managers of the bed-wetting variety – have also started using this buzzword phrase when what they actually mean is “spoke to”.

Unless you really DID stick your thumb up your customer’s arse, you do not ‘reach out’ to them. You ask them a fucking question. OK?

Deployment: Banned by international convention

Usage:

NO. Using this phrase is announcing to the world that you inappropriately touch small children. And possibly animals as well.

English law clearly states that, if you ever hear anyone using this reprehensible phrase, you are allowed to immediately bitch slap them. HARD. Just wind back, and deliver that bitch slap with all your might.

If you don’t live in England, it doesn’t matter – cry “God Save The Queen” as you bitchslap the smug smile off the face of that smarmy little ponce.

Railroading

Overview: When the challenger wishes to push through an idea which will encounter resistance, they will overwhelm their victim with a constant stream of impossible to disprove statements. When the victim gives up hope and just starts agreeing with everything in an attempt to get the challenger to go away, the challenger slips in a small statement detailing what they actually want to get done. The victim will be so overwhelmed that they will blindly agree, and the challenger can then carry the day.

This works particularly well if the victim is busy or distracted.

Deployment: Offensive

Usage:

<The Challenger wishes to get elevated privileges>

Challenger: Well, I know you’re busy, and that you’ve got a lot to do, but I don’t want to burden you with more stuff, and I know you’ve got a ton of stuff to clear anyway.

Victim: Yes ……

Challenger: So rather than bother you, and waste your time – and I’m sure you’ll agree that we don’t want your time wasted, I mean you’ve got so much more important stuff to get done anyway

Victim: Well, but ….

Challenger: Because I know it wouldn’t take you long to do, but then you’d have to postpone something else, and everything else is pretty urgent – but isn’t it always that way?

Victim: Yes

Challenger: So if you’d agree it would make sense to do that then?

Victim: Well, yes, but was it …

Challenger: Excellent – I’ll make sure your manager knows we’ll go ahead with that and not interrupt you any more

Victim: Umm, I guess …

 

There are Donkeys in Paraguay

Overview: A challenger may often start spouting technically true – but utterly irrelevant – facts to support their case. The victim can use this simple ploy to disarm such tactics, without appearing confrontational or rude, thus derailing the challenger with little deviation from the true discussion.

Deployment: Defensive

Usage:

<The Challenger wishes to continue using rsh, despite a roll out of ssh>

Challenger: Well, you know, it’s not such a big deal, because many companies will use rsh internally anyway, and as we’ve got firewalls our internal machines are well protected, aren’t they?

Victim: Yes, and there are donkeys in Paraguay as well.

Challenger: What?

Victim: Sorry, I thought we were talking about things that were irrelevant to using rsh.

Challenger: But what does rsh have to do with donkeys?

Victim: Nothing. Which is why we are using ssh across the board. Thanks for your time though.

 

We’re just Juggling Frogs and Weasels

Overview: Tricky to say whilst keeping a straight face, but devastatingly effective if you can pull it off. To try and bolster their point, the challenger may start to mention technically impressive, but utterly unrelated, accomplishments, in an effort to make their idea seem less unpalatable. Works best in meetings as opposed to mano-et-mano confrontations.

Deployment: Defensive

Usage:

<Again, the challenger wishes to continue using rsh instead of ssh>

Challenger: Well, I once wrote a script that deployed a load of code using rsh, and it was really use to use and debug, and it was a great hit with all the other developers. And we’ve got all these other scripts which use rsh in all these great ways.

Victim: Well, we’re just juggling frogs and weasels now.

Challenger (and everyone else in hearing): What?

Victim: Well, that’s technically impressive, but it has no real relevance to what we’re discussing.

<while the challenger is disarmed, get in there quick>

Victim: Just replace rsh with ssh in your code – if you could write such impressive scripts, I’m sure something as basic as that would be a very quick thing for you to do.

 

Exaggerate the case

Overview: Gross exaggeration needs to be handled carefully – it needs to be so over the top that it’s obvious to even the most limited person that you’re being sarcastic, otherwise they may take your comment literally, and you’ll be so much more worse off. Works best in front of an audience.

Deployment: Both offensive and defensive

Usage:

<Once again, the challenger clings to the nirvana that is rsh>

Challenger: But I don’t see why there is a security risk in using rsh. It’s not like we’ve been hacked or anything.

Victim: Of course. I’ve been very narrow minded. In fact, I agree totally with you. We’ve no need of firewalls, or packet filters. I don’t think that our activities securing our Internet servers have really added any value. Indeed, I think I’ll just pass out the root passwords and be done with it. I mean, it’s not like we’ve been hacked, is it?

Challenger: ….. <possibly a tad upset too, for bonus points>

Victim: Exactly.

 

Extreme Politeness

Overview: Like many activities (like Extreme Ironing) Extreme Politeness is taking things to – well, the extreme. Note that the politer you are, the more rude you can be – see airport check-in desk staff for reference. The important thing here is not to lose your temper, while the challenger loses it big time. Again, an audience is required for greater effect.

Deployment: Defensive

Usage:

<still banging on about rsh>

Challenger: Look, I know what I’m doing – just give me back rsh.

Victim: Yes, I’m sure you do think you know what you’re doing – but I know what you’re doing as well. And I don’t really think that it’s something that’s in our best interests.

Challenger: I don’t care. I need rsh to get my work done.

Victim: I’m sure you do believe that, which is odd, because everyone else is managing to get their work done with ssh. I’d be tempted to think that this inability of yours to move forward is more a comment on your competence, rather than a statement about ssh.

Challenger: What? Are you saying I’m incompetent?

Victim: Not at all. I’m just pointed out – politely – that everyone is working well with ssh, and that you’re the only person who seems to be having difficulty. So it’s obviously not ssh that is the issue. Maybe you need to have some basic UNIX training, so you can understand that systems better.

Challenger: FFS! *basic* UNIX training! I’ve been a developer for over 2 years! I’ve spent ages on Linux systems – I’ve got one at home! I know what I’m doing, dammit!

Victim: Yes, I think it’s apparent to everyone now that you’re just using ssh as an excuse to cover your lack of progress on the project. I can’t blame you – it must be a bit humiliating – but surely it would be better if you just owned up, admitted things were a bit tough, and then maybe we could get someone to help you.

Challenger: What? Fuck you!

« Older Posts
Newer Posts »