Skip To Content

Configure DFS replication for ArcGIS Notebook Server

In multiple-machine ArcGIS Notebook Server sites, most server directories and the site configuration store are hosted on shared locations accessible to each machine. The exception is the workspace directory, which is mounted to each user's Docker containers. In Windows systems, Docker does not support mounting shared drives on containers, so the workspace directory must remain local on each machine. Because users can launch containers and open notebooks on each machine in a multiple-machine site, it's necessary that the content in the workspace directory be synchronized across machines.

Note:

Replication is also required for any custom data directories your users register with the site. As data directories can be added after installation, the relevant steps are given at the end of this topic.

Windows multiple-machine site

Windows offers a native replication solution: Distributed File System (DFS) data replication, which synchronizes data across machines efficiently by only synchronizing any data packets that have changed, rather than entire items. When using DFS, the folder to be replicated is kept in an identical location on each machine.

DFS replication is not the only possible way to synchronize the contents of your ArcGIS Notebook Server site's workspace directory and custom data directories. But because it is a frequently used method native to Windows, the steps to set it up are given below. You can discuss with your IT administrator whether DFS or another replication system is best for your organization.

You can set up replication for the workspace directory and custom data directories at any point during the ArcGIS Notebook Server installation process.

The last step in this workflow requires domain administration privileges to complete. If you don't have these privileges, contact your IT administrator for assistance. For more information about the privileges required, see Delegate management permissions for DFS Namespaces in the Microsoft documentation.

Configure DFS replication

  1. Install ArcGIS Notebook Server on each machine. When the software has been installed, create an ArcGIS Notebook Server site, and then join additional machines to the site.
  2. Ensure the site is configured to use a local directory on the first machine for the workspace directory (such as C:\arcgisnotebookserver\directories\arcgisworkspace), and a shared location (UNC path) for the configuration store and other server directories.
  3. Share the workspace directory on each ArcGIS Notebook Server machine:
    1. Sign in to the first machine as an administrator. From the Start menu, click Windows Administrative Tools > Computer Management.
    2. Under System Tools, browse to Shared Folders.
    3. Right-click Shares and select New Share to open the Create A Shared Folder Wizard. Click Next on the initial screen.
    4. For the folder path, select the location of the arcgisworkspace directory as verified in step 2 above.
    5. Provide a share name (such as arcgisworkspace) and an optional description. Click Next.
    6. For shared folder permissions, select Administrative users have full access; other users have no access.
    7. Click Finish to create the shared folder.
    8. Repeat steps a through g on each additional ArcGIS Notebook Server machine.
  4. Install the DFS Replication Role on each ArcGIS Notebook Server machine:
    1. Sign in to the first machine as an administrator. From the Start menu, open the Server Manager application (not ArcGIS Server Manager).
    2. Click Manage and select Add Roles and Features.
    3. Click Next. Select Role-based or feature-based installation and click Next again.
    4. Select the current server machine from the server pool, and click Next.
    5. Expand File and Storage Services > File and iSCSI Services, and select DFS Replication. Add the features that are required for DFS replication.
    6. Click Next. Follow the dialog prompts to complete the installation.
    7. Repeat steps a through e on each additional ArcGIS Notebook Server machine.
  5. Install the DFS Namespace role on the namespace server. You can designate any one machine as the namespace server; it must run the same OS as your ArcGIS Notebook Server site. Ideally, the namespace server should be a machine that doesn't host any other ArcGIS Enterprise software components.
    1. Sign in to the machine designated as the namespace server machine as an administrator. From the Start menu, open the Server Manager application (not ArcGIS Server Manager).
    2. Click Manage and select Add Roles and Features.
    3. Click Next. Select Role-based or feature-based installation and click Next again.
    4. Select the current server machine from the server pool and click Next.
    5. Expand File and Storage Services > File and iSCSI Services and select DFS Namespaces. Add the features that are required for DFS Namespaces.
    6. Click Next. Follow the dialog box prompts to complete the installation.
  6. Create a DFS namespace on the namespace server. The following steps instruct you how to create a stand-alone namespace, but your IT administrator or a user with domain administration privileges can help you create a domain-based namespace. See the Microsoft documentation on namespace types for more information.
    1. Sign in to the first machine as an administrator. From the Start menu, click Windows Administrative Tools > DFS Management. This application was installed in step 4 above.
    2. Right-click the Namespaces section and click New Namespace.
    3. Enter the name of the server that will host the namespace. Click Next.
    4. Enter a name for the namespace (for example, ArcGISNotebooks) and click Next.
    5. Choose the Stand-alone namespace option and click Next.
    6. Review the summary and create the namespace.
  7. Create a replication group and replication folder for the ArcGIS Notebook Server site.

    Note:
    This step must be done by a user with domain administration privileges. Your IT administrator can help you with this step.

    1. Right-click the newly created namespace from step 6 above and click New Folder.
    2. Specify a name for the folder, such as workspace.
    3. Click Add folder target and specify the shared UNC path to the arcgisworkspace directory on each ArcGIS Notebook Server machine. For example, your Folder targets list might be:

      \\NOTEBOOK1\arcgisworkspace
      \\NOTEBOOK2\arcgisworkspace
      \\NOTEBOOK3\arcgisworkspace

    4. Click Yes when prompted to create a replication group. This opens the Replication Folder Wizard.
    5. Review the Replication Group Name and Replication Folder Name settings and click Next.
    6. Choose an ArcGIS Notebook Server machine to be the primary member for the replication group.
    7. For Topology Selection, choose Full Mesh. Click Next.
    8. Choose the Replicate continuously and Full Bandwidth options. Click Next.
    9. Review the summary and create the replication group.

