Video Screencast Help

CVM/CFS on Solaris

Created: 27 Mar 2013 • Updated: 29 Apr 2013 | 5 comments
This issue has been solved. See solution.

Dear All,

I would like to create a VCS cluster of 2 nodes that will have the CFS mounted on both of them. Once the CFS is mounted into the cluster I want to get it shared to the system that is not part of VCS cluster. My question is it possible if not what could be the best way.

 

Objective for this I want to test performance (read/write) on CFS as compare to NFS, QFS. 

 

I will appreciate your input.

Operating Systems:

Comments 5 CommentsJump to latest comment

mikebounds's picture

You can share the filesystem from one node at a time using normal NFS (so just create Share resource in a VCS failover service group) or you can share from both nodes simultaneously using CNFS - see https://www-secure.symantec.com/connect/forums/creating-shared-folder-between-two-solaris-systems-using-vxfs for more details on CNFS.

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has helped you, please vote or mark as solution

Thokozani Mabaso's picture

Thank You, I have went through the document. I fully understand the rest especial for SFCFS part between two hosts that are in the Cluster. As per link document I would like to do the following:

 

To determine if the current node is the master CVM node, type the following command:
# vxdctl -c mode
 
On master node, initialize disk:
# vxdisksetup -i <access-name>
(access-name is the disk name in 1st column of 'vxdisk list' output)

 

Create a shared disk group:
# vxdg -s init <diskgroup-name> <DMname>=<access-name> 
 
Create a volume:
vxassist -g <diskgroup-name> make <volume-name> 100G
 
Create a VxFS file system in this volume, enter:
# mkfs -F vxfs /dev/vx/rdsk/<dg-name>/<volume-name>
 
Create a mount point for the shared file system on both nodes:
# mkdir /<mount_point>
 
Mount the file system on master node:
# mount -F vxfs -o cluster /dev/vx/dsk/<dg-name>/<volume-name>  /shared
 
Mount on 2nd node using the same command.
 
Which means both Nodes A and B when typing df -h (output should show the SFCFS volume mounted as "/shared").
 
If I have Node C which is NOT part of the VCS and doesn't have SFCFS packages installed how could I make /shared directory available to it? 

 

mikebounds's picture

If you have SFCFS HA as oppose to SFCFS, then you can create a Share resource in VCS in a new failover SG (see comment https://www-secure.symantec.com/connect/forums/creating-shared-folder-between-two-solaris-systems-using-vxfs#comment-7756981 and https://www-secure.symantec.com/connect/forums/creating-shared-folder-between-two-solaris-systems-using-vxfs#comment-7950331 for details on SFCFS HA).  

The advantage of creating in VCS is that if filesystem is say initially shared from node A and node A fails, then VCS will fail share to node B

To Share filesystem manually then just NFS share using O/S tools on node A or B (not both).

Once filesystem is shared, then you then NFS mount on Node C.

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has helped you, please vote or mark as solution

SOLUTION
jdangelo_symc's picture

Just as a matter of clarification, we no longer offer SFCFS as of 6.0.  The only version available is the complete SFCFSHA edtition with an automatic grandfathering from SFCFS 5.1 (Free VCS Upgrade).

stinsong's picture

Hi Thokozani

Yes, Milkebounds's replies are the right solution for you. Moreover, configure NFS resource in VCS by using CFS mount filesystems is recommanded since it is what SFCFS HA designing for.

And there is other solution product for such usage, like FileStore. You only need to configure NFS/CIFS resource in the product to make it share to other nodes as clients via network.