The BrokerSection contains parameters that apply to the Broker.
-
ActionLogging—If true, actions are logged to the <failover_manager>.actions.log. The default is: false
The BASEDIR/smarts/local/logs/<failover_manager>.actions.log file is generated after you reload the failover.conf and if you reconfigure the Failover Manager using the Domain Manager Administration Console.
-
Debug—If true, activates the debug mode in the Failover Manager. The default is: false
-
Verbose—If true, prints changes in the Failover Manager. The default is: true
-
HostName—Is the fully qualified hostname or IP address of the host where the Broker is running.
-
PortNumber—Is the port where the host is running.
Note:On Linux, the sm_service install --port value for the Broker must be changed to values greater than 1024. The Failover Manager uses a non-root user account when restarting these components, so privileged ports (below 1024) cannot be used.
-
Basedir—Is the directory path where the Broker is installed.
-
InstalledServiceName—Is the VMware Smart Assurance service name as specified in the sm_service install command for the Broker. The default is: ic-broker.
-
OnChangePOST—Defines the URLs for the EMC Data Access API (smarts-edaa). For the SAM server with Notification Cache Publishing, when the Active Broker fails, the Failover Manager uses this value to set the new Broker location in the EMC Data Access API.
Here is an example of the parameters for multiple Brokers including OnChangePOST. The first entry for Host A is treated as the Active Broker:
BrokerSection { Broker { HostName = "broker-host-A"; PortNumber = 1751; Basedir = "/opt/InCharge/SAM/smarts"; InstalledServiceName = "ic-broker"; } Broker { HostName = "broker-host-B"; PortNumber = 1751; Basedir = "/opt/InCharge/SAM/smarts"; InstalledServiceName = "ic-broker"; } # Any URLs listed in OnChangePOST will recieve a POST # with a form parameter of "broker" whenever the active # broker changes. CAS-protected URLs are supported. # OnChangePOST = "http://smarts-tomcat-host-A:8080/smarts-edaa/setBroker"; OnChangePOST = "http://smarts-tomcat-host-B:8080/smarts-edaa/setBroker"; }