Symantec logo

Putting the pieces together

In this example, a two-node cluster exports an NFS file system to clients. Both nodes are connected to shared storage, which enables them to access the directories being shared. A single service group, NFS_Group, fails over between System A and System B, as necessary.

The VCS engine, HAD, reads the configuration file, determines what agents are required to control the resources in the service group, and starts the agents. HAD determines the order in which to bring the resources online, based on the resource dependencies. VCS issues online commands to the corresponding agents in the correct order.

The following figure shows the dependency graph for the service group NFS_Group.

Dependency graph for the sample NFS group

Dependency graph for the sample NFS group

Click the thumbnail above to view full-sized image.

VCS starts the agents for disk group, mount, share, NFS, NIC, and IP on all systems that are configured to run NFS_Group. The resource dependencies are configured as:

The service group NFS_Group can be configured to start automatically on either node in the preceding example. It can then move or fail over to the second node on command or automatically if the first node fails. Upon failover or relocation, VCS takes the resources offline beginning at the top of the graph. VCS then starts resources on the second node beginning at the bottom.