Select to view content in your preferred language

Portal health checking

8847
4
Jump to solution
02-24-2016 06:21 AM
ChrisAdams
Esri Contributor

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:

Check the status of a highly available portal

To check the status of a high availability configuration, use the command line utility and follow these steps:

  1. On any machine in the high availability configuration, log in with the Portal for ArcGIS account (selected in Step 2).
  2. Open a command prompt as an administrator (Run as administrator), browse to <Portal for ArcGIS installation directory>\tools\portalha, and run the portalha.bat tool with the -s command (for example,portalha.bat -s).
  3. Review the messages in the tool to obtain the current status of the high availability configuration.

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?

0 Kudos
1 Solution

Accepted Solutions
HarroldSompotan
Esri Contributor

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) 

View solution in original post

4 Replies
JacobBoyle
Deactivated User

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 &amp; Portal

ArcGIS REST API

  https://webadaptor.domain.com/arcgis/portaladmin/federation/servers/validate?f=json

   https://<portaladmin>/machines/status/<machine name>

HarroldSompotan
Esri Contributor

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) 

aadnanmaalik
New Contributor

Portal health checking is a process of reviewing your online portals (like customer or patient websites) to ensure they are secure and follow best practices. This protects sensitive information and helps prevent unauthorized access. It involves checking settings related to user permissions, data sharing, and security measures
You're absolutely right! While some resources like consultations or exercise recommendations might be available online, hands-on chiropractic adjustments cannot be performed remotely. This is because chiropractors need to physically assess your condition and perform the manipulations safely.

0 Kudos
aadnanmaalik
New Contributor

Absolutely! It makes sense why you'd be frustrated looking for something that doesn't exist. Chiropractic care is all about hands-on adjustments, and there's no way to replicate that remotely. They need to feel how your spine and joints are moving (or not moving!) to figure out the best way to help.

0 Kudos