### Install Docker Engine Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-notebooks/README.md Installs and starts the Docker engine. This recipe is only supported on Linux platforms. ```JSON { "run_list": [ "recipe[arcgis-notebooks::docker]" ] } ``` -------------------------------- ### Install ArcGIS Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md Installs ArcGIS Server, including system requirements and autostart configuration. Specify setup path, installation directory, and Python installation directory. ```json { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "run_as_password": "", "server": { "setup": "C:\\Users\\Administrator\\Documents\\ArcGIS 12.0\\ArcGISServer\\Setup.exe", "install_dir": "C:\\Program Files\\ArcGIS\\Server", "install_system_requirements": true, "configure_autostart": true }, "python": { "install_dir": "C:\\Python27" } }, "run_list": [ "recipe[arcgis-enterprise::install_server]" ] } ``` -------------------------------- ### Install and Configure ArcGIS Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md This JSON configures the initial setup of an ArcGIS Server site. It specifies installation paths, authorization details, and administrative credentials. Use this for the primary server installation. ```JSON { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "run_as_password": "", "cache_authorization_files": false, "configure_windows_firewall": false, "server": { "setup": "C:\\ArcGIS\\10.5\\Setups\\Server\\Setup.exe", "install_dir": "C:\\Program Files\\ArcGIS\\Server", "authorization_file": "C:\\ArcGIS\\12.0\\Authorization_Files\\Server.prvc", "authorization_file_version": "12.0", "install_system_requirements": true, "configure_autostart": true, "directories_root": "C:\\arcgisserver", "url": "https://sitehost.com:6443/arcgis", "admin_username": "admin", "admin_password": "", "system_properties": {}, "services_dir_enabled": true, "log_level": "WARNING", "log_dir": "C:\\arcgisserver\\logs", "max_log_file_age": 90, "config_store_type": "FILESYSTEM", "config_store_connection_string": "C:\\arcgisserver\\config-store", "config_store_connection_secret": "", "keystore_file": "C:\\domain_com.pfx", "keystore_password": "test", "cert_alias": "domain.com", "soc_max_heap_size" : 64 }, "python": { "install_dir": "C:\\Python27" } }, "run_list": [ "recipe[arcgis-enterprise::server]" ] } ``` -------------------------------- ### Install ArcGIS Pro Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-pro/README.md Installs ArcGIS Pro using specified version, setup path, and installation context (per-machine or per-user). ```JSON { "arcgis": { "pro": { "version": "3.7", "setup": "C:\\ArcGIS\\ArcGIS Pro 3.7\\ArcGISPro\\ArcGISPro.msi", "allusers": 1 } }, "run_list": [ "recipe[arcgis-pro::install_pro]" ] } ``` -------------------------------- ### Start Portal for ArcGIS Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md Starts the Portal for ArcGIS service. Requires the installation directory to be specified. ```JSON { "arcgis": { "portal": { "install_dir": "C:\\Program Files\\ArcGIS\\Portal" } }, "run_list": [ "recipe[arcgis-enterprise::start_portal]" ] } ``` -------------------------------- ### Install Portal for ArcGIS Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md Installs Portal for ArcGIS, including system requirements and autostart configuration. Specify setup path, installation directory, and data directory. ```json { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "run_as_password": "", "portal": { "setup": "C:\\Users\\Administrator\\Documents\\ArcGIS 12.0\\PortalForArcGIS\\Setup.exe", "install_dir": "C:\\Program Files\\ArcGIS\\Portal", "install_system_requirements": true, "configure_autostart": true, "data_dir": "C:\\arcgisportal" } }, "run_list": [ "recipe[arcgis-enterprise::install_portal]" ] } ``` -------------------------------- ### Install ArcGIS Server and Join Site Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md This JSON installs ArcGIS Server on a new machine and joins it to an existing site. It includes setup paths, authorization details, and the primary server URL for joining. Use this for scaling out your ArcGIS Server deployment. ```JSON { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "run_as_password": "", "cache_authorization_files": false, "configure_windows_firewall": false, "server": { "setup": "C:\\ArcGIS\\12.0\\Setups\\Server\\Setup.exe", "install_dir": "C:\\Program Files\\ArcGIS\\Server", "authorization_file": "C:\\ArcGIS\\12.0\\Authorization_Files\\Server.prvc", "authorization_file_version": "12.0", "install_system_requirements": true, "configure_autostart": true, "directories_root": "C:\\arcgisserver", "log_dir": "C:\\arcgisserver\\logs", "url": "https://node.com:6443/arcgis", "primary_server_url": "https://sitehost.com:6443/arcgis", "use_join_site_tool": false, "admin_username": "admin", "admin_password": "", "keystore_file": "C:\\domain_com.pfx", "keystore_password": "test", "cert_alias": "domain.com", "soc_max_heap_size" : 64 }, "python": { "install_dir": "C:\\Python27" } }, "run_list": [ "recipe[arcgis-enterprise::server_node]" ] } ``` -------------------------------- ### Install ArcGIS Notebook Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-notebooks/README.md Configures and installs ArcGIS Notebook Server. Requires specifying paths to setup and image archives, authorization file, and administrative credentials. ```JSON { "arcgis": { "version": "12.1", "run_as_user": "arcgis", "notebook_server": { "setup_archive": "/opt/software/esri/ArcGIS_Notebook_Server_Linux_121_200216.tar.gz", "standard_images": "/opt/software/esri/ArcGIS_Notebook_Docker_Standard_121_200175.tar.gz", "advanced_images": "/opt/software/esri/ArcGIS_Notebook_Docker_Advanced_121_200176.tar.gz", "authorization_file": "/opt/software/esri/notebooksadvsvr_121.prvc", "license_level": "advanced", "admin_username": "siteadmin", "admin_password": "", "install_dir": "/home/arcgis", "directories_root": "/home/arcgis/notebookserver/usr/directories", "config_store_connection_string": "/home/arcgis/notebookserver/usr/config-store", "config_store_type": "FILESYSTEM", "workspace": "/home/arcgis/notebookserver/usr/arcgisworkspace", "configure_autostart": true, "install_system_requirements": true, "log_dir": "/home/arcgis/notebookserver/usr/logs", "log_level": "WARNING", "max_log_file_age": "90", "system_properties": {}, "install_samples_data": false } }, "run_list": [ "recipe[arcgis-notebooks::server]" ] } ``` -------------------------------- ### Install Microsoft .NET Framework for ArcGIS Pro Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-pro/README.md Configures the installation of Microsoft .NET Framework. Requires specifying the version and the setup executable path. May require a machine reboot. ```JSON { "ms_dotnet": { "version": "10.0.2", "setup": "C:\\Software\\Archives\\windowsdesktop-runtime-10.0.2-win-x64.exe" }, "run_list": [ "recipe[arcgis-pro::ms_dotnet]" ] } ``` -------------------------------- ### Install AWS CLI Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-repository/README.md Downloads and installs AWS CLI using provided URLs. Configures installation directories. ```json { "arcgis": { "repository": { "aws_cli": { "msi_url": "https://awscli.amazonaws.com/AWSCLIV2.msi", "zip_url": "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip", "bin_dir": "/usr/local/bin", "install_dir": "/usr/local/aws-cli" } } }, "run_list": [ "recipe[arcgis-repository::aws_cli]" ] } ``` -------------------------------- ### Install ArcGIS Video Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-video/README.md Installs ArcGIS Video Server. Specify the version, user, and paths for the setup archive, authorization file, installation directory, and configuration store. ```JSON { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "video_server": { "setup_archive": "/opt/software/esri/ArcGIS_Video_Server_Linux_120_197846.tar.gz", "authorization_file": "/opt/software/esri/videoserver.prvc", "install_dir": "/home/arcgis", "server_directories_root": "/home/arcgis/video/usr/directories", "config_store_connection_string": "/home/arcgis/video/usr/directories/config-store", "configure_autostart": true, "install_system_requirements": true } }, "run_list": [ "recipe[arcgis-video::install_server]" ] } ``` -------------------------------- ### Install Apache Tomcat Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/esri-tomcat/README.md Installs the Apache Tomcat application server. Specifies version, instance name, user, group, and installation path. ```JSON { "tomcat": { "version" : "10.1.41", "instance_name" : "arcgis", "user": "tomcat_arcgis", "group": "tomcat_arcgis", "install_path" : "/opt/tomcat_arcgis_10.1.41", "tarball_path": "/opt/software/archives/apache-tomcat-10.1.41.tar.gz", "verify_checksum": true }, "run_list" : [ "recipe[esri-tomcat::install]" ] } ``` -------------------------------- ### Install Microsoft Edge WebView2 for ArcGIS Pro Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-pro/README.md Configures the installation of Microsoft Edge WebView2. Requires specifying the setup executable path. ```JSON { "webview2": { "setup": "C:\\Software\\Archives\\MicrosoftEdgeWebview2Setup.exe" }, "run_list": [ "recipe[arcgis-pro::webview2]" ] } ``` -------------------------------- ### Install ArcGIS Web Adaptor for Video Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-video/README.md Installs the ArcGIS Web Adaptor for ArcGIS Video Server. Configure the web server directory, installation directory, and setup archive path. ```JSON { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "web_server": { "webapp_dir": "/opt/tomcat_arcgis/webapps" }, "web_adaptor": { "install_dir": "/", "setup_archive": "/opt/software/esri/ArcGIS_Web_Adaptor_Java_Linux_120_197824.tar.gz" }, "video_server": { "wa_name": "video" } }, "run_list": [ "recipe[arcgis-video::install_server_wa]" ] } ``` -------------------------------- ### Install Chef Workstation on Ubuntu Source: https://github.com/esri/arcgis-cookbook/wiki/Automate-a-multi-machine-ArcGIS-Enterprise-deployment-on-Linux-using-Chef-Server Download and install the Chef Workstation package on an Ubuntu machine. This is a prerequisite for setting up the Chef workstation. ```bash wget https://packages.chef.io/files/stable/chef-workstation/21.2.278/ubuntu/20.04/chef-workstation_21.2.278-1_amd64.deb ``` ```bash dpkg -i chef-workstation_21.2.278-1_amd64.deb ``` -------------------------------- ### Install ArcGIS Data Store Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md Installs ArcGIS Data Store on the machine, including system requirements and autostart configuration. Specify setup path and installation directories. ```json { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "run_as_password": "", "data_store": { "setup": "C:\\Users\\Administrator\\Documents\\ArcGIS 12.0\\ArcGISDataStore\\Setup.exe", "install_dir": "C:\\Program Files\\ArcGIS\\DataStore", "data_dir": "C:\\arcgisdatastore", "backup_dir": "C:\\arcgisdatastore\\backup", "install_system_requirements": true, "configure_autostart": true } }, "run_list": [ "recipe[arcgis-enterprise::install_datastore]" ] } ``` -------------------------------- ### Install ArcGIS Server Web Adaptor Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md Installs an ArcGIS Web Adaptor instance for ArcGIS Server. This recipe requires specific attributes for version, setup path, and the web adaptor name. ```JSON { "arcgis": { "version": "12.0", "web_adaptor": { "setup": "C:\\Users\\Administrator\\Documents\\ArcGIS 12.0\\WebAdaptorIIS\\Setup.exe", "install_dir": "" }, "server": { "wa_name": "server" } }, "run_list": [ "recipe[arcgis-enterprise::install_server_wa]" ] } ``` -------------------------------- ### Install Tomcat with HTTPS Listener Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/esri-tomcat/README.md Installs Apache Tomcat and configures the HTTPS listener. Enables port forwarding if specified. ```JSON { "tomcat": { "version" : "10.1.41", "instance_name" : "arcgis", "user": "tomcat_arcgis", "group": "tomcat_arcgis", "install_path" : "/opt/tomcat_arcgis_10.1.41", "keystore_type" : "PKCS12", "keystore_file" : "/tomcat_arcgis/conf/resources/sslcerts/sslcert.pfx", "keystore_password": "", "domain_name": "domain.com", "ssl_enabled_protocols" : "TLSv1.2", "tarball_path": "/opt/software/archives/apache-tomcat-10.1.41.tar.gz", "verify_checksum": true, "forward_ports": true }, "run_list" : [ "recipe[esri-tomcat]" ] } ``` -------------------------------- ### Install ArcGIS Notebook Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-notebooks/README.md Installs ArcGIS Notebook Server. Specify the version, user, and paths to installation archives and authorization files. Configure autostart and system requirements as needed. ```JSON { "arcgis": { "version": "12.1", "run_as_user": "arcgis", "notebook_server": { "setup_archive": "/opt/software/esri/ArcGIS_Notebook_Server_Linux_121_200216.tar.gz", "standard_images": "/opt/software/esri/ArcGIS_Notebook_Docker_Standard_121_200175.tar.gz", "advanced_images": "/opt/software/esri/ArcGIS_Notebook_Docker_Advanced_121_200176.tar.gz", "authorization_file": "/opt/software/esri/notebooksadvsvr_121.prvc", "license_level": "advanced", "install_dir": "/home/arcgis", "server_directories_root": "/home/arcgis/notebookserver/usr/directories", "config_store_connection_string": "/home/arcgis/notebookserver/usr/directories/config-store", "workspace": "/home/arcgis/notebookserver/usr/directories/config-store", "configure_autostart": true, "install_system_requirements": true } }, "run_list": [ "recipe[arcgis-notebooks::install_server]" ] } ``` -------------------------------- ### Install Azure CLI Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-repository/README.md Installs Azure CLI on the machine. Requires the 'arcgis-repository::azure_cli' recipe to be run. ```json { "run_list": [ "recipe[arcgis-repository::azure_cli]" ] } ``` -------------------------------- ### Install ArcGIS Web Adaptor for Portal Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md Installs an ArcGIS Web Adaptor instance for Portal for ArcGIS on Windows. Requires specifying the setup path and portal's web adaptor name. ```json { "arcgis": { "version": "12.0", "web_adaptor": { "setup": "C:\\Users\\Administrator\\Documents\\ArcGIS 12.0\\WebAdaptorIIS\\Setup.exe", "install_dir": "", "install_system_requirements": true }, "portal": { "wa_name": "portal" } }, "run_list": [ "recipe[arcgis-enterprise::install_portal_wa]" ] } ``` -------------------------------- ### Install ArcGIS Web Adaptor for Video Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-video/README.md Configures and installs the ArcGIS Web Adaptor for ArcGIS Video Server. Ensure the web server application directory and setup archive path are correctly specified. ```json { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "web_server": { "webapp_dir": "/opt/tomcat_arcgis/webapps" }, "web_adaptor": { "install_dir": "/", "setup_archive": "/opt/software/esri/ArcGIS_Web_Adaptor_Java_Linux_120_197824.tar.gz" }, "video_server": { "url": "https://hostname:21443", "wa_name": "video", "wa_url": "https://hostname/video", "admin_username": "siteadmin", "admin_password": "" } }, "run_list": [ "recipe[arcgis-video::server_wa]" ] } ``` -------------------------------- ### Install and Configure Portal for ArcGIS Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md Installs, authorizes, and configures Portal for ArcGIS. This recipe requires extensive attributes including version, installation paths, authorization details, and administrative credentials. ```JSON { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "run_as_password": "", "cache_authorization_files": false, "configure_windows_firewall": false, "portal": { "domain_name": "portal.domain.com", "setup": "C:\\ArcGIS\\12.0\\Setups\\Portal\\Setup.exe", "install_dir": "C:\\Program Files\\ArcGIS\\Portal", "authorization_file": "C:\\ArcGIS\\12.0\\Authorization_Files\\portal.json", "user_license_type_id" : "creatorUT", "authorization_file_version": "12.0", "install_system_requirements": true, "configure_autostart": true, "data_dir": "C:\\arcgisportal", "content_dir":"C:\\arcgisportal\\content", "log_dir":"C:\\arcgisportal\\logs", "log_level": "WARNING", "max_log_file_age": 90, "content_store_type": "fileStore", "content_store_provider": "FileSystem", "content_store_connection_string": "C:\\arcgisportal\\content", "object_store": null, "url": "https://localhost:7443/arcgis", "admin_username": "", "admin_password": "", "admin_email":"admin@domain.com", "admin_full_name": "Administrator", "admin_description": "Initial account administrator", "security_question_index": 1, "security_question_answer": "Gotham", "keystore_file": "C:\\certificates\\domain_com.pfx", "keystore_password": "test", "cert_alias": "portal.domain.com", "root_cert": "", "root_cert_alias": "", "upgrade_backup": true, "upgrade_rollback": true, "system_properties": { }, "email_settings": { "smtpServer" : "smtp.domain.com", "smtpPort": 25, "username": "", "password": "", "fromEmailAddress": "admin@domain.com", "fromEmailAddressLabel": "Administrator", "authRequired" : false, "encryptionMethod": "SSL" } } }, "run_list": [ "recipe[arcgis-enterprise::portal]" ] } ``` -------------------------------- ### Install ArcGIS Web Adaptor for Notebook Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-notebooks/README.md Installs ArcGIS Web Adaptor for ArcGIS Notebook Server. Specify the version, user, and paths to installation archives. Configure the web server and web adaptor details. ```JSON { "arcgis": { "version": "12.1", "run_as_user": "arcgis", "web_server": { "webapp_dir": "/opt/tomcat_arcgis/webapps" }, "web_adaptor": { "install_dir": "/", "setup_archive": "/opt/software/esri/ArcGIS_Web_Adaptor_Java_Linux_121_200209.tar.gz" }, "notebook_server": { "wa_name": "notebooks" } }, "run_list": [ "recipe[arcgis-notebooks::install_server_wa]" ] } ``` -------------------------------- ### Install ArcGIS License Manager Source: https://github.com/esri/arcgis-cookbook/blob/main/templates/arcgis-license-manager/2021.1/README.md Run the Chef client with the arcgis-license-manager-install.json file to install ArcGIS License Manager. ```shell chef-client -z -j arcgis-license-manager-install.json ``` -------------------------------- ### Execute Custom Post-Installation Script Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md Specifies a custom script to be executed after the main installation process. This is useful for running additional deployment or configuration tasks. ```JSON { "arcgis": { "post_install_script": "C:\\imageryscripts\\deploy.bat" } } ``` -------------------------------- ### Deploy First ArcGIS Notebook Server Machine Source: https://github.com/esri/arcgis-cookbook/blob/main/templates/arcgis-notebook-server/10.9.1/README.md Execute this command to deploy the initial ArcGIS Notebook Server machine. This sets up the primary server instance. ```shell chef-client -z -j notebook-server.json ``` -------------------------------- ### Install ArcGIS License Manager Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-license-manager/README.md Configure attributes for installing ArcGIS License Manager. This includes specifying archive and setup locations, version, and installation directory. ```JSON { "arcgis": { "repository": { "archives": "C:\\Software\\Esri", "setups": "C:\\Software\\Setups" }, "licensemanager": { "version": "2025.1", "setup": "C:\\Software\\Setups\\License Manager 2025.1\\LicenseManager\\Setup.exe", "install_dir": "C:\\Program Files (x86)\\ArcGIS" } }, "run_list":[ "recipe[arcgis-license-manager::licensemanager]" ] } ``` -------------------------------- ### Default Installation and Configuration for GeoEvent Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-geoevent/README.md Installs and configures ArcGIS GeoEvent Server with specified version, user, and installation paths. Includes paths for setup executable and authorization file. ```json { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "run_as_password": "", "server": { "install_dir": "C:\\Program Files\\ArcGIS", }, "geoevent": { "setup": "C:\\ArcGIS\\12.0\\GeoEvent\\Setup.exe", "authorization_file": "C:\\ArcGIS\\12.0\\Authorization_Files\\GeoEvent.prvc", "authorization_file_version": "12.0" } }, "run_list": [ "recipe[arcgis-geoevent]" ] } ``` -------------------------------- ### Install ArcGIS WebStyles Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md This JSON configuration is used to install ArcGIS WebStyles for a specified version. It includes the path to the WebStyles setup executable. ```JSON { "arcgis": { "version":"12.0", "webstyles": { "setup":"C:\\ArcGIS\\12.0\\Setups\\ArcGISWebStyles\\Setup.exe" } }, "run_list": [ "recipe[arcgis-enterprise::webstyles]" ] } ``` -------------------------------- ### Deploy Spatiotemporal Big Data Store (First Machine) Source: https://github.com/esri/arcgis-cookbook/blob/main/templates/arcgis-datastore/10.9.1/README.md Use this command on the first machine to deploy the spatiotemporal big data store. ```shell chef-client -z -j arcgis-datastore-spatiotemporal.json ``` -------------------------------- ### Install Workflow Manager Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-workflow-manager/README.md Installs ArcGIS Workflow Manager Server. Specify the setup archive path, installation directory, and desired ports. Ensure the run_as_user and run_as_password are set for the service account. ```JSON { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "run_as_password": "", "configure_windows_firewall": true, "repository": { "setups": "C:\\Software\\Setups" }, "server": { "install_dir": "C:\\Program Files\\ArcGIS\\Server", "install_system_requirements": true }, "workflow_manager_server": { "setup": "C:\\Software\\Setups\\ArcGIS12.0\\WorkflowManagerServer\\Setup.exe", "ports": "9830,9820,9840,9880,13443" } }, "run_list": [ "recipe[arcgis-workflow-manager::install_server]" ] } ``` -------------------------------- ### Deploy File Server Machine with Chef Source: https://github.com/esri/arcgis-cookbook/blob/main/templates/arcgis-video-server/11.3/README.md Use this command to deploy the file server machine role using Chef Zero. Ensure the video-server-fileserver.json file is correctly configured. ```shell chef-client -z -j video-server-fileserver.json ``` -------------------------------- ### Install Language Pack for ArcGIS GeoEvent Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-geoevent/README.md Installs a language pack for ArcGIS GeoEvent Server, specifying the setup executable for the language pack. ```json { "arcgis": { "version": "12.0", "geoevent": { "lp-setup": "C:\\ArcGIS\\12.0\\GeoEvent\\Japanese\\Setup.exe" } }, "run_list":[ "recipe[arcgis-geoevent::lp-install]" ] } ``` -------------------------------- ### Upload Environment to Chef Server Source: https://github.com/esri/arcgis-cookbook/wiki/Automate-a-multi-machine-ArcGIS-Enterprise-deployment-on-Linux-using-Chef-Server Uploads the 'demo' environment configuration to the Chef server from a local JSON file. ```bash knife environment from file environments/demo.json ``` -------------------------------- ### Install ArcGIS Mission Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-mission/README.md Installs ArcGIS Mission Server with specified version and configuration. Ensure setup archive and authorization file paths are correct. ```json { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "mission_server": { "setup_archive": "/opt/software/esri/ArcGIS_Mission_Server_Linux_120_197844.tar.gz", "authorization_file": "/opt/software/esri/missionserver.prvc", "install_dir": "/home/arcgis", "server_directories_root": "/home/arcgis/mission/usr/directories", "config_store_connection_string": "/home/arcgis/mission/usr/directories/config-store", "configure_autostart": true, "install_system_requirements": true } }, "run_list": [ "recipe[arcgis-mission::install_server]" ] } ``` -------------------------------- ### Deploy First ArcGIS Video Server Machine with Chef Source: https://github.com/esri/arcgis-cookbook/blob/main/templates/arcgis-video-server/11.3/README.md Initiates the deployment of the first ArcGIS Video Server machine. This command utilizes Chef Zero and requires the video-server.json configuration file. ```shell chef-client -z -j video-server.json ``` -------------------------------- ### Deploy File Server Machine Source: https://github.com/esri/arcgis-cookbook/blob/main/templates/arcgis-geoevent-server/10.9.1/README.md Run the Chef client to deploy the file server machine role. Ensure the correct JSON file is specified. ```shell chef-client -z -j geoevent-server-fileserver.json ``` -------------------------------- ### Install ArcGIS Web Adaptor for Portal (Windows) Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md Installs ArcGIS Web Adaptor for Portal for ArcGIS on a Windows machine. Requires IIS to be installed and configured beforehand. Specifies setup paths and portal connection details. ```JSON { "arcgis": { "version": "12.0", "web_adaptor": { "setup": "C:\\ArcGIS\\12.0\\Setups\\WebAdaptorIIS\\Setup.exe", "install_dir": "", "install_system_requirements": true }, "portal": { "wa_name": "portal", "wa_url": "https://primary.com/portal", "url": "https://primary.com:7443/arcgis", "admin_username": "admin", "admin_password": "" } }, "run_list": [ "recipe[arcgis-enterprise::portal_wa]" ] } ``` -------------------------------- ### Install ArcGIS Enterprise Components Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md This snippet installs ArcGIS Server, Portal for ArcGIS, ArcGIS Data Store, and ArcGIS Web Adaptors. It requires the version, run-as user credentials, and paths to setup executables and installation directories. ```JSON { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "run_as_password": "", "server": { "setup": "C:\\ArcGIS\\12.0\\Setups\\Server\\Setup.exe", "install_dir": "C:\\Program Files\\ArcGIS\\Server", "wa_name": "server" }, "portal": { "setup": "C:\\ArcGIS\\12.0\\Setups\\Portal\\Setup.exe", "install_dir": "C:\\Program Files\\ArcGIS\\Portal", "wa_name": "portal" }, "data_store": { "setup": "C:\\ArcGIS\\12.0\\Setups\\DataStore\\Setup.exe", "install_dir": "C:\\Program Files\\ArcGIS\\DataStore" }, "web_adaptor": { "setup": "C:\\ArcGIS\\12.0\\Setups\\WebAdaptorIIS\\Setup.exe", "install_dir": "" }, "python": { "install_dir": "C:\\Python27" } }, "run_list": [ "recipe[arcgis-enterprise::enterprise_installed]" ] } ``` -------------------------------- ### Install ArcGIS Web Adaptor for Mission Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-mission/README.md Installs the ArcGIS Web Adaptor for ArcGIS Mission Server. Specify the web server directory and setup archive location. ```json { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "web_server": { "webapp_dir": "/opt/tomcat_arcgis/webapps" }, "web_adaptor": { "install_dir": "/", "setup_archive": "/opt/software/esri/ArcGIS_Web_Adaptor_Java_Linux_120_197824.tar.gz" }, "mission_server": { "wa_name": "mission" } }, "run_list": [ "recipe[arcgis-mission::install_server_wa]" ] } ``` -------------------------------- ### Install ArcGIS Web Adaptor for Portal (Linux) Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md Installs ArcGIS Web Adaptor for Portal for ArcGIS on a Linux machine. Requires a Java application server (e.g., Tomcat) to be installed and configured. Specifies setup paths and portal connection details. ```JSON { "arcgis": { "version": "12.0", "web_server": { "webapp_dir": "/opt/tomcat_arcgis/webapps" }, "web_adaptor":{ "setup": "/arcgis/12.0/WebAdaptor/CD_Linux/Setup", "install_dir": "/", "install_system_requirements": true }, "portal": { "wa_name": "portal", "wa_url": "https://primary.com/portal", "url": "https://primary.com:7443/arcgis", "admin_username": "admin", "admin_password": "" } }, "run_list": [ "recipe[arcgis-enterprise::portal_wa]" ] } ``` -------------------------------- ### Bootstrap File Server Node Source: https://github.com/esri/arcgis-cookbook/wiki/Automate-a-multi-machine-ArcGIS-Enterprise-deployment-on-Windows-using-Chef-Server Use this command to bootstrap a new node for the file server role. Ensure you replace placeholders with your specific deployment details. ```bash knife bootstrap -o winrm HOSTNAME4 -U 'username' -P 'password' --node-name fileserver --bootstrap-version '15.14.0' --secret-file "C:/chef-repo/.chef/your-chef-server-encryption-key-file.pem" --chef-license accept ``` -------------------------------- ### Deploy Graph Store Machine Source: https://github.com/esri/arcgis-cookbook/blob/main/templates/arcgis-datastore/11.1/README.md Run the Chef client to deploy the graph store machine role. ```shell chef-client -z -j arcgis-datastore-graph.json ``` -------------------------------- ### Install ArcGIS Enterprise Language Packs Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md Installs language packs for ArcGIS Enterprise software, including Server, Portal, Data Store, and Web Adaptor. Specify the MSI setup paths for each component. ```JSON { "arcgis": { "version": "12.0", "server": { "lp-setup": "C:\\ArcGIS\\12.0\\Setups\\Server\\Japanese\\setup.msi" }, "portal": { "lp-setup": "C:\\ArcGIS\\12.0\\Setups\\Portal\\Japanese\\setup.msi" }, "data_store": { "lp-setup": "C:\\ArcGIS\\12.0\\Setups\\DataStore\\Japanese\\setup.msi" }, "web_adaptor": { "lp-setup": "C:\\ArcGIS\\12.0\\Setups\\WebAdaptorIIS\\Japanese\\setup.msi" } }, "run_list": [ "recipe[arcgis-enterprise::lp-install]" ] } ``` -------------------------------- ### Install ArcGIS Web Adaptor for Mission Server Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-mission/README.md Installs and configures ArcGIS Web Adaptor for ArcGIS Mission Server. Ensure the setup archive path and web application directory are correctly specified. ```JSON { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "web_server": { "webapp_dir": "/opt/tomcat_arcgis/webapps" }, "web_adaptor": { "install_dir": "/", "setup_archive": "/opt/software/esri/ArcGIS_Web_Adaptor_Java_Linux_120_197844.tar.gz" }, "mission_server": { "url": "https://hostname:20443", "wa_name": "mission", "wa_url": "https://hostname/mission", "admin_username": "siteadmin", "admin_password": "" } }, "run_list": [ "recipe[arcgis-mission::server_wa]" ] } ``` -------------------------------- ### Run chef-client for Relational Primary Upgrade Source: https://github.com/esri/arcgis-cookbook/blob/main/templates/arcgis-datastore/11.2/README.md Execute the `chef-client` command to upgrade the primary machine of a relational data store using the prepared 11.2 primary JSON configuration file. ```shell chef-client -z -j /arcgis-datastore-relational-primary.json ``` -------------------------------- ### Set File Server Environment Source: https://github.com/esri/arcgis-cookbook/wiki/Automate-a-multi-machine-ArcGIS-Enterprise-deployment-on-Linux-using-Chef-Server Sets the 'demo' environment for the file server node. Environments help manage configuration variations. ```bash knife node environment set fileserver demo ``` -------------------------------- ### Single-Machine Deployment: File Server Source: https://github.com/esri/arcgis-cookbook/blob/main/templates/arcgis-portal/11.3/README.md Run the Chef client to configure the file server role for a single-machine deployment. ```shell chef-client -z -j arcgis-portal-fileserver.json ``` -------------------------------- ### Install OpenJDK for Tomcat Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/esri-tomcat/README.md Installs OpenJDK for Apache Tomcat from a local or remote tarball. Specifies Java version, tarball URIs, and installation path. ```JSON { "java": { "version": "17.0.15+6", "tarball_uri": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.15%2B6/OpenJDK17U-jdk_x64_linux_hotspot_17.0.15_6.tar.gz", "tarball_path": "/opt/software/archives/OpenJDK17U-jdk_x64_linux_hotspot_17.0.15_6.tar.gz", "install_path": "/opt" }, "run_list": [ "recipe[esri-tomcat::openjdk]" ] } ``` -------------------------------- ### Install and Configure Standby Portal for ArcGIS Source: https://github.com/esri/arcgis-cookbook/blob/main/cookbooks/arcgis-enterprise/README.md Installs and configures a standby Portal for ArcGIS machine. This includes specifying installation paths, authorization files, and connection details for the primary machine. ```JSON { "arcgis": { "version": "12.0", "run_as_user": "arcgis", "run_as_password": "", "cache_authorization_files": false, "configure_windows_firewall": false, "portal": { "setup": "C:\\ArcGIS\\12.0\\Setups\\Portal\\Setup.exe", "install_dir": "C:\\Program Files\\ArcGIS\\Portal", "authorization_file": "C:\\ArcGIS\\12.0\\Authorization_Files\\Portal.prvc", "authorization_file_version": "12.0", "install_system_requirements": true, "configure_autostart": true, "data_dir": "C:\\arcgisportal", "content_dir":"C:\\arcgisportal\\content", "url": "https://standby.com:7443/arcgis", "primary_machine_url": "https://primary.com:7443/arcgis", "admin_username": "admin", "admin_password": "", "upgrade_backup": true, "upgrade_rollback": true } }, "run_list": [ "recipe[arcgis-enterprise::portal_standby]" ] } ```