>What's the minimum number of ports I can allocate on my server?  ...
>...  Is there some formula that relates portrange with disklist entries,
>clients, dumpers, etc?

The following document is part of the current Amanda sources:

  ftp://gandalf.cc.purdue.edu/pub/amanda/PORT.USAGE

It says this about a client:

    A user TCP port range needs to be large enough for three ports
    (data, message and index) times the number of simultaneous backups
    the client may be asked to perform ("maxdumps" in amanda.conf).

And this about a server:

    A user TCP port range needs to be large enough for two ports (one
    to sendbackup on the client, and possibly one to taper) times the
    number of dumpers ("inparallel" in amanda.conf).

And this in general (for TCP):

    Pick the max of (2 * inparallel) and (3 * largest maxdumps).  Allocate
    at least that many ports in the unprivileged (1024 or larger) range.
    Stay away from other well known ports (e.g. in your /etc/services file)
    or account for their potential use by making the portrange larger.

For UDP:

    A user UDP port range must allow for one port for each client that
    might be contacted at a time.  Planner and amcheck use a single socket
    to contact all their clients, but there may be multiple dumpers (based
    on "inparallel" in amanda.conf) and each needs its own port.
    ...
    Allocate at least "inparallel" many ports in the privileged (1023 or
    smaller) range.  Stay away from other well known ports (e.g. in your
    /etc/services file) or account for their potential use by making the
    portrange larger.

You should also look at:

  http://www.amanda.org/patches.html

for a related portrange patch to 2.4.2p2.

>--david

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to