Operating System - HP-UX
1834237 Members
2238 Online
110066 Solutions
New Discussion

vPar creation of 2nd ENV using LVM to build boot disk

 
SOLVED
Go to solution
Dan Matlock_1
Regular Advisor

vPar creation of 2nd ENV using LVM to build boot disk

Basically I have a nPar that has multiple disks available for boot disks, so now have requirement to create 2 x vPars within this 1 nPar......
So was wondering since my original nPar will simply be the primary vPar (software just installed), I was hoping to use HP Mirror-UX to mirror to another disk to build/clone the boot disk which will become the 2nd vPar used later.
I assumed I could add the disk to vg00 and mirror, then reduce mirror and remove from vg00 and then later simply boot that disk. However I noticed the PE became freed back up when I dropped the mirrors on it. Is there another way to do this without using ignite? I basically wanted to create a clone of the boot disk online without downtime to the original vPar/nPar.
3 REPLIES 3
Torsten.
Acclaimed Contributor
Solution

Re: vPar creation of 2nd ENV using LVM to build boot disk

If you reduce the mirror the data will be gone - disk is "empty" or better "invalid" again.

Your initial will (usually) be the first vPar, but it depends on how you configure your vPars.

If you "somehow" clone your first disk in vPar mode, you need a downtime to remove this disk from this vPar and assign it to another.

The only way to do this really online is ignite, IMHO.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven E. Protter
Exalted Contributor

Re: vPar creation of 2nd ENV using LVM to build boot disk

Shalom,

You can build 1 vpar and then use dd to duplicate it.

Remembering the vpar rule:
Each vpar needs:
boot disk
network
1 CPU

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
Dan Matlock_1
Regular Advisor

Re: vPar creation of 2nd ENV using LVM to build boot disk

thanx for all the input.
basically in nPar mode now with 1 ENV which is a DEV ENV. Customer wants to clone it and spin it off to a QA ENV, so idea is to turn nPar into 2 x vPars with original nPar as the DEV ENV and the 'new' ENV will be cloned to become the QA. Have a encl. added with additional 2 x drives, so total of 4 disks... so both ENVs can have mirrored boot drives.