>>> Strahil Nikolov <hunter86...@yahoo.com> schrieb am 23.10.2020 um 17:04 in Nachricht <362944335.2019534.1603465466...@mail.yahoo.com>: > Usually I prefer to use "crm configure show" and later "crm configure edit"
> and replace the config. I guess you use "edit" because of the lack of support for massive configuration changes (like "replace all timeouts for... with ..."), right? > > I am not sure if this will work with such downgrade scenario, but it > shouldn't be a problem. > > Best Regards, > Strahil Nikolov > > > > > > > В четвъртък, 22 октомври 2020 г., 21:30:55 Гринуич+3, Vitaly Zolotusky > <vit...@unitc.com> написа: > > > > > > Thanks for the reply. > I do see backup config command in pcs, but not in crmsh. > What would that be in crmsh? Would something like this work after Corosync > started in the state with all resources inactive? I'll try this: > > crm configure save <FILE> > crm configure load <FILE> > > Thank you! > _Vitaly Zolotusky > >> On October 22, 2020 1:54 PM Strahil Nikolov <hunter86...@yahoo.com> wrote: >> >> >> 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 > <vit...@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/ > _______________________________________________ > Manage your subscription: > https://lists.clusterlabs.org/mailman/listinfo/users > > ClusterLabs home: https://www.clusterlabs.org/ _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/