Cluster is using ONE shared content of /etc/pve
. Content of this directory is synchronized on all cluster nodes.
IMPACT:
?
sign. To prevent creation unusable storage, storage can be limited to some nodes. Please edit storage and limit it to own node.
NOTE: make copy of /etc/pve/storage.cfg
from each node before joining to cluster.
NOTE: create all custom mounts or ZFS pools before joining cluster.
It is possible to schedule replication of containers/VMs to another node. It makes periodic snapshot on remote local storage. It gives data redundancy and reduces downtime when container is moved between local storage on each node.
Second network interface with separate internal IP network is recommended for redundancy and shared storage bandwidth.
From Proxmox 6.0 it is possible to use GUI t ocreate and join cluster.
Datacenter
–> Cluster
–> Create cluster
Joining other nodes
Join can stuck when there is problem with iSCSI connection from newly added node. Check journal on joining node;
kernel: scsi host9: iSCSI Initiator over TCP/IP pvestatd[2097]: command '/usr/bin/iscsiadm --mode node --targetname iqn.2020-04.com.zyxel:nas326-iscsi-pve1-isos-target.tjlintux --login' failed: exit code 24 iscsid[1060]: conn 0 login rejected: initiator failed authorization with target iscsid[1060]: Connection135:0 to [target: iqn.2020-04.com.zyxel:nas326-iscsi-pve1-isos-target.tjlintux, portal: 192.168.28.150,3260] through [iface: default] is shutdown.
Joining process will be waiting infinitely until iSCSI device will be connected. During this time it is possible to disable CHAP authentication in remote iSCSI target, or provide common credentials for Target Portal Group.
When CHAP is used for iSCSI (manually configured from Debian console), joined node wants to connect to the same iSCSI target using own initiator name and own local configuration. Of coruse NAS326 is configured with only one CHAP login and passwod, so joining is not possible.
Is it possible to add new acl for target on NAS326 using targetcli
command, or disable CHAP.