ArcGIS for Server has a health check URL so that it can be determined if there is an issue with the machine or one of the machines in an ArcGIS for Server site.
Is there an equivalent for Portal for ArcGIS? When Portal is configured for High Availability, the documentation just mentions the following. This is not a great way to know if there is an issue with one of the machines:
To check the status of a high availability configuration, use the command line utility and follow these steps:
The output is as follows:
C:\Program Files\ArcGIS\Portal\tools\portalha>portalha.bat -s
Machine '<machine.domain>' is configured for high availability architecture and includes the primary database.
The machine '<machine.domain>' is configured for high availability architecture and includes a standby database.
C:\Program Files\ArcGIS\Portal\tools\portalha>
A health check could be added to the web server by specifying a Portal URL such as the portaladmin site. Is there a better way to detect if a machine is not operational and prompt a failover?
A follow on question is that it doesn't seem possible to health check through a web adaptor. If one machine is down behind the web adaptor, the health check with still show the site as being successful. Do the health checks have to be directed through 6080/6443? If the web adaptor is being used in a reverse proxy configuration, how can you health check two endpoints through these internal ports?
Solved! Go to Solution.
Just wanted to add another alternative is to use this URL when checking the Portal Health and Status https://Portalmachine.com:7443/arcgis/portaladmin/healthCheck or through the Web Adaptor: https://WebAdaptorMachine.com/portal/portaladmin/healthCheck (keep in mind the "C" in healthcheck is case sensitive)
there are some URL's in the Portal API now, maybe someone smarter than me can cook up a health page? Geo-Jobe??Admin Tools for ArcGIS Online & Portal
https://webadaptor.domain.com/arcgis/portaladmin/federation/servers/validate?f=json
https://<portaladmin>/machines/status/<machine name>
Just wanted to add another alternative is to use this URL when checking the Portal Health and Status https://Portalmachine.com:7443/arcgis/portaladmin/healthCheck or through the Web Adaptor: https://WebAdaptorMachine.com/portal/portaladmin/healthCheck (keep in mind the "C" in healthcheck is case sensitive)