Howto add a new host and disk to my Amanda backup server WARNING Host down! (emailserver).

2005-09-29 Thread Chuck Amadi Systems Administrator
Hi all

I have just been asked to add our email server to our Amanda server
backup.

I have installed the Amanda version 2.4.4p2 rpm using SuSE SLES 9 Yast2
and added the email server to disklist as below:

#/etc/amanda/DailySet1/disklist file:

# hostname  diskname or mountpoint dumptype # mounted as. 

myserver.co.co.uk / root-tar # backup all myservers / and sub
directories (This works)

emailserver.co.co.uk /  root-tar # backup email servers / and sub
directories.

or have I for the emailserver list all the local dir after / i.e
emailserver.co.co.uk /usr  root-tar #/usr dir
emailserver.co.co.uk /local  root-tar #/local dir


Thus enabled xinetd amanda, amadaidx and amidxtape.
Thus checked that the emailserver can participate with the amanda backup
server over the network exspecailly the amanda client utility amanda.

amanda  10080/tcp  # Amanda
amanda  10080/udp  # Amanda
amandaidx   10082/tcp
amidxtape   10083/tcp

I have run amcheck and I get this error have I missed anything.

Amanda Backup Client Hosts Check

WARNING: emailserver.co.co.uk: selfcheck request timed out.  Host down?
Client check: 2 hosts checked in 30.167 seconds, 1 problem found

I have added the emailserver to my main backup server named myserver.
[EMAIL PROTECTED]:/var/lib/amanda # less .amandahosts 
localhost amanda
localhost root
myserver.co.co.uk amanda
myserver.co.co.uk root
emailserver.co.co.uk amanda
emailserver.co.co.uk root

Also added emailserver to var/lib/amanda/.amandahosts file

[EMAIL PROTECTED]:/var/lib/amanda # less .amandahosts 
localhost root
emailserver.co.co.uk amanda
emailserver.co.co.uk root

Chers for your help suggestions.





Cheers





-- 
Unix/ Linux Systems Administrator
Chuck Amadi
The Surgical Material Testing Laboratory (SMTL), 
Princess of Wales Hospital 
Coity Road 
Bridgend, 
United Kingdom, CF31 1RQ.
Email chuck.smtl.co.uk
Tel: +44 1656 752820 
Fax: +44 1656 752830




Re: Howto add a new host and disk to my Amanda backup server WARNING Host down! (emailserver).

2005-09-29 Thread Stefan G. Weichinger
Chuck Amadi Systems Administrator wrote:

 Thus enabled xinetd amanda, amadaidx and amidxtape.


Recheck the entries in /etc/xinetd.d (paths to binaries?) and make sure
that you also restarted xinetd.


Re: Howto add a new host and disk to my Amanda backup server WARNING Host down! (emailserver).

2005-09-29 Thread Chuck Amadi Systems Administrator
Hi

I rechecked the /etc/xinetd/amanda file and the other two

# default: off
# description: Amanda backup client
service amanda
{
socket_type = dgram
protocol= udp
wait= yes
user= amanda
group   = disk
server  = /usr/lib/amanda/amandad
}

[EMAIL PROTECTED]:/etc/xinetd.d # ls -l /usr/lib/amanda/amandad (it's
there I did use rpm's)

and the same for the other amanda utilities and thus
run /etc/init.d/xinetd restart on both hosts added to /etc/hosts and run
chkconfig --list all amanda utilities are on.

Cheers

Chuck


On Thu, 2005-09-29 at 15:19 +0200, Stefan G. Weichinger wrote:
 Chuck Amadi Systems Administrator wrote:
 
  Thus enabled xinetd amanda, amadaidx and amidxtape.
 
 
 Recheck the entries in /etc/xinetd.d (paths to binaries?) and make sure
 that you also restarted xinetd.
 
-- 
Unix/ Linux Systems Administrator
Chuck Amadi
The Surgical Material Testing Laboratory (SMTL), 
Princess of Wales Hospital 
Coity Road 
Bridgend, 
United Kingdom, CF31 1RQ.
Email chuck.smtl.co.uk
Tel: +44 1656 752820 
Fax: +44 1656 752830




Re: Howto add a new host and disk to my Amanda backup server WARNING Host down! (emailserver).

2005-09-29 Thread Chuck Amadi Systems Administrator
Hi got a bit further I had on the emailserver SuSE's default firewall
running thus disabled

Now get this error:

Amanda Backup Client Hosts Check

ERROR: ktinga.smtl.co.uk: [access as amanda not allowed from
[EMAIL PROTECTED] amandahostsauth failed
Client check: 2 hosts checked in 10.190 seconds, 1 problem found

Thus I have add to the my new host
emailserver's /var/lib/amanda/.amandahostss file the main Amanada server
(myserver).
myserver amanda
myserver root

And guess what No problems!.

Cheers

On Thu, 2005-09-29 at 15:44 +0200, Stefan G. Weichinger wrote:
 Chuck Amadi Systems Administrator wrote:
  Hi
  
  I rechecked the /etc/xinetd/amanda file and the other two
  
  # default: off
  # description: Amanda backup client
  service amanda
  {
  socket_type = dgram
  protocol= udp
  wait= yes
  user= amanda
  group   = disk
  server  = /usr/lib/amanda/amandad
  }
  
  [EMAIL PROTECTED]:/etc/xinetd.d # ls -l /usr/lib/amanda/amandad (it's
  there I did use rpm's)
 
 And you use amanda:disk as AMANDA-user?
 
 
  and the same for the other amanda utilities and thus
  run /etc/init.d/xinetd restart on both hosts added to /etc/hosts and run
  chkconfig --list all amanda utilities are on.
 
 Does xinetd tell you (in /var/log/messages) that it has read and enabled
 the amanda-related services? ALso check the permissions of the daemons,
 they should be owned by the amanda-user and executable for it.
 
 Eg.
 
 # ll /usr/local/libexec/amandad
 -rwxr-xr-x  1 amanda disk 31K Sep 28 21:06 /usr/local/libexec/amandad
 
 Basically the error you get points to the fact that amandad doesn't get
 contacted properly, either because it is not reachable or not started ...
 
 Any firewall enabled between these hosts?
 
 Stefan
 
-- 
Unix/ Linux Systems Administrator
Chuck Amadi
The Surgical Material Testing Laboratory (SMTL), 
Princess of Wales Hospital 
Coity Road 
Bridgend, 
United Kingdom, CF31 1RQ.
Email chuck.smtl.co.uk
Tel: +44 1656 752820 
Fax: +44 1656 752830




Re: Howto add a new host and disk to my Amanda backup server WARNING Host down! (emailserver).

2005-09-29 Thread Stefan G. Weichinger
Chuck Amadi Systems Administrator wrote:
 Hi got a bit further I had on the emailserver SuSE's default firewall
 running thus disabled
 
 Now get this error:
 
 Amanda Backup Client Hosts Check
 
 ERROR: ktinga.smtl.co.uk: [access as amanda not allowed from
 [EMAIL PROTECTED] amandahostsauth failed
 Client check: 2 hosts checked in 10.190 seconds, 1 problem found
 
 Thus I have add to the my new host
 emailserver's /var/lib/amanda/.amandahostss file the main Amanada server
 (myserver).
 myserver amanda
 myserver root
 
 And guess what No problems!.

I can't believe that  ;)

Good luck,
proper restores,
Stefan.