Open digimer opened 10 months ago
There's another aspect to this;
When I checked with 'pcs cluster status', I saw all was well. So I reloaded the dashboard, and indeed it showed as OK. So at least in some cases, the state didn't update.
After reloading;
I noticed that the storage doesn't update without a reload either, probably all related.
optimal
is apparently hard-coded even in the original cgi-bin
scripts. We need to determine the values to show under which situations.
Optimal - Both nodes are full cluster members Degraded - Either node is not a full member Offline - Both nodes are offline
Add a storage state; Optimal - All DRBD resources are UpToDate Syncing - One or more resource is SyncTarget (show ETA) Degraded - One or more resource is disconnected (not counting DR) Offline - Same as node state above
Should show as 'Offline' when both nodes are up but out of the cluster, or 'Shut Down' when both subnodes are powered off.