1836433 Members
2514 Online
110100 Solutions
New Discussion

Re: Multi OS

 
SOLVED
Go to solution
Dagmar Bendová
Advisor

Multi OS

Can you help me? I want to create multi OS at a server with PA-RISC processors. The OS HP-UX 11.00 has already been installed at first disk and I want to install OS HP-UX 11i at second disk and use some filesystems from first disk to second disk. Does any manual exist? Do you have any experiences (bad or good) with managing of multi OS?
Thanks.
xx
10 REPLIES 10
Patrick Wallek
Honored Contributor
Solution

Re: Multi OS

Just install 11i on the second disk.

When done use vgimport to import the VG from the first disk and mount whatever filesystems you need.

Steven E. Protter
Exalted Contributor

Re: Multi OS

A single wholed disk is required for an 11i installation.

Which to boot off of is controlled as follows.

At the console, shutdown -ry now

Intervene at the 10 second prompt.

sea

A list of disks is displayed.

Probably P1 and P2 are the first two disks in a two disk system.

Bo P1 or Bo P2

to boot.

As Patrick notes, you should be able to access and update either disk no matter which you boot of of if you are careful.

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
Dagmar Bendová
Advisor

Re: Multi OS

Thank you for your answer. Some logical volumes are on the root volume group on the first disk If I will import the first disk to the root volume group of the second disk some duplicita of logical volumes could be happen.
xx
Ravi_8
Honored Contributor

Re: Multi OS

Hi,

No dupliaction happens, when you import the Vg from first disk (11.0) to second disk (11i)
never give up
Kent Ostby
Honored Contributor

Re: Multi OS

Dagmar --

WHen you are booted off the second root disk and you vgimport the first root disk, there will not be any duplication because you will be using different major and minor numbers (i.e. you will be importing to (for example) vg02 and so your volume groups will have a 0x02nnnn instead of the 0x00nnnn of the second root vg).

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
TwoProc
Honored Contributor

Re: Multi OS

I've done this same procedure to handle an OS upgrade in the past. But, if you think about it, an easier way would be just to use some other (non-vg00) disk, and dump all of your root volumes to there. Boot from the second disk, and mount the extra disk(s) most anywhere. Forgive me, but I'm assuming that you're trying to upgrade to 11i -if not then some of my advice is probably not relevant. Anyway, using this method - root volumes are separate and therefore protected from one another. You've still got copies of them else where for reference, plus all of you application disks mount-able from both operating systems.

I think I know what you're getting at and why - I just think it's safer not to access any (root) volumes from the other system. However, if were discussing /home or somthing like that - that's a different story.
We are the people our parents warned us about --Jimmy Buffett
sreejith_4
Frequent Advisor

Re: Multi OS

Hi,

I have done this by using vgimport and there were no issues.

You can just carry on with the steps

Thanks you
Sreejith M
Yogeeraj_1
Honored Contributor

Re: Multi OS

hi,

above all. make sure you do your backups properly...just in case you mess up with something that you are not sure.

regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Andrew Fong
Advisor

Re: Multi OS

Dagmar

To import root vg from first disk after system is booted up from second disk (HP-UX 11i), here are the detail steps.

1. mkdir /dev/vg01 <= assume vg01 is not used
2. mknod /dev/vg01/group c 64 0x010000
3. vgimport /dev/vg01 /dev/dsk/cXtXdX
4. vgchange -a y /dev/vg01
5. Create temporary mountpoint and mount selected lvol(s) from vg01 as required
6. when done, umount temporary mountpoint, run vgchange -a n /dev/vg01 and then run vgexport /dev/vg01 to remove any reference from second disk

Hope that help

Andrew
How are you ?
Dagmar Bendová
Advisor

Re: Multi OS

Thanks everyone for your help. Your advices had success.
xx