Re: Virutal server host

2006-05-08 Thread Paul Bijnens

On 2006-05-08 00:16, Ross Vandegrift wrote:

On Sun, May 07, 2006 at 12:07:10PM -0400, Jon LaBadie wrote:

If all you are doing is adding a additional name, like "amanda_server"
to an existing hostname/ip_address pairing I can see name confusion
easily arising.

But would that be true if you ran a second NIC in the server?  It should
respond with the hostname associated with that IP.


The most important thing, as far as Amanda is concerned, is that
forward and reverse lookups are sensibly matched.  So your hostname
should lookup to an address that contains a valid hostname for the
client/server.


Right.



No second NIC, then what about additional IP addresses on the same NIC?
Those should be associated with their own hostnames also.  Solaris, linux,
and other unicies I'm familiar with all support multiple IP addresses on
a single NIC.


If you're concerned about portability, this is probably the easiest
way.  Bind a second IP to your server, setup name lookups for that
second IP, and then float it around to whatever box you need to be
migrating to at the time.


Right again.

One more thing.
When compiling, you can specify the default index server for amrecover.
with the configure option "--with-index-server=...".
I make that an alias "amandahost", instead of hard coding the real
name into each binary.  There is also a --with-tape-server but if
left out, it defaults to the index server.

When migrating my server, I still have to change the .amandahosts file
on each client, but I do not have to recompile.


--
Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***



Re: Virutal server host

2006-05-07 Thread Ross Vandegrift
On Sun, May 07, 2006 at 12:07:10PM -0400, Jon LaBadie wrote:
> If all you are doing is adding a additional name, like "amanda_server"
> to an existing hostname/ip_address pairing I can see name confusion
> easily arising.
> 
> But would that be true if you ran a second NIC in the server?  It should
> respond with the hostname associated with that IP.

The most important thing, as far as Amanda is concerned, is that
forward and reverse lookups are sensibly matched.  So your hostname
should lookup to an address that contains a valid hostname for the
client/server.

All of our servers provide backups for two physically disparate
networks.  We manage this currently by creating entries in hosts files
for servers that need backups (uggg...), though I want to move it all
to DNS.

If you ever get confused about what entries should exist, the easiest
way to figure it out is to run amcheck and see what it complains
about!  Usually you'll get something descriptive like "10.0.0.2: No
such host", and then you'll know you need to configure a name.

> No second NIC, then what about additional IP addresses on the same NIC?
> Those should be associated with their own hostnames also.  Solaris, linux,
> and other unicies I'm familiar with all support multiple IP addresses on
> a single NIC.

If you're concerned about portability, this is probably the easiest
way.  Bind a second IP to your server, setup name lookups for that
second IP, and then float it around to whatever box you need to be
migrating to at the time.

-- 
Ross Vandegrift
[EMAIL PROTECTED]

"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37


Re: Virutal server host

2006-05-07 Thread Jon LaBadie
On Sun, May 07, 2006 at 09:12:53AM -0400, McGraw, Robert P. wrote:
> 
> 
> Running Amanda 2.4.5p1 on a Solaris 10 Sparc.
> 
> Has anyone tried to used a virtual host name for the backup server?
> 
> This would be an easy way to  move the amanda server to another host.
> All that would be required is that you add the server name as a virtual
> host name and you should be back in business.
> 
> The problem that I see is that sometime the real name gets returned on
> certain request.
> 
> Just wondering if someone has done it and if so was there something
> special that you had to do?
> 

If all you are doing is adding a additional name, like "amanda_server"
to an existing hostname/ip_address pairing I can see name confusion
easily arising.

But would that be true if you ran a second NIC in the server?  It should
respond with the hostname associated with that IP.

No second NIC, then what about additional IP addresses on the same NIC?
Those should be associated with their own hostnames also.  Solaris, linux,
and other unicies I'm familiar with all support multiple IP addresses on
a single NIC.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Virutal server host

2006-05-07 Thread McGraw, Robert P.


Running Amanda 2.4.5p1 on a Solaris 10 Sparc.

Has anyone tried to used a virtual host name for the backup server?

This would be an easy way to  move the amanda server to another host.
All that would be required is that you add the server name as a virtual
host name and you should be back in business.

The problem that I see is that sometime the real name gets returned on
certain request.

Just wondering if someone has done it and if so was there something
special that you had to do?

Thanks




_
Robert P. McGraw, Jr.
Manager, Computer SystemEMAIL: [EMAIL PROTECTED]
Purdue UniversityROOM: MATH-807
Department of Mathematics   PHONE: (765) 494-6055
150 N. University Street  FAX: (419) 821-0540
West Lafayette, IN 47907-2067