Amanda-Users

RESEND UPDATE - RE: Amanda Solaris 10

2006-09-23 11:24:49
Subject: RESEND UPDATE - RE: Amanda Solaris 10
From: "McGraw, Robert P." <rmcgraw AT purdue DOT edu>
To: "Peter Kunst" <Peter.Kunst AT swissrisk DOT com>, <amanda-users AT amanda DOT org>
Date: Sat, 23 Sep 2006 10:52:32 -0400



Thanks for your input.

I believe there is a big difference between pre 2.5.1 and 2.5.1. See the
following:

        http://wiki.zmanda.com/index.php/Main_Page

        
http://wiki.zmanda.com/index.php/Configuring_bsd/bsdudp/bsdtcp_authenticatio
n


2.5.1 starts using the secure API which means xinetd or inetd is different.
The zmanda "Configuring bsd" above talks about his. It talks about how to do
this with xinetd/inetd but Solaris 10 is different. The problem is I am not
sure how this equates to Solaris 10 smf. Some parameters will need to be
added to the smf service entry for amandad to get this to work, I believe. 

I have not done this yet and just wanted to know if someone else has 2.5.1
working with Solaris 10 and see if I am on the right path.

In 2.5.1 when I rum the amrecover I get 

##R##-zorn->[146] ##> ~amanda/sbin/amrecover
AMRECOVER Version 2.5.1. Contacting server on zorn ...
NAK: amindexd: invalid service

This is my inetadm -l svc:/network/amanda/udp:default

SCOPE    NAME=VALUE
         name="amanda"
         endpoint_type="dgram"
         proto="udp"
         isrpc=FALSE
         wait=TRUE
         exec="/local/Amanda/amanda/libexec/amandad"
         user="amanda"
default  bind_addr=""
default  bind_fail_max=-1
default  bind_fail_interval=-1
default  max_con_rate=-1
default  max_copies=-1
default  con_rate_offline=-1
default  failrate_cnt=40
default  failrate_interval=60
default  inherit_env=TRUE
default  tcp_trace=FALSE
default  tcp_wrappers=FALSE


So my question is how do I get -auth=bsd amdump amindexd amidxtaped in the
exec="/local/Amanda/amanda/libexec/amandad"


Answer to your second question. We have a Sun C4 and I have moved to
chg-zd-mtx to control my changer. I like how it handles searching for
barcodes. 

Robert

***** UPDATE *****
*
*
I did the following and this resolved my amrecover problem

##R##-zorn->[233] ##> inetadm -m svc:/network/amanda/udp:default 
"exec=/local/Amanda/amanda/libexec/amandad -auth=bsd amdump amindexd 
amidxtaped"   

 ##R##-zorn->[234] ##> inetadm -l svc:/network/amanda/udp:default               
                                
SCOPE    NAME=VALUE
         name="amanda"
         endpoint_type="dgram"
         proto="udp"
         isrpc=FALSE
         wait=TRUE
         exec="/local/Amanda/amanda/libexec/amandad -auth=bsd amdump amindexd 
amidxtaped"
         user="amanda"
default  bind_addr=""
default  bind_fail_max=-1
default  bind_fail_interval=-1
default  max_con_rate=-1
default  max_copies=-1
default  con_rate_offline=-1
default  failrate_cnt=40
default  failrate_interval=60
default  inherit_env=TRUE
default  tcp_trace=FALSE
default  tcp_wrappers=FALSE 

and now my amrecover work just fine.

I will need to look at adding this to the zmanda manual pages.

Robert
*
*
*****


> -----Original Message-----
> From: Peter Kunst [mailto:Peter.Kunst AT swissrisk DOT com]
> Sent: Saturday, September 23, 2006 5:08 AM
> To: McGraw, Robert P.
> Subject: Re: Amanda Solaris 10
> 
> 
> Hi Robert,
> 
> McGraw, Robert P. wrote:
> > Is anyone running Amanda 2.5.1 on Solaris 10 host? If so could you send
> me
> > the output from
> >
> >     inetadm -l svc:/network/amanda/udp:default
> >     inetadm -l svc:/network/amandaidx/tcp:default
> >     inetadm -l svc:/network/amidxtape/tcp:default
> >
> > I would like to see how you have set things up.
> 
> you can run inetconv(1M) after inserting your amanda services into
> /etc/inetd.conf, which results in appropriate amanda smf services
> manifests.
> 
> If you change the path to binaries, you have to edit service manifests
> in /var/svc/manifest/network/ and run "svccfg import <config>.xml",
> because another inetconv run doesn't change an existing manifest.
> 
> But anyways, here we go:
> 
> 
> [amanda] janus30(Solaris[5.10]):amanda/$ inetadm -l
> svc:/network/amanda/udp:default
> SCOPE    NAME=VALUE
>           name="amanda"
>           endpoint_type="dgram"
>           proto="udp"
>           isrpc=FALSE
>           wait=TRUE
>           exec="/home/amanda/2.5.0p2/Solaris/5.10/libexec/amandad"
>           user="amanda"
> default  bind_addr=""
> default  bind_fail_max=-1
> default  bind_fail_interval=-1
> default  max_con_rate=-1
> default  max_copies=-1
> default  con_rate_offline=-1
> default  failrate_cnt=40
> default  failrate_interval=60
> default  inherit_env=TRUE
> default  tcp_trace=FALSE
> default  tcp_wrappers=FALSE
> [amanda] janus30(Solaris[5.10]):amanda/$ inetadm -l
> svc:/network/amandaidx/tcp:default
> SCOPE    NAME=VALUE
>           name="amandaidx"
>           endpoint_type="stream"
>           proto="tcp"
>           isrpc=FALSE
>           wait=FALSE
>           exec="/home/amanda/2.5.0p2/Solaris/5.10/libexec/amindexd"
>           user="amanda"
> default  bind_addr=""
> default  bind_fail_max=-1
> default  bind_fail_interval=-1
> default  max_con_rate=-1
> default  max_copies=-1
> default  con_rate_offline=-1
> default  failrate_cnt=40
> default  failrate_interval=60
> default  inherit_env=TRUE
> default  tcp_trace=FALSE
> default  tcp_wrappers=FALSE
> [amanda] janus30(Solaris[5.10]):amanda/$ inetadm -l
> svc:/network/amidxtape/tcp:default
> 
> SCOPE    NAME=VALUE
>           name="amidxtape"
>           endpoint_type="stream"
>           proto="tcp"
>           isrpc=FALSE
>           wait=FALSE
>           exec="/home/amanda/2.5.0p2/Solaris/5.10/libexec/amidxtaped"
>           user="amanda"
> default  bind_addr=""
> default  bind_fail_max=-1
> default  bind_fail_interval=-1
> default  max_con_rate=-1
> default  max_copies=-1
> default  con_rate_offline=-1
> default  failrate_cnt=40
> default  failrate_interval=60
> default  inherit_env=TRUE
> default  tcp_trace=FALSE
> default  tcp_wrappers=FALSE
> 
> By the way, do you have a changer connected ? Which changer utility do
> you use ? We still use stctl.
> 
>   Cheers, Peter

Attachment: smime.p7s
Description: S/MIME cryptographic signature

<Prev in Thread] Current Thread [Next in Thread>
  • RESEND UPDATE - RE: Amanda Solaris 10, McGraw, Robert P. <=