Closed minagim closed 1 month ago
@minagim can you check to see if Microsoft Web Deploy 3.6 and ASP.NET Core Runtime - Windows Hosting Bundle 6.x are installed on the target node?
You can have the Module install them by adding these attributes to your json config: https://github.com/Esri/arcgis-powershell-dsc/blob/1348e09ae3b6a7d69a3530d3e3766111b8425397/SampleConfigs/v4/v4.2.1/Base%20Deployment/BaseDeployment-SingleMachine.json#L179-L182
Thanks, Cameron K.
thanks for the info, Cameron and sorry for the delayed response. I installed MS Web Deploy 3.6 and reinstalled ASP.NET Core Runtime - Windows Hosting Bundle 6.x and resolve the issue. However, i am stuck with one of our ssl certificates at the server level in the configurations and troubleshooting the issue. I will let you know if I need your help on this. Please close the case and thanks for your help on this.
i am getting the above error and it sounds like it is expecting the Federation context. do i need it for the base deployment?
![]()
![]()
i am getting the above error and it sounds like it is expecting the Federation context. do i need it for the base deployment?
Hi @minagim,
I suspect this error is happening because "ExternalLoadBalancer"
, and "InternalLoadBalancer"
are set to blank values within the json config file. If these are not going to be used then let's remove them from the json config. This is because they are used for federation:
Thanks, Cameron K.
BaseDeployment-MultiMachine 11_2.json
i removed those 2 parameters from the arcgis server and portal and now i am getting the following error even if the portaladmin credentials are specified and i can log into the portal manually.
BaseDeployment-MultiMachine 11_2.json i removed those 2 parameters from the arcgis server and portal and now i am getting the following error even if the portaladmin credentials are specified and i can log into the portal manually.
![]()
![]()
@minagim From the node where ArcGIS Server is installed, can you successfully access the following url and generate a token?
https://portal server cname fqdn:7443/arcgis/sharing/rest/generateToken
Since the "InternalLoadBalancer
attribute is no longer present, and SSLCertificates.CNameFQDN attribute is defined the module will use CNameFQDN this to construct the url:
InternalLoadBalancer -> SSLCertificate.CName -> PrimaryPortalMachine.NodeName
correction: i was able to access the portal token generate page with the machine name from the hosting arcgis server machine but not the cname.
how can i correct this issue?
correction: i was able to access the portal token generate page with the machine name from the hosting arcgis server machine but not the cname.
how can i correct this issue?
I suggest using the portal server fqdn for the SSLCertificates.CNameFQDN attribute value.
Thanks, Cameron, changing the Cname to the portal fqdn worked. Is there any pros and cons in using Cname or server fqdn for the datastore, map server and portal server?
Community Note
Module Version
Affected Resource(s)
Configuration Files
Expected Behavior
Server and portal web adaptors should install with the right configurations for the base deployment.
Actual Behavior
Datastore, server and portal installed with no issues but the web adaptors failed to install with the following error messages in the log.
PowerShell DSC resource ArcGIS_Install failed to execute Set-TargetResource functionality with error message: Failed to Install WebAdaptorIIS-Portal-portal PowerShell DSC resource ArcGIS_Install failed to execute Set-TargetResource functionality with error message: Failed to Install WebAdaptorIIS-Server-server The SendConfigurationApply function did not succeed.
Steps to Reproduce
Important Factoids
References