- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring for backup Restore of application softwa...
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
тАО12-02-2008 12:07 AM
тАО12-02-2008 12:07 AM
Is it possible to use above mentioned strategy? If yes then how? If no how can i rollback with 0 down time
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2008 12:22 AM
тАО12-02-2008 12:22 AM
Re: Mirroring for backup Restore of application software
In general, the procedure you propose is certainly possible.
For shared VG's like the ones for RAC, first shutdown one instance and deactivate the volumegroup on that system. Then execute 'vgchange -a e -x
With the VG in exclusive mode, you can split (lvsplit) the logical volumes. This split is now your backup/rollback solution.
After splitting, execute 'vgchange -a s -x
When you need to split multiple VG's it is best to shutdown Oracle completely to be sure you have a consistent set of data on all VG's.
Then do your upgrade.
When the upgrade is successfull, you follow the same procedure but instead of splitting, use lvmerge.
When you want to rollback, shutdown Oracle completely, activate the volumegroup on 1 system and lvmerge, but merge the original with the split copy. This is the reverse merge as above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2008 12:39 AM
тАО12-02-2008 12:39 AM
Re: Mirroring for backup Restore of application software
Which veriosn you are using , what exactly you need to remove.
I think ur doctor is DRD if your system support DRD creat a clone and do whatever you want to do on that disk and reboot to boot from this new disk.
Its simple procedure.
Although you can only install/remove patches in 11iv2 and patchesand produce in 11iv3.
Hope this help,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2008 01:05 AM
тАО12-02-2008 01:05 AM
Re: Mirroring for backup Restore of application software
"... which are mounted ... has raw partition"
Do you mean that Oracle RAC uses directly dsf like /dev/dsk or /dev/disk ? In this case you can't rely on LVM to lvsplit/lvmerge. Anyway, I am not an expert in Oracle, but as far as I know, only database can be configured on raw devices. So it shouldn't be an issue since I guess that you just want to rollback on binaries, not on database.
"The application uses external disk ..."
By chance, do you have a SAN storage system, like HP EVA or XP, EMC Symmetric or Clarion, or ... ? In this case ask your SAN administrator : maybe you have software to clone LUNs on which reside Oracle (Business Copye, TimeFinder, Snapview, ...).
"If no how can i rollback with 0 down time"
Definitivly no. You can shrink downtime through different ways, but you can't delete it.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2008 01:54 AM
тАО12-02-2008 01:54 AM
Re: Mirroring for backup Restore of application software
We are using MSA 30 for external storage. No SAM is configured.
I have read about lvsplit but how will lvmerge work for my "vg00" I have some volume groups on vg00 which are extensively use by the application. So do i have to go to single user mode for that??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2008 01:56 AM
тАО12-02-2008 01:56 AM
Re: Mirroring for backup Restore of application software
Is it possible to keep same original lvol names when doing my application rollback as oracle will look for those lvolnames
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2008 02:02 AM
тАО12-02-2008 02:02 AM
Re: Mirroring for backup Restore of application software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2008 02:06 AM
тАО12-02-2008 02:06 AM
Re: Mirroring for backup Restore of application software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2008 02:32 AM
тАО12-02-2008 02:32 AM
Re: Mirroring for backup Restore of application software
lvmerge can be done online as long as you keep "master copy" as the reference. If you want to rollback to the "slave copy", you will have to unmount the "master copy". It should not be a problem as long as you don't want to rollback a critical filesystem like /, /opt, /usr etc ...
Be aware that lvmerge takes its argument in the other side than a command like cp, ln etc ... that is :
lvsplit
"And major issue with lvmerge is the lvol names"
With VG other than vg00, it is not an issue if you can stop applications, dismount corresponding filesystems and de-activate corresponding VG. Here is an example if you want to do a total rollbock on a VG, named vg01 in this case :
- unmount all FS from vg01 :
"umount /dev/vg01/lvol1"
.../...
"umount /dev/vg01/lvoln"
- Do the rollback :
"lvmerge /dev/vg01/lvol1 /dev/vg01/lvol1b"
.../...
"lvmerge /dev/vg01/lvoln /dev/vg01/lvolnb"
- De-activate VG : "vgchange -a n vg01"
- Rename the lvols :
"mv /dev/vg01/lvol1b /dev/vg01/lvol1" and "mv /dev/vg01/rlvol1b /dev/vg01/rlvol1"
.../...
"mv /dev/vg01/lvolnb /dev/vg01/lvoln" and "mv /dev/vg01/rlvolnb /dev/vg01/rlvoln"
- Re-activate the VG
Be-aware that if you de-activate a VG before merging all LV, you will loose the bit map that keeps track of writes. In other words lvmerge will speed down dramatically if you de-activate the VG before merging since all the LV will be synchronised instead of modified blocks.
Unfortunatly, if you have some LV to rollback in vg00 and wants to keep their original names you will have to do it in maintenance mode. So I strongly suggest that you move all non system data outside vg00.
Something else : lvsplit cannot be performed if the volume group is activated in shared mode
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2008 03:49 AM
тАО12-02-2008 03:49 AM