ssh > proxmox > root sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service nano /etc/apt/sources.list.d/pve-enterprise.list deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription >>>> MAJ proxmox ### Commandes proxmox VE 7 ### - Editer VMs conf file : > edit the conf file /etc/pve/qemu-server/VMID.conf - Delete VM : To delete the virtual machine from the command line first we need to find the VMID. Once we login to the node. We use the below command to find the VMID. # cat /etc/pve/.vmlist Once we get the ID we use the below command to delete it. # qm destroy With error Missing storage : The configuration file of the virtual machine is present at the location /etc/pve/qemu-server. We find the file VMID.conf file from the location. Then we delete the file or we move the file. ####################################################### - Delete ZFS : # zpool list # zpool destroy ${your-zpool-name} ex : zpool destroy pmx_zfs_64 - Supprimer zfs health error : # zpool clear zfs1 ####################################################### - Replication pool zfs: Here are the steps: node 1: create ZFS "pool1" - "Add Storage" checked ON - add available disk to pool node 2: create ZFS "pool1" - "Add Storage" checked OFF - add available disk to pool node 3: create ZFS "pool1" - "Add Storage" checked OFF - add available disk to pool In Datacenter: Storage, "pool1", edit, add nodes 2 and 3. Then the replication works fine. - Supprimer Replication : # pvesr list # pvesr delete 'job-id' --force ####################################################### - Quorum avec 2 nodes : fichier /etc/pve/cororsync.conf ... quorum { provider: corosync_votequorum two_node: 1 expected_votes: 1 } ... puis # systemctl restart corosync - OU Qdevice (vote sur serveur externe): First, install the corosync-qnetd package on your external server external# apt install corosync-qnetd and the corosync-qdevice package on all cluster nodes pve# apt install corosync-qdevice After doing this, ensure that all the nodes in the cluster are online. You can now set up your QDevice by running the following command on one of the Proxmox VE nodes: pve# pvecm qdevice setup verification : pve# pvecm status ... Votequorum information ~~~~~~~~~~~~~~~~~~~~~ Expected votes: 3 Highest expected: 3 Total votes: 3 Quorum: 2 Flags: Quorate Qdevice Membership information ~~~~~~~~~~~~~~~~~~~~~~ Nodeid Votes Qdevice Name 0x00000001 1 A,V,NMW 192.168.22.180 (local) 0x00000002 1 A,V,NMW 192.168.22.181 0x00000000 1 Qdevice ####################################################### Cluster HS : systemctl stop pve-cluster /usr/bin/pmxcfs -l [main] notice: forcing local mode (althought corosync.conf exists)