Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Adding Samba to an existing NFS-Cluster

807567Jul 2 2008 — edited Jul 2 2008
Hello!

Currently we are running a cluster consisting of two nodes which provide two NFS servers (one for each node). Both nodes are connected to an 6140 Storage array. If one of the nodes fails, the zpool is mounted on the other node, all works fine. The NFS servers are started in the global zone. Here is the config of the current cluster:
# clrs status

Cluster Resources ===

Resource Name        Node Name            State     Status Message
-------------        ---------            -----     --------------
fileserv01            clnode01            Online    Online - LogicalHostname online.
                      clnode02            Offline   Offline

fileserv01-hastp-rs   clnode01            Online    Online
                      clnode02            Offline   Offline

fileserv01-nfs-rs     clnode01            Online    Online - Service is online.
                      clnode02            Offline   Offline

fileserv02            clnode02            Online    Online - LogicalHostname online.
                      clnode01            Offline   Offline - LogicalHostname offline.

fileserv02-hastp-rs   clnode02            Online    Online
                      clnode01            Offline   Offline

fileserv02-nfs-rs     clnode02            Online    Online - Service is online.
                      clnode01            Offline   Offline - Completed successfully.
Now we want to add two Samba servers which additionally share the same zpools. From what I read in the "Sun Cluster Data Service for Samba Guide for Solaris OS" this can only be done using zones, because I cannot run two Samba services on the same host.

At this point I am stuck. We have to failover both NFS and Samba services if a failure occurs (because they share the same data) and have therefore to be in the same resource group. But this will not work because the list of nodes for each service is different ("clnode01, clnode02" vs. "clnode01:zone1, clnode02:zone2").

I can mount the zpool from the global zone using "mount -F lofs", but I think I need a real dependency for the storage.

My question is: How can we accomplish this setup?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 30 2008
Added on Jul 2 2008
2 comments
157 views