Windows Server 2003
1832853 Members
3148 Online
110047 Solutions
New Discussion

Re: Upgrade-downgrade howto with mirrored disk system

 
Balint Tar
Occasional Contributor

Upgrade-downgrade howto with mirrored disk system

Hi,

We have HP-UX 11.11 system with two internal disks, which are mirrored with LVM.
what I would like to do is the following:
- break mirroring (diskA - diskB),
- boot from diskB
- upgrade the OS (with a complex HP bundle patch set) of diskB
- test the newly upgraded system on diskB
-->if it is OK, then mirror the content of diskB to the previous root disk (diskA)
-->if not OK, than boot again from diskA, and mirror back its content to diskB (original situation)

I tried out a lot of commands, scenarios, but unfortunately none of those were successful.
What I did:
1. - break mirroring (lvreduce) --> remove diskB from vg00 (vgreduce) --> create new vg (vg0x) --> vgextend with diskB (without running the pvcreate on diskB) --> trying to mount the root system lvolx from vg0x and modify the fstab to change the vg00 lines to vg0x (prepare to boot from diskB) ===>; did not work
2. - boot from diskB --> put diskA offline (pvchange -a N diskA) --> upgrade diskB ===> somehow did not work
3. - boot from diskB --> break mirroring --> put diskA offline (pvchange -a N diskA) --> upgrade diskB ===> somehow did not work also

Please advice or comment.
Thanks in advance.

BR,
Balint
1 REPLY 1
Balint Tar
Occasional Contributor

Re: Upgrade-downgrade howto with mirrored disk system

sorry, posted wrong place.