Is my HA setup messed up (and why)? :)

  • Thread starter Thread starter Deleted member 205422
  • Start date Start date
D

Deleted member 205422

Guest
So, this is a two-node cluster (it is not production, I understand this is not how to run it), no resources are set as HA, there were quite a few nodes added and ditched before it was back to 2 nodes. The thing is:

Code:
pve5# pvecm nodes

Membership information
----------------------
    Nodeid      Votes Name
         1          1 pve7
         2          1 pve5 (local)

Code:
pve5# cat /etc/pve/corosync.conf
logging {
  debug: off
  to_syslog: yes
}

nodelist {
  node {
    name: pve5
    nodeid: 2
    quorum_votes: 1
    ring0_addr: 10.67.121.55
  }
  node {
    name: pve7
    nodeid: 1
    quorum_votes: 1
    ring0_addr: 10.67.121.57
  }
}

quorum {
  provider: corosync_votequorum
}

totem {
  cluster_name: pvc1
  config_version: 6
  interface {
    linknumber: 0
  }
  ip_version: ipv4-6
  link_mode: passive
  secauth: on
  version: 2
}

So that's fine, but (note the names of nodes, there's dangling 6 and 7 is missing):

Code:
pve5# ha-manager status -verbose
quorum OK
master pve6 (idle, Wed Oct 25 09:12:54 2023)
lrm pve5 (idle, Wed Nov  8 10:21:32 2023)
lrm pve6 (old timestamp - dead?, Sat Nov  4 23:00:45 2023)
full cluster state:
{
   "lrm_status" : {
      "pve5" : {
         "mode" : "active",
         "results" : {},
         "state" : "wait_for_agent_lock",
         "timestamp" : 1699438892
      },
      "pve6" : {
         "mode" : "active",
         "results" : {},
         "state" : "wait_for_agent_lock",
         "timestamp" : 1699138845
      }
   },
   "manager_status" : {
      "master_node" : "pve6",
      "node_status" : {
         "pve5" : "online",
         "pve6" : "online"
      },
      "service_status" : {},
      "timestamp" : 1698225174
   },
   "quorum" : {
      "node" : "pve5",
      "quorate" : "1"
   }
}

At the moment the HA is not in use, I believe it actually never was:

Code:
pve5# ha-manager config
# no output

How could have I ended up here and will this screw up everything the moment I try to add HA resources?
 
Last edited by a moderator: