Setting Up for Windows

CIFS should be configured to work with Novell Cluster Services in ACTIVE/ACTIVE mode.

ACTIVE/ACTIVE mode is the recommended configuration because it provides faster recovery after a failure. ACTIVE/ACTIVE mode signifies that CIFS is running simultaneously on multiple servers in the cluster. When a server fails, the cluster volumes mounted on that server fail over to other servers in the cluster and users retain access to files and directories.

We recommend that you have NetWare 6 Support Pack 2 installed prior to configuring CIFS for ACTIVE/ACTIVE mode with Novell Cluster Services.

To configure CIFS for ACTIVE/ACTIVE mode with Novell Cluster Services:

  1. Ensure the CIFSSTRT.NCF command is in the AUTOEXEC.NCF file of each server in the cluster that will run CIFS.

  2. Create and cluster enable pools by following the instructions in the Cluster Enable Pools and Volumes section of the Novell Cluster Services Overview and Installation documentation.

    When you create and cluster-enable pools, ensure the CIFS check box that appears in ConsoleOne during the pool creation process is checked, and enter the CIFS Server Name in the field provided. This will make the pool accessible and highly available to CIFS clients.

    The CIFS server name is the server name CIFS clients see when they browse the network. A default server name is listed, but you can change the server name by editing the text in the field.

    When you cluster enable a pool and make the pool accessible to CIFS clients, the CIFS ADD command along with the Fully Distinguished Name (FDN) of the virtual server (cluster-enabled pool) is automatically added to the pool load script and the CIFS DEL command is automatically added to the pool unload script. These commands are necessary to allow clients to connect to the cluster-enabled pool.

    If you already have pools that are cluster enabled, go to Step 3.

  3. (Conditional) To make pools that have already been cluster enabled (virtual servers) accessible to CIFS clients, you must manually add an NFAP auxillary class attribute to the Virtual Server object and also manually add the CIFS ADD and CIFS DEL commands to the cluster volume load and unload scripts.

    1. Using ConsoleOne®, browse to and click the Cluster object of the cluster that contains the cluster-enabled pool you want to make available to CIFS clients.

    2. In the right pane, right-click the cluster-enabled pool, then click Properties.

    3. Click the Scripts tab and add the CIFS ADD and CIFS DEL commands along with the Fully Distinguished Name (FDN) of the virtual server to the load and unload scripts.

      The FDN must include the eDirectoryTM tree name and leading and ending dots.

      For example, if the virtual server name is CLUSTER1_SALESPOOL_SERVER, the tree name is CAJU, and the context of the Virtual Server object is sales.novell, you would add

      CIFS ADD .CN=CLUSTER1_SALESPOOL_SERVER.
      OU=SALES.O=NOVELL.T=CAJU.

      just above the last line of the load script and

      CIFS DEL .CN=CLUSTER1_SALESPOOL_SERVER.OU=SALES.
      O=NOVELL.T=CAJU.

      just above the last line of the unload script.

      The load and unload scripts should now appear similar to the following examples:

      LOAD SCRIPT

      nss /poolactivate=SALESPOOL
      mount TEST VOLID=253
      mount NDPS VOLID=254
      CLUSTER CVSBIND ADD CLUSTER1_SALESPOOL_SERVER 137. 
      65.86.218
      NUDP ADD CLUSTER1_SALESPOOL_SERVER 137.65.86.218
      CIFS ADD .CN=CLUSTER1_SALESPOOL_SERVER.OU=SALES. 
      O=NOVELL.T=CAJU.
      add secondary ipaddress 137.65.86.218

      UNLOAD SCRIPT

      del secondary ipaddress 137.65.86.218
      CLUSTER CVSBIND DEL CLUSTER1_SALESPOOL_SERVER 137. 
      65.86.218
      NUDP DEL CLUSTER1_SALESPOOL_SERVER 137.65.86.218
      CIFS DEL .CN=CLUSTER1_SALESPOOL_SERVER.OU=SALES. 
      O=NOVELL.T=CAJU.
      nss /pooldeactivate=SALESPOOL /overridetype=question
    4. Right-click the Virtual Server object in the left pane, then click Extensions of this Object.

    5. Click the Add Extension button, select nfapCIFSConfigInfo, then click OK.

    6. Enter the Extension name, then click OK.

      The Extension name is the name you want to give the extension. You could name the extension nfapCIFSConfigInfo.

    7. Right-click the Virtual Server object in the left pane, then click Properties.

    8. Click the CIFS tab, then enter the CIFS server name.

      The CIFS server name is the server name CIFS clients see when they browse the network.

    9. Click the CIFS tab again, select the Shares option, then enter the CIFS share points.

      See Installing the Software for more information on CIFS shares.

    10. Click the CIFS tab again, select the Attach option, then add the IP address of the virtual server.

    11. Bring the virtual server resource offline and then online again to have the changes take effect.

Although ACTIVE/ACTIVE mode is the recommended configuration, CIFS can also be run in ACTIVE/PASSIVE mode. ACTIVE/PASSIVE mode signifies that CIFS software runs on only one node at a time in the cluster. When a server fails, CIFS starts on another specified node in the cluster, and the cluster volumes that were mounted on the failed server fail over to that other node. This makes ACTIVE/PASSIVE mode slower because, in addition to cluster volumes failing over, CIFS software has to load on other servers in the cluster before users can access files and directories.

To configure CIFS for ACTIVE/PASSIVE mode with Novell Cluster Services, follow the instruction above, except remove the CIFSSTRT.NCF command from the AUTOEXEC.NCF file of each server in the cluster and add it to the beginning of the load script of each cluster-enabled pool.