用户工具

站点工具


02-工程实践:cmdb:首页

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
后一修订版两侧同时换到之后的修订记录
02-工程实践:cmdb:首页 [2020/07/06 16:47] – [mgr 测试] annhe02-工程实践:cmdb:首页 [2021/06/12 03:50] – [理论] annhe
行 1: 行 1:
 ====== CMDB ====== ====== CMDB ======
 +
 +- [[.:InnodbCluster]]
 +
 +## 理论
 +
 +1. bmc Step-by-Step guide to build a cmdb
 +
 +打算自己开发自己的CMDB产品的话,个人建议可以参考以下的参考[文档](https://www.zhihu.com/question/21954497/answer/21941180):
 +
 +1. 必读的规范文档 [《Configuration Management Database (CMDB) Federation Specification》](https://www.dmtf.org/sites/default/files/standards/documents/DSP0252_1.0.1_0.pdf)
 +2. BMC系列的  《BMC - Step-by-Step Guide to Building a CMDB》
 +3. BMC的 《BMC_CMDB_Data_Modeling_Guide》
 +4. HP的uCMDB技术白皮书
 +
 +---
 +
 +1. CMDB调研报告:https://www.cnblogs.com/hadex/p/8296738.html
 +2. https://www.dmtf.org/standards/cmdbf
  
 ===== iTop ===== ===== iTop =====
 +
 +
 ==== 链接 ==== ==== 链接 ====
   * {{http://openaccess.uoc.edu/webapps/o2/bitstream/10609/15071/8/aterrerocPFC0712memoria.pdf|对IT服务的管理改善计划:ITSM+ITIL v3(西班牙语,包含iTop的一些用例)}}   * {{http://openaccess.uoc.edu/webapps/o2/bitstream/10609/15071/8/aterrerocPFC0712memoria.pdf|对IT服务的管理改善计划:ITSM+ITIL v3(西班牙语,包含iTop的一些用例)}}
行 26: 行 46:
  
 #### cron #### cron
-分别在 1,2 号节点部署 cron 任务,2号有报错日志:+分别在 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.' 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/首页.txt · 最后更改: 2021/06/26 16:16 由 annhe