Comments (4)
Hi @jhevenor,
This a valid use case that should work. The error is indicating that both Node.Name
entries in the json config were set to the same ip 10.155.1.200
. However, in the json example provided above, each Node.Name
is unique and looks correct.
Perhaps at some point both node names were set to 10.155.1.200
then one was updated to 10.155.1.201
but the file was not saved before the DSC run?
Let's verify the json config is up to date with each NodeName
value being unique and re-run.
Thanks,
Cameron K.
from arcgis-powershell-dsc.
Hello again @cameronkroeker. You were right, I had a copy/paste that had svr1 listed twice. I adjusted the original posts error message to show what I'm getting. It's still a dup config. Even when I changed the contexts to something else (foo, fooadmin) I still see the [ArcGIS_Install]WebAdaptorIIS-Server-mapsInstall
message given. I'm running these in succession and I'm wondering if there's something cached that I need to clear?
from arcgis-powershell-dsc.
Hello again @cameronkroeker. You were right, I had a copy/paste that had svr1 listed twice. I adjusted the original posts error message to show what I'm getting. It's still a dup config. Even when I changed the contexts to something else (foo, fooadmin) I still see the
[ArcGIS_Install]WebAdaptorIIS-Server-mapsInstall
message given. I'm running these in succession and I'm wondering if there's something cached that I need to clear?
Perhaps the LCM is using a cached MOF from it being stuck in a pending state. Let's try the following:
- Close and launch a fresh powershell window
- Run command
Stop-DscConfiguration
- Run command
Get-DscLocalConfigurationManager
to check to see what state LCM is in - Run command
Remove-DscConfigurationDocument -Stage current,pending,previous
to remove any current/pending/previous configurations - Run command
Get-DscLocalConfigurationManager
to check to see what state LCM - Re-run the ArcGIS DSC Module
from arcgis-powershell-dsc.
I tried this with a fresh deployment and had the same errors. Config:
{
"AllNodes": [
{
"NodeName": "10.155.1.201",
"Role": [
"Server",
"WebAdaptor"
],
"WebAdaptorConfig":[
{
"Role": "Server",
"ServerContext": "maps-cartes",
"AdminAccessEnabled": false
},
{
"Role": "Server",
"ServerContext": "maps-cartes-admin",
"AdminAccessEnabled": true
}
]
},
{
"NodeName": "10.155.1.202",
"Role": [
"WebAdaptor"
],
"WebAdaptorConfig":[
{
"Role": "Server",
"ServerContext": "maps-cartes",
"AdminAccessEnabled": false
},
{
"Role": "Server",
"ServerContext": "maps-cartes-admin",
"AdminAccessEnabled": true
}
]
}
],
"ConfigData": {
...
Resulting in the same error:
Dot Sourcing the Configuration:- ArcGISInstall
ArcGIS\ArcGIS_Install : A duplicate resource identifier '[ArcGIS_Install]WebAdaptorIIS-Server-maps-cartesInstall' was
found while processing the specification for node '10.155.1.201'. Change the name of this resource so that it is
unique within the node specification.
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\4.2.0\Configurations-OnPrem\ArcGISInstall.ps1:480 char:29
+ ArcGIS_Install "$($WAName)Install"
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Write-Error], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : DuplicateResourceIdInNodeStatement,ArcGIS\ArcGIS_Install
...
# error repeats for other server
I'm going to drop this for time being but will hopefully get a chance to dig in again in a couple weeks when I finish some other things.
from arcgis-powershell-dsc.
Related Issues (20)
- Trouble connecting dual web adaptors HOT 5
- 11.1 to 11.2 Upgrade: ArcGIS_License failed to execute Set-TargetResource SoftwareAuthorization.exe not found HOT 10
- Data Store 11.1 Upgrade - "The computer name was not specified and the configuration directory does not have any configuration files." HOT 2
- ArcGIS_xDisk.psm1 has DataDisk hardcoded as DiskNumber =2, but this is not present on VMs that do not have a temporary disk. HOT 2
- "Register an Enterprise Geodatabase with ArcGIS Server site" Links to devtopia.esri.com HOT 1
- Changelogs for versions so scripts can be more easily upgraded
- 4.2: GISServer-GeneralPurpose-MultipleWA-MultiContext.json Uses AllNodes.WebAdaptorConfig.ServerContext Instead of AllNodes.WebAdaptorConfig.Context
- DSC 4.2 - Enterprise 11.1 - AllNode property not getting completely processed when doing downloads. HOT 1
- Documentation: Portal Content directory must exist, it will not be created HOT 1
- Service account username/password is not changed if service is already set as automatic startup HOT 1
- Enterprise 11.1 - Error creating site when using Azure Storage accounts. HOT 8
- Enterprise 11.2 - Insights 2023.3 HOT 1
- Web Adaptor fails to install with exit code 1642 HOT 2
- Installing on AWS image with pre-installed server HOT 7
- WebAdaptor fails to install with error SendConfigurationApply function did not succeed HOT 6
- [ArcGISLicense] ArcGIS Pro Single licensing not working. HOT 1
- Server installation error when defining WebAdaptor in role HOT 1
- ArcGIS Enterprise Upgrade From 11.1 to 11.2 Failed to Install Portal HOT 6
- ArcGIS Pro Patches not Downloaded/Installed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcgis-powershell-dsc.