cancel
Showing results for 
Search instead for 
Did you mean: 

Help with swpackage ?

enrico.nic
Regular Advisor

Help with swpackage ?

Hi,

On an HP 9000 D380, with HP-UX 11.11, I have received a new disk where I wonder to reinstall the operating system, because of too many upgrades and patching performed on the actual system.
Unfortunately I have completely lost the CDs of the Internet express sw product, but it is actually installed on my machine on the "old" system disk.
Can you suggest me in detail the best option or give me some documents ?
Thank you
6 REPLIES
Jupinder Bedi
Respected Contributor

Re: Help with swpackage ?

There is one solution . you can mirror you old disk with the new disk . if you dont the updates on the new disks just remove the updated patches from the new disk.

There is another option in 11.23 is DRD ( dynamic root disk ) which is not possible in 11.11
All things excellent are as difficult as they are rare
enrico.nic
Regular Advisor

Re: Help with swpackage ?

Hi,
I don't have the MirrorUX product, so I can't mirror the disk (the -m option doesn't work with the lvextend command).
Maybe make_net_recovery -> install on the new disk -> boot from the old disk -> modify the new disk -> boot from the new disk - doing a sort of "home made" version of the DRD package ?
I'm getting confused.
Thank you
Jupinder Bedi
Respected Contributor

Re: Help with swpackage ?

you can create a recovery tape by using make_tape_recovery .
All things excellent are as difficult as they are rare
smatador
Honored Contributor

Re: Help with swpackage ?

Hi,
Make a list of all tools you have on your systeme and try to download them directly from
http://hpux.connect.org.uk/
Because you don't have internet express for 11.11 on software.hp.com
look here for explanations
http://h71028.www7.hp.com/enterprise/w1/en/os/hpux11i-internet-express.html
The iExpress for 11.11 is version A.10.00 in the OE/AR media kit 0803.
HTH.
johnsonpk
Honored Contributor

Re: Help with swpackage ?

Hi Enrico,

here is the steps for creating a bootable copy of current running system without tape recovery and mirror ux

1) Make a bootable PV on the new disk (pvcreate â b)
2) Make it bootable by using mkboot command
3) Create a new vg with the new disk (say vg00_new)
4) Create lvols with same size or greater size on the new vg ( make sure that you retain the same lv names just to avoid confusion . Also root ,swap,stand lvols should be contigues and bad block relocation should be disabled)
5) Copy vg00 lvols to corresponding lvols in the new vg( say vg00_new)
6) Create boot/root/swap definition on the new lvols
# lvlnboot -r /dev/vg00_new/lvol3
#lvlnboot â b /dev/vg00_new/lvol1
#lvlnboot â s /dev/vg00_new/lvol2
#lvlnboot â d /dev/vg00_new/lvol2


7) mount the new root lvol under temporary mount point say /temp_root
8) edit fstab for vg00 entries (vi /temp_root/etc/fstab) and change it to vg00_new
9) reboot the server , interrupt boot and boot from the new disk


regds!
Johnson
johnsonpk
Honored Contributor

Re: Help with swpackage ?

use dd command for copying data from curertn vg00 lvols to new vg lvols ( on step 5)

also if you want have vg00 for root vg ,,boot system into lvm maintenance mode ,export the new_vg00 and import it as vg00.


rgds!
johnson