云計算 集群創(chuàng)建(任意節(jié)點)1.1 命令行創(chuàng)建集群
創(chuàng)建集群
讓客戶滿意是我們工作的目標(biāo),不斷超越客戶的期望值來自于我們對這個行業(yè)的熱愛。我們立志把好的技術(shù)通過有效、簡單的方式提供給客戶,將通過不懈努力成為客戶在信息化領(lǐng)域值得信任、有價值的長期合作伙伴,公司提供的服務(wù)項目有:域名注冊、虛擬主機、營銷軟件、網(wǎng)站建設(shè)、貴港網(wǎng)站維護、網(wǎng)站推廣。root@shaonian:~#?pvecm??create?yunwei-cluster
Corosync?Cluster?Engine?Authentication?key?generator.
Gathering?1024?bits?for?key?from?/dev/urandom.
Writing?corosync?key?to?/etc/corosync/authkey.
Writing?corosync?config?to?/etc/pve/corosync.conf
Restart?corosync?and?cluster?filesystem
root@shaonian:~#?
查看集群狀態(tài)
root@shaonian:~#?pvecm?status
Quorum?information
------------------
Date:?????????????Mon?May?20?16:23:08?2019
Quorum?provider:??corosync_votequorum
Nodes:????????????1
Node?ID:??????????0x00000001
Ring?ID:??????????1/8
Quorate:??????????Yes
Votequorum?information
----------------------
Expected?votes:???1
Highest?expected:?1
Total?votes:??????1
Quorum:???????????1??
Flags:????????????Quorate?
Membership?information
----------------------
????Nodeid??????Votes?Name
0x00000001??????????1?192.168.108.200?(local)
root@shaonian:~#?
查看集群節(jié)點
root@shaonian:~#?pvecm?nodes
Membership?information
----------------------
????Nodeid??????Votes?Name
?????????1??????????1?192.168.108.200?(local)
root@shaonian:~#?
1.2 節(jié)點加入集群登錄到其余節(jié)點
root@proxmox2:~#?pvecm?add?192.168.108.200
Please?enter?superuser?(root)?password?for?\'192.168.108.200\':
?????????????????????????????????????????????????????????????Password?for?root@192.168.108.200:?******
Establishing?API?connection?with?host?\'192.168.108.200\'
The?authenticity?of?host?\'192.168.108.200\'?can\'t?be?established.
X509?SHA256?key?fingerprint?is?77:48:DE:3A:E7:59:C0:47:0D:F1:6A:1A:ED:70:86:C3:53:EC:A3:D8:C6:2C:63:53:E5:46:15:C2:EB:7B:BC:0C.
Are?you?sure?you?want?to?continue?connecting?(yes/no)??yes
Login?succeeded.
Request?addition?of?this?node
Join?request?OK,?finishing?setup?locally
stopping?pve-cluster?service
backup?old?database?to?\'/var/lib/pve-cluster/backup/config-1558409605.sql.gz\'
waiting?for?quorum...OK
(re)generate?node?files
generate?new?node?certificate
merge?authorized?SSH?keys?and?known?hosts
generated?new?node?certificate,?restart?pveproxy?and?pvedaemon?services
successfully?added?node?\'proxmox2\'?to?cluster.
root@proxmox2:~#?
查看狀態(tài)
root@proxmox2:~#?pvecm?status
Quorum?information
------------------
Date:?????????????Tue?May?21?11:40:31?2019
Quorum?provider:??corosync_votequorum
Nodes:????????????2
Node?ID:??????????0x00000002
Ring?ID:??????????1/28
Quorate:??????????Yes
Votequorum?information
----------------------
Expected?votes:???2
Highest?expected:?2
Total?votes:??????2
Quorum:???????????2??
Flags:????????????Quorate?
Membership?information
----------------------
????Nodeid??????Votes?Name
0x00000001??????????1?192.168.108.200
0x00000002??????????1?192.168.108.201?(local)
root@proxmox2:~#?
查看節(jié)點
root@proxmox2:~#?pvecm?nodes
Membership?information
----------------------
????Nodeid??????Votes?Name
?????????1??????????1?192.168.108.200
?????????2??????????1?192.168.108.201?(local)
root@proxmox2:~#?
1.3 WEB界面添加節(jié)點加入集群選擇集群,選擇加入信息
選擇拷貝信息
登錄節(jié)點界面,選擇加入集群
將信息復(fù)制入信息欄,并輸入集群密碼
正在加入集群
添加成功
查看集群界面
網(wǎng)站題目:proxmox創(chuàng)建集群
當(dāng)前地址:http://m.rwnh.cn/article2/cgiooc.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供建站公司、企業(yè)建站、商城網(wǎng)站、手機網(wǎng)站建設(shè)、云服務(wù)器、關(guān)鍵詞優(yōu)化
聲明:本網(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)