This cookbook installs and configures ArcGIS Enterprise products, components, and tools.
- 10.7
- ArcGIS Server
- ArcGIS Data Store
- Portal for ArcGIS
- ArcGIS Web Adaptor (IIS/Java)
- Windows 7
- Windows 8 (8.1). 8.1 requires .Net Framework 3.5 (See ms_dotnet cookbook README)
- Windows 10. Requires .Net Framework 3.5 (See ms_dotnet cookbook README)
- Windows Server 2008 (R2)
- Windows Server 2012 (R2)
- Windows Server 2016
- Ubuntu 14.04, 16.04
- Rhel 6.5, 7.0
The following cookbooks are required:
- arcgis-repository
- hostsfile
- limits
- authbind
- iptables
- windows
- windows_firewall
- ms_dotnet
node['arcgis']['version']
= ArcGIS version. Default value is10.7
.node['arcgis']['run_as_user']
= Account used to run ArcGIS Server, Portal for ArcGIS, and ArcGIS Data Store. Default account name isarcgis
.node['arcgis']['run_as_password']
= Password for the account used to run ArcGIS Server, Portal for ArcGIS, and ArcGIS Data Store. Default value isPa$$w0rdPa$$w0rd
.node['arcgis']['hosts']
= Hostname to IP address mappings to be added to /etc/hosts file. Default value is{}
.node['arcgis']['cache_authorization_files']
= If set to true, the software authorization file is cached on the machine and software authorization is skipped in the subsequent chef runs. Default value isfalse
.node['arcgis']['configure_windows_firewall']
= If set to true, Windows firewall is configured for ArcGIS applications as specified by the system requirements. Default value isfalse
.node['arcgis']['python']['install_dir']
= Python installation directory. By default Python is installed atC:\Python27
.node['arcgis']['post_install_script']
= Custom post-installation script path. The default path on Windows isC:\imageryscripts\deploy.bat
, on Linux is/arcgis/imageryscripts/deploy.sh
.
node['arcgis']['fileserver']['shares']
= List of local directories shared by 'fileserver' recipe. Default list is[node['arcgis']['server']['local_directories_root'], node['arcgis']['data_store']['data_dir'], node['arcgis']['portal']['data_dir']]
.
node['arcgis']['server']['wa_name']
= The name of the Web Adaptor used for ArcGIS Server. Default name isserver
.node['arcgis']['server']['wa_url']
= URL of the Web Adaptor used for ArcGIS Server. Default name ishttps://<FQDN of the machine>/<Server Web Adaptor name>
.node['arcgis']['server']['domain_name']
= ArcGIS Server domain name. By default,<node FQDN>
is used.node['arcgis']['server']['hostname']
= Host name or IP address of ArcGIS Server machine. Default value is''
.node['arcgis']['server']['url']
= ArcGIS Server URL. The default URL ishttps://<FQDN of the machine>:6443/arcgis
using the fully qualified domain name of the machine on which Chef is running. If ArcGIS Server and the web adaptor are running on different machines, then this value should be explicitly set.node['arcgis']['server']['private_url']
= ArcGIS Server URL without Web Adaptor. Default URL ishttps://<server domain name>:6443/arcgis
.node['arcgis']['server']['primary_server_url']
= URL of ArcGIS Server site to join. Default isnil
.node['arcgis']['server']['web_context_url']
= ArcGIS server web context URL. By default, this is'https://<Domain name>/<WA name>
.node['arcgis']['server']['use_join_site_tool']
= Is set to true, join-site command line tool is used to add machine to the site and the default cluster. Default value isfalse
.node['arcgis']['server']['admin_username']
= Primary ArcGIS Server administrator user name. Default user name isadmin
.node['arcgis']['server']['admin_password']
= Primary ArcGIS Server administrator password. Default value ischangeit
.node['arcgis']['server']['publisher_username']
= ArcGIS Server publisher user name. Default user name isnode['arcgis']['server']['admin_username']
.node['arcgis']['server']['publisher_password']
= ArcGIS Server publisher password. Default value isnode['arcgis']['server']['admin_password']
.node['arcgis']['server']['directories_root']
= ArcGIS Server root directory. Default Windows directory isC:\arcgisserver
; default Linux directory is/arcgis/server/usr
.node['arcgis']['server']['setup']
= The location of the ArcGIS Server setup executable. Default location on Windows isC:\Temp\ArcGISServer\Setup.exe
; default location on Linux is/tmp/server-cd/Setup
.node['arcgis']['server']['lp-setup']
= The location of language pack for ArcGIS Server. Default location isnil
.node['arcgis']['server']['setup_archive']
= Path to ArcGIS Server setup archive. Default value depends onnode['arcgis']['version']
attribute value.node['arcgis']['server']['install_dir']
= ArcGIS Server installation directory. By default, ArcGIS Server is installed to%ProgramW6432%\ArcGIS\Server
on Windows machines and/
on Linux machines.node['arcgis']['server']['is_hosting']
= Must be set to true for hosting server. Default value istrue
.node['arcgis']['server']['install_system_requirements']
= If set to true, the required third party libraries are installed on the machine before running ArcGIS Server setup. Default value istrue
.node['arcgis']['server']['configure_autostart']
= If set to true, on Linux the ArcGIS Server is configured to start with the operating system. Default value istrue
.node['arcgis']['server']['authorization_file']
= ArcGIS Server authorization file path. Default location and authorization file isC:\Temp\server_license.prvc
on Windows and/tmp/server_license.prvc
on Linux.node['arcgis']['server']['authorization_file_version']
= ArcGIS Server authorization file version. Default version isnode['arcgis']['version']
.node['arcgis']['server']['managed_database']
= ArcGIS Server's managed database connection string. By default, this value isnil
.node['arcgis']['server']['replicated_database']
= ArcGIS Server's replicated geodatabase connection string. By default, this value isnil
.node['arcgis']['server']['keystore_file']
= Path to PKSC12 keystore file (.pfx) with SSL certificate for ArcGIS Server. Default value isnil
.node['arcgis']['server']['keystore_password']
= Keystore file password for ArcGIS Server. Default value isnil
.node['arcgis']['server']['cert_alias']
= SSL certificate alias for ArcGIS Server. Default alias is composed of these values:node['arcgis']['server']['domain_name']
.node['arcgis']['server']['system_properties']
= ArcGIS Server system properties. Default value is{}
.node['arcgis']['server']['log_level']
= ArcGIS Server log level. Default value isWARNING
.node['arcgis']['server']['log_dir']
= ArcGIS Server log directory. Default value isC:\arcgisserver\logs
on Windows and/arcgis/server/usr/logs
on Linux.node['arcgis']['server']['max_log_file_age']
= ArcGIS Server maximum log file age. Default value is90
.node['arcgis']['server']['config_store_type']
= ArcGIS Server config store type. Default value isFILESYSTEM
.node['arcgis']['server']['config_store_connection_string']
= ArcGIS Server config store type. Default value isC:\arcgisserver\config-store
on Windows and/arcgis/server/usr/config-store
on Linux.node['arcgis']['server']['config_store_connection_secret']
= ArcGIS Server config store type secret. Default value isnil
.node['arcgis']['server']['services']
= An array of ArcGIS Server services to be published. Default value is{}
.node['arcgis']['server']['security']['user_store_config']
= User store configuration. Default value is{'type' => 'BUILTIN', 'properties' => {}}
node['arcgis']['server']['security']['role_store_config']
= Role store configuration. Default value is{'type' => 'BUILTIN', 'properties' => {}}
node['arcgis']['server']['security']['privileges']
= Privileges to user roles assignments{'PUBLISH' => [], 'ADMINISTER' => []}
node['arcgis']['server']['soc_max_heap_size']
= SOC maximum heap size in megabytes. Default value is64
.
node['arcgis']['web_adaptor']['admin_access']
= Indicates if ArcGIS Server Manager and Admin API will be available through the Web Adaptor <true|false>. Default value isfalse
.node['arcgis']['web_adaptor']['setup']
= Location of ArcGIS Web Adaptor setup executable. Default location isC:\Temp\WebAdaptorIIS\Setup.exe
on Windows and/tmp/web-adaptor-cd/Setup
on Linux.node['arcgis']['web_adaptor']['lp-setup']
= The location of language pack for ArcGIS Web Adaptor. Default location isnil
.node['arcgis']['web_adaptor']['setup_archive']
= Path to ArcGIS Web Adaptor setup archive. Default value depends onnode['arcgis']['version']
attribute value.node['arcgis']['web_adaptor']['install_dir']
= ArcGIS Web Adaptor installation directory (Linux only). By default, ArcGIS Web Adaptor is installed to/
on Linux.
node['arcgis']['portal']['domain_name']
= Portal for ArcGIS domain name. By default,<node FQDN>
is used.node['arcgis']['portal']['wa_name']
= The Web Adaptor name for Portal for ArcGIS., Default name isportal
.node['arcgis']['portal']['wa_url']
= URL of the Web Adaptor for Portal for ArcGIS., Default name ishttps://<FQDN of the machine>/<Portal Web Adaptor name>
.node['arcgis']['portal']['url']
= Portal for ArcGIS URL. The default URL ishttps://<FQDN of the machine>:7443/arcgis
using the fully qualified domain name of the machine on which Chef is running. If Portal for ArcGIS and the web adaptor are running on different machines, then this value should be explicitly set.node['arcgis']['portal']['private_url']
= Portal for ArcGIS private URL. Default URL ishttps://<portal domain name>:7443/arcgis
.node['arcgis']['portal']['web_context_url']
= Portal for ArcGIS web context URL. By default, this isnil
.node['arcgis']['portal']['primary_machine_url']
= URL of primary Portal for ArcGIS machine. By default, this isnil
.node['arcgis']['portal']['admin_username']
= Initial portal administrator user name. Default user name isadmin
.node['arcgis']['portal']['admin_password']
= Initial portal administrator password. Default password ischangeit
.node['arcgis']['portal']['admin_email']
= Initial portal administrator e-mail. Default email is[email protected]
.node['arcgis']['portal']['admin_full_name']
= Initial portal administrator full name. Default full name isAdministrator
.node['arcgis']['portal']['admin_description']
= Initial portal administrator description. Default description isInitial portal account administrator
.node['arcgis']['portal']['security_question']
= Security question. Default question isYour favorite ice cream flavor?
node['arcgis']['portal']['security_question_answer']
= Security question answer. Default answer isbacon
.node['arcgis']['portal']['setup']
= Portal for ArcGIS setup path. Default location isC:\Temp\ArcGISPortal\Setup.exe
on Windows and/tmp/portal-cd/Setup
on Linux.node['arcgis']['portal']['lp-setup']
= The location of language pack for Portal for ArcGIS. Default location isnil
.node['arcgis']['portal']['setup_archive']
= Path to Portal for ArcGIS setup archive. Default value depends onnode['arcgis']['version']
attribute value.node['arcgis']['portal']['install_dir']
= Portal for ArcGIS installation directory. By default, Portal for ArcGIS is installed to%ProgramW6432%\ArcGIS\Portal
on Windows machines and/
on Linux machines.node['arcgis']['portal']['install_system_requirements']
= If set to true, the required third party libraries are installed on the machine before running Portal for ArcGIS setup. Default value istrue
.node['arcgis']['portal']['configure_autostart']
= If set to true, on Linux the Portal for ArcGIS is configured to start with the operating system. Default value istrue
.node['arcgis']['portal']['content_dir']
= Portal for ArcGIS content directory. Default directory isC:\arcgisportal\content
on Windows and/arcgis/portal/usr/arcgisportal/content
on Linux.node['arcgis']['portal']['authorization_file']
= Portal for ArcGIS authorization file path. Default location and file name isC:\Temp\portal_license.prvc
on Windows and/tmp/portal_license.prvc
on Linux.node['arcgis']['portal']['authorization_file_version']
= Portal for ArcGIS authorization file version. Default value is10.4
.node['arcgis']['portal']['user_license_type_id']
= Portal for ArcGIS administrator user license type Id.node['arcgis']['portal']['keystore_file']
= Path to PKSC12 keystore file (.pfx) with SSL certificate for Portal for ArcGIS. Default value isnil
.node['arcgis']['portal']['keystore_password']
= Keystore file password for Portal for ArcGIS. Default value isnil
.node['arcgis']['portal']['cert_alias']
= SSL certificate alias for Portal for ArcGIS. Default alias is composed of these values:node['arcgis']['portal']['domain_name']
.node['arcgis']['portal']['hostname']
= Host name or IP address of Portal for ArcGIS machine specified in hostname.properties file. Default value is''
.node['arcgis']['portal']['hostidentifier']
= Host name or IP address of Portal for ArcGIS machine specified in hostidentifier.properties file. Default value isnode['arcgis']['portal']['hostname']
.node['arcgis']['portal']['preferredidentifier']
= Portal for ArcGIS preferred identifier method <hostname|ip>. Default method used ishostname
.node['arcgis']['portal']['content_store_type']
= Portal for ArcGIS content store type <FileStore|CloudStore>. Default value isFileStore
.node['arcgis']['portal']['content_store_provider']
= Portal for ArcGIS content store provider <Amazon|FileSystem>. Default value isFileSystem
.node['arcgis']['portal']['content_store_connection_string']
= Portal for ArcGIS content store connection string. Default connection string isnode['arcgis']['portal']['content_dir']
.node['arcgis']['portal']['object_store']
= Portal for ArcGIS content store container such as S3 bucket name. Default value isnil
.node['arcgis']['portal']['log_level']
= Portal for ArcGIS log level. Default value isWARNING
.node['arcgis']['portal']['log_dir']
= Portal for ArcGIS log directory. Default value isC:\arcgisportal\logs
on Windows and/arcgis/portal/usr/arcgisportal/logs
on Linux.node['arcgis']['portal']['max_log_file_age']
= Portal for ArcGIS maximum log file age. Default value is90
.node['arcgis']['portal']['upgrade_backup']
= Backup Portal for ArcGIS content during upgrade. Default value istrue
.node['arcgis']['portal']['upgrade_rollback']
= Rollback Portal for ArcGIS upgrade in case of failure. Default value istrue
.node['arcgis']['portal']['root_cert']
= Portal for ArcGIS root certificate. Default value is''
.node['arcgis']['portal']['root_cert_alias']
= Portal for ArcGIS root certificate alias. Default value is''
.node['arcgis']['portal']['allssl']
= Portal for ArcGIS run in all SSL mode or not. Default value isfalse
.node['arcgis']['portal']['security']['user_store_config']
= User store configuration. Default value is{'type' => 'BUILTIN', 'properties' => {}}
node['arcgis']['portal']['security']['role_store_config']
= Role store configuration. Default value is{'type' => 'BUILTIN', 'properties' => {}}
node['arcgis']['data_store']['data_dir']
= ArcGIS Data Store data directory. Default location isC:\arcgisdatastore
on Windows and/arcgis/datastore/usr/arcgisdatastore
on Linux.node['arcgis']['data_store']['backup_dir']
= ArcGIS Data Store backup directory. Default location isC:\arcgisdatastore\backup
on Windows and/arcgis/datastore/usr/arcgisdatastore/backup
on Linux.node['arcgis']['data_store']['setup']
= Location of ArcGIS Data Store setup executable. Default location isC:\Temp\ArcGISDataStore\Setup.exe
on Windows and/tmp/tmp/data-store-cd/Setup
on Linux.node['arcgis']['data_store']['lp-setup']
= The location of language pack for ArcGIS Data Store. Default location isnil
.node['arcgis']['data_store']['setup_archive']
= Path to ArcGIS Data Store setup archive. Default value depends onnode['arcgis']['version']
attribute value.node['arcgis']['data_store']['install_dir']
= ArcGIS Data Store installation directory. By default, ArcGIS Data Store is installed to%ProgramW6432%\ArcGIS\DataStore
on Windows and/
on Linux.node['arcgis']['data_store']['install_system_requirements']
= If set to true, the required third party libraries are installed on the machine before running ArcGIS Data Store setup. Default value istrue
.node['arcgis']['data_store']['configure_autostart']
= If set to true, on Linux the ArcGIS Data Store is configured to start with the operating system. Default value istrue
.node['arcgis']['data_store']['hostidentifier']
= Host name or IP address of ArcGIS Data Store machine. Default value is''
.node['arcgis']['data_store']['preferredidentifier']
= ArcGIS Data Store preferred identifier method <hostname|ip>. Default method used ishostname
.node['arcgis']['data_store']['types']
= Comma-separated list of ArcGIS Data Store types to be created, <relational|tileCache|spatiotemporal>. By default,tileCache,relational
is used.
node['arcgis']['web_server']['webapp_dir']
= Path to web server's web application directory (eg. /opt/tomcat/webapps). Default value is''
Configures authbind for Apache Tomcat user (for Debian Linux family).
Deletes local directories created by ArcGIS Server, Portal for ArcGIS, and ArcGIS Data Store.
Installs and configures ArcGIS Data Store on primary machine.
Installs and configures ArcGIS Data Store on standby machine.
Resets the function of the federated server in the Portal for ArcGIS.
Resets the function of the federated server in the Portal for ArcGIS.
Resets the function of the federated server in the Portal for ArcGIS.
Registers enterprise geodatabases with ArcGIS Server.
Registers ArcGIS Server with GeoAnalytics function to the Portal for ArcGIS.
Registers ArcGIS Server with ImageHosting function to the Portal for ArcGIS.
Registers ArcGIS Server with RasterAnalytics function to the Portal for ArcGIS.
Registers and federates ArcGIS Server with Portal for ArcGIS.
Creates and shares directories on file server machine.
Creates entries in /etc/hosts file for the specified hostname to IP address map.
Configures iptables to forward ports 80/443 to 8080/8443.
Installs ArcGIS Data Store on the machine.
Installs Portal for ArcGIS on the machine.
Installs ArcGIS Web Adaptor instance for Portal for ArcGIS.
Installs ArcGIS Server on the machine.
Installs ArcGIS Web Adaptor instance for ArcGIS Server.
Installs language packs for ArcGIS Server software.
Installs hot fixes and patches for ArcGIS Enterprise software.
Installs and configures Portal for ArcGIS.
Configures Portal for ArcGIS identity stores and assigns privileges to roles.
Installs and configures Portal for ArcGIS on standby machine
Installs ArcGIS Web Adaptor and configures it with Portal for ArcGIS. IIS or Java application server such as Tomcat must be installed and configured before installing ArcGIS Web Adaptor.
Executes custom post-installation script if it exists.
Installs and configures ArcGIS Server site.
Installs ArcGIS Server on the machine and joins an existing site.
Configures ArcGIS Server identity stores and assigns privileges to roles.
Installs ArcGIS Web Adaptor and configures it with ArcGIS Server. IIS or Java application server such as Tomcat must be installed and configured before installing ArcGIS Web Adaptor.
Publishes services to ArcGIS Server.
Stops server machine in the ArcGIS Server site.
Stops ArcGIS Server service on the machine.
Configures system requirements for ArcGIS Enterprise software by invoking ':system' actions for ArcGIS Server, ArcGIS Data Store, Portal for ArcGIS, and ArcGIS Web Adaptor resources, includes arcgis::hosts recipe.
Installs ArcGIS Server, Portal for ArcGIS, ArcGIS Data Store, and ArcGIS Web Adaptors for server and portal.
Uninstalls ArcGIS Server, Portal for ArcGIS, ArcGIS Data Store, and ArcGIS Web Adaptors for server and portal.
Unregisters server machine from the ArcGIS Server site.
Unregisters all unavailable server machines in 'default' cluster from the ArcGIS Server site.
Checks if ArcGIS Enterprise setups and authorization files exist.
See wiki pages for more information about using ArcGIS cookbooks.
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
Copyright 2019 Esri
Licensed under the Apache License, Version 2.0 (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's License.txt file.