Hello Marc,
I have two-node configuration.
corosync.conf>
totem {
version: 2
crypto_hash: none
crypto_cipher: none
rrp_mode: passive
cluster_name: ESOS_CLUSTER
ip_version: ipv4
# transport: udpu
interface {
bindnetaddr: 192.168.1.1
ringnumer: 0
}
}
logging {
timestamp: off
fileline: off
to_stderr: no
to_syslog: yes
syslog_facility: local2
debug: on
}
quorum {
provider: corosync_votequorum
two_node: 1
wait_for_all: 0
}
nodelist {
node {
nodeid: 1
ring0_addr: 192.168.1.1
name: esos1.xx.xx
}
node {
nodeid: 2
ring0_addr: 192.168.1.2
name: esos2.xx.xx
}
}
Ready state ESOS 3_0_12z>
---------------------------
2 nodes configured
9 resources configured
Online: [ esos1.xx.xx esos2.xx.xx ]
Full list of resources:
Master/Slave Set: ms_drbd [g_drbd]
Masters: [ esos1.xx.xx esos2.xx.xx ]
Clone Set: clone_lvm [g_lvm]
Started: [ esos1.xx.xx esos2.xx.xx ]
Master/Slave Set: ms_scst [p_scst]
Masters: [ esos1.xx.xx ]
Slaves: [ esos2.xx.xx ]
fence_esos1 (stonith:fence_ipmilan): Started esos2.xx.xx
fence_esos2 (stonith:fence_ipmilan): Started esos1.xx.xx
p_notify (ocf::heartbeat:ClusterMon): Started esos1.xx.xx
-------------------------------
When I power up only one node, as a simulation of fail of second node (which have disconnected power cords), then>
----------------------------
2 nodes configured
9 resources configured
Node esos2.xx.xx: UNCLEAN (offline)
Online: [ esos1.xx.xx ]
Full list of resources:
Master/Slave Set: ms_drbd [g_drbd]
Stopped: [ esos1.xx.xx esos2.xx.xx ]
Clone Set: clone_lvm [g_lvm]
Stopped: [ esos1.xx.xx esos2.xx.xx ]
Master/Slave Set: ms_scst [p_scst]
Stopped: [ esos1.xx.xx esos2.xx.xx ]
fence_esos1 (stonith:fence_ipmilan): Stopped
fence_esos2 (stonith:fence_ipmilan): Stopped
p_notify (ocf::heartbeat:ClusterMon): Stopped
Failed Fencing Actions:
* reboot of esos2.xx.xx failed: delegate=, client=crmd.1310, origin=esos1.xx.xx,
last-failed='Tue Jun 22 16:33:34 2021'
--------------------------------------
It is correct state, second node failed.
But is it possible to start up the resources without running second node (esos2)?
If you need more information or configs, I can send you more details.
Thanks for your advice.
JR
Dne pondělí 21. června 2021 v 16:41:38 UTC+2 uživatel Marc Smith napsal: