- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- break mirror for PA and IA servers
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
break mirror for PA and IA servers
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-20-2011 09:47 AM
07-20-2011 09:47 AM
break mirror for PA and IA servers
break mirror for PA and IA servers
hi,
can you please tell me how to break the mirror disk for PA-RISC and Itanium based servers.
also how to merge the Lvols for the same.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-20-2011 09:50 AM
07-20-2011 09:50 AM
Re: break mirror for PA and IA servers
Re: break mirror for PA and IA servers
have you tried using lvsplit and lvmerge before ?
Like it or worked !! Click kudos !!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-20-2011 09:54 AM
07-20-2011 09:54 AM
Re: break mirror for PA and IA servers
Re: break mirror for PA and IA servers
i haven't work on lvsplit and lvmerge , can you please provide me procedure?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-20-2011 12:31 PM
07-20-2011 12:31 PM
Re: break mirror for PA and IA servers
Re: break mirror for PA and IA servers
Shalom,
See these procedures:
http://unixbites.blogspot.com/2011/02/how-to-break-mirror-with-two-identical.html
http://www.maulvi.net/2009/06/02/hpux-breaking-mirror-and-extending-lvm/
On the off chance you are using VxVM to manage your root disk:
vxbrk_mirror
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-21-2011 07:46 AM
07-21-2011 07:46 AM
Re: break mirror for PA and IA servers
Re: break mirror for PA and IA servers
Before you break the mirror PLEASE verify (with both disk mirrored) that you can boot up from the 2ndary mirrored disk as well as primary mirrored disk. Just change the boot path accordingly. Basically we just want to make sure both disks boots up fine.
Now the steps...
Assuming c1t2d0 is primary mirrored disk & c2t2d0 is the 2ndary mirrored disk
Assuming (lvol1=/stand;lvol2=primary swap;lvol3=/;lvol4->lvol8 representing the rest of root's FS)
To break the mirror..
# lvreduce -m 0 /dev/vg00/lvol2 /dev/dsk/c2t2d0
# lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c2t2d0
# lvreduce -m 0 /dev/vg00/lvol3 /dev/dsk/c2t2d0
==> Repeat for the rest of the lvols.
# vgreduce vg00 /dev/dsk/c2t2d0
# lvlnboot -v
==> Just checking. c2t2d0 should be out.
Change boot path ..
# setboot
=> Display boot path.
# setboot -p 0/0/2/0.2.0
=> Change primary boot path to c2t2d0
# setboot
=> Check again.
Now you can do your activity and reboot the server if you want shutdown -ry now
For PA
After it comes up .. re-do the mirroring process ..
# pvcreate -f -B /dev/rdsk/c1t2d0
# mkboot -l /dev/rdsk/c1t2d0
=> Create boot track (place boot utilities in boot area), -l means treat device as LVM disk.
# mkboot -a "hpux -lq" /dev/rdsk/c1t2d0
=> Add AUTO file in boot LIF area, "lq" option is to bypass quorum check.
=> Repeat for primary disk (c2t2d0) as well.
# lifcp /dev/rdsk/c1t2d0:AUTO -
=> Check content of AUTO file. Repeat for primary disk (c1t2d0).
# vgextend /dev/vg00 /dev/dsk/c1t2d0
=> Adding disk to root VG.
# pvdisplay -v /dev/dsk/c1t2d0
=> Note of the order of LVs (assuming it's lvol1,lvol2,lvol3,lvol4->lvol8)
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t2d0
=> Repeat for lvol2->lvol8
# lvlnboot -r /dev/vg00/lvol4 /dev/vg00
# lvlnboot -b /dev/vg00/lvol1 /dev/vg00
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00
# lvlnboot -R /dev/vg00
=> Update BDRA (root, boot, swap and dump)
# lvlnboot -v
=> Check to make sure both disks are listed for root, boot and swap definition.
# setboot
=> Display boot path an set the boot path to the desired path with "setboot -a|-p"
For IA
# idisk -Rw /dev/rdsk/c1t2d0
# vi /tmp/pdf
3
EFI 500MB
HPUX 100%
HPSP 400MB
# idisk -f /tmp/pdf -w /dev/rdsk/c1t2d0
# idisk /dev/rdsk/c1t2d0
# insf -e -H 0/0/0/0.1.0
# insf -eCdisk
# efi_fsinit -d /dev/rdsk/c1t2d0s1
# pvcreate -fB /dev/rdsk/c1t2d0s2
# vgextend /dev/vg00 /dev/dsk/c1t2d0s2
# mkboot -e -l /dev/rdsk/c1t2d0
# efi_ls -d /dev/rdsk/c1t2d0s1
# lifls -l /dev/rdsk/c1t2d0s2
# efi_cp -d /dev/rdsk/c2t2d0s1 -u /EFI/HPUX/AUTO /tmp/prim
# echo "boot vmunix -lq" > ./AUTO
# efi_cp -d /dev/rdsk/c1t2d0s1 ./AUTO /efi/hpux/auto
# efi_cp -d /dev/rdsk/c1t2d0s1 -u /EFI/HPUX/AUTO /tmp/mir
# for lvol in lvol1 lvol2 lvol3 lvol4 lvol5 lvol6 lvol7 lvol8
> do
> lvextend -m 1 /dev/vg00/$lvol /dev/dsk/c0t1d0s2
> done
# lvlnboot -r /dev/vg00/lvol4 /dev/vg00
# lvlnboot -b /dev/vg00/lvol1 /dev/vg00
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00
# lvlnboot -R /dev/vg00
# lvlnboot -v
=> Check to make sure both disks are listed for root, boot and swap definition.
# setboot
=> Display boot path an set the boot path to the desired path with "setboot -h|-p"
.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP