最近在研究ovirt搭建私有云平臺,添加三個主機node1,node2,node3,同時三個主機組成glusterfs存盤的三個brick節點,在gluster上建立存盤卷之后,建立資料域,然后上傳ISO,跑虛擬機,在虛擬機保持運行的情況下,將node1的網線拔掉,剩余node2,node3能讓分布式存盤系統正常運行,ovirt平臺雖然有一臺主機下線,虛擬機依然正常在跑;
拔掉網線的node1主機,將作業系統重新安裝,在ovirt中重新安裝,接下來出問題了:
重裝系統的node1添加主機最終無法改為Up狀態,結局總是NonOperational,在主機的作業系統中,
在node2或node3上
gluster peer status 顯示 node1 State: Peer Rejected,用 gluster peer probe node1,又顯示 node 已在 peer list 中
gluster volume 卷名
只列出 node2和node3的 brick,如下:
Status of volume: LV1
Gluster process TCP Port RDMA Port Online Pid
------------------------------------------------------------------------------
Brick 192.168.10.21:/opt/brick1 49152 0 Y 10762
Brick 192.168.10.23:/opt/brick1 49152 0 Y 2155
Self-heal Daemon on localhost N/A N/A Y 13368
Self-heal Daemon on 192.168.10.23 N/A N/A Y 2206
Task Status of Volume LV1
------------------------------------------------------------------------------
There are no active volume tasks
在 node1 上
gluster peer probe node2 或 node3,顯示 node2 or node3 already part of another cluster or having volumes configured
gluster volume status 顯示 當前 沒有 卷存在
這就比較麻煩了, 當初 node1,node2,node3三個主機 建立的 副本數為3 的 volume 顯示 node1 的 brick 已經 離線, 但 現在 如何 在保持 虛擬機 繼續正常運行的情況下, 將 當初的 node1 brick 重建 和 恢復?
到此,沒轍了,哪位大俠指點一下迷津?
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/45837.html
標籤:云存儲
