Since we have a number of Sun-using people here, I'll take a
chance and ask.
I recently got a Sun StorEdge T3+ RAID disk array -- Fibre
Channel disks and interface to the computer.
It has two redundant power supplies, each with a rechargeable
battery installed to keep it running long enough to flush to disk after
a power failure.
They really want those batteries to work, so they have a time
fuse on them -- starting from the day the power supply is installed, and
at the end of two years, they declare themselves as "failed". One is
failed now, and the other on the 9th of this month.
I have a battery pack on order to replace the one in the power
supply, and once it is installed, I plan to rebuild the old battery pack
and put it into the other power supply.
One problem though -- Sun expected most to swap power supplies
to swap batteries (and I think the expiration date is recorded in the
power supply somewhere, not in the system's own memory.) The
maintenance manual tells how to physically replace the battery in the
power supply (four screws, disconnect a connector inside, put in the new
one and reinstall screws and then power supply). Needless to say, I
can't get a service contract on this (I didn't buy it direct from Sun or
from Oracle), and the actual cost of the unit (with 9 36 GB FC-AL drives
installed and working) was *free* -- given to me at a hamfest.
The problem with replacing the batteries inside the power
supplies is that the system has no way of knowing that the battery is
new. (20 NiMH Sub-C cells, FWIW).
There is a way to reset the time after swapping the batteries.
But it requires using the ".bat" command. This command, as with all
other commands starting with '.', is locked out so the unit's OS claims
that it does not recognize the command. What is needed is a way to tell
the OS that it is legal to recognize the commands. (Looking at the
binary of the OS, I find all the dot commands listed, so I know that
they are in there.
I know that to reset the password (null out the root password),
it has to be interrupted in the early stages of booting, and then the
command "set flags " and a long hex number -- 0x4 and a bunch of zeros.
This causes it to reset the password to a null one during booting, so
you can set a new one which you know. :-)
I'm presuming that a variant of this is what is needed, but what
value should be set is not clear. I've tried everything from 0x8(plus
all those zeros) down through 0x1 and it does not work. So it needs to
be a combination of more than one bit set. (I also tried 0xffffffff)
and nothing works.
So -- I'm hoping that someone here knows the magic number which
will allow me to make this work -- and make it worth while putting in
180 GB drives instead of the 36 GB drives.
Oh yes -- I had to take compressed air to it to clean out all
the dust of the ages, but it is now clean and runs fine other than the
battery problem. (And yes, I could just plug it into a UPS with the
rest of the servers in my collection, but as long as it thinks that it
is depending on failed batteries, it sets the cache to write-through
instead of write-behind -- so is is slower.
BTW -- one search of a discussion forum on Oracle's site says
that the magic code is in the "Field Enginner's SEE", but I have not h
heard of this before -- let alone seen one.
Apparently, if I had an older version of the firmware, I could
access the ".bat" command directly -- but with the current version:
T3B Release 3.2.6 Mon Feb 5 01:00:35 MST 2007
things are tighter. (Apparently, from experience, they have also reset
the battery expire time to 36 months instead of 24 months, which
suggests an even later version of the firmware. :-)
Thanks to anyone who can help me.