- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: setup mirroring disk
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
Forums
Discussions
Discussions
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
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
01-10-2001 09:27 PM
01-10-2001 09:27 PM
setup mirroring disk
Can anyone point out any procedure that I need to follow in order to setup mirroring.
I have two disks available and I want to resinstall the HPUX11. All FS should be in the first disk and second disk is act as a mirror.
please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2001 10:52 PM
01-10-2001 10:52 PM
Re: setup mirroring disk
Setup of mirroring is an easy task (c?t?d0 is 2nd disk):
1. pvcreate -B /dev/rdsk/c?t?d0
2. vgextend /dev/vg00 /dev/dsk/c?t?d0
3. mkboot /dev/rdsk/c?t?d0
4. mkboot -a "hpux -lq" /dev/rdsk/c?t,d0
5.
6. For x in 1 2 3 4 5 6 7 8 9
do
lvextend -m 1 /dev/vg00/lvol$x /dev/dsk/c?t?d0
done
7. lvlnboot -R
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2001 01:13 AM
01-11-2001 01:13 AM
Re: setup mirroring disk
Just a few more features to add to Dan's procedure
3. I do like the -l option. I had some troubles on HPUX 9.X if not used. May be it's OK now, but i'm a bit supersticious ... ?
5. mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/dsk/c?t?d0
5.2 before point number 6, make sure that lvol1 is the boot volume, lvol2 the swap area and lvol3 the root volume.
For example, use a pvdisplay -v /dev/dsk/
Order of others logical volumes doesn't matter.
8 It could be a good idea to add a setboot -a
Eric,
PBFWME : Please Be Fair With My English
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2001 01:16 AM
01-11-2001 01:16 AM
Re: setup mirroring disk
In point 5, mkboot should be done on the raw device. Replace /dev/dsk/c?t?d0 with /dev/rdsk/c?t?d0
Eric,
PBFWME : Please Be Fair With My English
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2001 01:23 AM
01-11-2001 01:23 AM
Re: setup mirroring disk
i have written a script to mirror the vg00, see attachment.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2001 02:58 AM
01-11-2001 02:58 AM
Re: setup mirroring disk
Attached you will find a document with instructions.
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2001 12:43 PM
01-11-2001 12:43 PM
Re: setup mirroring disk
Here is the link for the 10.20 version of the document. Most of the information is applicable to version 11 as well.
http://docs.hp.com/hpux/onlinedocs/B2355-90672/B2355-90672.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2001 05:43 PM
01-11-2001 05:43 PM
Re: setup mirroring disk
do lvlnboot -v . this should show lvols on both the disk for root,boot,swap and not sure about dump.A couple of time I ran into problems.After performing step 7 rebooted the system using the mirror copy and it did not come up, finally I had to boot in single user mode and found that the secound disk showed as boot disk but the lvols were not marked as boot root and swap. so I did lvlnboot -r /dev/vg00/lvol3, lvlnboot -b /dev/vg00/lvol2 lvlnboot -s /dev/vg00/lvol2, lvlnboot -d /dev/vgxy/lvoldump.as far as I know we cant configure the dump if does not lie within the 2gb boundry of the physical vol.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 05:48 AM
01-16-2001 05:48 AM