cancel
Showing results for 
Search instead for 
Did you mean: 

CVM/CFS on Solaris

Thokozani_Mabas
Level 3
Partner Accredited

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.

1 ACCEPTED SOLUTION

Accepted Solutions

mikebounds
Level 6
Partner Accredited

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-us... and https://www-secure.symantec.com/connect/forums/creating-shared-folder-between-two-solaris-systems-us... 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

View solution in original post

5 REPLIES 5

mikebounds
Level 6
Partner Accredited

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-us... for more details on CNFS.

Mike

Thokozani_Mabas
Level 3
Partner Accredited

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
Level 6
Partner Accredited

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-us... and https://www-secure.symantec.com/connect/forums/creating-shared-folder-between-two-solaris-systems-us... 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

joseph_dangelo
Level 6
Employee Accredited

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
Level 5

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.