Enabling CIFS on an existing NCS cluster resource on OES2 SP1 Linux

  • 7002787
  • 20-Mar-2009
  • 19-Jun-2012

Environment

Novell Open Enterprise Server 2 SP1 (Linux Based)
Novell Cluster Services 1.8.4

Situation

Enabling CIFS on an existing NCS cluster resource on OES2 SP1 Linux

Resolution

1)  Configure CIFS on each cluster node and verify that it is functional by connecting using the Name/IP of the cluster node.  Please see the OES2 SP1 documentation for details on configuring CIFS.
2)  Enable CIFS on the cluster resource through iManager and fix the resource scripts
     a)  In iManager select Cluster Options and click on the cluster resource
     b)  Select the Protocols tab, check CIFS, and click Apply
     c)  Click the Scripts tab and change the value of the --vserver parameter to this syntax:
          .cn=virtualserver.o=context.t=tree.  (include the leading and trailing periods)
     d)  Click on Unload Script and make the same change
3.  Add attributes to the Virtual Server object
     a)  In iManager select View Objects at the top and browse to the Virtual Server object
     b)  Put a check in front of the object and click edit.  Click on Other under the General tab
     c)  Highlight Object Class and click edit.  Enter nfapCIFSConfigInfo and hit enter.  Click OK and then Apply
     d)  Add NCS:Volumes and select the cluster resource volume object
     e)  Add nfapCIFSServerName with the desired value
     f)  Add nfapCIFSAttach and give it the IP of the cluster resource
     g)  Add nfapCIFSSignatures with the desired value (the default is 1)
4.  Give the cifsProxyUser rights to the Virtual Server object
     a)  In iManager select View Objects and browse to the Virtual Server object
     b)  Put a check in front of the object and click Actions and then click Modify Trustees
     c)  Click Add Trustee and select the cifsProxyUser(s) for all cluster nodes.  Click OK, twice
5.  Offline and Online the cluster resource

If the resource goes comatose, check /var/run/ncs/cluster_resource.load.out for errors.  If you need to get the resource back online without CIFS, you can remove the novcifs command from the load and unload scripts.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.