Esri / arcgis-powershell-dsc

This repository contains scripts, code and samples for automating the install and configuration of ArcGIS (Enterprise and Desktop) using Microsoft Windows PowerShell DSC (Desired State Configuration).
Apache License 2.0
121 stars 62 forks source link

Wait for Server after Cert-Installation #110

Closed spitzerr closed 5 years ago

spitzerr commented 5 years ago

After installing Root or Intermediate Certificates in Server the Server Restarts. In some configurations there is a racing condition, as the Server is not already up again as other parts try to Access it. The resource ArcGIS_Server_TLS which installs the certificates waits for the Windows-Service to come up again. Maybe it should wait for the url /ArcGIS/rest/info to lookup if the Server is operational again.

scma-esrich commented 5 years ago

At least for the GeoEvent-Server-setup this check must be done. Without we had problems. I implemented it for testing with the existing "Wait-ForUrl"-Function. Should we create a Pull request with my sample-solution?

shailesh91 commented 5 years ago

@scma-esrich yes you can submit a PR. We will try to review it ASAP.

scma-esrich commented 5 years ago

114 is in.

shailesh91 commented 5 years ago

Merged!