Using a Second Edge Filer
  • 4 Minutes to read
  • Dark
    Light
  • PDF

Using a Second Edge Filer

  • Dark
    Light
  • PDF

Article Summary

With at least two CTERA Edge Filers you can use the second edge filer as a fail-safe device if the primary edge filer fails. The failover to the second edge filer is achieved automatically using Microsoft DFS. The edge filers must be configured in caching mode and each edge filer must be connected to the Windows Server running Active Directory with DFS.

The metadata from the CTERA Portal is downloaded quickly so the stub files are almost immediately available on the replacement CTERA Edge Filer. Both metadata and data are populated to the replacement CTERA Edge Filer based on priority: When a path is entered to access content, that content receives download priority. This feature is not enabled by default. For details about enabling the feature, contact CTERA Support.

Note

The Windows Server must be Windows Server 2012 R2 or higher.

To Install and Configure DFS on the Windows Server

The procedures in this section can vary slightly, depending on the version of Windows Server.

To install DFS on the Windows Server:

  1. On the Windows Server open Server Manager and select Manage > Add Roles and Features.
  2. Click Server Selection, select the server and then click Server Roles.
    image.png
  3. Expand File and Storage Services (x of y installed) and then expand File and iSCSI Services (x of y installed).
    image.png
  4. Check DFS Namespaces and in the Add Roles and Features Wizard click Add Features.
    image.png
  5. Check DFS Replication.
    Note

    DFS Replication is not used, but must be installed.

  6. Click Next until the end of the wizard and then click Install.
  7. Click Close.

The status of the installation can be viewed by clicking the flag at the top right of the Server Manager.
image.png

To configure DFS:

  1. In Server Manager select Tools > DFS Management.
    image.png
  2. Expand Namespaces in the navigation pane and if there are no namespaces defined, create a new namespace.
    1. Right-click Namespaces in the navigation pane and select New Namespace.
    2. Follow the wizard to create the namespace.
      The namespace is the container/folder where the shares will reside. For example, if the namespace is Data the DFS namespace path will be \domain\data.
  3. Right-click the namespace in the navigation pane, select Properties and then the Referrals tab and set Cache duration to the required value.
    For demos and testing, the Cache duration value should be low. In production the value should be great enough for the edge filer to sync data with the portal when it comes back online. For example, if the primary edge filer goes down, DFS will failover to the backup edge filer. While down users will be changing files on the backup edge filer, which are not being synced to the down edge filer. When the primary edge filer comes back online, you need to allow a period of time for it to sync changed data back down to it.
    Note

    Make sure that Ordering method is Lowest Cost and Clients fail back to preferred targets is checked.

  4. Click OK.
  5. Right-click the namespace in the navigation pane and select New Folder and define the folder which will be a share names that users will connect to.
    image.png
    For example, for a folder NY the UNC path is \domain\data\NY.
  6. Click Add to add Folder Targets that will be the UNC path of the edge filer shares you want to use.
    image.png
  7. Click OK to add the folder target and then OK to complete the folder addition.
  8. Right-click the folder in the navigation pane, select Properties and then the Referrals tab and set Cache duration to the required value.
    For demos and testing, the Cache duration value should be low. In production the value should be great enough for the edge filer to sync data with the portal when it comes back online.
    image.png
    Note

    Make sure that Ordering method is Lowest Cost and Clients fail back to preferred targets is checked.

  9. Click OK.
  10. Double-click the folder in the navigation pane to display it with the folder targets and right-click a folder target, select Properties and then the Advanced tab.
  11. Set the priority for which edge filer will be first and which will be last.
    image.png

Testing Automatic Edge Filer Disaster Recovery

  1. Check which edge filer is recognized by DFS as the primary edge filer. On the primary edge filer, open several files so they are cached locally. On the other edge filer, these files are presented as stub files.
    If the opposite situation occurs, that the stub files are presented on the primary edge filer, reconfigure the DFS Management properties for the folder targets.
  2. In Windows Explorer, browse to the DFS namespace to verify that the primary edge filer is displayed.
  3. Log on to the primary edge filer as an administrator and navigate to Shares > Windows File Sharing. Uncheck Enable SMB and Save. This will cause the shares on the primary edge filer to be unavailable and DFS should automatically failover to the other edge filer. You should be able to tell this because instead of files, you will see stubs.
  4. Log on to the edge filer as an administrator.
  5. In the Configuration view, select Share > Windows File Sharing in the navigation pane.
    The Windows File Sharing page is displayed.
  6. Uncheck Enable SMB (Windows File Sharing) and click Save.
  7. Check the primary edge filer and the shares should now be unavailable.
    DFS will automatically failover to the secondary edge filer which can be accessed using the same SMB path, for example, \domain.local\data\NY, and the files will be available as stubs.
  8. Validate failback by re-enabling SMB on the primary edge filer in the edge filer user interface.

Within the cache duration specified, the path will automatically fail back to the primary edge filer, where the share will contain files and not stubs.


Was this article helpful?