- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring the rootvg and more...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2004 11:14 PM
тАО07-18-2004 11:14 PM
in rootvg i have oracle server aplication.
I upgrade the storage to more 2 disks, one equal of the vg00.
I wan't to create a mirror in vg00, and transfer the oracle server
aplication to the another disk.
How can i do it? Whats the best pratises.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 12:40 AM
тАО07-19-2004 12:40 AM
SolutionBring down the oracle. Now copy the data
from old lvols to new lvols. You can use dd/vxdump/cpio for this.
If copy is successful, start the oracle from new lvols.
Backup the old data onto the tapes, so that if required, you will have it.
Delete the old lvols.
For mirroring the root vg, you will have to install mirror-ux software(licensed). Once installed, you will have to add one mode disk to the root vg.
The procedure to create the mirror is as follows.
Note the following example is using the disk c1t6d0 as the
mirrored boot disk and c0t6d0 as the boot disk.
1) Initialize the disk and make it bootable
pvcreate -B /dev/rdsk/c1t6d0
Note: the -B parameter tell pvcreate that this will be a
bootable disk.
2) Add the physical volume to the volume group
vgextend /dev/vg01 /dev/dsk/c1t6d0
3) Use mkboot to place the boot utilities in the boot area and add
the AUTO file.
mkboot /dev/dsk/c1t6d0
mkboot -a "hpux -lq" /dev/rdsk/c1t6d0
4) Use mkboot to update the AUTO file on the primary boot
disk.
mkboot -a "hpux -lq" /dev/rdsk/c0t6d0
5) Mirror the stand, root and swap logical volumes
lvextend -m 1 /dev/vg00/lvol1
lvextend -m 1 /dev/vg00/lvol2
lvextend -m 1 /dev/vg00/lvol3
Note: LVM will resynchronize the new mirror copies. This step will takes several minutes
Repeat the lvextend for all other logical volumes on the boot mirror.
6) Modify your alternate boot path to point to the mirror copy of the boot disk.
setboot -a 8/8.6.0 # Use the Hardware path for your new boot disk.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 01:35 AM
тАО07-19-2004 01:35 AM
Re: Mirroring the rootvg and more...
What's the best thing to do about the others logical volumes, like /home, /opt, /opt/oracle, to chage for new disk, do change to single user, umount the FS's create new lvols in other vg em mount the directories in the new lv's, That's it. Then make a copy?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 01:45 AM
тАО07-19-2004 01:45 AM
Re: Mirroring the rootvg and more...
1. Move oracle from vg00 to new vg.
2. Mirror root vg
Right??
If you had installed oracle in /opt/oracle(this was bad idea then) move it to new vg as given in earlier reply.
Then add a disk to root vg and mirror the root disk. There is no need to move /home /opt etc.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 01:57 AM
тАО07-19-2004 01:57 AM
Re: Mirroring the rootvg and more...
Thanks for everyting.