Difference: AmandaClient (14 vs. 15)

Revision 152017-07-19 - YaoQiuling

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Changed:
<
<

安装步骤:

>
>

安装步骤:

 
Changed:
<
<

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

>
>

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

 
Changed:
<
<
#useradd -u 51202 amandabackup -g disk -d /var/lib/amanda -s /bin/sh
>
>
#useradd -u 51202 amandabackup -g disk -d /var/lib/amanda -s /bin/sh
 
Changed:
<
<
修改amandabackup用户的属性 SHELL:/bin/sh HOME:/var/lib/amanda
>
>
修改amandabackup用户的属性 SHELL:/bin/sh HOME:/var/lib/amanda
 

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

Changed:
<
<
或# rpm -ivh amanda-backup_client-2.6.1-1.rhel4.x86_64.rpm (见附件)
>
>
或# rpm -ivh amanda-backup_client-2.6.1-1.rhel4.x86_64.rpm (见附件)
 
Changed:
<
<
查看是否有 /var/log/amanda/install.err报错信息
>
>
查看是否有 /var/log/amanda/install.err报错信息
 
Changed:
<
<

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

>
>

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

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

 
Changed:
<
<
# /etc/init.d/xinetd restart 或者 /etc/rc.d/xinetd restart
>
>
# /etc/init.d/xinetd restart 或者 /etc/rc.d/xinetd restart
  Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
Changed:
<
<

5.作为 amandabackup 用户

>
>

5.作为 amandabackup 用户

-bash-3.00$ vi /var/lib/amanda/.amandahosts (增加下面几行)

bak01.ihep.ac.cn amandabackup amdump

bak02.ihep.ac.cn amandabackup amdump

bak03.ihep.ac.cn amandabackup amdump

bak04.ihep.ac.cn amandabackup amdump

bak05.ihep.ac.cn amandabackup amdump

bak06.ihep.ac.cn amandabackup amdump

bak07.ihep.ac.cn amandabackup amdump

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

6.修改防火墙配置

>
>

6.修改防火墙配置

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

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

1.生成目录

>
>

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

1.生成目录

  # mkdir /etc/amanda

# chown amandabackup:disk /etc/amanda

Changed:
<
<

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

>
>

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

  # amanda.conf - sample Amanda client configuration file.
Line: 64 to 64
  #
Changed:
<
<
conf "DailySet" (此参数请咨询管理员)
>
>
conf "DailySet" (此参数请咨询管理员)
 
Changed:
<
<
index_server "amanda.ihep.ac.cn" (此参数请咨询管理员)
>
>
index_server "amanda.ihep.ac.cn" (此参数请咨询管理员)
 
Changed:
<
<
tape_server "amanda.ihep.ac.cn" (此参数请咨询管理员)
>
>
tape_server "amanda.ihep.ac.cn" (此参数请咨询管理员)
  # tapedev "/dev/null"
Line: 78 to 78
  # Default: [auth "bsdtcp"]
Changed:
<
<
auth "bsdtcp" # your ssh keys file if you use ssh auth ssh_keys "/var/lib/amanda/.ssh/id_rsa_amrecover"
>
>
auth "bsdtcp" # your ssh keys file if you use ssh auth ssh_keys "/var/lib/amanda/.ssh/id_rsa_amrecover"
 
Changed:
<
<
管理员:姚秋玲 tel:88236007 mail: yaoql@ihep.ac.cn
>
>
*管理员:姚秋玲 tel:88236007 mail: yaoql@ihep.ac.cn*
 
Changed:
<
<
郑伟 tel:88236883 mail:zhengw@ihep.ac.cn
>
>
郑伟 tel:88236883 mail: zhengw@ihep.ac.cn
 
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback