What is the use of pvelocalhost?
i want use 4 separate interface
eth1 192.168.1.0/24 - connected to lan so i can use it for web management https://192.168.1.1:8006
eth2 192.168.2.0/24 - isolated for corosync use only
eth3 192.168.3.0/24 - isolated for corosync use only
eth4 vmbr0 without ip - for VMs/ connected to lan,. VMs have ip in 192.168.4.0/24 network
cluster.conf
<?xml version="1.0"?>
<cluster name="test" config_version="1">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>
<clusternodes>
<clusternode name="node1" votes="1" nodeid="1">
<altname name="node1-cman"/>
</clusternode>
<clusternode name="node2" votes="1" nodeid="2">
<altname name="node2-cman"/>
</clusternode>
<clusternode name="node3" votes="1" nodeid="3">
<altname name="node3-cman"/>
</clusternode>
</clusternodes>
</cluster>
node1 /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.1 pvelocalhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
192.168.2.1 node1.local node1
192.168.3.1 node1-cman.local node1-cman
192.168.2.2 node2.local node2
192.168.3.2 node2-cman.local node2-cman
192.168.2.3 node3.local node3
192.168.3.3 node3-cman.local node3-cman
node2 /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.2 pvelocalhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
192.168.2.1 node1.local node1
192.168.3.1 node1-cman.local node1-cman
192.168.2.2 node2.local node2
192.168.3.2 node2-cman.local node2-cman
192.168.2.3 node3.local node3
192.168.3.3 node3-cman.local node3-cman
Is this right or pvelocalhost must be in another place?
i want use 4 separate interface
eth1 192.168.1.0/24 - connected to lan so i can use it for web management https://192.168.1.1:8006
eth2 192.168.2.0/24 - isolated for corosync use only
eth3 192.168.3.0/24 - isolated for corosync use only
eth4 vmbr0 without ip - for VMs/ connected to lan,. VMs have ip in 192.168.4.0/24 network
cluster.conf
<?xml version="1.0"?>
<cluster name="test" config_version="1">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>
<clusternodes>
<clusternode name="node1" votes="1" nodeid="1">
<altname name="node1-cman"/>
</clusternode>
<clusternode name="node2" votes="1" nodeid="2">
<altname name="node2-cman"/>
</clusternode>
<clusternode name="node3" votes="1" nodeid="3">
<altname name="node3-cman"/>
</clusternode>
</clusternodes>
</cluster>
node1 /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.1 pvelocalhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
192.168.2.1 node1.local node1
192.168.3.1 node1-cman.local node1-cman
192.168.2.2 node2.local node2
192.168.3.2 node2-cman.local node2-cman
192.168.2.3 node3.local node3
192.168.3.3 node3-cman.local node3-cman
node2 /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.2 pvelocalhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
192.168.2.1 node1.local node1
192.168.3.1 node1-cman.local node1-cman
192.168.2.2 node2.local node2
192.168.3.2 node2-cman.local node2-cman
192.168.2.3 node3.local node3
192.168.3.3 node3-cman.local node3-cman
Is this right or pvelocalhost must be in another place?