Example: Using the IBC messaging facility to take snapshots

The following example demonstrates the use of IBC messaging to ensure that the snapshots of the Secondary host volumes are taken at an application-defined consistency point.

In this example, a sample application APP1 writes some sample files to the Primary data volumes. When the writes are completed, the application sends an IBC message to the Secondary which on receiving the message, executes the vxrvg snapshot command to take the snapshot of the Secondary data volumes. The methods given below are described for the following sample Volume Replicator setup.