RE: Use multiple drives in tape robot

2007-06-27 Thread Weber, Philip
Thanks for all the responses, pretty much confirming what I thought.  I
haven't done anything special with the ports yet though,  both configs
seem to run together just fine, but I haven't got multiple clients
involved in this config, I'm just testing out the concepts.  I need to
look at port ranges etc. next as if we start using Amanda more widely
then firewalls will definitely be involved and will need to be locked
down as far as possible.

regards, Phil

 -Original Message-
 I'll just add that you must also configure amanda such that both
 configs use different ports with '--with-testing=config1' and
 '--with-testing=config2' and add those to /etc/services like
 
 amanda-config110080/tcp
 amanda-config110080/udp
 amanda-config210081/tcp
 amanda-config210081/udp
 
 Depending on the authentication scheme you decide to use you might
 have to specify the udp and tcp port range so that both config  don't
 overlap. 
 Look for '--with-tcpportrange=' and '--with-udpportrange='
 
 There is no provision for the access of the robotic device. At some
 point I had 7 config on the same robot and I had surprisingly little
 contention between the different amanda configs accessing the robot
 arm.
 
 hth
 jf

-
Egg is a trading name of the Egg group of companies which includes:
Egg plc (reg no 2448340), Egg Financial Intermediation Ltd (reg no
3828289), and Egg Banking plc (reg no 2999842). Egg Banking plc and
Egg Financial Intermediation Ltd are authorised and regulated by
the Financial Services Authority (FSA) and are entered in the FSA
register under numbers 205621 and 309551 respectively. These
members of the Egg group are registered in England and Wales.
Registered office: Citigroup Centre, Canada Square, London E14 5LB.

This e-mail is confidential and for use by the addressee only. If
you are not the intended recipient of this e-mail and have received
it in error, please return the message to the sender by replying to
it and then delete it from your mailbox. Internet e-mails are not
necessarily secure. The Egg group of companies do not accept
responsibility for changes made to this message after it was sent.


Whilst all reasonable care has been taken to avoid the transmission
of viruses, it is the responsibility of the recipient to ensure
that the onward transmission, opening or use of this message and
any attachments will not adversely affect its systems or data. No
responsibility is accepted by the Egg group of companies in this
regard and the recipient should carry out such virus and other
checks as it considers appropriate.

This communication does not create or modify any contract.




Re: Use multiple drives in tape robot

2007-06-27 Thread Jean-Louis Martineau
--with-testing was needed with amanda 2.4.* if a client could be 
accessed by 2 different config at the same time.


--with-testing is not needed with amanda-2.5.*, the amandad deamon allow 
multiple request simultaneously.


Jean-Louis

Jean-Francois Malouin wrote:

I'll just add that you must also configure amanda such that both
configs use different ports with '--with-testing=config1' and
'--with-testing=config2' and add those to /etc/services like

amanda-config110080/tcp
amanda-config110080/udp
amanda-config210081/tcp
amanda-config210081/udp

Depending on the authentication scheme you decide to use you might
have to specify the udp and tcp port range so that both config  don't
overlap. 
Look for '--with-tcpportrange=' and '--with-udpportrange='


There is no provision for the access of the robotic device. At some
point I had 7 config on the same robot and I had surprisingly little
contention between the different amanda configs accessing the robot
arm.

hth
jf
  


Re: Use multiple drives in tape robot

2007-06-26 Thread Joshua Baker-LePain

On Tue, 26 Jun 2007 at 4:58pm, Weber, Philip wrote


Is it possible to have 2 configs using 2 separate drives in a tape
robot, i.e. can they share the changer interface?  I don't mean use of
RAIT.

I have successfully set up 1 config with chg-zd-mtx  then tried
duplicating that to a 2nd config using chg-zd-mtx with a different set
of tapes in the robot, and the other drive.  This was successful, except
one of the amdumps failed on the first calling saying no writable tape
could be found; it worked on the 2nd calling so I suspect there is a
clash with 2 configs trying to access the changer.


I do exactly this, and have never seen a collision.  I kick off the 2 
amdumps 5 minutes apart.  Be sure to assign each config its own set of 
slots.


--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


Re: Use multiple drives in tape robot

2007-06-26 Thread Ian Turner
On Tuesday 26 June 2007 11:58:00 Weber, Philip wrote:
 Is it possible to have 2 configs using 2 separate drives in a tape
 robot, i.e. can they share the changer interface?  I don't mean use of
 RAIT.

The answer to your question is yes, but you must ensure that only one instance 
of mtx is running at a time. If your configurations each use one tape only, 
then it should be safe to start them at different times, as Joshua has 
suggested. If you have runtapes  1 for both configurations (and maybe even 
if not), you might consider wrapping MTX in a short script to ensure that 
only one copy runs at a time.

