>>> Kristoffer Grönlund <[email protected]> schrieb am 17.05.2016 um 14:51 in Nachricht <[email protected]>: > Ulrich Windl <[email protected]> writes: > >> Hi! >> >> I tried to move a primitive away from a node with crm shell: >> >> crm resource migrate clone PT5M >> >> This results in the message: >> Resource 'clone' not moved: active in 2 locations. >> You can prevent 'clone' from running on a specific location with: --ban > --host <name> >> >> However when I tried it on host "node", I got: >> crm resource migrate --ban --host node clone PT5M >> ERROR: resource.migrate: Not our node: --host >> >> So is the online help wrong? >> >> crmsh-2.1.2+git132.gbc9fde0-10.1 of SLES11 SP4 > > This is an issue with how crmsh works in this case: it calls > crm_resource to do the actual work, and crm_resource is printing the > message. > > I'll look into catching and modifying the error to match the crmsh > arguments. > > In this case, the correct syntax for crmsh is > > crm resource ban PT5M node
Hi! Thanks for the hint. In the meantime I succeeded to run the crm_resource command, and I found out that the help text came from crm_resource, not crm shell. I used this command: crm_resource -r clone --ban --host node --lifetime PT10M # then I updated some RPMs, and then I reactivated the primitive on the local node crm_resource -r clone --clear ### Then repeat everything on the next node; I succeeded to do a rolling update! Regards, Ulrich > > Cheers, > Kristoffer > >> >> Regards, >> Ulrich >> >> >> >> _______________________________________________ >> Users mailing list: [email protected] >> http://clusterlabs.org/mailman/listinfo/users >> >> Project Home: http://www.clusterlabs.org >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >> Bugs: http://bugs.clusterlabs.org >> > > -- > // Kristoffer Grönlund > // [email protected] _______________________________________________ Users mailing list: [email protected] http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
