表 2-1 资源要求
su - root
groupaddsdr
useradd -g sdr -d /home/sdr -s /bin/shsdr
chown -R sdr:sdr /home/sdr/
su - sdr
ls -l / home /sdr/
depend.tgz
GaussDB_SDR_8.0.RC1_RHEL_x86_64.tar.gz
licence.dat.tar.gz
tar -xf depend.tgz
tar -xf GaussDB_SDR_8.0.RC1_RHEL_x86_64.tar.gz
tar -xf licence.dat.tar.gz
su - sdr
export DIP_HOME=/opt/sdr
cd /home/sdr
./GaussDB_SDR_8.0.RC1_INSTALL
Creating directory SDR.pack
Verifying archive integrity... All good.
Uncompressing swift data replicator 100%
Swift Data Replicator installation!
©2019 Huawei Technologies Co., Ltd.
Swift Data Replicator software will install into directory [/home/sdr]
Please input Swift Data Replicator web server IP address: [127.0.0.1]
Please input Swift Data Replicator web server port: [7008]
Please input Swift Data Replicator manager server IP address: [127.0.0.1]
Please input Swift Data Replicator manager server port: [7009]
Please input Swift Data Replicator queue transfer server port: [7007]
Please input Swift Data Replicator admin server port: [7006]
Please input Swift Data Replicator kafka component port: [7005]
Please input Swift Data Replicator database IP address: [127.0.0.1]
Please input Swift Data Replicator database port: [1888]
Please set default Swift Data Replicator Share Memory Size:
[1]- 1GB
[2]- 4GB
[3]- 8GB
[4]-16GB
[5]-input other value(GB)
please choose 1,2,3,4: [1]4
Input value and choice list below, please confirm:
http IP address : 127.0.0.1
http port : 7008
Manager IP address : 127.0.0.1
Manager Port : 7009
Transfer Port : 7007
AdminServerPort : 7006
Kafka component Port : 7005
SDR Database IP : 127.0.0.1
SDR Database Port : 1888
Share memory size : 16G
Kafka Server Port : 7005
Press any key to begin install. ( Ctrl-c to interrupt )
Uncompressing bin.tgz...
Uncompressing dbpkg.tgz...
Uncompressing etc.tgz...
Uncompressing lib.tgz...
Uncompressing web.tgz...
Wait a few of minutes, installing database...
Checking parameters...
Checking user...
Checking old install...
Checking kernel parameters...
Checking dir...
Checking integrality of run file...
Decompressing run file...
Warning: Dialect Scripts not found! But still proceed installation
Setting user env...
Checking data dir and config file
Initiate db instance...
Creating database...
Changing file permission due to security audit...
Install successfully, for more detail information see /home/sdr/zengineinstall.log.
Refreshing config...
Creating db user...
Initialize data...
all done →顺利安装完成
cd /home/sdr/depend/
sh enable.sh
Enable success
cd /home/sdr
cp licence.dat etc/
ls etc/
dip_config.xml licence.dat odbcinst.ini version xlog.ini
su - sdr
cd /home/sdr/
../env
(1)启动后台数据库
cd /home/sdr/db/app/bin
python zctl.py -t start
(2)启动其他组件
cd /home/sdr/
start_all
(3)启动web服务
cd /home/sdr
start_web
图-1-登录 SDR 控制台
图-2-创建项目
图 -3-新建任务组
图 -4-异构链路配置
图 -5-源库数据库配置
图-6-捕获配置
图-7-配置捕获进程的高级选项
图 -8-配置导出队列
图 -9- 配置ETL
图 -10- 配置导入队列
图 -11- 配置目标库信息
图 -12- 配置装载包含条件
图 -13- 配置装载排除条件
图 -14- 配置装载高级选项
图 -15- 配置全量数据同步-导出条件配置
图-16- 配置全量数据同步-导入条件配置
图 -17-查看全量同步实时信息
select current_scn from v$database;
CURRENT_SCN
------------------
16493654040783
图-18- 开启捕捉进程
图-19- 配置存量数据同步
图-20- 指定scn启动转换进程
图-21- 开启转换进程后
图-22- 指定scn启动装载进程
图-23- 开启装载进程后
图-24- 列表方式查看状态
上一篇:新炬网络:国内首家获得华为GaussDB全线能力认证
下一篇:GaussDB迁移实战:我的DataSync工具使用心得