【DWS跨region容灾】容灾任务界面显示异常
1、问题现象
容灾任务创建成功后,专属集群界面显示容灾异常,容灾任务界面显示正常。后台查看容灾进程无异常。
2、定位步骤及解决方案
步骤1 检查后台容灾状态,正常。
python3 $GPHOME/script/SyncDataToStby.py -t show-progress --config-file <configFile>
步骤2 查看osser-dws.log日志,发现是显示问题。

步骤3 登入rms数据库,查看rds_action表,发现status为DR_ABNORMAL。
select * from rds_action where objid='容灾任务id';

步骤4 将DR_ABNORMAL更改为DR_RUNNING
update rds_action set status='DR_RUNNING' where objId='' and status='DR_ABNORMAL';
注:如果是容灾任务界面显示异常需要执行如下语句:update rds_disaster_recovery set status='running' where name='{容灾任务名称}';
- 点赞
- 收藏
- 关注作者
评论(0)