SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
built 2.6.1p2 on Solaris 10 x86
Author Message
Post built 2.6.1p2 on Solaris 10 x86 
Amanda users,

We do a couple of weird things here, restricting ports as a
matter of course because sometimes we install on firewalls and
I don't want to rebuild special for them. Besides, its not a
bad idea in general to be mildly security minded.

In this case we have clients where the /usr/local is NFS mounted
and altering the ./configure --prefix option was the simpler
solution, also avoiding NFS root write to permitting suid across NFS.

We had a not so working 2.6.1p1 but as long as we where rebuilding
we went with 2.6.1p2. The not working was related to NFS (meantioned above).

The server for this system is also our first application of
VTapes within amanda.

You will also see a couple of very simple SMF related commands
(that took me a while to work out).

I offer the following as 'works for me' take from it what you will.

========================

# mkdir /tmp/am-inst

Get the new amanda tar ball, unpack it into the /tmp/am-inst directory.

# cd amanda-2.6.1p2

[curie]: /tmp/am-inst/amanda-2.6.1p2 > printenv PATH
/opt/SUNWspro/bin:/opt/sfw/bin:/usr/bin:/usr/sbin:/usr/bin:/usr/ccs/bin


[curie]: /tmp/am-inst/amanda-2.6.1p2 > printenv LD_LIBRARY_PATH
/usr/lib:/usr/include:/opt/SUNWspro/lib:/opt/sfw/lib:/usr/sfw/lib:/usr/local/lib


[curie]: /tmp/am-inst/amanda-2.6.1p2 > ./configure
LDFLAGS="-L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/lib/amanda
-R/usr/sfw/lib -R/opt/sfw/lib -R/usr/local/lib/amanda"
--with-user=amanda --with-group=sys --with-udpportrange=932,948
--with-tcpportrange=10084,10100 --with-gnutar=/usr/sfw/bin/gtar
CPFLAGS="-I/usr/sfw/include -I/opt/swf/include"
CLFAGS="/usr/sfw/include -I/opt/sfw/include -I/usr/local/include"
--prefix=/opt/amanda

# make

build a tarball we can drag to the target system.

[curie]: /tmp/am-inst/amanda-2.6.1p2 > tar -cf ~/amanda261p2x86.tar .

[bioqq6]: /tmp/am-inst/amanda-2.6.1p2 > tar -xf ~/amanda261p2x86.tar

As root, # make install

Update /etc/inetd.conf


#amanda dgram udp wait amanda /usr/local/libexec/amanda/amandad amandad
amanda dgram udp wait amanda /opt/amanda/libexec/amanda/amandad amandad

Cleanup the SMF manifest and the registry.

# svcadm disable amanda/udp

# rm /var/svc/manifest/network/amanda-udp.xml

# svccfg

svc:> list network/aman*
network/amanda/udp
svc:> delete network/amanda/udp
svc:> exit

Create the new manifest and add to SMF.

# inetconv
amanda -> /var/svc/manifest/network/amanda-udp.xml
Importing amanda-udp.xml ...Done

Test from the server, note, we haven't updated the server.

flower (amanda) amdump -c flower bioqq6
Amanda Backup Client Hosts Check
--------------------------------
ERROR: bioqq6: [/opt/amanda/var/amanda/gnutar-lists: No such file or directory]
Client check: 1 host checked in 2.795 seconds. 1 problem found.

(brought to you by Amanda 2.6.1p1)

Fix the obvious problems...

# mkdir -p /opt/amanda/var/amanda/gnutar-lists
# chown -R amanda:sys /opt/amanda/var

retest

amcheck -c flower bioqq6

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 2.677 seconds. 0 problems found.

(brought to you by Amanda 2.6.1p1)

Looking good.




---
Brian R Cuttler brian.cuttler < at > wadsworth.org
Computer Systems Support (v) 518 486-1697
Wadsworth Center (f) 518 473-6384
NYS Department of Health Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure. It
is intended only for the addressee. If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments. Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.

Post built 2.6.1p2 on Solaris 10 x86 
On Mon, Mar 8, 2010 at 3:11 PM, Brian Cuttler <brian < at > wadsworth.org> wrote:
I offer the following as 'works for me' take from it what you will.

Sounds like something that's worth putting on the wiki. Perhaps you
can make a sub-page, linked from the Solaris installation page (which
is already quite long).

The wiki is down as I write this, but Mike's working on it, so with
luck it will be up again in an hour or so.

Dustin

--
Open Source Storage Engineer
http://www.zmanda.com

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB