如何处理transfer containerList_DB.json failed?

客户端登录/北向IP节点向节点间通信节点传输containerList_DB.json文件失败,请检查客户端登录/北向IP节点网络链接

如何处理check database login failed?

NCE初始安装数据库密码为随机密码,请确认已经在在调测阶段参考《iMaster NCE管理员指南》用户安全管理 > 密码管理 > 数据库用户 > 修改数据库用户密码,登录管理面页面重置密码。

请检查失败节点的数据库使用迁移规划的参数是否可以正常登录

注意: {python},{dbPwd},{port}之类的为变量,请替换为对应规划或获取的值

U2000节点请执行命令 su - dbuser -c 'isql -Udbuser -P{dbPwd} -SDBSVR'

NCE为集中式请登录NMS_Server节点

port参数通过 cd /opt/oss/NCE/apps/ISService/etc/sysconf; cat *.json | grep "readPort"获取

Host参数通过 cd /opt/oss/NCE/apps/ISService/etc/sysconf; cat *.json | grep "accessHost"获取

DBuser参数通过cd /opt/oss/NCE/apps/ISService/etc/sysconf; cat *.json | grep "\"user\""获取

然后执行命令 export LD_LIBRARY_PATH=/opt/zenith/app/lib/:/opt/zenith/app/add-ons/; export GSDB_HOME=/opt/zenith/app/; cd /opt/zenith/app/bin; ./zsql {DBUser}/{DBpwd}@{Host}:{port}

NCE为分布式时,请先登录NMS节点,并切换到root用户

python参数通过 ls /opt/oss/rtsp/python*/bin/python | head -n 1 获取

port参数通过 {python} {/opt/migrate 如果有修改迁移根目录,请替换为对应的目录}/cbb/checkdb/domain_db_check.py 'DB' /opt/migrate/containerList_DB.json | awk '{print $1}'获取

Host参数通过 {python} {/opt/migrate 如果有修改迁移根目录,请替换为对应的目录}/cbb/checkdb/domain_db_check.py 'DB' /opt/migrate/containerList_DB.json | awk '{print $2}'获取

DBuser参数通过 {python} {/opt/migrate 如果有修改迁移根目录,请替换为对应的目录}/cbb/checkdb/domain_db_check.py 'DB' /opt/migrate/containerList_DB.json | awk '{print $3}'获取

然后登录DB节点执行命令 export LD_LIBRARY_PATH=/opt/zenith/app/lib/:/opt/zenith/app/add-ons/; export GSDB_HOME=/opt/zenith/app/; cd /opt/zenith/app/bin; ./zsql {DBUser}/{DBpwd}@{Host}:{port}