Run the command in the terminal:
# The default inventory is "home".
ansible-playbook proxmox.yml
ansible-playbook proxmox.yml -i "inventory/home"
ansible-playbook proxmox.yml -i "inventory/homelab"
- Add the SMTP server, user name and password into the sasl_passwd file.
- Add relayhost into the main.cf file.
- Add SASL authentication into the main.cf file.
- Replace the verification with a if (false).
- Create the cluster.
- Add nodes to the cluster.
- Add the fingerprint of each host into the ~/.ssh/known_hosts file:
pve-01.lan.homelab ecdsa-sha2-nistp256 ...
pve-02.lan.homelab ecdsa-sha2-nistp256 ...
pve-03.lan.homelab ecdsa-sha2-nistp256 ...
pve-04.lan.homelab ecdsa-sha2-nistp256 ...
pve-05.lan.homelab ecdsa-sha2-nistp256 ...
pve-06.lan.homelab ecdsa-sha2-nistp256 ...
pve-07.lan.homelab ecdsa-sha2-nistp256 ...
- Add the ip address that should be used for all migrations into the /etc/pve/datacenter.cfg file.
- Extend the data partition to 100% of the free space.
- Remove partitions from disks.
- Create new partitions, volume groups and logical volumes on the local disks.
- Template, Staging and Production.
- Packer.
systemctl stop ceph-mon.target
systemctl stop [email protected]
systemctl stop [email protected]
systemctl stop ceph-mgr.target
systemctl stop [email protected]
systemctl stop [email protected]
systemctl stop ceph-mds.target
systemctl stop [email protected]
systemctl stop [email protected]
systemctl stop ceph-osd.target
systemctl stop [email protected]
systemctl stop [email protected]
systemctl stop ceph.target
systemctl stop ceph-crash.service
rm -rf /etc/systemd/system/ceph*
killall -9 ceph-mon ceph-mgr ceph-mds
rm -rf /var/lib/ceph/*
pveceph purge
apt-get purge ceph-mon ceph-mgr ceph-mds ceph-osd -y
apt-get purge ceph-base ceph-mgr-modules-core -y
rm -rf /etc/ceph/* /etc/pve/ceph.conf /etc/pve/priv/ceph.*
apt-get autoremove -y
lvremove -y /dev/ceph*
vgremove -y ceph- <tab>
pvremove /dev/nvme0n1
touch '/please-remove-proxmox-ve'
apt remove -y proxmox-ve
apt autoremove -y
apt install -y proxmox-ve
- Luciano Sampaio.