跑得還不錯,以Ubuntu 為基的Proxmox
5.2 運行了一年多
打算正式使用,故順便研究升級與叢集的作法
最後整理筆記如下:
1.升級 Proxmox VE 5.4 到最新的版本。
apt update
apt dist-upgrade
apt update
apt dist-upgrade
2.利用pve5to6指令查看要升級的狀況。
#pve5to6
3.先升級Corosync 3
停止服務
#systemctl stop pve-ha-lrm
#systemctl stop pve-ha-crm
新增資源庫
#systemctl stop pve-ha-lrm
#systemctl stop pve-ha-crm
新增資源庫
#echo “deb http://download.proxmox.com/debian/corosync-3/ stretch main” > /etc/apt/sources.list.d/corosync3.list
更新資源,升級
更新資源,升級
#apt update
#apt dist-upgrade
#apt dist-upgrade
啟動
#systemctl start pve-ha-lrm
#systemctl start pve-ha-crm
#systemctl start pve-ha-lrm
#systemctl start pve-ha-crm
4.更新升級資料庫由stretch(5.X) 更改為Buster(6.X)
--Update all Debian repository entries to Buster.
用sed 替換字元
用sed 替換字元
sed -i 's/stretch/buster/g' /etc/apt/sources.list
5. 新增資源庫,
Add the Proxmox VE 6 Package Repository
/etc/apt/sources.list
deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib
#PVE pve-no-subscription repository provided by proxmox.com,
#NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
#security updates
deb http://security.debian.org buster/updates main contrib
/etc/apt/sources.list.d/pve-enterprise.list
deb http://download.proxmox.com/debian buster pve-no-subscription
/etc/apt/sources.list
deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib
#PVE pve-no-subscription repository provided by proxmox.com,
#NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
#security updates
deb http://security.debian.org buster/updates main contrib
/etc/apt/sources.list.d/pve-enterprise.list
deb http://download.proxmox.com/debian buster pve-no-subscription
6.更新
先刪除
#rm /etc/apt/sources.list.d/corosync3.list
更新套件升級
先刪除
#rm /etc/apt/sources.list.d/corosync3.list
更新套件升級
#apt update
#apt dist-upgrade
#apt dist-upgrade
7. 重開機
事後談,在第五步卡了兩次,原來開源版不需要將原生的註記
可以一併保留
沒有留言:
張貼留言