How To:Install Amanda Server on AIX

From wiki.zmanda.com
Revision as of 13:33, 7 June 2007 by Erikw (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to install amanda 2.5.0p2 on AIX 5.2

In this article is described how amanda server can be made to run using an old AIX 5.2 and a non-IBM tape library.

Description of the system

IBM p-Server 7026-B80 with four cpu's 6 * 10/100 ethernetcards 4* 36 Gb scsi disk HP Storageworks 1/8 Autoloader LTO2

Software

AIX 5.2 ML9 (5200-08) Latest firmware upgrade for the hardware from IBM amanda-2.5.0p2 (source) mtx-1.3.11.tar.gz (source) make-3.81.tar.gz (source) gsc-1.1.tar.gz (source) gcc.4.1.1.tar.Z (Precompiled set of binaries from UCLA AIX site)

  • no* IBM xlC compiler

Getting amanda to work

In order to get amanda to work the following actions have to be taken: 0) Prerequisites 1) Install compiler 2) Install GNU make 3) Install GSC (generic scsi driver for AIX) 4) Install mtx for AIX 5) Connect the tapedrive 6) Test the tapedrive 7) Compile amanda 8) Configuration

Prerequisites

take care that /usr/local is sufficiently big (2 Gb). PATH=/usr/local/bin:/usr/local/sbin:$PATH

Install compiler

Thx to UCLA there is a recent GNU compiler for AIX, version 4.1.1. Download this, and install the binaries: cat gcc.4.1.1.tar.Z | uncompress | (cd / ; tar xvf -)

PATH=/usr/local/bin:/usr/local/sbin:$PATH

Install GNU make

This is necessary for mtx to compile, they use GNU make specific statements. Compiling and installation is straightforward.

Install GSC

This is necessary to get any non-IBM autoloader to work. IBM only seems to support autoloaders when TSM is bought. HP does not provide autoloader support for its autoloaders.

GSC was tested with the standard xlC compiler from IBM, in order to compile with gcc the makefile has to be adapted: - CC = gcc - LDFLAGS = -b"I:/lib/kernex.exp I:/lib/syscalls.exp" -lcsys -lsys - install bos.adt.syscalls (for libcsys)

Compiling gsc

- type "make"