Networker

Re: [Networker] Max size for server side directives?

2006-12-08 15:48:44
Subject: Re: [Networker] Max size for server side directives?
From: George Sinclair <George.Sinclair AT NOAA DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 8 Dec 2006 15:46:11 -0500
So is this still a problem under 7.x?

Before you added the 'forget' function what would happen? Would the save command still run, and simply not carry out the parts of the directive that were beyond the 1024th character, or would the save command bomb completely?

George

Reed, Ted G [IT] wrote:

It was the 1024 character limitation of UNIX that bit us.  Since a server-side directive 
is spelled out in all it's gory details as a switch on the command line 'save' 
executable, if the directive is too long it will cause the save command to be over the 
1024 char limit.  However, we did find a partial work around thru judicious use of the 
"forget" function of the directives.  We had some large oracle instances where 
we couldn't list out every single filesystem we wanted to skip (null actually), and we 
couldn't skip just /oracle because of the data they did want to capture under that path.  
I've appended the pertinent sections (based off Unix Standard directive, fyi) to the 
bottom of my response.  As for client side directives, since they are read on the fly by 
the save process, they never get dumped to command line and therefore never exceed any 
type of character limit.

<< /oracle/g01 >>
        +null: .?* *
<< /oracle/g01/3rdparty >>
        forget
<< /oracle/g01/admin >>
        forget
<< /oracle/g01/software >>
        forget
NOTE:  like all directives, "forget" does just this directory....."+forget" 
applies to the sub dirs as well.

-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On 
Behalf Of George Sinclair
Sent: Friday, December 08, 2006 9:19 AM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Max size for server side directives?

Hi,

Is there a size limit for server side directives? I thought I heard something 
about this back in 6.x, or maybe 5.x.
I never knew what the limit was (number of lines, total number of characters, 
or what). We're using 7.2.2 now.

I seem to recall having some issues with this back in 6.x, maybe just once, and 
I think breaking it down into
2 directives fixed it, but my memory is very sketchy on that. In general, I 
don't recall bumping up against this problem except maybe once, and maybe 
something else was causing the problem, and it wasn't the directive after all. 
I may never know.

It's made me kind of paranoid ever since so I've used client side directives 
many times to avoid making the ones on the server too long, but there could be 
a size limit for the client side directives, too?

Anybody have the scoop on this?

George

--
George Sinclair - NOAA/NESDIS/National Oceanographic Data Center
SSMC3 4th Floor Rm 4145       | Voice: (301) 713-3284 x210
1315 East West Highway        | Fax:   (301) 713-3301
Silver Spring, MD 20910-3282  | Web Site:  http://www.nodc.noaa.gov/
- Any opinions expressed in this message are NOT those of the US Govt. -
To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the body of the email. Please write to networker-request AT 
listserv.temple DOT edu if you have any problems with this list. You can access the archives 
at http://listserv.temple.edu/archives/networker.html or via RSS at 
http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the body of the email. Please write to networker-request 
AT listserv.temple DOT edu if you have any problems with this list. You can access the 
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER



--
George Sinclair - NOAA/NESDIS/National Oceanographic Data Center
SSMC3 4th Floor Rm 4145       | Voice: (301) 713-3284 x210
1315 East West Highway        | Fax:   (301) 713-3301
Silver Spring, MD 20910-3282  | Web Site:  http://www.nodc.noaa.gov/
- Any opinions expressed in this message are NOT those of the US Govt. -
To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the body of the email. Please write to networker-request 
AT listserv.temple DOT edu if you have any problems with this list. You can access the 
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>