Hi,
Environment: ArcGIS Enterprise 11.1 (GIS/Hosting/GeoEvent all federated with Portal) on Windows
Just wanted to report a possible bug:
While troubleshooting another problem, I stumbled across this neat little tool called "operationalhealth.py" in <Portal Install>\tools\operationalhealth. But it appears to be confused if the environment includes other federated servers/components.
Specifically: ArcGIS Enterprise 11.1 running with a federated GeoEvent server -- operationalhealth.py seems to believe we have a managed relational datastore and tile cache registered on the geoevent server. At the moment, there are no datastores registered with the geoevent server.
The error messages are,
2023-10-24 05:25:07,922 [INFO] OH31: All data stores registered to https://geoevent-server/geoevent are validating.
2023-10-24 05:25:08,308 [ERROR] OH36: The relational ArcGIS Data Store component is registered with the site at https://geoevent-server/geoevent, which is not the hosting site for the organization.
2023-10-24 05:25:08,368 [ERROR] OH36: The tileCache ArcGIS Data Store component is registered with the site at https://geoevent-server/geoevent, which is not the hosting site for the organization.
2023-10-24 05:25:08,426 [CRITICAL] Traceback (most recent call last):
File "C:\Program Files\ArcGIS\Portal\tools\operationalhealth\operationalhealth.py", line 1388, in <module>
opHealth.checkNonHostingArcGISDataStore()
File "C:\Program Files\ArcGIS\Portal\tools\operationalhealth\operationalhealth.py", line 657, in checkNonHostingArcGISDataStore
if not server['isHosted'] and 'AGSDataStore' in item['path']:
TypeError: 'NoneType' object is not subscriptable
Hope this helps!
Thanks,
Derek
P.S. Thanks to the individual/s who created (and shipped) this tool!