- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: serviceguard mirror
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
тАО10-18-2004 07:49 AM
тАО10-18-2004 07:49 AM
serviceguard mirror
I have a cluster with a volume group with one disk and its mirror disk, I want to replace one of the disk on the volume group that is reporting error to the syslog, I want to know if I can replace the disk while the cluster is up.
Thanks for any Tips.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 07:54 AM
тАО10-18-2004 07:54 AM
Re: serviceguard mirror
1) If the disk is completely "dead", such as if you run ioscan and status is "no_hw" then you can hot swap the disk online.
2) However in circumstances where the disk has not fully failed please do one of the following to avoid data corruption :
a) reduce mirror before replacing the disk
b) deactivate VG before replacing the disk
c) shutdown system to replace the disk
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 08:05 AM
тАО10-18-2004 08:05 AM
Re: serviceguard mirror
You can replace the disk as long as the disk is hot swappable.
1) Hot swap the failed disk
2) do a ioscan and confirm the system is able to see the disk with HW STATUS as CLAIMED
3) do a vgcfgrestore and restore the LVM conf to the new disk
# vgcfgrestore -n /dev/vgname /dev/rdsk/cXtYdZ
# vgsync /dev/vgname
- Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 08:09 AM
тАО10-18-2004 08:09 AM
Re: serviceguard mirror
if it is lvmmirrored, do as sundar has said.
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 08:45 AM
тАО10-18-2004 08:45 AM
Re: serviceguard mirror
the disk is accesible, sometimes it reports error to the syslog, I want to replace it before it definitely crash.The disk enclousure is hotswap, tell me if I can use this procedure with the package running :
lvreduce -m 0 /dev/vg01/lvol1
vgreduce /dev/vg01 /dev/dsk/c4t0d0
replace the disk (c4t0d0)
pvcreate /dev/rdsk/c4t0d0
vgextend /dev/vg01 /dev/dsk/c4t0d0
lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c4t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 08:53 AM
тАО10-18-2004 08:53 AM
Re: serviceguard mirror
vgcfgrestore -n /dev/vg01 /dev/rdsk/c4t0d0
vgsync /dev/vg01
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 08:54 AM
тАО10-18-2004 08:54 AM
Re: serviceguard mirror
There is a simple process for that.
1. Replace the disk. Run ioscan -f and make sure the disk is claimed on both the nodes.
2. Do a 'vgcfgrestore'
vgcfgresotre -n vgxx /dev/rdsk/cxtydz
vgchange -a e vgxx (or use the activation mode you use in serviceguard)
3. vgsync vgxx
That should sync up the mirrors.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 09:07 PM
тАО10-18-2004 09:07 PM
Re: serviceguard mirror
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2004 10:00 PM
тАО10-18-2004 10:00 PM
Re: serviceguard mirror
Swap the disk with a good one.
Do ioscan -fnCdisk (& make sure new disk is seen)
do a vgcfgrestore & vgsync.
Your volume is back to its original state.