Symantec logo

Example 1—Decision support using the snapshot feature and the vradmin ibc command

  1. Create the following directory on both Primary and Secondary hosts:


  2. Create the quiesce and unquiesce scripts and copy them to the /etc/vx/vvr/ibc_scripts/dss_app directory on the Primary host.

    In the quiesce script, provide commands to put the application that is using the Primary data volumes hr_dv01 and hr_dv02 in quiesce mode.

    In the unquiesce script, provide commands to resume the application or take it out of the quiesce mode.

  3. Create the prefreeze and onfreeze scripts and copy them to the /etc/vx/vvr/ibc_scripts/dss_app directory on the Secondary host.

    In the prefreeze script, include the following commands to add snapshot plexes to the Secondary data volumes hr_dv01 and hr_dv02:


/usr/sbin/vxassist -g hrdg snapstart hr_dv01

/usr/sbin/vxassist -g hrdg snapstart hr_dv02

In the onfreeze script, include the following command to take the snapshot of the Secondary volumes:

/usr/sbin/vxrvg -g hrdg snapshot hr_rvg

  Note   This example does not need a postfreeze script.

  1. Run the following vradmin ibc command from any host in the RDS:

    # vradmin -g hrdg ibc hr_rvg dss_app london

  2. On the Secondary, use the snapshot data volumes SNAP-hr_dv01 and SNAP-hr_dv02 to run the DSS application, that is, for off-host processing.
  3. When the DSS application completes, reattach the snapshot plexes to the data volumes by issuing the following command on the Secondary host london:

    # vxrvg -g hrdg snapback hr_rvg

    The snapback destroys the SNAP volumes and reattaches the snapshot plexes to their original volumes. If you have enabled FR on these volumes, the reattach is faster.