freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

centos7構(gòu)建ha集群-資料下載頁

2025-07-24 13:01本頁面
  

【正文】 換至node01上,未出現(xiàn)腦裂的情況。 作為自己研究,嘗試了再配置了一個(gè)心跳。在/etc/,畢竟corosync管理心跳,所以只有在它里面想辦法了,會(huì)定義interface {}作為多個(gè)網(wǎng)絡(luò),但是在centos7中經(jīng)過PCS統(tǒng)一管理后,經(jīng)過測試發(fā)現(xiàn)pacemaker只認(rèn)nodelist{}作為網(wǎng)絡(luò),難道這又是一個(gè)變動(dòng)?在totem {}定義:rrp_mode: passive 默認(rèn)為none,修改為passive才可以支持兩個(gè)網(wǎng)段nodelist {node{ ring0_addr:node01 ring0_addr:test01 test01為第二個(gè)心跳 }node{ ring0_addr:node02 ring0_addr:test02 test02為第二個(gè)心跳 } }記得修改host表。重啟集群即可生效,目前node01,test01 ,,在配置集群IP之前需要對test01 test02配置認(rèn)證。[root@node01 ~] pcs cluster auth test01 test02Username: haclusterPassword: test01: Authorizedtest02: Authorized出現(xiàn)以下顯示表示認(rèn)證成功。[root@node02 ~] pcs cluster auth test01 test02test01: Already authorizedtest02: Already authorized配置集群IPpcs resource create testip ocf:heartbeat:IPaddr2 ip= cidr_netmask=24 op monitor interval=30s 注意testip與上文的vip已經(jīng)名字不一樣,兩個(gè)集群IP的名字不能一致。七、配置集群應(yīng)用以apache為例:apache安裝過程略。pcs resource create Web ocf:heartbeat:apache configfile=/etc/d/conf/ statusurl=://localhost/serverstatus op monitor interval=1minpcs status查看apache狀態(tài),pcs constraint colocation add Web vip INFINITY 將apache與vip綁定在同一個(gè)節(jié)點(diǎn)上。pcs constraint order vip then Web,指定集群IP先啟動(dòng),然后再啟動(dòng)apachepcs constraint location Web prefers node01=200 指定node01優(yōu)先啟動(dòng)apachecrm_simulate sL 查看資源黏性值,集群業(yè)務(wù)優(yōu)先在資源黏性值高的節(jié)點(diǎn)上運(yùn)行。Current cluster status:Online: [ node01 node02 ]vip (ocf:heartbeat:IPaddr2): Started node01Web (ocf:heartbeat:apache): Started node01Allocation scores:native_color: vip allocation score on node01: 200native_color: vip allocation score on node02: 50native_color: Web allocation score on node01: 200native_color: Web allocation score on node02: 50Transition Summary:手動(dòng)切換集群資源以上配置由集群自動(dòng)分配資源到node0node02上,有時(shí)候?yàn)榱司S護(hù),必須手動(dòng)遷移資源到指定節(jié)點(diǎn)上。 pcs constraint location Web prefers node01=INFINITY pcs constraint full 查看資源狀態(tài) pcs constraint remove locationWebnode01INFINITY 將控制權(quán)還給集群
點(diǎn)擊復(fù)制文檔內(nèi)容
語文相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1