- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- offline database backup when package is halted
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
08-27-2007 10:08 PM
08-27-2007 10:08 PM
I have configured a new package in our test cluster and it is working fine - it mounts / unmount volumes and starts and stops our application which uses informix database.
On our standalone servers, everynight we shutdown the database for 1 hour to perform our nightly db backups using ontape command.
I'm confused as to how we will be able to do this now in the cluster- if I have a nightly crontab to halt the package - this will unmount the volumes I need to backup using ontape.
Any advice on how to get round this would be greatly appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 10:34 PM
08-27-2007 10:34 PM
Re: offline database backup when package is halted
You can always shutdown package, this will unmount volumes, but after that you can run in script mount that volume in exclusive mode
vgchange -a e ..., do backup, deactivate volume, run package.
Marcin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 10:51 PM
08-27-2007 10:51 PM
Re: offline database backup when package is halted
Have the backup script issue the same mount command as is in the package control scripts. You should be able to cut and paste, maybe you'll need to set a variable or two.
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 11:32 PM
08-27-2007 11:32 PM
Re: offline database backup when package is halted
In your nightly cronjobs - couldn't you just have cron run to stop/start the database using that script and leave the mountpoints where they are.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 11:53 PM
08-27-2007 11:53 PM
Re: offline database backup when package is halted
I'm using the monitor_process function that came with the ECM informix toolkit.
I thought if I stopped informix, it would detect the processes were missing and halt the package.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2007 12:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2007 12:36 AM
08-28-2007 12:36 AM
Re: offline database backup when package is halted
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2007 04:37 AM
08-28-2007 04:37 AM
Re: offline database backup when package is halted
If you do it like this, the backup script doesn't need to halt the package; it just needs to halt the application.
Let me suggest a Plan B which will reduce your 1 hour downtime to minutes.
1) Shutdowm applications/database.
2) Create vxfs snapof mounts or do an lvsplit is using raw data.
3) Restart database/applications.
4) Backup the snapshots.
5) Remove the snapshots.
You have almost all the uptime of a hot backup combined with the warm, fuzzy of a cold backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2007 04:43 AM
08-28-2007 04:43 AM
Re: offline database backup when package is halted
we are using raw volumes for our database - so I'll definatley think a wee bit more into your suggestion for reducing our down time.
You guys have all been a great help!