Closed MattoHopkins closed 3 years ago
Hi @MattoHopkins,
* arcgis_enterprise_server[Authorize ArcGIS Server] action authorize
indicates that the authorization didn't fail.
What type of ArcGIS Server authorization file are you using (.prvc)? What version is ArcGIS Server?
Do you see a `keycodes' file in the following two locations:
If the keycodes file is present in both locations, open it with a text editor, does the contents match your license file (expiration date ecp# etc). Check to ensure it doesn't have multiple versions within the keycodes file and doesn't contain expired licenses.
Are there more than one C:\Program Files\ESRI\License10.x folders? (for example: C:\Program Files\ESRI\License10.7\sysgen and C:\Program Files\ESRI\License10.8\sysgen)?
Try removing or renaming the keycodes file from both locations, re-run chef and if it fails send chef logs, along with your json file (can scrub out any sensitive info like machine names passwords etc).
Thanks, Cameron K.
Hey @cameronkroeker,
I want to say this has been resolved. I have run into another issue, in which the :install action is run, this GUI pops up:
Not sure if its better to open another ticket, or if I've just missed something? It doesn't seem that the /qn command that gets passed when trying to install, actually passes anything to the Setup.exe, as even after extracting the files, the GUI for the server install pops up. Have hit this issue with the normal GIS Server setup as well.
Appreciate the help, not overly sure how the full install works as this is my first time trying to deploy with the chef cookbooks
Edit: I'm actually getting this for all of the Setup calls (Portal/GeoEvent/Server)
Versions of setup files: Portal: Portal_for_ArcGIS_Windows_1081_175214 Server: ArcGIS_Server_Windows_1081_175203 GeoEvent: ArcGIS_GeoEvent_Server_1081_175242
Using most recent cookbooks as well
Hi @MattoHopkins,
Glad to here the authorization/create site issue is resolved.
For the second issue regarding the setup GUI popup, if you are using the setup archive file (Portal_for_ArcGIS_Windows_1081_175214.exe, ArcGIS_Server_Windows_1081_175203.exe, ArcGIS_GeoEvent_Server_1081_175242.exe) then you will either want to use the node['arcgis']['server']['setup_archive']
attribute (not the node['arcgis']['server']['setup']
attribute) or place these in a local dir (or file share) and use the node['arcgis']['repository']['archives']
attribute.
Examples using the setup_archive attibutes:
{
"arcgis": {
"version": "10.8.1",
"server": {
"setup_archive": "C:\\Software\\Archives\\ArcGIS_Server_Windows_1081_175203.exe",
"install_dir": "C:\\Program Files\\ArcGIS\\Server"
},
"portal": {
"setup_archive": "C:\\Software\\Archives\\Portal_for_ArcGIS_Windows_1081_175214.exe",
"install_dir": "C:\\Program Files\\ArcGIS\\Portal"
},
"geoevent": {
"setup_archive": "C:\\Software\\Archives\\ArcGIS_GeoEvent_Server_1081_175242.exe"
}
}
Example using arcgis repository:
{
"arcgis": {
"version": "10.8.1",
"repository": {
"archives": "C:\\Software\\Archives"
},
"server": {
"install_dir": "C:\\Program Files\\ArcGIS\\Server"
},
"portal": {
"install_dir": "C:\\Program Files\\ArcGIS\\Portal"
},
"geoevent": {
}
}
The node['arcgis']['server']['setup']
is used if you have already manually extracted the setup archive file (C:\Users\adm_matthew\Documents\ArcGIS 10.8.1\ArcGISServer\Setup.exe).
{
"arcgis": {
"version": "10.8.1",
"server": {
"setup": "C:\\Users\\adm_matthew\\Documents\\ArcGIS 10.8.1\\ArcGISServer\\Setup.exe",
"install_dir": "C:\\Program Files\\ArcGIS\\Server"
},
"portal": {
"setup": "C:\\Users\\adm_matthew\\Documents\\ArcGIS 10.8.1\\PortalForArcGIS\\Setup.exe",
"install_dir": "C:\\Program Files\\ArcGIS\\Portal"
},
"geoevent": {
"setup": "C:\\Users\\adm_matthew\\Documents\\ArcGIS 10.8.1\\ArcGISGeoEventServer\\Setup.exe"
}
}
Thanks, Cameron K.
Hey @cameronkroeker,
Thanks for all this, I can say that I've been successful in installing the software as a whole. There is a requirement for us to have multiple WebAdapters on our IIS machine which has enterprise:server and enterprise:portal and the WA's attached to that. Is there a way to add more than those two? We're trying to attach our Geoevent server via a third webadaptor but I'm unfamiliar with the process.
Appreciate your time
Hey @cameronkroeker,
Thanks for all this, I can say that I've been successful in installing the software as a whole. There is a requirement for us to have multiple WebAdapters on our IIS machine which has enterprise:server and enterprise:portal and the WA's attached to that. Is there a way to add more than those two? We're trying to attach our Geoevent server via a third webadaptor but I'm unfamiliar with the process.
Appreciate your time
Hi @MattoHopkins,
Currently, the cookbook only supports installing 2 web adaptors per node on Windows. To workaround this you can try modifying the following:
Keep in mind though this will impact uninstall, upgrades, and idempotentcy.
Product codes used to uninstall ArcGIS Web Adaptor. The list includes the first two product codes form each supported ArcGIS version:
Here is a link that contains all possible product codes for web adaptor at each version:
Hope this helps!
Thanks, Cameron K.
@cameronkroeker
Cheers mate, that's sorted out the need for additional WebAdaptors and we've got a requirement for a few more later on and I'll be using the same methodology to add those in.
I think this is the last thing I'll bug you about, and I really appreciate your time once again.
For context, I've got a server with a few different ArcGIS recipes running (server,portal, WA's are the main ones) and a second server with server and geoevent running. I'm trying to federate the geoevent server back to that portal and I'm hitting a wall on the RunTimeError "internal server error" when running the cookbook.
Error:
Attributes:
Runlist for 'main' server:
Runlist for 'geoevent' server:
Hopefully that's enough info, and I really appreciate your help once again
Hi @MattoHopkins ,
I suspect the issue is with the server_admin_url. The federation recipe will use the node['arcgis']['server']['private_url']
attribute for the server_admin_url:
From the screen capture provided, it looks like ['arcgis']['server']['private_url']
was set to https://mahere-sbx.sbx-at.local, which is missing the port and context.
Example using internal 6443 url (include the port and context):
"server": {
"private_url": "https://mahere-sbx.sbx-at.local:6443/arcgis"
}
Example using a webadaptor or loadbalancer/reverseproxy (note that Administrative access will need to be enabled on the web adaptor):
"server": {
"private_url": "https://mahere-sbx.sbx-at.local/server"
}
Also note, if node['arcgis']['server']['private_url']
is not defined in your json file then the cookbook will default to using:
Happy Automating, Cameron K.
Thanks man.
I had someone walk me through doing it manually and came to the same conclusion you did. Seems like I had gotten the url links messed up, and sorting that out to point to the WebAdaptor URL, and from the 2nd machine resolved it.
Been doing this pretty blind, so your helps been huge over the past month!
Thanks man.
I had someone walk me through doing it manually and came to the same conclusion you did. Seems like I had gotten the url links messed up, and sorting that out to point to the WebAdaptor URL, and from the 2nd machine resolved it.
Been doing this pretty blind, so your helps been huge over the past month!
You're welcome, and glad all the issues have been sorted out! I'm going to go ahead and close this thread, but if there are additional questions or issues please feel free to open a new one.
Thanks, Cameron K.
Hey guys,
Was told to open a ticket here, but the silent install done for authorising the arcgis-enterprise::server cookbook is failing.
I've had the license triple checked, and thats confirmed to be correct. This will only work if I manually run through the GUI brought up when double clicking the license, after the first run has failed. Error detailed below.