- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mirroring
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
тАО08-06-2001 09:13 AM
тАО08-06-2001 09:13 AM
I have a A500 server running HPUX11.0 with two system disks. Now they don't have mirroring and I need to do it. How can I do this?
Thanx in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2001 09:24 AM
тАО08-06-2001 09:24 AM
SolutionFirst, MirrorDisk/UX needs to be licensed. Once you have the license (codeword), the product can be found on the Application CD. I believe it is on the first CD.
A full guide to mirroring can be found here:
http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html
If you are attempting to mirror vg00, here is a summary of the steps:
# vgextend /dev/vg00 /dev/dsk/cXtYdZ
# mkboot /dev/rdsk/cXtYdZ #...note raw device...
# mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/cXtYdZ
# for N in 1 2 3 4 5 6 7 8 #...or more...
> do
> lvextend -m 1 /dev/vg00 /dev/dsk/cXtYdZ
> done
# lvlnboot -v #...a nice check...
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2001 09:25 AM
тАО08-06-2001 09:25 AM
Re: mirroring
First you need to install MirrorDisk/UX. Then execute vgdisplay -v vg00. Note the number of logical volumes defined. I've attached a script which will then mirror the typical configuration with 8 logical volumes. If you need more or less logical volumes the changes are obvious. You will need to set the RAW and COOKED device nodes to match your new mirror disk.
When you have run the script, I would try booting from the mirror. I would also issue a
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cXtYdZ where this device is your original boot disk. This will allow it to boot if the mirror fails.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2001 10:06 AM
тАО08-06-2001 10:06 AM
Re: mirroring
You have to have MirrorX software.
If new disks
#pvcreate -f -B /dev/dsk/cXtYdZ
# vgextend /dev/vg00 /dev/dsk/cXtYdZ
# mkboot /dev/rdsk/cXtYdZ #...note raw device...
# mkboot -a "hpux(;0)/stand/vmunix" /dev/rdsk/cXtYdZ
lvextend -m 1 -A n /dev/vg00/lvol1 /dev/dsk/cXtYdZ
lvextend -m 1 -A n /dev/vg00/lvol2 /dev/dsk/cXtYdZ
lvextend -m 1 -A n /dev/vg00/lvol3 /dev/dsk/cXtYdZ
...
With such order issuing :
lvextend lvol1, lvol2, lvol3, ...
according to the base disk, you will have the mirror in a propre image to the base disk ( this avoid SPAGETTI between base and mirror ! ).
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2001 06:46 PM
тАО08-06-2001 06:46 PM
Re: mirroring
Install the Mirror/UX on the system. Then take full details regarding the
current root VG(vg00) using "vgdisplay -v /dev/vg00".
Let's assume that the target disk is /dev/dsk/c0t5d0 and the root vg is with 8 lv's.
#pvcreate -B -f /dev/rdsk/c0t5d0
#mkboot /dev/rdsk/c2t13d0
#mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c0t5d0
#vgextend /dev/vg00 /dev/dsk/c0t5d0
#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t5d0
#lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c0t5d0
#lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t5d0
#lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c0t5d0
#lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c0t5d0
#lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c0t5d0
#lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c0t5d0
#lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c0t5d0
#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2
#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -R
Hope this will help a bit.
Regards,
N.Harinath.