On 12.05.2021 20:02, Alastair Basden wrote: >>> Oddly enough, if I: >>> pcs resource move resourcedrbdClone node2 >>> it moves it to node 2 okay. >>> >>> But then if I >>> pcs resource clear resourcedrbdClone >>> it moves it back to node1. >>> >>> Which is odd, given its score for role Master is higher on node 2. >>> >> >> How do you know it? > Because I have set score=100 for node2, and score=50 for node1. >
I told you several time that resource agent sets promotion scores. If you want to see actual scores, use crm_simulate -Ls. > So, I know that MY score is higher for the place where I want it to run. > >> Every transaction is saved in a file and you can replay it with >> crm_simulate. Check logs for these file names. > > Which logs should be checked? pacemaker logs. _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
