We have a collective with 4 members. I need to promote a secondary PI to primary which I can do by directly using a 'promote' command. But there seems to be no way to 'demote' a primary PI to secondary. I need to convert current primary PI to secondary before I run the promote script for another secondary.
But there seems to be no direct way. Please advise how do I go about it? Can I try changing the server role of the current primary from 1 to 0 and then run the promote command? If yes what is the script.