- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Legato Networker with pre commands
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
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
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-2004 05:58 AM
12-02-2004 05:58 AM
Legato Networker with pre commands
We are in the middle of implementing Legato Networker to backup our HP-UX systems. I am trying to run a pre command script that will stop an application that runs on the server before we back the server up. The problem is that when the script fails Networker will execute the script a many times as the number of filesystems the client is scheduled to backup times the number of retries configured for the client. “i.e. 25 filesystems + (1 retry * 25 filesystems) = 50” I have been in contact with Legato support and they are saying it “is behaving as designed”. I need the script to run once and if it returns an error (my scripts handle errors) fail the client then, not after 50 failures of the pre command script.
“Finally the question.”
Is anyone using Legato Networker with pre and post commands? If so are you aware of this “feature”? What if anything are you doing to correct it? Does this design make sense to anyone? Why would you want this to happen if upon the first successful completion of the script it is not ran again?
I will assign points for responses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 06:01 AM
12-02-2004 06:01 AM
Re: Legato Networker with pre commands
This answer is going to be of any help to you, but . . . . .
This is exactly why I converted from Networker to Omniback a few years ago. I simply got tired of talking to support folks I either couldn't understand or disagreed with. Despite the fact that I actually liked Networker better, life has been much better since.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 07:06 AM
12-02-2004 07:06 AM
Re: Legato Networker with pre commands
If you can't change the behaviour of Networker you perhaps can change rhe behaviour of the script. If the script fails it creates a flag in a tmp directory. Next time the script is started it checks for the flag and exits if the flag exists. After the backup has run, the flag should be removed, perhaps with a cron job.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 08:04 AM
12-02-2004 08:04 AM
Re: Legato Networker with pre commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 08:11 PM
12-02-2004 08:11 PM
Re: Legato Networker with pre commands
About a year ago I wrote an pre/post-processing script with exhaustive error handling to perform EMC TimeFinder backups of live Oracle databases through NetWorker for my previous employer. If you'd like the see the script and configurations, I can put you in touch with their Operations Manager. Contact me at jbean(at)symark(dot)com.
The "feature" was avoided by archiving the parent directory in which all the file systems are mounted. If the parent is /, then you've got a real problem, unless you want the whole system. The chosen mount points look like this: /bcv/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2004 10:45 PM
12-05-2004 10:45 PM
Re: Legato Networker with pre commands
What version are you using? I've been using pre & post commands successfully for years (primarily to close databases and backup their file systems cold, or to move directives into place).
If not setup this way already, try changing the saveset to "ALL" in the client setup. Then, for specific file systems to skip, use a .nsr (directive) file in the root directory (or each directory individually).
Good luck~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 03:02 AM
12-06-2004 03:02 AM
Re: Legato Networker with pre commands
We are using Networker 7.1.2. My pre & post commands will do one of two things.
1) Stop an SAP system on a remote server, then split an EMC TimeFinder device group and mount the devices to our backup server to be backed up.
2) Put the Oracle database tables in backup mode on a remote server, then split an EMC TimeFinder device group, return the remote database tables to online mode and mount the devices to our backup server to be backed up.
You can see why I do not want to run this pre command more than once. Have you every tested what Network will do if your pre scripts returned an error?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 05:39 AM
12-06-2004 05:39 AM
Re: Legato Networker with pre commands
We are also using Networker albeit on our Solaris Systems. We've NEVER used the pre/post features of Networker. Instead, we have separate scripts to stop/suspend and application/DB instance and resume them after our split mirrors our done. The NETWORKER job, also scripted via "savegroup" command and not run via Leagto's own scheduler, checks for success/failure status on the preceding scripts.
I think this will be your best avenue. If you need to strictly use Networker's scheduler and use the pre/post scripts.. then you need to be absolutely sure your scripts are well written to make sure Networker is informed of its success or failure -- which will dictate whether to continue with whatever it needs to do or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 11:06 AM
12-09-2004 11:06 AM
Re: Legato Networker with pre commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 01:38 AM
12-16-2004 01:38 AM
Re: Legato Networker with pre commands
Thanks Again,
Wayne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 01:57 PM
12-19-2004 01:57 PM
Re: Legato Networker with pre commands
I am facing the same problem during failure of script. Recently we implemented Networker 7.1.1 on HP-UX 11.11. We do server-free backup (backup from SAN BCV mirror). Some scripts were written database hot backup /cold backup as well as to split the BCV. Problems happens while BCV splitting fails. After failure the same script retries many more times. We are continuously communicating with Legto-Support. We didn't have a satisfactory reply yet. Looking for help