Deploy an ArcGIS GIS Server site on one machine - Esri/arcgis-powershell-dsc GitHub Wiki
This workflow guides you through the first-time installation of an ArcGIS GIS Server site on a single machine.
ArcGIS GIS Server provides fundamental mapping, analytics, and data management capabilities to your ArcGIS Enterprise deployment. You use ArcGIS GIS Server to publish services, to host layers, and to provide Living Atlas of the World content to either connected or disconnected deployments. ArcGIS GIS Server supports OGC web services and custom geoprocessing models. It's also the role used by your hosting server, but this workflow is intended to install an additional GIS Server site to be federated with the portal in your existing base ArcGIS Enterprise deployment.
When the PowerShell DSC for ArcGIS module is finished, your machine will have the ArcGIS Server software installed, configured and licensed as a GIS Server, and federated with the ArcGIS Enterprise portal you specify.
Prepare your deployment
Before you run the command to the module in PowerShell DSC, you’ll need to obtain the necessary files and resources and add them to your local machine.
Note: We recommend you use WMF 5.x for the best experience.
Log in to the machine on which you'll be installing ArcGIS Server. You should have PowerShell DSC and administrative authority on each machine.
You can prepare the files either through GitHub or using the PowerShell Gallery:
Option 1: Prepare your deployment using GitHub
- Clone this repository to your local machine.
- Add the "ArcGIS" modules folder to your
PsModulePath
, or copy the modules into the default PowerShell Modules folder (e.g.C:\Program Files\WindowsPowerShell\Modules
). - Log in to My Esri. Download your ArcGIS Server software installation file and license to the machine.
Option 2: Prepare your deployment using the PowerShell Gallery
- Log in to my.esri.com. Download your ArcGIS Server software installation file and license.
- Install the ArcGIS module using the command
Install-Module ArcGIS
. - Download the
SampleConfigs
files from the GitHub repository.
Edit the configuration file
- Open the GISServer-GeneralPurpose.json file from the
SampleConfigs
folder of thearcgis-powershell-dsc
repository on your local machine. - Replace the placeholder variables in brackets with your deployment properties and parameters. Refer to the Variables reference page for a full list.
Install your deployment
In PowerShell DSC, run the Invoke-ArcGISConfiguration
cmdlet and provide the path to the configuration file as an input parameter. Mode
, Credential
, DebugSwitch
and MappedDriveOverrideFlag
are optional arguments.
Invoke-ArcGISConfiguration -ConfigurationParametersFile [Path to Configuration JSON File](/Esri/arcgis-powershell-dsc/wiki/Path-to-Configuration-JSON-File) -Mode [Install | InstallLicense | InstallLicenseConfigure | Uninstall | Upgrade] -Credential [Config RunAs - Optional] -MappedDriveOverrideFlag [$True | $False] -DebugSwitch
or
Invoke-ArcGISConfiguration [Path to Configuration json File](/Esri/arcgis-powershell-dsc/wiki/Path-to-Configuration-json-File) [Install | InstallLicense | InstallLicenseConfigure | Uninstall | Upgrade] -Credential [Config RunAs - Optional] -MappedDriveOverrideFlag [$True | $False] -DebugSwitch