ArcGIS Notebook Server stores the file-based configurations and content needed for its operations in server directories. These directories can be added during the installation and configuration of ArcGIS Notebook Server, or later using the ArcGIS Notebook Server Administrator Directory.
There are four kinds of directories, each of which play a specific role in server operations: the workspace directory, the data directory, the output directory, and the system directory. Information about the workspace and data directories is given in this topic. The output and system directories are for purposes internal to ArcGIS Notebook Server.
Workspace directory
This directory allows notebook authors to store and read the files used in their notebooks. Each notebook author in the ArcGIS Enterprise portal has a unique folder within the workspace directory. A user's unique folder is mounted in each ArcGIS Notebook they create, so the notebook can read and write to the workspace directory. A notebook can only read and write information in its user's respective workspace directory folder; that folder cannot be accessed from other users' notebooks.
Data directory
Data is essential to ArcGIS Notebooks. When authoring notebooks, users can add data layers from items in the ArcGIS Enterprise portal, from external GIS servers, or from local file directories.
A local directory containing data can be made available to notebooks as a file path by being registered with their ArcGIS Notebook Server site. Multiple data directories can be registered with a server site. Each registered data directory is made available for use by every notebook running in that site.
Notebooks that use raster analytics workflows have a particular use for data directories. You can register a file-based raster store as a data directory, making the output of raster analytics tools immediately available in notebooks.
Considerations for data directories
In order for notebooks to have access to a registered data directory, the directory must allow read and execute permissions to all users.
Only local volumes can be registered as data directories. Windows shared volumes cannot be registered. This is a current limitation of Docker Desktop, which runs in ArcGIS Notebook Server.
All notebook authors in your organization can add data from all registered data directories to their notebooks. It is not possible to limit data directories to certain users or groups in the portal.
In deep learning workflows that involve the generation of image chips to train a model, the chips are hosted in a file-based raster store. When performing such a workflow, register the raster store with ArcGIS Notebook Server as a data directory to make the image chips available to your notebooks.
Data in a registered data directory is not part of the ArcGIS Enterprise portal. Accordingly, when a notebook is shared, ensure all users who will view the shared notebook have access to any registered data directory the notebook references.
Register a new data directory with ArcGIS Notebook Server
You can use the Register Server Directory operation in the ArcGIS Notebook Server Administrator Directory to make a local directory available to the server site as a data directory.
- Log in to the Administrator Directory. The URL is formatted https://notebookserver.domain.com:11443/arcgis/admin.
- Navigate to System > Directories, and click Register Server Directory.
- Provide the Name of the directory, and its full Path on your machine.
- Indicate that the directory will function as a DATA directory.
- Click Register Server Directory to confirm.
You cannot edit or update the name or file path for a directory registered with ArcGIS Notebook Server. To make changes, you must unregister the existing directory and then re-register it.