Giter VIP home page Giter VIP logo

Comments (9)

cameronkroeker avatar cameronkroeker commented on September 27, 2024

@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?

https://enterprise.arcgis.com/en/system-requirements/latest/windows/arcgis-web-adaptor-system-requirements.htm#ESRI_SECTION1_B79830AA8CCE4FE4AD1E0981E8BAA2D1

You can have the Module install them by adding these attributes to your json config:

"DotnetHostingBundlePath": "[Dotnet Hosting Bundle Installer Path]",
"DotnetHostingBundleDownloadUrl": "[Dotnet Hosting Bundle Installer Download Url]",
"WebDeployPath": "[Web Deploy Installer Path]",
"WebDeployDownloadUrl": "[Web Deploy Installer Download Url]",

https://github.com/Esri/arcgis-powershell-dsc/wiki/v4.2.1-Variables-reference-page-for-JSON-configuration-files

Screenshot 2024-04-25 at 11 38 12 AM

Thanks,
Cameron K.

from arcgis-powershell-dsc.

minagim avatar minagim commented on September 27, 2024

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.

from arcgis-powershell-dsc.

minagim avatar minagim commented on September 27, 2024

image
image
image

i am getting the above error and it sounds like it is expecting the Federation context. do i need it for the base deployment?

from arcgis-powershell-dsc.

cameronkroeker avatar cameronkroeker commented on September 27, 2024

image image image

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:

$PortalHostName = if($null -ne $ConfigurationParamsHashtable.ConfigData.Portal.InternalLoadBalancer){ $ConfigurationParamsHashtable.ConfigData.Portal.InternalLoadBalancer }else{ if($PrimaryPortalMachine.SSLCertificate){ $PrimaryPortalMachine.SSLCertificate.CName }else{ Get-FQDN $PrimaryPortalMachine.NodeName } }

Thanks,
Cameron K.

from arcgis-powershell-dsc.

minagim avatar minagim commented on September 27, 2024

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.
image
image
image

from arcgis-powershell-dsc.

cameronkroeker avatar cameronkroeker commented on September 27, 2024

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. image image image

@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:

$PortalHostName = if($null -ne $ConfigurationParamsHashtable.ConfigData.Portal.InternalLoadBalancer){ $ConfigurationParamsHashtable.ConfigData.Portal.InternalLoadBalancer }else{ if($PrimaryPortalMachine.SSLCertificate){ $PrimaryPortalMachine.SSLCertificate.CName }else{ Get-FQDN $PrimaryPortalMachine.NodeName } }

InternalLoadBalancer -> SSLCertificate.CName -> PrimaryPortalMachine.NodeName

from arcgis-powershell-dsc.

minagim avatar minagim commented on September 27, 2024

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.
image

how can i correct this issue?

from arcgis-powershell-dsc.

cameronkroeker avatar cameronkroeker commented on September 27, 2024

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. image

how can i correct this issue?

I suggest using the portal server fqdn for the SSLCertificates.CNameFQDN attribute value.

from arcgis-powershell-dsc.

minagim avatar minagim commented on September 27, 2024

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?

from arcgis-powershell-dsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.