You can switch the role of a Broker manually at any time using the failover utility script ic-failover-server. You can switch the Broker after the Failover Manager restarts a failed Broker or if the Broker needs to be manually switched to perform maintenance operations.
You can invoke a failback for a Broker as follows:
-
From the FAILOVER_BASEDIR/smarts/local/script directory, type:
ic-failover-server activate <broker> [root@itops-tco-213 bin]# ../script/ic-failover-server activate Broker1 Server FAILOVER User: admin admin's Password: XXXXXXXXXX ic-failover-server: Server/Broker 'Broker1' has been successfully scheduled for activation.
-
Then, determine the status and roles of Domain Managers and Brokers as follows:
[root@itops-tco-213 bin]# ../script/ic-failover-server status Server FAILOVER User: admin admin's Password: XXXXXXXXXX Status of Monitored Entities on: FAILOVER |------- Process ------|- P-Status -|---- Role -----|----------- Host -----------|- H-Status -| Broker0 .............. UP.......... STANDBY........ itops-tco-212.lss.emc.com... UP........ Broker1 .............. UP.......... ACTIVE......... itops-tco-213.lss.emc.com... UP........ INCHARGE-AM-PM-A ..... UP.......... ACTIVE......... itops-tco-212.lss.emc.com... UP........ INCHARGE-AM-PM-B ..... UP.......... STANDBY........ itops-tco-213.lss.emc.com... UP........ INCHARGE-SA-A ........ UP.......... ACTIVE......... itops-tco-212.lss.emc.com... UP........ INCHARGE-SA-B ........ UP.......... STANDBY........ itops-tco-213.lss.emc.com... UP........ |---------------------|------------|---------------|----------------------------|----------| P-Status: Process Status H-Status: Host Status