- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk replacement in SG environment
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
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
04-05-2004 02:59 AM
04-05-2004 02:59 AM
I need to replace one shared disk in SG environment on _running_ system. I have experience with standard procedures of mirrored disks replacement, but I'm unsure about some cluster specific things.
1. The disk to be changed is still running, this is a preventive replacement because of some EMS warnings. Should I really take it off from LVM first rather than just pulling disk out?
E.g.
lvreduce -m 0 /dev/vgxx/lvolx /dev/dsk/cxtxdx
vgreduce /dev/vgxx /dev/dsk/cxtxdx
The volume group occupies 6 disks, they are 3 mirrored pairs, mirroring is restricted by pvg. Will lvreduce command break mirroring for all pairs?
2. The real problem for me is that the disk is cluster lock. Does vgcfgbackup/vgcfgrestore copy cluster lock structures? As I understand, I can use vgrestore only if extracting the disk without LVM commands. As fas I understand, when using lvreduce/vgreduce one can't retrore new disk by vgcfgrestore. So cluster lock should be made by cminitlock or during offline in the second case.
3. Should I run vgexport/vgcfgbackup procedures on cluster standby node after replacement?
Many thanks and points in advance for your help! I really need to prepare a smooth replacement procedure.
BR,
Mihails
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 03:03 AM
04-05-2004 03:03 AM
SolutionYou can replace the disk in the same manner in which you replace a normal mirror disk. Do it from the node on which the vg is active. The Lock disk info is saved through vgcfgbackup if a vgcfgbackup was run after the lock disk info was created on the disk.
Try this link from docs site to help you more.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B3936-90065/B3936-90065_top.html&con=/hpux/onlinedocs/B3936-90065/00/00/58-con.html&toc=/hpux/onlinedocs/B3936-90065/00/00/58-toc.html&searchterms=cluster%7clock%7cdisk%7creplace&queryid=20040405-090129
Hope this helps.
Regads
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 03:06 AM
04-05-2004 03:06 AM
Re: Disk replacement in SG environment
here is a full procedure which should take you through any issues that you might have if the simplest one doesn't work.
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072157535
The itrc doc id is UXSGKBAN00000022.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 03:26 AM
04-05-2004 03:26 AM
Re: Disk replacement in SG environment
Next do an lvdisplay on all affected LVOL's and make sure that all the extents on the remaining good mirror are marked "current".
I would then yank the flakey drive (actually pull it out gently and allow it to spin-down while still partially inserted). At this point wait a few minutes to make sure the box has recogized that one of the disks is bad (i.e. can't be communicated with). You can now proceed with a standard mirrored disk replacement (vgcfgrestore, vgchange -a e, vgsync). Nothing need to done on the other nodes.
NOTE: I am assuming that you have a valid vgcfgbackup on the active node. It is a very good idea to do a vgcfgbackup on all the nodes in a cluster so that disk replacements can be done on whichever nodes happen to be hosting a given disk at the moment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 03:30 AM
04-05-2004 03:30 AM
Re: Disk replacement in SG environment
Regds