ITPub博客

首页 > 数据库 > > 故障处理-导入集群

故障处理-导入集群

作者:GaussDB_数据库 时间:2020-02-18 10:13:56 0 删除 编辑

本节描述集群导入过程中遇到错误的原因和解决方案。

表1 错误消息参考

错误信息

原因与解决方案

Cluster import fails with sshutil connection failure

原因: 本地文件句柄和交换内存长时间滞留在缓冲区,没有被操作系统内核释放。

解决方案: 执行如下命令清理缓冲区并尝试重新导入群集:

sync; echo 1 > /proc/sys/vm/drop_caches
sync; echo 2 > /proc/sys/vm/drop_caches
sync; echo 3 > /proc/sys/vm/drop_caches
swapoff -a && swapon -a

List Of Verification Failure Problems

Failed to verify!

Please check your nodes one by one according to the following problems, retry again after troubleshooting

Problem1:The agent process exists and is not installed in the current directory. Please check it manually.

10.X.X.1,10.X.X.2,10.X.X.3

原因:

  1. Agent已安装在系统中。

    或者

  2. Agent软件从系统中异常移除。

解决方案:

  1. 执行以下操作验证Agent是否已安装在系统中。
    1. 登录集群OS账号。
      source ~/.dmabashrc; cd $DMA_HOME
      运行以下命令验证状态。
    2. $ python AutoPilotAgent.py -a status
      执行以下操作验证Agent软件是否从系统中异常移除。
    1. 运行如下命令找到agent进程。
      ps -eaf | grep ap_agent
      命令回显如下:
    2. Oltp_us+ 24561       1 1 12:32 ?        00:03:26 /home/Oltp_user/TPAGENT/AutopilotAgent/ap_agent start
      说明:

      检查显示的ap_agent process路径在系统中是否存在。若不存在,则表示其他用户已经强制从后端将Agent移除。使用kill -9 24561来杀掉异常的agent进程。

Failed to get any CN/DN node in the cluster. Please check the log of APS_ClusterInstall microservice or check whether the cluster topology contains CD/DN instances.

原因:集群导入失败,导致Agent无法采集数据库信息。

解决方案:

  1. 打开Agent安装路径。
  2. 打开dma_log文件夹,选择“ap_agent_logs_DD-MM-YYYY-HH-MM > dm_agent_logs path”。查看AgentServer.log文件排查集群导入失败原因,并采取相应措施。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69959250/viewspace-3117947/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2020-01-06

  • 博文量
    2907
  • 访问量
    19240