Moving CFS Primary when using SFCFS for fast failover
When using SFCFS for fast failover, so that only one node reads and writes to a filesystem at anyone time and SFCFS is just used to speed up failover by avoiding having to import diskgroups and mount filesystems, there is a requirement to move the CFS primary with the failover application service group so that the application doing the writes is on the same system as the CFS primary.
For me this is standard functionality, as SFCFS is particularly sold as a fast failover solution, like as an alternative to Oracle RAC (in addition of course to being able to write to filesystems simultaneously), but I can't find any referece to standard tools for moving the CFS primary in VCS - does anyone know if any exist?
For me the most logical approach for this would be to have a trigger script or resource which looks at the CFS service group it is dependent on and promotes the CFSMounts in that child service group which I can write myself, but I would have thought that a standard script/agent exists.
Thanks
Mike
Hi mike,
having CFS primary on the same node as the application is not required.
the performance impact if primary is on different node should actually below 1%.
You can test this by doing an I/O test while primary is on another node and then switch the primary to the node on which your database is running and perform I/O test again.
For the cluster startup you can set a policy so that CFS master would always start on your preferred node if available.
http://www.symantec.com/business/support/index?page=content&id=TECH39266
If you want the primary to always switch along with the database you will need to write your own trigger script.
There is no general feature that will do that as you might have more than one service group depending on the cfs file system. As an example lets say you have 3 node cluster, node a fails, sg1 fails over to node b and sg2 fails over to node c. With which sg should the primary switch to the remaining node?
regards,
Dan