Hi,
please help, I can't figure out how this file is generated
.members file takes external dns name and external ip, not the one that are provided by corosync
so cluster says it's ok, but no migrations or gui configuration is possible, see screen
please help, I can't figure out how this file is generated
.members file takes external dns name and external ip, not the one that are provided by corosync
so cluster says it's ok, but no migrations or gui configuration is possible, see screen
# cat /etc/pve/.members
{
"nodename": "pm2-bne2",
"version": 4,
"cluster": { "name": "ING-FOREST", "version": 6, "nodes": 2, "quorate": 1 },
"nodelist": {
"pm2-bne2": { "id": 1, "online": 1, "ip": "210.xxx.xxx.100"},
"backup-bne2": { "id": 2, "online": 1, "ip": "210.xxx.xxx.6"}
}
}
{
"nodename": "pm2-bne2",
"version": 4,
"cluster": { "name": "ING-FOREST", "version": 6, "nodes": 2, "quorate": 1 },
"nodelist": {
"pm2-bne2": { "id": 1, "online": 1, "ip": "210.xxx.xxx.100"},
"backup-bne2": { "id": 2, "online": 1, "ip": "210.xxx.xxx.6"}
}
}
Quorum information
------------------
Date: Wed Jun 14 19:15:17 2017
Quorum provider: corosync_votequorum
Nodes: 2
Node ID: 0x00000001
Ring ID: 2/156
Quorate: Yes
Votequorum information
----------------------
Expected votes: 2
Highest expected: 2
Total votes: 2
Quorum: 2
Flags: Quorate
Membership information
----------------------
Nodeid Votes Name
0x00000002 1 192.168.153.6
0x00000001 1 192.168.153.100 (local)
------------------
Date: Wed Jun 14 19:15:17 2017
Quorum provider: corosync_votequorum
Nodes: 2
Node ID: 0x00000001
Ring ID: 2/156
Quorate: Yes
Votequorum information
----------------------
Expected votes: 2
Highest expected: 2
Total votes: 2
Quorum: 2
Flags: Quorate
Membership information
----------------------
Nodeid Votes Name
0x00000002 1 192.168.153.6
0x00000001 1 192.168.153.100 (local)
# pvecm nodes
Membership information
----------------------
Nodeid Votes Name
2 1 backup-bne2.cluster
1 1 pm2-bne2.cluster (local)
Membership information
----------------------
Nodeid Votes Name
2 1 backup-bne2.cluster
1 1 pm2-bne2.cluster (local)
# cat /etc/pve/corosync.conf
logging {
debug: off
to_syslog: yes
}
nodelist {
node {
name: pm2-bne2
nodeid: 1
quorum_votes: 1
ring0_addr: pm2-bne2.cluster
}
node {
name: backup-bne2
nodeid: 2
quorum_votes: 1
ring0_addr: backup-bne2.cluster
}
}
quorum {
provider: corosync_votequorum
}
totem {
cluster_name: ING-FOREST
config_version: 6
ip_version: ipv4
secauth: on
version: 2
interface {
bindnetaddr: 192.168.153.100
ringnumber: 0
}
}
logging {
debug: off
to_syslog: yes
}
nodelist {
node {
name: pm2-bne2
nodeid: 1
quorum_votes: 1
ring0_addr: pm2-bne2.cluster
}
node {
name: backup-bne2
nodeid: 2
quorum_votes: 1
ring0_addr: backup-bne2.cluster
}
}
quorum {
provider: corosync_votequorum
}
totem {
cluster_name: ING-FOREST
config_version: 6
ip_version: ipv4
secauth: on
version: 2
interface {
bindnetaddr: 192.168.153.100
ringnumber: 0
}
}
#Cluster data!
192.168.153.100 pm2-bne2.cluster
192.168.153.6 backup-bne2.cluster
192.168.153.100 pm2-bne2.cluster
192.168.153.6 backup-bne2.cluster