Previous  |  Next  >  
Product: Volume Replicator Guides   
Manual: Volume Replicator 4.1 Administrator's Guide   

Decreasing the Size of the SRL on the Primary

Before resizing the SRL, do the following:

    Checkmark  Stop the application.

    Checkmark  Verify that the RLINKs are up-to-date by issuing the following command:


    #  vxrlink -g diskgroup status rlink_name

  To decrease the size of the SRL on the Primary

  1. If the application and the RVG are not configured as VCS resources, proceed to the next step.

    OR

    If the application and the RVG are configured as VCS resources, OFFLINE the application resource, as well as, the RVG resource and then proceed to step 4. To OFFLINE resources, use the hagrp command. For more information on offlining resources, see the VERITAS Cluster Server User's Guide.

  2. Make sure that the application is not running.
  3. Stop the RVG:
    #  vxrvg -g diskgroup stop rvg_name
  4. Make sure all RLINKs are up-to-date:
    #  vxrlink -g diskgroup status rlink_name
    Note   Note    If you see any outstanding writes, do not proceed to step 5.
  5. Detach all RLINKs:
    #  vxrlink -g diskgroup det rlink_name
  6. Dissociate the SRL from the RVG.
    Note   Note    Any checkpoints that you have created will be lost after dissociating the SRL.

    #  vxvol -g diskgroup dis srl_name
  7. Decrease the size of the Primary SRL using the vxassist command. For example, to decrease the size of the SRL:
    #  vxassist -g diskgroup shrinkto srl_name new_length
    Note   Note    It is recommended that the SRL reside on disks that are not being used for the data volumes. Also, it is recommended that the Primary and Secondary SRLs must be of the same size. See the vxassist(1M) manual page for more information.
  8. Reassociate the SRL with the RVG:
    #  vxvol -g diskgroup aslog rvg_name srl_name
  9. Attach all RLINKs:
    #  vxrlink -f att rlink_name
    Note   Note    The RLINK was up-to-date when it was detached in step 5 and the Secondary is consistent with the Primary; therefore, it is appropriate to use the force option here.
  10. If the application and the RVG are not configured as VCS resources, proceed to the next step.

    OR

    If the application and the RVG are configured as VCS resources, ONLINE the RVG resource, as well as, the application resource. To ONLINE resources, use the hagrp command. For more information on onlining resources, see the VERITAS Cluster Server User's Guide. The resize operation is complete. Do not perform step 11 and step 12.

  11. Start the RVG:
    #  vxrvg -g diskgroup start rvg_name
  12. Restart the application.
 ^ Return to Top Previous  |  Next  >  
Product: Volume Replicator Guides  
Manual: Volume Replicator 4.1 Administrator's Guide  
VERITAS Software Corporation
www.veritas.com