It is the ID for the host in the config files. That is a random number ID created when that host joined the cluster.
If you do a fresh installation on the same machine, you will get a new ID. If you uninstall and then reinstall a new version of MarkLogic (or even the same version), then the ID will not change (because it uses the same config files). Now if you remove that host from the cluster, then later add the host back in, I believe you will get a different ID. I would recommend verifying this, but that is how I think it works. -Danny From: [email protected] [mailto:[email protected]] On Behalf Of neil bradley Sent: Thursday, March 24, 2016 2:21 PM To: MarkLogic Forum Subject: [MarkLogic Dev General] how is ID reported by xdmp:host() created? Hi, Does anyone know how MarkLogic determines the host ID that is accessed by xdmp:host()? Does it use information from the server or is it just a random number? The reason I am asking is that I am thinking of using the host ID as part of a software licensing scheme. But I need to know how "reliable" it will be. I believe it is a more reliable identifier than the host name, because the host name can be changed, but the ID remains the same. Can you tell me if I removed MarkLogic from a server, then re-installed it, would it have the same ID? Regards, Neil.
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
