Re: Setting up AMANDA to use private network.

2006-10-11 Thread Andreas Hallmann

Alan Jedlow wrote:


Greetings,

Is possible to configure AMANDA to use a specific
interface for data transfer?


I don't know


My backup server and clients have two NICs configured:
eth0 is on a private 1000BaseT network and eth1 is on
a "public" 100BaseT network.  I'm hoping to restrict
backups to eth0, the private high speed network.


Set up IP routing accordingly.
Than any traffic will take that route.

AHA


thanks,
 alan




RE: Setting up AMANDA to use private network.

2006-10-11 Thread Lengyel, Florian
Title: RE: Setting up AMANDA to use private network.






Yes...in my case, the amanda server was inaccessible from
the other interfaces, but this is correct. Practically
this means use the correct fqdn in the .amandahosts file
in the ~amanda account on the client (of course, the
name should match in /etc/hosts, or your LDAP or NIS
or whatever you use for hosts).


-Original Message-
From: Frank Smith [mailto:[EMAIL PROTECTED]]
Sent: Wed 10/11/2006 6:59 PM
To: Lengyel, Florian
Cc: Alan Jedlow; amanda-users@amanda.org
Subject: Re: Setting up AMANDA to use private network.

Lengyel, Florian wrote:
> Sure: have the DLE (disk list entry) refer to the name
> of the interface you want to use (you should, of course,
> give them separate names). I have machines with multiple
> interfaces (external inet connection, internal backup
> interface, etc) and I make sure the backup is through
> the designated backup interface. I don't want any
> amanda traffic on my web servers going through the
> internet interfaces: the traffic is confined to the
> interface for backup. Just use the hostname (FQDN or alias)
> of the interface you want in the disk list entry on
> the amanda server.

Also make sure the client knows the server by the name that
uses the right interface, as some of the connections are
initiated by the client.

Frank

>
> -FL
>
> -Original Message-
> From: [EMAIL PROTECTED] on behalf of Alan Jedlow
> Sent: Wed 10/11/2006 4:32 PM
> To: amanda-users@amanda.org
> Subject: Setting up AMANDA to use private network.
> 
> Greetings,
>
> Is possible to configure AMANDA to use a specific
> interface for data transfer?
>
> My backup server and clients have two NICs configured:
> eth0 is on a private 1000BaseT network and eth1 is on
> a "public" 100BaseT network.  I'm hoping to restrict
> backups to eth0, the private high speed network.
>
> thanks,
>   alan
>
>


--
Frank Smith  [EMAIL PROTECTED]
Sr. Systems Administrator   Voice: 512-374-4673
Hoover's Online   Fax: 512-374-4501







Re: Setting up AMANDA to use private network.

2006-10-11 Thread Frank Smith
Lengyel, Florian wrote:
> Sure: have the DLE (disk list entry) refer to the name
> of the interface you want to use (you should, of course,
> give them separate names). I have machines with multiple
> interfaces (external inet connection, internal backup 
> interface, etc) and I make sure the backup is through
> the designated backup interface. I don't want any
> amanda traffic on my web servers going through the
> internet interfaces: the traffic is confined to the
> interface for backup. Just use the hostname (FQDN or alias) 
> of the interface you want in the disk list entry on
> the amanda server.

Also make sure the client knows the server by the name that
uses the right interface, as some of the connections are
initiated by the client.

Frank

> 
> -FL
> 
> -Original Message-
> From: [EMAIL PROTECTED] on behalf of Alan Jedlow
> Sent: Wed 10/11/2006 4:32 PM
> To: amanda-users@amanda.org
> Subject: Setting up AMANDA to use private network.
>  
> Greetings,
> 
> Is possible to configure AMANDA to use a specific
> interface for data transfer?
> 
> My backup server and clients have two NICs configured:
> eth0 is on a private 1000BaseT network and eth1 is on
> a "public" 100BaseT network.  I'm hoping to restrict
> backups to eth0, the private high speed network.
> 
> thanks,
>   alan
> 
> 


-- 
Frank Smith  [EMAIL PROTECTED]
Sr. Systems Administrator   Voice: 512-374-4673
Hoover's Online   Fax: 512-374-4501


Re: Setting up AMANDA to use private network.

2006-10-11 Thread Ian Turner
On Wednesday 11 October 2006 16:32, Alan Jedlow wrote:
> Is possible to configure AMANDA to use a specific
> interface for data transfer?

Since Amanda only listens via inetd, if your inetd supports listening only on 
a particular interface, then you can use that configuration with Amanda. 
Xinetd supports this for sure, I can't say about others.

The other thing you should do is ensure that your routing is configured so 
that packets to the "internal" IP address of a machine are actually routed 
over the internal network.

Cheers,

--Ian

