端口要求

源端IP 源端口 协议 目的端IP 目的端口
数据库服务器IP 随机 TCP 备份服务器的物理IP和VIP 9573、 9600、 9614、 9636、 9803、 9809、 9861、 9899、 9924、 9938

agent 安装

可推送安装(需要root密码且能直接登录)或者手动安装。

下载 AGENT 软件包:
登录 AnyBackup Web 管理控制台:
https://134.2.7.121:9600
在右上角下载软件,Kylin v10 选择 Linux el7 对应的版本,选择“客户端整包” > “客户端整包安装包”。

在主备服务器上都安装 AGENT,后面接管时直接接管整个集群。

# mv AnyBackupClient-Linux_el7_x64-latest.tar.gz /opt
# cd /opt
# tar zxvf AnyBackupClient-Linux_el7_x64-latest.tar.gz 
# cd AnyBackupClient/ClientService/
[root@dmdb05 ClientService]# ./install.sh 
 Begin install BasicRunner 
……
 Do you agree that we will get privacy on the operating system? y/n:  
y
 ******************************************************** 
       Welcome to Install BasicRunner                  
 ******************************************************** 

 Do you wish to continue? y/n:  
y
Please Input Self IP Address:
131.5.2.11
Please input server IP address or domain name:
134.2.7.121(备份管理服务器的IP)
Please Input Server Port: (9614)

Please input root user [root]:

Please input run user [root]:

Please input run group [root]:

Do you want to bind tenants automatically after installation? y/n:
n
============================================================
*(*)Self IP address:              [ 131.5.2.11 ]
*(*)Server IP address:            [ 134.2.7.121 ]
*(*)Server Port:                  [ 9614 ]
*(*)Root User:                    [ root ]
*(*)Run User:                     [ root ]
*(*)Run Group:                    [ root ]
============================================================
Are you sure to install now? y/n:
y
 Install BasicRunner ... 
 Install BasicRunner success 
Please enter the serial number of the application to be installed:
1) MySQL 2) ShenTong 3) TCE 4) GoldenDB 5) File 6) Volume 7) Oracle 8) ProgramExecutor 9) DB2 10) Cache 11) Informix 
12) VMware 13) Sybase 14) FusionCompute 15) HCS 16) HCSO 17) OpenStack 18) Dameng 19) PostgreSQL 20) Kingbase 21) SAPHANA 22) GaussDB 
23) HBase 24) Hadoop 25) H3CCAS 26) XenServer 27) TiDB 28) NutanixAHV 29) QingCloud 30) Bingo 31) ZStack 32) HwCloudGaussDB 33) Hive 
34) ObjectStorageGather 35) SmartX 36) InCloudSphere 37) AliyunPrivate 38) VolumeRep 39) DataRep 40) Gen 41) OceanBase 42) DBStack 43) JDStack 44) CNware 
45) Sangfor 46) NDM 47) Greenplum 48) OssService 49) ChiTu 50) openGauss 51) VmFileRecovery 52) ProxmoxVE 53) FusionOne 54) CloudOS 55) CetcCloud 
56) AppS3Service 57) AnyShare 58) Machine 59) RecoveryCabinet 60) CECStack 
your enter(enter q to exit):
18
 Begin install Dameng Runner 
[INFO] Start downloading the installation package[Dameng]
[INFO] Download the installation package complete
[INFO] Start unzipping the installation package[Dameng]
[INFO] Unzip the installation package is complete
[INFO] Start installation[Dameng]
cd /opt/AnyBackupClient/ClientService/BasicRunner/unpack/Dameng && bash install.sh  --installpath=/opt/AnyBackupClient
协议……
 Do you agree that we will get privacy on the operating system?y(yes)/n(no): 
y
Please input the run user [root]:

Please input run group [root]:

============================================================
*(*)Run User:                     [ root ]
*(*)Run Group:                    [ root ]
Are you sure to install now? y/n:
y
 Main installation succeeded. 
  1> Do you want to support Dameng Database? y(yes)/n(no): y
    Select Installation options:
    (y)install | (q)quit-select ]
    Please input your select: y
    Please input user need to be supported: dmdba
    Please enter Dameng Data Path.If have multiple Path,use ";" interval(eg :/home/dmdba/dmdbms/data;/data):/dmdb/dmdata/DMDB   
 Synced libdmsbtex3.0.so owner and permissions with libdmsbtex.so 
 restarted Dameng runner 
  2> Do you want to support continuously Dameng Database? y(yes)/n(no): n
[INFO] The installation is complete, the result is success
 List of currently installed apps: 
runner_type               osuser                   status
Basic                     root                     alived
Dameng                    root                     alived
Please enter the serial number of the application to be installed:
1) MySQL 2) ShenTong 3) TCE 4) GoldenDB 5) File 6) Volume 7) Oracle 8) ProgramExecutor 9) DB2 10) Cache 11) Informix 
12) VMware 13) Sybase 14) FusionCompute 15) HCS 16) HCSO 17) OpenStack 18) Dameng 19) PostgreSQL 20) Kingbase 21) SAPHANA 22) GaussDB 
23) HBase 24) Hadoop 25) H3CCAS 26) XenServer 27) TiDB 28) NutanixAHV 29) QingCloud 30) Bingo 31) ZStack 32) HwCloudGaussDB 33) Hive 
34) ObjectStorageGather 35) SmartX 36) InCloudSphere 37) AliyunPrivate 38) VolumeRep 39) DataRep 40) Gen 41) OceanBase 42) DBStack 43) JDStack 44) CNware 
45) Sangfor 46) NDM 47) Greenplum 48) OssService 49) ChiTu 50) openGauss 51) VmFileRecovery 52) ProxmoxVE 53) FusionOne 54) CloudOS 55) CetcCloud 
56) AppS3Service 57) AnyShare 58) Machine 59) RecoveryCabinet 60) CECStack 
your enter(enter q to exit):
q
exit setup
# 
# cd /opt/AnyBackupClient/ClientService
# ./client_cli runner status
runner_type               osuser                   status
Basic                     root                     alived
Dameng                    root                     alived

在备机上重复上面的安装步骤。

也可以只安装基础代理,达梦代理不安装,基础代理安装完成后,登录管理控制台,点击 “接入管理” 》 “客户端与代理”,勾选“达梦代理”安装。

数据库接入

登录 AnyBackup Web 管理控制台:
https://134.2.7.121:9600

点击“接入管理” 》 “客户端与代理” ,检查是否出现主机名,注意:主备都要出现。

点击 接入管理 > 数据库,
在单机标签,每个实例一个一个地操作:
选中实例,同步,再点击右侧刷新按钮。
然后选中,授权。输入用户名 SYSDBA、密码、端口。
授权后,点击同步,刷新,状态会变为联机 。
继续操作另一个实例。
对于集群,可以按上面的方式当成单机点来处理,也可以配置成集群:
在集群标签,点击添加,输入相关信息并选择实例即可。

配置备份

分级数据保护》数据库》达梦,点击集群名

保护配置:

  • 选择存储池
  • 保留不设置,则永久保留。
  • 常规选项:

    • 打开重删
  • 数据库高级选项:

    • 归档日志备份策略:如果不打开,则备份所有归档。
    • 归档日志删除策略:这儿指备份后删除数据库端的归档。打开,保持默认值3天。

策略配置:

  • 选择或新建计划策略,关联即可。
-- By 许望(RHCA、OCM、VCP)
最后修改:2026 年 06 月 18 日 03 : 42 PM
如果觉得我的文章对你有用,请随意赞赏