If running the management agent on a host with multiple network interfaces, the createdomain command might fail if not all network interfaces are on the same subnet:
hadbm:Error 22020: The management agents could not establish a domain, please check that the hosts can communicate with UDP multicast. |
If not configured, the management agents will (use the "first" interface for UDP multicasts. "First" is defined by the result from java.net.NetworkInterface.getNetworkInterfaces().
The best solution is to tell the management agent which subnet to use (set ma.server.mainternal.interfaces in the configuration file. For example, ma.server.mainternal.interfaces=10.11.100.0). Alternatively you might configure the router between the subnets to route multicast packets (the management agent uses multicast address 228.8.8.8).
Before retrying with a new configuration of the management agents, you might have to clean up the management agent repository. Stop all agents in the domain, and delete all files and directories in the repository directory, identified by repository.dr.path in the management agent configuration file. This cleanup must be performed on all hosts before restarting the agents with a new configuration file.