For cluster operations, perform starting and stopping from the failover cluster management tool. If starting and stopping are performed by using the pg_ctl command, net command, or sc command or from the Windows service window during failover operation, the failover cluster management tool will misjudge that services have gone down, resulting in unexpected behaviors.
There are two ways to switch between the active node and the standby node, as shown below.
MSFC:
If using the Windows Server(R) 2008 or Windows Server(R) 2008 R2 failover cluster management tool, go to the console tree and right-click [Service or Application] that you created as explained in "Creating a service or application for failover operation". Click [Move this service or application to another node] and select the switch destination node.
If using the Windows Server(R) 2012 or Windows Server(R) 2012 R2 failover cluster management tool, go to the console tree and click [Roles] >> [Service or Application] that you created as explained in "Creating a service or application for failover operation". Then in the menu click [Move] >> [Best Possible Node] or [Select Node] and select the best possible node.
MSCS:
Click [Cluster Administrator], right-click [Group], and click [Move Group].