Switch between two masters (config -> non config)

I have two masters, satellites and agents. Everything running fine except I want my second master to become the primary/config Master.

What would be best practice to change the primary (config) role from one master to the other?