解决金仓数据库KingbaseFlysync(KFS) 同步程序安装报错:ERROR unable to find any host configurations for the data service specified. check the list of configured data services by running 'toolsfspm query的问题
关键字
KingbaseFlysync ,KFS,同步程序, unable to find any host configurations, check the list of configured data services by running 'toolsfspm query
问题描述
安装KingbaseFlysync(KFS) 同步程序时报错:ERROR>> unable to find any host configurations for the data service specified. check the list of configured data services by running 'tools/fspm query
问题分析
同步程序配置文件flysync.ini中的master和members配置的信息错误与实际的IP不匹配,导致安装程序无法匹配到主机而报错。
解决方案
1)修改同步程序配置文件flysync.ini中的master和members的值修改为实际的IP地址
[test@localhost ~]$ vim flysync.ini
注意:
对于role=master即源端服务 master和 members都填写当前服务器的IP地址;
对于role=slave即目标端服务 master要填写对应源端服务所在服务器的IP地址,members填写当前服务器的IP地址;
2)在安装包解下路径下执行./fspm install 参数更新命令
[test@localhost ~]$ cd /home/hes/KingbaseFlySync-V002R002C004BXXXXXXXX-replicator/tools [test@localhost tools]$ ./fspm update