1832287 Members
1881 Online
110041 Solutions
New Discussion

HPux boot disk question

 
SOLVED
Go to solution
mike worrell
Regular Advisor

HPux boot disk question

I have a test box hpux 11.11 that has a jamaica box attached for 8 single drives or 4 of the old big jamaicas that took 2 slots.
At one time it had the doubles in it.

I just noticed that the boot disk address is 10/8.0.0, looked at the back of the jamaica and the 1st slot has all switches level, meaning 0. Is there away I can make my boot disk be 10/8.6.0 without a lot of hassle.

thanks,
MIke
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: HPux boot disk question

That probably isn't done on the Jamaica. I would not touch it.

Here is a procedure for setting mirroring that also covers setting the boot disk.


pvcreate -B /dev/rdsk/c1t0d0 #use real disk

mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk


# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?

If you are running 64-bit OS:

# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?


vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0

# real disk. repeat for other lvols

lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Brian M Rawlings
Honored Contributor

Re: HPux boot disk question

Hi, Mike.

Those little switch packs you see on the back of the Jamaica chassis are indeed the SCSI IDs. There is one switch pack per slot. It is just as straight-forward as you think, all down is all zeros. You can change it to SCSI ID 6 (_--_), and that is that.

I'm not sure why you would want to do this, however, other than to be like some other server, or to match HP's fairly loose 'boot disk convention' of Boot Disk being SCSI ID 6 by default from the factory.

What you are going to do is to have to change several internal parameters (like in the boot prom, to change the primary boot path to this new ID). Off-hand, I can't even think of all the things that need the complete path to the disk. There is the lvlnboot parameter, check man pages and do an lvlnboot -l (I think) to see what your current boot path is in the deep-magic boot structures. There may even be other things.

Unless you have an overriding need to do this, I would leave it alone. It certainly doesn't cause any issues for the boot disk to be SCSI ID 0 (0000). The only possible technical issue would be that priority of access to the SCSI bus is based on SCSI ID, with 7 (reserved for the controller) as the highest, followed by 6 (hence HP's default boot drive ID), 5, 4...0, then 15, 14, and so on down to 8. But in a small and simple system, this is never an issue. It might be with a heavily loaded SCSI bus (all 8 Jamaica drives on the same bus, for instance), but I'll bet you've never had any system issues that you could trace to the SCSI ID of the boot disk. I don't know anybody who has.

Anyway, good luck with it. Good thing it's a test box. Oh, and be gentle with those little switches, they aren't meant for lots of force or lots of toggling.

--bmr
We must indeed all hang together, or, most assuredly, we shall all hang separately. (Benjamin Franklin)