for Geocortex Essentials how do I check if all nodes under a cluster are working
Hello,
We have a 3-node cluster for our Geocortex Essentials. What would be the preferred way to morning and check the cluster health and make sure all nodes are working? thank you.
0
-
Probably worth having a look at this page if you haven't invested in Analytics:
Navigate to this in a browser on a server that is running GE:
http://localhost:19200/_plugin/head/index.html0 -
Thanks Aled, I tried http://localhost:19200/_plugin/head/index.html or http://localhost:19201/_plugin/head/index.html but got 404 error. I did run http://localhost:19201/_cluster/health via the built-in GeoPost tool and got the following result, which to me looks like all green lights. However, I'm not sure if I can trust the result. Because on two of the node servers the w3wp.exe running under EssentialAppPool4 not doing anything, whereas on the third node the w3wp.exe is taking 25-50% CPU constantly.
{"cluster_name":"Ponderosa-Pine","status":"green","timed_out":false,"number_of_nodes":3,"number_of_data_nodes":3,"active_primary_shards":55,"active_shards":110,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":0,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_millis":0,"active_shards_percent_as_number":100.0} w0 -
You need to run http://localhost:19200/_plugin/head/index.html on a machine that is running GE. Replacing localhost with the server name hasn't worked for me.
If you're unusure that the nodes in the cluster are functional, you could create a viewer and hit it from each node with this syntax:
https://<servername>.<domain>.<domain>/<Viewername>/index.html?Viewer=<globaluniqueID>
If the above comes back ok, it could be that your third node is the master node and is delegating work to the other nodes on demand.
You can check which node is the master node on http://localhost:19200/_plugin/head/index.html, the master node will appear as a start symbol on the left hand side.
Hope this helps0 -
Thanks for the suggestion. I have tried opening a viewer from each node, only the node on server3 (which is the master node) works, the other two failed with Unable to Load error. So it means the other two nodes are not working, which matches my observation.
All three servers running have GE running. I have tried http://localhost:19200/_plugin/head/index.html on all three servers all return 404 error. Do you mind telling me where this URL come from? Because I could run the URLs like 'http://localhost:19201/_cluster/health' that I found in "C:\Program Files\Latitude Geographics\Geocortex Core\Diagnostics\GeoPost\GeoPost.exe", but not the URL you suggested. thanks.0 -
Yep sure Jack, if you open up Role status in the diagnostics folder:
C:\Program Files\Latitude Geographics\Geocortex Core\Diagnostics\Role Status
and expand the DocumentStore bit -> you should find an "Elasticsearch Interface" link.
This was changed in GE 4.10+ and can be reactivated.
Hope this helps,
Aled0 -
Thanks Aled. We're on 4.10.3. I'm able to open the Role Status executable but couldn't find Elasticsearch Interface link. As you mentieoned it might be changed/removed from 4.10+. I have raised a ticket to our local support. thanks for help. 0 -
No problem Jack. There's mention of enabling this plugin on 4.10+ under this article (if you scroll right to the bottom - it's the last yellow paragraph):
https://support.geocortex.com/essentialsGSCkbaDetail?sub-nav=kba&main-nav=essentials&id=kA3600000004NlECAU
although the link that it refers to is dead/points to a Portal integration article:
https://support.geocortex.com/essentialsGSCkbaDetail?sub-nav=kba&id=kA3f2000000fxSzCAI
Might be worth asking support whether this link can be updated.
Let me know if you manage to find out how to enable this :)
Hope it goes well.
Aled0
Please sign in to leave a comment.
Comments
7 comments