Once all machines are joined to the site and DFS replication is configured, the remaining setup process is the same as for single-machine sites. Proceed to install and configure ArcGIS Web Adaptor with your site. You will then configure your site with your ArcGIS Enterprise portal.

Replicate custom data directories

As with the workspace directory, any custom data directories that are registered by your users must be local to each machine and replicated across machines.

If a user wants to register a new data directory for use with their notebooks, follow these steps to add the directory to your DFS replication system.

Note:

If you're using a replication system other than DFS, follow the requisite steps to set up replication in that system for any new data directories.

  1. Register the new data directory with the site. Ensure you use a directory path that's local to one of the machines in the ArcGIS Notebook Server site.
  2. Share the data directory on each ArcGIS Notebook Server machine:
    1. Sign in to the machine where the directory resides as an administrator. From the Start menu, click Windows Administrative Tools > Computer Management.
    2. Under System Tools, browse to Shared Folders.
    3. Right-click Shares and select New Share to open the Create A Shared Folder Wizard. Click Next on the initial screen.
    4. For the folder path, select the location of the data directory.
    5. Provide a share name (such as customdata) and an optional description. Click Next.
    6. For shared folder permissions, select Administrative users have full access; other users have no access.
    7. Click Finish to create the shared folder.
    8. Repeat steps a through g on each additional ArcGIS Notebook Server machine.
  3. Create a replication group and replication folder for the ArcGIS Notebook Server site.

    Note:
    This step must be done by a user with domain administration privileges. Your IT administrator can help you with this step.

    1. Sign in to the first machine as an administrator. From the Start menu, click Windows Administrative Tools > DFS Management.
    2. Click Namespaces on the left sidebar. Right-click the DFS namespace you created for the workspace directory, and click New Folder.
    3. Specify a name for the folder, such as customdata.
    4. Click Add folder target and specify the shared UNC path to the data directory on each ArcGIS Notebook Server machine. For example, your Folder targets list might be:

      \\NOTEBOOK1\customdata
      \\NOTEBOOK2\customdata
      \\NOTEBOOK3\customdata

    5. Click Yes when prompted to create a replication group. This opens the Replication Folder Wizard.
    6. Review the Replication Group Name and Replication Folder Name settings and click Next.
    7. Choose an ArcGIS Notebook Server machine to be the primary member for the replication group.
    8. For Topology Selection, choose Full Mesh. Click Next.
    9. Choose the Replicate continuously and Full Bandwidth options. Click Next.
    10. Review the summary and create the replication group.