-
Notifications
You must be signed in to change notification settings - Fork 119
Deploy a base ArcGIS Enterprise deployment on a single machine
This workflow demonstrates how to deploy base ArcGIS Enterprise 10.9 on a single machine using the arcgis-enterprise-base deployment template.
The workflow will:
- Install Portal for ArcGIS and authorize it. Create the Initial Administrative Account.
- Install Portal for ArcGIS Web Styles.
- Install and configure ArcGIS Web Adaptor for Portal for ArcGIS.
- Install ArcGIS Server, authorize it, create a site and enable HTTPS in Server Admin.
- Install/configure web server (IIS on Windows or Tomcat on Linux).
- Import the CA-issued certificate if it's defined, or generate a self-signed certificate for the web server.
- Install and configure ArcGIS Web Adaptor for ArcGIS Server.
- Install ArcGIS Data Store and register it as a relational and tile cache store with ArcGIS Server.
- Federate ArcGIS Server with Portal as the hosting server.
Supported Platforms:
- Windows
- Windows Server 2016 Standard and Datacenter
- Windows Server 2019 Standard and Datacenter
- Linux
- Ubuntu Server 18.04 LTS
- Ubuntu Server 20.04 LTS
- Red Hat Enterprise Linux Server 7
- Red Hat Enterprise Linux Server 8
- CentOS Linux 7
- CentOS Linux 8
Before setting up the deployment, you'll need to have obtained:
- ArcGIS Enterprise 10.9 setups from My Esri.
- ArcGIS Enterprise 10.9 authorization files. Make sure to use the correct authorization file for different products.
- A domain name for your web site
- SSL certificate in PKCS12 (a.k.a. pfx) format issued by certification authority for the domain (Note: If you don't define a CA-cert, this tool will generate and use a self-signed certificate for testing purposes. Self-signed certificates are not supported by Portal for ArcGIS.)
This workflow uses CINC Client. CINC is a "Free-as-in-Beer" distribution of the open source software of Chef Software Inc.
The deployment templates require ArcGIS setup archives to install ArcGIS applications. The setup archives must be located in a local or shared ArcGIS Software Repository directory specified by the arcgis.repository.archives attribute. Before running the setups, the setup archives are extracted into a local directory specified using the arcgis.repository.setups attribute.
-
Create directory
C:\Software\Archives
and copy the ArcGIS Enterprise 10.9 setup archives to that directory:- ArcGIS_DataStore_Windows_109_177788.exe
- ArcGIS_Server_Windows_109_177775.exe
- ArcGIS_Web_Adaptor_for_Microsoft_IIS_109_177789.exe
- Portal_for_ArcGIS_Windows_109_177786.exe
- Portal_for_ArcGIS_Web_Styles_Windows_109_177787.exe
-
Create directory
C:\Software\AuthorizationFiles\10.9
and copy the software authorization files for 10.9 ArcGIS Server and Portal for ArcGIS to that directory. -
Create directory
C:\Software\Certificates
and copy the SSL certificate to that directory. -
Install Cinc Client 15.
-
Change the current directory to
C:\cinc
. -
Download the arcgis-3.7.0-cookbooks.zip archive to the machine.
-
Extract the contents of the cookbook zip file to
C:\cinc
. The final folder structure should beC:\cinc\cookbooks
,C:\cinc\templates
, etc. -
Copy file
C:\cinc\templates\arcgis-enterprise-base\10.9\windows\arcgis-enterprise-primary.json
toC:\cinc
. -
Edit the
arcgis-enterprise-primary.json
file in a text editor.- arcgis.run_as_password - Change to the password of the 'arcgis' Windows user account.
- arcgis.server.private_url - Change to the ArcGIS Server URL that will be used as the hosting server's admin URL.
- arcgis.server.web_context_url - Change to the ArcGIS Server web context URL that will be used for the hosting server's services URL. If you are using a reverse proxy, set this property to reverse proxy URL.
- arcgis.server.admin_username - Change to the primary site administrator account user name.
- arcgis.server.admin_password - Change to the primary site administrator account password.
- arcgis.server.authorization_file - Change to the path to the ArcGIS Server software authorization file.
- arcgis.server.directories_root - Change to
C:\\arcgisserver
. - arcgis.server.config_store_connection_string - Change to
C:\\arcgisserver\\config-store
. - arcgis.server.system_properties.WebContextURL - Change to the ArcGIS Server web context URL that will be used for the hosting server's services URL. If you are using a reverse proxy, set this property to reverse proxy URL.
- arcgis.portal.admin_username - Change to the Portal for ArcGIS administrator account user name.
- arcgis.portal.admin_password - Change to the Portal for ArcGIS administrator account password.
- arcgis.portal.admin_email - Change to the Portal for ArcGIS administrator account's e-mail address.
- arcgis.portal.admin_full_name - Change to the full name associated with the Portal for ArcGIS administrator account.
- arcgis.portal.security_question - Change to the Portal for ArcGIS administrator account security question (See Create Site - ArcGIS REST API for the list of allowed security questions.)
- arcgis.portal.security_question_answer - Change to the answer to the Portal for ArcGIS administrator account security question.
- arcgis.portal.content_store_connection_string - Change to
C:\\arcgisportal\\content
. - arcgis.portal.authorization_file - Change to the path to the Portal for ArcGIS software authorization file.
- arcgis.portal.user_license_type_id - Specify the user type to assign to the Portal for ArcGIS administrator account. If left blank, a temporary user type will be assigned to the administrator and will have to be changed on the first log in. The allowed user type IDs are: creatorUT, GISProfessionalBasicUT, GISProfessionalStdUT, and GISProfessionalAdvUT.
- arcgis.portal.system_properties.privatePortalURL - Change to the Portal for ArcGIS URL that ArcGIS Server should use to communicate with the Enterprise portal.
- arcgis.portal.system_properties.WebContextURL - Change to the Portal for ArcGIS web context URL. If you are using a reverse proxy, set this property to reverse proxy URL.
- arcgis.iis.keystore_file - Change to the path to the SSL certificate file that will be used to configure the HTTPS listener in the IIS web server.
- arcgis.iis.keystore_password - Change to the password for the SSL certificate file
-
Start a command prompt window as administrator and run:
chef-client -z -j arcgis-enterprise-primary.json
Your machine needs to allow running sudo to execute commands without a password. On some Linux distributions, sudo is configured to require a tty as a default configuration. This is usually set in
/etc/sudoers
with the entry ofDefaults requiretty
. You can either change the entry toDefaults !requiretty
in the/etc/sudoers
file or change this configuration for certain users, groups, or commands. RedHat will remove this default setting, as mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1020147.
-
Create directory
/opt/software/archives
and copy the following ArcGIS Enterprise 10.9 setup archives to that directory:- ArcGIS_DataStore_Linux_109_177887.tar.gz
- ArcGIS_Server_Linux_109_177864.tar.gz
- ArcGIS_Web_Adaptor_Java_Linux_109_177888.tar.gz
- Portal_for_ArcGIS_Linux_109_177885.tar.gz
- Portal_for_ArcGIS_Web_Styles_Linux_109_177886.tar.gz
- apache-tomcat-8.5.63.tar.gz (will be downloaded from the internet if not present in the local ArcGIS software repository)
- openjdk-11_linux-x64_bin.tar.gz (will be downloaded from the internet if not present in the local ArcGIS software repository)
-
Create directory
/opt/software/authorization_files/10.9
and copy the software authorization files for 10.9 ArcGIS Server and Portal for ArcGIS to that directory. -
Create directory
/tomcat_arcgis
and copy the SSL certificate to that location. -
Install Cinc Client 15.
-
Change the current directory to
/opt/cinc
. -
Download the arcgis-3.7.0-cookbooks.tar.gz archive to the machine.
-
Extract the contents of the cookbook tar file to
/opt/cinc
. The final folder structure should be/opt/cinc/cookbooks
,/opt/cinc/templates
, etc. -
Copy the file
/opt/cinc/templates/arcgis-enterprise-base/10.9/linux/arcgis-enterprise-primary.json
to/opt/cinc
. -
Edit the
arcgis-enterprise-primary.json
file in a text editor.- arcgis.server.private_url - Change to the ArcGIS Server URL that will be used as the federated server admin URL.
- arcgis.server.web_context_url - Change to the ArcGIS Server web context URL that will be used for the federated server services URL. If you are using a reverse proxy, set this property to reverse proxy URL.
- arcgis.server.admin_username - Change to the primary site administrator account user name.
- arcgis.server.admin_password - Change to the primary site administrator account password.
- arcgis.server.authorization_file - Change to the path to the ArcGIS Server role software authorization file.
- arcgis.server.directories_root - Change to
/gisdata/arcgisserver
. - arcgis.server.config_store_connection_string - Change to
/gisdata/arcgisserver/config-store
. - arcgis.server.system_properties.WebContextURL - Change to the ArcGIS Server web context URL that will be used for the federated server services URL. If you are using a reverse proxy, set this property to reverse proxy URL.
- arcgis.portal.admin_username - Change to the Portal for ArcGIS administrator account user name.
- arcgis.portal.admin_password - Change to the Portal for ArcGIS administrator account password.
- arcgis.portal.admin_email - Change to the Portal for ArcGIS administrator account e-mail address.
- arcgis.portal.admin_full_name - Change to the full name associated with the Portal for ArcGIS administrator account.
- arcgis.portal.security_question - Change to the Portal for ArcGIS administrator account security question. (See Create Site - ArcGIS REST API for the list of allowed security questions.)
- arcgis.portal.security_question_answer - Change to the answer to the Portal for ArcGIS administrator account security question.
- arcgis.portal.content_store_connection_string - Change to
/gisdata/arcgisportal/content
. - arcgis.portal.authorization_file - Change to the path to the Portal for ArcGIS software authorization file.
- arcgis.portal.user_license_type_id - Specify the user type to assign to the Portal for ArcGIS administrator account. If left blank, a temporary user type will be assigned to the administrator and will have to be changed on the first log in. The allowed user type IDs are: creatorUT, GISProfessionalBasicUT, GISProfessionalStdUT, and GISProfessionalAdvUT.
- arcgis.portal.system_properties.privatePortalURL - Change to the Portal for ArcGIS URL that ArcGIS Server should use to communicate with the Enterprise portal.
- arcgis.portal.system_properties.WebContextURL - Change to the Portal for ArcGIS web context URL. If you are using a reverse proxy, set this property to reverse proxy URL.
- tomcat.keystore_file - Change to the path to the SSL certificate file in PKCS12 format that will be used to configure the HTTPS listener in Apache Tomcat.
- tomcat.keystore_password - Change to the password of the SSL certificate file.
-
As a super user, run the following command:
chef-client -z -j arcgis-enterprise-primary.json
After the chef-client run is completed, Portal for ArcGIS and ArcGIS Server will be available at https://<domain name>/portal
and https://<domain name>/server
URLs respectively.
See ArcGIS Enterprise Chef Deployment Templates for more information about deployment templates.