安装步骤:

1.建用户 "amandabackup" uid=51202(amandabackup) gid=6(disk)

#useradd -u 51202 amandabackup -g disk -d /var/lib/amanda -s /bin/sh

修改amandabackup用户的属性 SHELL:/bin/sh HOME:/var/lib/amanda

2.# rpm -ivh amanda-backup_client-2.6.1-1.rhel4.i386.rpm

或# rpm -ivh amanda-backup_client-2.6.1-1.rhel4.x86_64.rpm (见附件)

查看是否有 /var/log/amanda/install.err报错信息

3.查看/etc/xinetd.d/amandaclient文件:

# default: on 
# 
# description: Amanda services for Amanda client. 
# 
service amanda 
{ 
        disable = no 
        socket_type = stream 
        protocol = tcp 
        wait = no 
        user = amandabackup 
        group = disk 
        groups = yes 
        server = /usr/libexec/amanda/amandad 
        server_args = -auth=bsdtcp amdump 
} 

4.重启 xinetd

# /etc/init.d/xinetd restart 或者 /etc/rc.d/xinetd restart

Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]

5.作为 amandabackup 用户

-bash-3.00$ echo amanda.ihep.ac.cn amandabackup amdump >> /var/lib/amanda/.amandahosts (amanda.ihep.ac.cn为服务器地址,请咨询管理员)

-bash-3.00$ chmod 700 /var/lib/amanda/.amandahosts

6.修改防火墙配置

安装完成,将所需备份的目录及其所在的机器告知系统管理员。

客户端软件安装完成之后,还需要进行recovery的配置

1.生成目录

# mkdir /etc/amanda

# chown amandabackup:disk /etc/amanda

2.作为 amandabackup用户, 生成 /etc/amanda/amanda-client.conf 文件,添加以下内容

# amanda.conf - sample Amanda client configuration file.

#

# This file normally goes in /etc/amanda/amanda-client.conf.

#

conf "DailySet" (此参数请咨询管理员)

index_server "amanda.ihep.ac.cn" (此参数请咨询管理员)

tape_server "amanda.ihep.ac.cn" (此参数请咨询管理员)

# tapedev "/dev/null"

# auth - authentication scheme to use between server and client.

# Valid values are "bsd", "bsdudp", "bsdtcp" and "ssh".

# Default: [auth "bsdtcp"]

auth "bsdtcp" # your ssh keys file if you use ssh auth ssh_keys "/var/lib/amanda/.ssh/id_rsa_amrecover"

管理员:姚秋玲 tel:88236007 mail: yaoql@ihep.ac.cn

郑伟 tel:88236883 mail:zhengw@ihep.ac.cn

Edit | Attach | Watch | Print version | History: r16 | r13 < r12 < r11 < r10 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r11 - 2011-09-22 - YaoQiuling
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback