這篇文章主要為大家展示了“如何安裝orchestrator元數(shù)據(jù)庫MySQL”,內(nèi)容簡而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶領(lǐng)大家一起研究并學(xué)習(xí)一下“如何安裝orchestrator元數(shù)據(jù)庫MySQL”這篇文章吧。
創(chuàng)新互聯(lián)-專業(yè)網(wǎng)站定制、快速模板網(wǎng)站建設(shè)、高性價比焦作網(wǎng)站開發(fā)、企業(yè)建站全套包干低至880元,成熟完善的模板庫,直接使用。一站式焦作網(wǎng)站制作公司更省心,省錢,快速模板網(wǎng)站建設(shè)找我們,業(yè)務(wù)覆蓋焦作地區(qū)。費用合理售后完善,十余年實體公司更值得信賴。CREATE DATABASE IF NOT EXISTS orchestrator; CREATE USER 'orchestrator'@'127.0.0.1' IDENTIFIED BY 'orchestrator'; GRANT ALL PRIVILEGES ON `orchestrator`.* TO 'orchestrator'@'127.0.0.1';
這里元數(shù)據(jù)庫MySQL和orchestrator在同一臺機器上,所以創(chuàng)建賬號的時候用的'127.0.0.1',如果不在同一臺機器上,將IP換成orchestrator所在機器ip。
密碼按需修改。
tar -xvzf orchestrator-3.1.0-linux-amd64.tar.gz -C /
將/usr/local/orchestrator/orchestrator-sample.conf.json移動到/etc下,并命名為orchestrator.conf.json。
[root@10-10-30-146 orchestrator]# ls orchestrator orchestrator-sample-sqlite.conf.json orchestrator-sample.conf.json resources [root@10-10-30-146 orchestrator]# cp orchestrator-sample.conf.json /etc/orchestrator.conf.json
CREATE USER 'orchestrator'@'orch_host' IDENTIFIED BY 'orch_topology_password'; GRANT SUPER, PROCESS, REPLICATION SLAVE, RELOAD ON *.* TO 'orchestrator'@'orch_host'; GRANT SELECT ON mysql.slave_master_info TO 'orchestrator'@'orch_host'; GRANT SELECT ON ndbinfo.processes TO 'orchestrator'@'orch_host'; -- Only for NDB Cluster
其中,將'orch_host' 改成對應(yīng)orch所在服務(wù)器的ip,'orch_topology_password'改成合適的密碼。這里orch_host是10.10.30.146,將密碼改為orchestrator。
/// 配置orchestrator后端元數(shù)據(jù)庫信息 ... "MySQLOrchestratorHost": "127.0.0.1", "MySQLOrchestratorPort": 3306, "MySQLOrchestratorDatabase": "orchestrator", "MySQLOrchestratorUser": "orchestrator", "MySQLOrchestratorPassword": "orchestrator", ... /// 配置orchestrator監(jiān)控的目標(biāo)數(shù)據(jù)庫信息 "MySQLTopologyUser": "orchestrator", "MySQLTopologyPassword": "orchestrator",
cd /usr/local/orchestrator && ./orchestrator --config=/etc/orchestrator.conf.json http &
web端訪問地址10.10.30.146:3000。頁面效果如下:
以上是“如何安裝orchestrator元數(shù)據(jù)庫MySQL”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對大家有所幫助,如果還想學(xué)習(xí)更多知識,歡迎關(guān)注創(chuàng)新互聯(lián)-成都網(wǎng)站建設(shè)公司行業(yè)資訊頻道!
本文標(biāo)題:如何安裝orchestrator元數(shù)據(jù)庫MySQL-創(chuàng)新互聯(lián)
轉(zhuǎn)載來源:http://muchs.cn/article40/coidho.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站建設(shè)、網(wǎng)頁設(shè)計公司、Google、全網(wǎng)營銷推廣、網(wǎng)站導(dǎo)航、服務(wù)器托管
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容