Operating System - HP-UX
1823309 Members
2986 Online
109653 Solutions
New Discussion юеВ

Re: Legato Networker TIMEOUT not working?

 
Kevin Lai_1
Occasional Advisor

Legato Networker TIMEOUT not working?

I am using Legato Networker 7.x Server/Client on few of my HUPX IA64 servers.

Currently, I had using it to backup my mounted HDS QuickShadow images on my backup servers.
Pre and Post command of the savepnpc was essential for mounting and dismounting the filesystem.

As for the timeout features, I am using the absolute time ie. TIMEOUT= "11pm";, to determine backup failed if exceed 11pm night.

I had read up the other syntax of Timeout, which is relative to the start time, ie TIMEOUT = "3 hours";.

This latter one don't seems to work.

Anyone know the cause?
Is it a syntax issue?
Or required a bug fix?

Anyone?

Thanks.
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor

Re: Legato Networker TIMEOUT not working?

Hi Here is an example

Specify the timeout in a format that nsr_getdate(3) can understand and increase the time. When a client is part of many groups, a separate /nsr/res/.res file is created initially and it contains the default set of pre-processing, post-processing and timeout commands to perform, modify /bin/sleep 5 to a higher value. See below:

type: savepnpc;
precmd: "echo hello";
pstcmd: "echo good bye", "/bin/sleep 15";
timeout: "12:00pm";

Note: You can use any text editor to customize the file

Regards,
Robert-Jan
morganelan
Trusted Contributor

Re: Legato Networker TIMEOUT not working?

See /nsr/res/group.res
The file that contains the actual pre-commands that this command executes.In this file put this entry:
timeout: "11:00pm";
Kamal Mirdad
Kevin Lai_1
Occasional Advisor

Re: Legato Networker TIMEOUT not working?

Perhaps you guys may misunderstood my query.

The "11:00pm" syntax had been working fine.

I am seeking help on the alternate TIMEOUT format in "XX hours" format.