[ClusterLabs] Upgrading/downgrading cluster configuration

Strahil Nikolov hunter86_bg at yahoo.com
Thu Oct 22 13:54:51 EDT 2020


Have you tried to backup the config via crmsh/pcs and when you downgrade to restore from it ?

Best Regards,
Strahil Nikolov






В четвъртък, 22 октомври 2020 г., 15:40:43 Гринуич+3, Vitaly Zolotusky <vitaly at unitc.com> написа: 





Hello,
We are trying to upgrade our product from Corosync 2.X to Corosync 3.X. Our procedure includes upgrade where we stopthe cluster, replace rpms and restart the cluster. Upgrade works fine, but we also need to implement rollback in case something goes wrong. 
When we rollback and reload old RPMs cluster says that there are no active resources. It looks like there is a problem with cluster configuration version.
Here is output of the crm_mon:
************
d21-22-left.lab.archivas.com /opt/rhino/sil/bin # crm_mon -A1
Stack: corosync
Current DC: NONE
Last updated: Thu Oct 22 12:39:37 2020
Last change: Thu Oct 22 12:04:49 2020 by root via crm_attribute on d21-22-left.lab.archivas.com

2 nodes configured
15 resources configured

Node d21-22-left.lab.archivas.com: UNCLEAN (offline)
Node d21-22-right.lab.archivas.com: UNCLEAN (offline)

No active resources


Node Attributes:

***********
What would be the best way to implement downgrade of the configuration? Should we just change crm feature set, or we need to rebuild the whole config?
Thanks!
_Vitaly Zolotusky
_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


More information about the Users mailing list