arcgis-notebooks cookbook #
This cookbook installs and configures ArcGIS Notebook Server.
Supported ArcGIS Notebook Server versions #
- 10.9.1 (Linux only)
- 11.0 (Linux only)
- 11.1 (Linux only)
- 11.2 (Linux only)
- 11.3 (Linux only)
- 11.4
- 11.5
- 12.0
- 12.1
Supported ArcGIS software #
- ArcGIS Notebook Server
Platforms #
- Microsoft Windows Server 2022 Standard and Datacenter
- Microsoft Windows Server 2025 Standard and Datacenter
- Ubuntu Server 20.04 LTS
- Ubuntu Server 22.04 LTS
- Ubuntu Server 24.04 LTS
- Red Hat Enterprise Linux Server 8
- Red Hat Enterprise Linux Server 9
- SUSE Linux Enterprise Server 15
- Oracle Linux 8
- Oracle Linux 9
- Rocky Linux 8
- Rocky Linux 9
- AlmaLinux 9
Docker CE installation is supported only on Ubuntu Server and Red Hat Enterprise Linux Server platforms.
On SUSE Linux Enterprise Server (SLES), Mirantis Container Runtime must be installed before running Chef.
On Windows Server, Mirantis Container Runtime or Docker Engine from binaries must be installed before running Chef. User group “docker-users” must be created and “group” property must be set to “docker-users” in the daemon.json file.
Dependencies #
The following cookbooks are required:
- arcgis-enterprise
- arcgis-repository
Attributes #
node['arcgis']['notebook_server']['url']= The ArcGIS Notebook Server site URL. Default URL ishttps://<FQDN of the machine>:11443.node['arcgis']['notebook_server']['wa_name']= Name of ArcGIS Web Adaptor used for the ArcGIS Notebook Server site. Default name isnotebooks.node['arcgis']['notebook_server']['wa_url']= The URL of the Web Adaptor used for the ArcGIS Notebook Server site. Default URL ishttps://<FQDN of the machine>/<Notebook Server Web Adaptor name>.node['arcgis']['notebook_server']['domain_name']= The ArcGIS Notebook Server site domain name. Default domain is FQDN of the machine.node['arcgis']['notebook_server']['private_url']= Private URL of the ArcGIS Notebook Server site. Default URL ishttps://<FQDN of the machine>:11443/arcgis.node['arcgis']['notebook_server']['web_context_url']= The web context URL of the ArcGIS Notebook Server site. Default URL ishttps://<FQDN of the machine>/<Notebook Server Web Adaptor name>.node['arcgis']['notebook_server']['authorization_file']= ArcGIS Notebook Server authorization file path.node['arcgis']['notebook_server']['authorization_file_version']= ArcGIS Notebook Server authorization file version. Default value isnode['arcgis']['server']['authorization_file_version'].node['arcgis']['notebook_server']['authorization_options']= Additional ArcGIS Notebook Server software authorization command line options. Default options are''.node['arcgis']['notebook_server']['license_level']= License level of ArcGIS Notebook Server. Allowed values arestandardandadvanced. Default license level isstandard.node['arcgis']['notebook_server']['install_dir']= ArcGIS Notebook Server installation directory. By default, ArcGIS Notebook Server is installed to%ProgramW6432%\ArcGIS\NotebookServeron Windows machines and to/home/arcgison Linux machines.node['arcgis']['notebook_server']['directories_root']= The root ArcGIS Notebook Server site’s server directory location. The default value isC:\arcgisnotebookserveron Windows and/gisdata/notebookserveron Linux.node['arcgis']['notebook_server']['config_store_type']= The ArcGIS Notebook Server configuration store type<FILESYSTEM|AMAZON|AZURE>. Default value isFILESYSTEM.node['arcgis']['notebook_server']['config_store_connection_string']= The configuration store location for the ArcGIS Notebook Server site. By default, the configuration store is created in the local directoryC:\arcgisnotebookserver\config-storeon Windows and/gisdata/notebookserver/config-storeon Linux.node['arcgis']['notebook_server']['config_store_class_name']= The ArcGIS Notebook Server configuration store persistence class name. Default value iscom.esri.arcgis.carbon.persistence.impl.filesystem.FSConfigPersistence.node['arcgis']['notebook_server']['log_level']= ArcGIS Notebook Server log level. Default value isWARNING.node['arcgis']['notebook_server']['log_dir']= ArcGIS Notebook Server log directory. Default value isC:\arcgisnotebookserver\logson Windows and/gisdata/notebookserver/logson Linux.node['arcgis']['notebook_server']['max_log_file_age']= ArcGIS Notebook Server maximum log file age. Default value is90.node['arcgis']['notebook_server']['workspace']= The workspace directory location. This must be a local path; if the site will have additional machines joined to it, a replication method must be set up between the workspace directories of each machine. By default, the workspace directory is set toC:\arcgisnotebookserver\directories\arcgisworkspaceon Windows and to/gisdata/notebookserver/directories/arcgisworkspaceon Linux.node['arcgis']['notebook_server']['setup_archive']= Path to the ArcGIS Notebook Server setup archive. Default value depends onnode['arcgis']['version']attribute value.node['arcgis']['notebook_server']['setup']= The location of the ArcGIS Notebook Server setup executable. Default location is%USERPROFILE%\Documents\ArcGIS12.1\NotebookServer\Setup.exeon Windows and/opt/arcgis/12.1/NotebookServer_Linux/Setupon Linux.node['arcgis']['notebook_server']['standard_images']= Standard Docker container images for notebooks. Default value depends onnode['arcgis']['version']attribute value.node['arcgis']['notebook_server']['advanced_images']= Advanced Docker container images for notebooks. Default value depends onnode['arcgis']['version']attribute value.node['arcgis']['notebook_server']['configure_autostart']= If set to true, on Linux ArcGIS Notebook Server is configured to start with the operating system. Default value istrue.node['arcgis']['notebook_server']['admin_username']= Primary ArcGIS Notebook Server administrator user name. Default user name isadmin.node['arcgis']['notebook_server']['admin_password']= Primary ArcGIS Notebook Server administrator password. Default value isnil.node['arcgis']['notebook_server']['primary_server_url']= The URL of the existing ArcGIS Notebook Server site to join, in the formathttps://notebookserver.domain.com:11443/arcgis/admin. Default URLnil.node['arcgis']['notebook_server']['install_system_requirements']= Enable system-level configuration for ArcGIS Notebook Server. Default value istrue.node['arcgis']['notebook_server']['install_samples_data']= (DEPRECATED) If set totrue, the arcgis-notebooks::server recipe includes the arcgis-notebooks::data recipe. Default value isfalse.node['arcgis']['notebook_server']['install_docker']= If set totrue, the arcgis-notebooks::docker recipe installs the Docker engine. Default value isfalsefor RHEL Linux andtrueotherwise.node['arcgis']['notebook_server']['docker_version']= Docker engine version to install. Default value is29.3.1.node['arcgis']['notebook_server']['docker_repository_url']= Docker repository URL. Default value ishttps://download.docker.com.node['arcgis']['notebook_server']['docker_daemon_json']= Docker daemon.json configuration. Default value is{"features": {"containerd-snapshotter": false},"iptables": true}.node['arcgis']['notebook_server']['ports']= Ports to open for Notebook Servier in the Windows firewall. Default is11443.node['arcgis']['notebook_server']['hostname']= Host name or IP address of ArcGIS Notebook Server machine. Default value is''.node['arcgis']['notebook_server']['system_properties']= ArcGIS Notebook Server system properties. Default value is{}.node['arcgis']['notebook_server']['data_setup']= (DEPRECATED) The location of the ArcGIS Notebook Server Samples Data setup. Default location is%USERPROFILE%\Documents\ArcGIS<version>\NotebookServerData\Setup.exeon Windows and/opt/arcgis/<version>/NotebookServerData_Linux/ArcGISNotebookServerSamplesData-Setup.shon Linux.node['arcgis']['notebook_server']['data_setup_archive']= Path to the ArcGIS Notebook Server Samples Data setup archive. Default value depends onnode['arcgis']['version']attribute value.node['arcgis']['notebook_server']['patches]= File names of ArcGIS Notebook Server patches to install. Default value is[].node['arcgis']['notebook_server']['keystore_file']= Path to PKSC12 keystore file (.pfx) with SSL certificate for ArcGIS Notebook Server. Default value isnil.node['arcgis']['notebook_server']['keystore_password']= Keystore file password for ArcGIS Notebook Server. Default value isnil.node['arcgis']['notebook_server']['cert_alias']= SSL certificate alias for ArcGIS Notebook Server. Default alias is composed of these values:node['arcgis']['notebook_server']['domain_name'].node['arcgis']['notebook_server']['root_cert']= ArcGIS Notebook Server root CA certificate PEM file path. Default value is''.node['arcgis']['notebook_server']['root_cert_alias']= ArcGIS Notebook Server root CA certificate alias. Default value is''.
Recipes #
default #
Calls arcgis-notebooks::server recipe.
docker #
Installs and starts Docker engine. The recipe is supported only on Linux platforms.
Attributes used by the recipe:
{
"run_list": [
"recipe[arcgis-notebooks::docker]"
]
}
federation #
Federates ArcGIS Notebook Server with Portal for ArcGIS and enables the Notebook Server role.
Attributes used by the recipe:
{
"arcgis": {
"portal": {
"private_url": "https://portal.domain.com:7443/arcgis",
"admin_username": "admin",
"admin_password": "<password>",
"root_cert": "",
"root_cert_alias": ""
},
"notebook_server": {
"web_context_url": "https://domain.com/notebooks",
"private_url": "https://domain.com/notebooks",
"admin_username": "siteadmin",
"admin_password": "<password>"
}
},
"run_list": [
"recipe[arcgis-notebooks::federation]"
]
}
install_server #
Installs ArcGIS Notebook Server.
Attributes used by the recipe:
{
"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_server_wa #
Installs ArcGIS Web Adaptor for ArcGIS Notebook Server.
Attributes used by the recipe:
{
"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_patches #
Installs patches for ArcGIS Notebook Server. The recipe installs patches from the patches folder specified by the arcgis.notebook_server.patches attribute. The patch names may contain a wildcard ‘*’. For example, “ArcGIS-1091-*.tar” specifies all .tar patches that start with “ArcGIS-1091-“.
Attributes used by the recipe:
{
"arcgis" : {
"repository" : {
"patches" : "/opt/software/esri/patches"
},
"notebook_server": {
"patches": ["patch1.tar", "patch2.tar"]
}
},
"run_list": [
"recipe[arcgis-notebooks::install_patches]"
]
}
restart_docker #
Restarts the Docker service.
Attributes used by the recipe:
{
"run_list": [
"recipe[arcgis-notebooks::restart_docker]"
]
}
server #
Installs and configures ArcGIS Notebook Server.
Attributes used by the recipe:
{
"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": "<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]"
]
}
server_node #
Joins additional machines to an ArcGIS Notebook Server site.
Attributes used by the recipe:
{
"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": "<password>",
"install_dir": "/home/arcgis",
"primary_server_url": "https://domain.com:11443/arcgis/admin",
"admin_username": "admin",
"admin_password": "<password>",
"configure_autostart": true,
"install_system_requirements": true
}
},
"run_list": [
"recipe[arcgis-notebooks::server_node]"
]
}
server_wa #
Installs and configures ArcGIS Web Adaptor for ArcGIS Notebook Server.
Attributes used by the recipe:
{
"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": {
"url": "https://hostname:11443",
"wa_name": "notebooks",
"wa_url": "https://hostname/notebooks",
"admin_username": "admin",
"admin_password": "<password>"
}
},
"run_list": [
"recipe[arcgis-notebooks::server_wa]"
]
}
arcgis-notebooks::uninstall_samples_data #
Uninstalls ArcGIS Notebook Server Samples Data.
Attributes used by the recipe:
{
"arcgis": {
"version": "12.1",
"run_as_user": "arcgis",
"notebook_server": {
"install_dir": "/home/arcgis"
}
},
"run_list": [
"recipe[arcgis-notebooks::uninstall_samples_data]"
]
}
arcgis-notebooks::uninstall_server #
Uninstalls ArcGIS Notebook Server.
Attributes used by the recipe:
{
"arcgis": {
"version": "12.1",
"run_as_user": "arcgis",
"notebook_server": {
"install_dir": "/home/arcgis"
}
},
"run_list": [
"recipe[arcgis-notebooks::uninstall_server]"
]
}
uninstall_server_wa #
Uninstalls ArcGIS Web Adaptor for ArcGIS Notebook Server.
Attributes used by the recipe:
{
"arcgis": {
"version": "12.1",
"run_as_user": "arcgis",
"web_server": {
"webapp_dir": "/opt/tomcat_arcgis/webapps"
},
"web_adaptor": {
"install_dir": "/"
},
"notebook_server": {
"wa_name": "notebooks"
}
},
"run_list": [
"recipe[arcgis-notebooks::uninstall_server_wa]"
]
}
unregister_server_wa #
Unregisters all ArcGIS Web Adaptors from the ArcGIS Notebook Server site.
Attributes used by the recipe:
{
"arcgis": {
"notebook_server": {
"url": "https://hostname:11443/arcgis",
"admin_username": "siteadmin",
"admin_password": "<password>"
}
},
"run_list": [
"recipe[arcgis-notebooks::unregister_server_wa]"
]
}