網卡全抓到
proxmox 4建立cluster
以ssh或開啟介面的shell登入第一台pve1,
#pvecm create pvecluster #pvecluster是叢集的名稱,可自訂
以ssh或開啟介面的shell登入第二台pve2,
#pvecm add ip # ip請改為pve1的實際ip。
成功後可以pvecm status 或 pvecm nodes的指令查看叢集的狀況。
progress 97% (read 781147176960 bytes, duration 42110 sec)
progress 98% (read 789200240640 bytes, duration 42110 sec)
gzip: /mnt/nfs/var/nfsshare/vzdump-qemu-221-2018_04_13-06_09_27.vma.gz: invalid compressed data--crc error
progress 99% (read 797253304320 bytes, duration 42110 sec)
progress 100% (read 805306368000 bytes, duration 42110 sec)
total bytes read 805306368000, sparse bytes 301055287296 (37.4%)
space reduction due to 4K zero blocks 0.0443%
temporary volume 'local-zfs:vm-623-disk-1' sucessfuly removed
command 'zcat /mnt/nfs/var/nfsshare/vzdump-qemu-221-2018_04_13-06_09_27.vma.gz|vma extract -v -r /var/tmp/vzdumptmp28051.fifo - /var/tmp/vzdumptmp28051' failed: exit code 1
root@w31:/mnt/nfs/var/nfsshare#
proxmox4.4 >> proxmox 5.0
eth0:e1000
透過 apt 將 proxmox 4.4 升級到 5.0
1. 先將 4.4 更新
apt-get update -y
apt-get upgrade -y
apt-get dist-upgrade -y
2. 更新 apt 來源, jessie 更換為 stretch
sed -i 's/jessie/stretch/g' /etc/apt/sources.list
sed -i 's/jessie/stretch/g' /etc/apt/sources.list.d/pve-enterprise.list
ps. 如果 pve-enterprise.list 中的項目本來就註解掉,則第二道指令不一定要做
3. apt update
ps. 如果遇到如下錯誤訊息,則執行步驟 4
W: There is no public key available for the following key IDs:
EF0F382A1A7B6500
4. (選擇性) apt install debian-keyring debian-archive-keyring
5. apt dist-upgrade
ps. 這一個步驟最好在本機執行,不要 ssh 遠端做,以免時間過長 ssh timeout ,如果一定要 ssh 遠端執行而且 timeout 了,重新 ssh 進入後找出 apt dist-upgrade process id,kill 掉(不確定是否一定要?),執行 dpkg --configure -a 之後應該就可以了
6. reboot
參考資料:
Upgrade from 4.x to 5.0 - Proxmox VE
[SOLVED] - PVE 4.4 to 5.0 : no public key EF0F382A1A7B6500 | Proxmox Support Forum
沒有留言:
張貼留言