--Ian

 I have successfully set up 1 config with chg-zd-mtx  then tried
 duplicating that to a 2nd config using chg-zd-mtx with a different set
 of tapes in the robot, and the other drive.  This was successful, except
 one of the amdumps failed on the first calling saying no writable tape
 could be found; it worked on the 2nd calling so I suspect there is a
 clash with 2 configs trying to access the changer.

 Or am I barking up the wrong tree, is there a better way to do this (one
 of the other changer scripts?) or is it just not possible/supported?

 Thanks for any info or suggestions as to where in the documentation I
 should be looking.

 Phil

 Phil Weber
 Business Technology (Egg)
 Storage Technical Services - Senior UNIX Technologist
 Phone: 01384 26 4136

 -
 Egg is a trading name of the Egg group of companies which includes:
 Egg plc (reg no 2448340), Egg Financial Intermediation Ltd (reg no
 3828289), and Egg Banking plc (reg no 2999842). Egg Banking plc and
 Egg Financial Intermediation Ltd are authorised and regulated by
 the Financial Services Authority (FSA) and are entered in the FSA
 register under numbers 205621 and 309551 respectively. These
 members of the Egg group are registered in England and Wales.
 Registered office: Citigroup Centre, Canada Square, London E14 5LB.

 This e-mail is confidential and for use by the addressee only. If
 you are not the intended recipient of this e-mail and have received
 it in error, please return the message to the sender by replying to
 it and then delete it from your mailbox. Internet e-mails are not
 necessarily secure. The Egg group of companies do not accept
 responsibility for changes made to this message after it was sent.


 Whilst all reasonable care has been taken to avoid the transmission
 of viruses, it is the responsibility of the recipient to ensure
 that the onward transmission, opening or use of this message and
 any attachments will not adversely affect its systems or data. No
 responsibility is accepted by the Egg group of companies in this
 regard and the recipient should carry out such virus and other
 checks as it considers appropriate.

 This communication does not create or modify any contract.
-- 
Forums for Amanda discussion: http://forums.zmanda.com/


Re: Use multiple drives in tape robot

2007-06-26 Thread Jean-Francois Malouin
* Joshua Baker-LePain [EMAIL PROTECTED] [20070626 12:32]:
 On Tue, 26 Jun 2007 at 4:58pm, Weber, Philip wrote
 
 Is it possible to have 2 configs using 2 separate drives in a tape
 robot, i.e. can they share the changer interface?  I don't mean use of
 RAIT.
 
 I have successfully set up 1 config with chg-zd-mtx  then tried
 duplicating that to a 2nd config using chg-zd-mtx with a different set
 of tapes in the robot, and the other drive.  This was successful, except
 one of the amdumps failed on the first calling saying no writable tape
 could be found; it worked on the 2nd calling so I suspect there is a
 clash with 2 configs trying to access the changer.
 
 I do exactly this, and have never seen a collision.  I kick off the 2 
 amdumps 5 minutes apart.  Be sure to assign each config its own set of 
 slots.

I'll just add that you must also configure amanda such that both
configs use different ports with '--with-testing=config1' and
'--with-testing=config2' and add those to /etc/services like

amanda-config110080/tcp
amanda-config110080/udp
amanda-config210081/tcp
amanda-config210081/udp

Depending on the authentication scheme you decide to use you might
have to specify the udp and tcp port range so that both config  don't
overlap. 
Look for '--with-tcpportrange=' and '--with-udpportrange='

There is no provision for the access of the robotic device. At some
point I had 7 config on the same robot and I had surprisingly little
contention between the different amanda configs accessing the robot
arm.

hth
jf

 
 -- 
 Joshua Baker-LePain
 Department of Biomedical Engineering
 Duke University

-- 
° 


Re: Use multiple drives in tape robot

2007-06-26 Thread Joshua Baker-LePain

On Tue, 26 Jun 2007 at 12:57pm, Jean-Francois Malouin wrote


I'll just add that you must also configure amanda such that both
configs use different ports with '--with-testing=config1' and
'--with-testing=config2' and add those to /etc/services like

amanda-config110080/tcp
amanda-config110080/udp
amanda-config210081/tcp
amanda-config210081/udp

Depending on the authentication scheme you decide to use you might
have to specify the udp and tcp port range so that both config  don't
overlap.
Look for '--with-tcpportrange=' and '--with-udpportrange='


Hmm.  Is that on the server or the client side?  I didn't do any such 
magic, but I don't have any clients that are in both configs.  Also, I'm 
still using 2.4.5p1.


--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University