- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirror question
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
тАО02-18-2003 05:15 AM
тАО02-18-2003 05:15 AM
And my swap has 2 logical volumen /dev/vg00/lvol2 /dev/vg00/lvol9
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2003 05:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2003 05:18 AM
тАО02-18-2003 05:18 AM
Re: Mirror question
To mirror your vg00 :
- vgextend /dev/vg00 /dev/dsk/cxtydz
(cxtydz is the disk device file)
- lvextent -m 1 /dev/vg00/lvolI
For all lvol in the vg.
Regards,
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2003 05:20 AM
тАО02-18-2003 05:20 AM
Re: Mirror question
MirrorDisk/UX implements mirroring at the logical volume level. For vg00, make you mirror, at least, lvol1, lvol2 and lvol3 first, and in that order.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2003 05:37 AM
тАО02-18-2003 05:37 AM
Re: Mirror question
swlist -l fileset | grep -i mirror
# pvcreate -B /dev/rdsk/c...
# pvcreate -B /dev/rdsk/c...
# vgextend vg00 /dev/dsk/c... /dev/dsk/c...
# mkboot -l /dev/rdsk/c...
# mkboot -a "hpux -lq" /dev/rdsk/...
# lifcp /dev/rdsk/c...:AUTO -
# setboot -a 8/0/19/0.5.0
# lvextend -m 1 /dev/vg00/lvol1
# lvextend -m 1 /dev/vg00/lvol2
# lvextend -m 1 /dev/vg00/lvol3
...
in this order
# lvlnboot -r /dev/vg00/lvol3 /dev/vg00
# lvlnboot -b /dev/vg00/lvol1 /dev/vg00
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00
# lvlnboot -v
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2003 05:37 AM
тАО02-18-2003 05:37 AM
Re: Mirror question
You can do mirroring provided you have MirrorDisk product installed,
perform mirroring only for useful filesystem ( don't consider swap, tmp)
#lvextend -m 1 /dev/vg00/lvolx /dev/dsk/cxtxdx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2003 05:46 AM
тАО02-18-2003 05:46 AM
Re: Mirror question
I should clarify my post, so not to be misunderstood. For a viable mirror of vg00 you need to maks sure you mirror lvol1, lvol2 and lvol3 in that order. You *should*, mirror all logcial volumes of vg00, however. This makes recovery of a failed disk the easiest.
In additon, make sure to set a low-quorum on the mirrowed disk as well as the original:
# mkboot ???a "hpux ???lq" /dev/rdsk/cXtYdZ
...and set the new mirrored disk as an alternate boot disk:
# setboot ???a [alternate_path]
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2003 05:55 AM
тАО02-18-2003 05:55 AM
Re: Mirror question
ANd with the swap?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2003 06:01 AM
тАО02-18-2003 06:01 AM
Re: Mirror question
# shutdown -ry 0
The system will shut down and reboot. As the system starts to come back up, look for the message (system's output may vary):
TO INTERRUPT THE BOOT SEQUENCE, PRESS ...
Interrupt the boot sequence. This will display the Boot Admin display. At the boot_admin> prompt type:
bo Mirror_disk_hardware_address or
bo alt
if the alternate boot device has been configured. The system will prompt to interact with IPL, answer 'no', and the system will boot from the mirror root disk.
Cheers,
PAP! (a.k.a. Pliz assign Points )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2003 06:03 AM
тАО02-18-2003 06:03 AM
Re: Mirror question
The roule is that you must mirror to another disk. If you r vg00 is made up of say two 9Gb disk, you could mirror to one 18Gb disk.
Regards,
Trond