用户工具

站点工具


02-工程实践:cmdb:首页

**这是本文档旧的修订版!**

CMDB

iTop

链接

mgr 测试

case:

  • 新建对象 未见异常
  • 更新对象 未见异常
  • 删除对象 未见异常
  • 添加关联关系 未见异常
  • 删除关联关系 未见异常
  • 新建工单 未见异常
  • 指派工单 未见异常
  • 关闭工单 未见异常
  • OQL查询 未见异常
  • 备份 Warning
  • 恢复备份 失败
  • CSV导入 未见异常
  • toolkit 未见异常
  • 触发器 未见异常

cron

分别在 1,2 号节点部署 cron 任务,1号2号都可能有报错日志:

ERROR: 'Trying to commit transaction whereas none have been started !: mysql_errno = 3101, mysql_error = Plugin instructed the server to rollback the current transaction.'
Please note, that in general this error is an expected behavior of Group Replication plugin, when it finds conflicting transactions on different nodes, if Multi Primary mode is used. Application should be able to handle this type of errors based on application logic. The following sections can only applied in those cases, when this error is caused by multiple updates on the same node.

参考: https://support.oracle.com/knowledge/Oracle%20Database%20Products/2211042_1.html

可能最好只在一个节点上运行 cron

  • 升级响应时间 Task:CheckStopWatchThresholds 正常
  • 邮件发送,正常接收邮件,多节点跑cron未重复发送邮件。

mysqldump

全新安装,新增 4 个 Server 对象,一个 业务流程 对象

备份命令

mysqldump --opt --skip-lock-tables --default-character-set="utf8" --add-drop-database --single-transaction --host=localhost --port=3306 --user=root -proot --set-gtid-purged=OFF --result-file=/tmp/itop.sql cmdb

恢复命令

mysql -uroot -proot cmdb < itop.sql
02-工程实践/cmdb/首页.1594109223.txt.gz · 最后更改: 2020/07/07 16:07 由 annhe