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.

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. 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 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. Follow the steps above to create a site on the first machine and then join each additional machine 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 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 targets and specify the shared UNC path to the arcgisworkspace directory on one of your ArcGIS Notebook Server machines (shared in step 3 above). Repeat this for each of your site's machines.
    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 one of your ArcGIS Notebook Server sitesto 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.