中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

proxmox創建集群

發布時間:2020-07-14 17:30:04 來源:網絡 閱讀:800 作者:運維少年 欄目:云計算

集群創建(任意節點)

1.1 命令行創建集群

  • 創建集群

上個教程也創建了集群,如果創建了這里就不需要創建了。

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:~#?
  • 查看集群狀態

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:~#?
  • 查看集群節點

root@shaonian:~#?pvecm?nodes

Membership?information
----------------------
????Nodeid??????Votes?Name
?????????1??????????1?192.168.108.200?(local)
root@shaonian:~#?

1.2 節點加入集群

  • 登錄到其余節點

IP為創建集群的節點IP

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:~#?
  • 查看狀態

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:~#?
  • 查看節點

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界面添加節點加入集群

  • 選擇集群,選擇加入信息

proxmox創建集群
  • 選擇拷貝信息

proxmox創建集群
  • 登錄節點界面,選擇加入集群

proxmox創建集群
  • 將信息復制入信息欄,并輸入集群密碼

proxmox創建集群
  • 正在加入集群

proxmox創建集群
  • 添加成功

proxmox創建集群
  • 查看集群界面

proxmox創建集群

喜歡請關注微信公眾號-運維少年


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

崇信县| 抚顺市| 广平县| 光泽县| 青州市| 云霄县| 阿合奇县| 四川省| 杭州市| 石嘴山市| 虞城县| 商都县| 兰考县| 塔城市| 青阳县| 来宾市| 元朗区| 朔州市| 靖江市| 将乐县| 项城市| 鲁山县| 沁阳市| 阜宁县| 牙克石市| 泰安市| 漳浦县| 鹤岗市| 高碑店市| 博客| 晴隆县| 涟源市| 南陵县| 天津市| 益阳市| 广饶县| 富平县| 阳朔县| 星子县| 龙州县| 松原市|