Active/Passive Mode

In the active/passive cluster mode, the NFS Gateway for NetWare 6 runs on a single cluster node at a time. For example, if the node where the NFS Gateway for NetWare 6 is installed fails, the gateway starts on another specified node in the cluster, and gateway volumes on the failed server fail over to other nodes in the cluster.

Cluster enabling in this mode has the following advantages:


Configuring in Active/Passive Mode

  1. Copy the files sys:/system/gystart.ncf and sys:/system/gystop.ncf to shared_volume_name:/system directory where shared_volume_name is in the same pool where the shadow volume is pointing to.

  2. Edit shared_volume_name:/system/gystart.ncf, and enter the shared_volume_name in the shadowVolume parameter of the nfsgy command to store shadow files on the a shared volume.

    Use the following command syntax:

    nfsgy -shadowVolume shared_volume_name [-shadowCacheSize value]             [-pageCacheSize value][-logFileSize value][-logLevel value][-logVerbose] [-logFlushImmediate]

    For details on nfsgy parameters, see Setting NFS Gateway Parameters .

  3. Make sure of the following:

  4. Bring the resource status to offline, then add the following at the end of the existing load script:

    shared_volume_name:/system/gystart 

    The load script specifies the commands to start the resource or service on a server, or to mount the volume on a server.

    HINT:  Use NetWare Remote Manager or ConsoleOne® to modify the load / unload script.

  5. Add the following at the beginning of the unload script:

    shared_volume_name:/system/gystop

    The unload script specifies how the application or resource should terminate.

  6. Bring the cluster resource online.

The NFS Gateway is now configured to work in the active/passive cluster mode.

IMPORTANT:  In cluster-enabled environment, make sure that the NFS Gateway volumename (volumename parameter of gymount and gyumount) does not exceed eight characters.



  Previous Page: Prerequisites  Next Page: Active/Active Mode