Operating System - HP-UX
1848373 Members
3020 Online
104025 Solutions
New Discussion

Re: mirroring the boot disk and database disk

 
Anil_6
Occasional Contributor

mirroring the boot disk and database disk

hi,

i have a primary boot disk that i need to mirror with a new hard disk and another disk which has the database. pls let me know of the steps involved.

regards
5 REPLIES 5
Mark Greene_1
Honored Contributor

Re: mirroring the boot disk and database disk

man vgchange; you also need to have installed the MirrorDisk/UX software.

--
mark
the future will be a lot like now, only later
Jeff Machols
Esteemed Contributor

Re: mirroring the boot disk and database disk

1. Add the new disk to the vg00 volume group

2. Do an lvextend -m 1 lvol1 /dev/dsk/c0t0d0

just do this for each LV and use the name of yor new disk instead of c0t0d0

Uday_S_Ankolekar
Honored Contributor

Re: mirroring the boot disk and database disk

A. Clay Stephenson
Acclaimed Contributor

Re: mirroring the boot disk and database disk

Don't overlook the fact that in order to get the full benefits (and better performance) from mirroring, your mirrors should be on a separate bus so that you can tolerate controller/cabling/terminator failures as well as disk failures. Ideally, you disks should also be hot-plug so that no downtime is needed for replacement. For this reason, I always avoid any internal disks that are not hot-plug.
If it ain't broke, I can fix that.
Krishna Prasad
Trusted Contributor

Re: mirroring the boot disk and database disk

First for the boot disk
When you add the disk you want to mirror you must use the command.

pvcreate -B /dev/rdsk/c#t#d#
mkboot -l /dev/dsk/c#t#d#
vgextend /dev/vg00 /dev/dsk/c#t#d#

lvextend -m 1 /dev/vg00/lvol## /dev/dsk/c#t#d#

The database disk is easier.

pvcreate /dev/rdsk/c#t#d#
vgextend /dev/vg## /dev/dsk/c#t#d#
lvextend -m 1 /dev/vg##/lvol## /dev/dsk/c#t#d#

Positive Results requires Positive Thinking