When starting multiple nuxeo instance on a single host, the default instance identifier computed by the core management is conflicting.
In org.nuxeo.ecm.core.management.statuses.NuxeoInstanceIdentifierHelper the default is set to 'localhost'.
if (StringUtils.isEmpty(serverInstanceName)) { InetAddress addr; try { addr = InetAddress.getLocalHost(); serverInstanceName = addr.getHostName(); } catch (UnknownHostException e) { serverInstanceName = "localhost"; } } }
We want instead to compute a name from the osname, and md5 summaries of hardware info and the installation path.