> My backup server and clients have two NICs configured:
> eth0 is on a private 1000BaseT network and eth1 is on
> a "public" 100BaseT network.  I'm hoping to restrict
> backups to eth0, the private high speed network.
>
> thanks,
>   alan

-- 
Forums for Amanda discussion: http://forums.zmanda.com/


RE: Setting up AMANDA to use private network.

2006-10-11 Thread Lengyel, Florian
Title: RE: Setting up AMANDA to use private network.







Sure: have the DLE (disk list entry) refer to the name
of the interface you want to use (you should, of course,
give them separate names). I have machines with multiple
interfaces (external inet connection, internal backup
interface, etc) and I make sure the backup is through
the designated backup interface. I don't want any
amanda traffic on my web servers going through the
internet interfaces: the traffic is confined to the
interface for backup. Just use the hostname (FQDN or alias)
of the interface you want in the disk list entry on
the amanda server.

-FL

-Original Message-
From: [EMAIL PROTECTED] on behalf of Alan Jedlow
Sent: Wed 10/11/2006 4:32 PM
To: amanda-users@amanda.org
Subject: Setting up AMANDA to use private network.

Greetings,

Is possible to configure AMANDA to use a specific
interface for data transfer?

My backup server and clients have two NICs configured:
eth0 is on a private 1000BaseT network and eth1 is on
a "public" 100BaseT network.  I'm hoping to restrict
backups to eth0, the private high speed network.

thanks,
  alan







Setting up AMANDA to use private network.

2006-10-11 Thread Alan Jedlow

Greetings,

Is possible to configure AMANDA to use a specific
interface for data transfer?

My backup server and clients have two NICs configured:
eth0 is on a private 1000BaseT network and eth1 is on
a "public" 100BaseT network.  I'm hoping to restrict
backups to eth0, the private high speed network.

thanks,
 alan


Re: labelling of reused tapes

2006-10-11 Thread Matt Hyclak
On Wed, Oct 11, 2006 at 10:28:08AM -0400, Steven Settlemyre enlightened us:
> None of my tapes are new. I put the next 3 tapes that I have in the 
> changer and run amcheck. It seems to be ok with 2 of the 3 tapes but 
> gives me "not an amanda tape (Input/output error)" for slot 3. So I read 
> the archives and they say to label the tape, so I run amlabel:
> 
> BASH>/usr/sbin/amlabel -f monthly Monthly53 slot 3
> changer: got exit: 0 str: 3 /dev/nst0
> labeling tape in slot 3 (/dev/nst0):
> rewinding
> amlabel: tape_rewind: rewinding tape: /dev/nst0: Input/output error
> amlabel: tape_rewind: rewinding tape: /dev/nst0: Input/output error
> amlabel: pid 17508 finish time Wed Oct 11 09:40:36 2006
> 
> Is this a tape problem or am I approaching this incorrectly?
>

Looks like a tape error to me. Can you read/write it with standard tools
(dd, tar, etc.)?

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263


Re: labelling of reused tapes

2006-10-11 Thread Steven Settlemyre
None of my tapes are new. I put the next 3 tapes that I have in the 
changer and run amcheck. It seems to be ok with 2 of the 3 tapes but 
gives me "not an amanda tape (Input/output error)" for slot 3. So I read 
the archives and they say to label the tape, so I run amlabel:


BASH>/usr/sbin/amlabel -f monthly Monthly53 slot 3
changer: got exit: 0 str: 3 /dev/nst0
labeling tape in slot 3 (/dev/nst0):
rewinding
amlabel: tape_rewind: rewinding tape: /dev/nst0: Input/output error
amlabel: tape_rewind: rewinding tape: /dev/nst0: Input/output error
amlabel: pid 17508 finish time Wed Oct 11 09:40:36 2006

Is this a tape problem or am I approaching this incorrectly?

Steve


Matt Hyclak wrote:

On Tue, Oct 10, 2006 at 03:00:32PM -0400, Steven Settlemyre enlightened us:
  
I have a monthly backup config with runtapes=3 and 59 tapes in the 
tapecycle. The instructions I was originally given say to run a script 
that looks in tapelist, find the highest # then label the next 3 tapes 
starting from there. This seems wrong because then it wouldn't be a 
cycle. My question is when I do amcheck, it tells me "(expecting tape 
Monthly04 or a new tape)". But the next tape I have in my hand is 
currently labeled Monthly50 which is correct because it is in the 
tapelist as "20051107 Monthly50 reuse". How do I solve this problem? How 
do I tell amanda to look for "Monthly50" instead of "Monthly04"? Or how 
do i have amanda use the tape I give it as long as it's not recently used?





That's the "Or New Tape" part. If you've labelled a tape but not used it, it
is considered a new tape. Amanda will also accept any tape that is more than
tapecycle tapes old, so in my case my tapecycle is 16 tapes, but I actually
use 20 in rotation, so that if one fails, I don't have to replace it
immediately.

Matt