<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Transitional//EN">
<HTML>
<HEAD>
  <!--
    *************************************************************************************
    * Copyright (c) 2005 VERITAS Software Corporation. All rights reserved. *

      For third-party license citations, please see the bottom of this file.
    *************************************************************************************
  -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="TEMPLATEBASE" content="vx_vxhelp_2005c">
<meta name="LASTUPDATED" content="06/14/05 13:34:20">
<meta name="PRODUCTNAME" content="VERITAS Software Documentation">
<meta name="FILENAME" content="task_reference.fm">
     
<title>Decreasing the Size of the SRL on the Primary</title>

</HEAD>

<BODY bgcolor="#FFFFFF" link="#000066" vlink="#0000ff" marginheight="0" topmargin="0">
<basefont=1>

<a name="74053"></a>

<div align="left">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
 <tr>
   <td height="2" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#000000">
   </td>
 </tr>
 <tr>
   <td height="15" width="50%" border="0" cellspacing="0" cellpadding="0" bgcolor="#cccccc">
    <img src="images/vxsymbol.gif" height="20" width="31" border="0" cellspacing="0" cellpadding="0" align="left">
     
     
   </td>
   <td align="right" width="50%" bgcolor="#cccccc">

<!-- Header Breadcrumbs -->
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="task_reference_vvr140_73275.html" title="Previous - Mapping Disk Groups">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="app_accessibility_vvr142_73235.html" title="Next - Appendix:  Accessibility and VVR VEA">Next</a>
&nbsp;&gt;&nbsp;&nbsp;</font>
   </td>
 </tr>

 <tr>
  <td bgcolor="#CCCCCC" colspan="2" height="15" align="right">
  <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Product:  
<a href="vvr_splashpage_docCD_vvr1_103036.vxhd" title="Volume Replicator Guides title page ">Volume Replicator Guides</a>
  &nbsp;&nbsp;
  </font>
  </td>
 </tr>
 <tr>
  <td bgcolor="#CCCCCC" colspan="2" height="15" align="right">
  <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Manual:  
<a href="vvr_ag_hpux_titlepage_docCD_vvr41_73700.vxhd" title="Volume Replicator 4.1 Administrator's Guide title page ">Volume Replicator 4.1 Administrator's Guide</a>
  &nbsp;&nbsp;
  </font>
  </td>
 </tr>


</table>
</div>

<div align="left">
 <table border="0" width="100%" bgcolor="#FFFFFF">
  <tr>
   <td width="100%" valign="top" bgcolor="#FFFFFF">

<!-- Start Main Topic Content -->
        <a name="startcontent"></a>
	
<h1><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="+1" color="#000000"><a name="74053"></a> Decreasing the Size of the SRL on the Primary</font>
</h1>
         
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74054"></a>Before resizing the SRL, do the following:</font>
</p>

<ul><p><img src="images/check.gif" alt="Checkmark">&nbsp;
<a name="74057"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">Stop the application. </font>
</p><p><img src="images/check.gif" alt="Checkmark">&nbsp;
<a name="74058"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">Verify that the RLINKs are up-to-date by issuing the following command:</font>
</p><br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="74059"></a>#&nbsp;&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxrlink&nbsp;-g&nbsp;</b></font><em>diskgroup</em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;status&nbsp;</b></font><em>rlink_name</em>
</font>
</ul></ol>
<p><img src="images/stepintro.gif" height="16" width="16">
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000"><a name="74060"></a>&nbsp;&nbsp;<b>To decrease the size of the SRL on the Primary</b></font>
</p>
<ol>
<li value="1">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74061"></a>If the application and the RVG are <em>not</em> configured as VCS resources, proceed to the next step. 
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74062"></a>OR</font>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74063"></a>If the application and the RVG are configured as VCS resources, <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">OFFLINE</font> the application resource, as well as, the RVG resource and then proceed to <a href="task_reference_vvr141_74053.html#74071">step  4</a>. To <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">OFFLINE</font> resources, use the <font face="Courier New, Courier, sansserif, sans serif" size="2">hagrp</font> command. For more information on offlining resources, see the <em>VERITAS Cluster Server User's Guide</em>.</font>
</p>
<li value="2">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74067"></a>Make sure that the application is not running.
</font>
<li value="3">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74068"></a>Stop the RVG:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="74069"></a>#&nbsp;&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxrvg&nbsp;-g&nbsp;</b></font><em>diskgroup</em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;stop&nbsp;</b></font><em>rvg_name</em>
</font>
<li value="4">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74071"></a>Make sure all RLINKs are up-to-date:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="74072"></a>#&nbsp;&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxrlink&nbsp;-g&nbsp;</b></font><em>diskgroup</em>&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>status&nbsp;</b></font><em>rlink_name</em>
</font>
<hr noshade size="2" width="100%" color="#000000">
<img src="images/note.gif" alt="Note " height="16" width="16">&nbsp;
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="74076"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">If you see any outstanding writes, do not proceed to <a href="task_reference_vvr141_74053.html#74078">step  5</a>.
</font>
<hr noshade size="2" width="100%" color="#000000">
<li value="5">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74078"></a>Detach all RLINKs:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="74079"></a>#&nbsp;&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxrlink&nbsp;-g&nbsp;</b></font><em>diskgroup</em>&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>det&nbsp;</b></font><em>rlink_name</em>
</font>
<li value="6">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74080"></a>Dissociate the SRL from the RVG.
</font>
<hr noshade size="2" width="100%" color="#000000">
<img src="images/note.gif" alt="Note " height="16" width="16">&nbsp;
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="74081"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">Any checkpoints that you have created will be lost after dissociating the SRL.
</font>
<hr noshade size="2" width="100%" color="#000000">
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="74082"></a>#&nbsp;&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxvol&nbsp;-g&nbsp;</b></font><em>diskgroup</em>&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>dis&nbsp;</b></font><em>srl_name</em>
</font>
<li value="7">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74083"></a>Decrease the size of the Primary SRL using the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxassist</font> command. For example, to decrease the size of the SRL:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="74084"></a>#&nbsp;&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxassist&nbsp;-g&nbsp;</b></font><em>diskgroup</em>&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>shrinkto&nbsp;</b></font><em>srl_name</em>&nbsp;<em>new_length</em>
</font>
<hr noshade size="2" width="100%" color="#000000">
<img src="images/note.gif" alt="Note " height="16" width="16">&nbsp;
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="74085"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">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 <font face="Courier New, Courier, sansserif, sans serif" size="2">vxassist(1M)</font> manual page for more information.
</font>
<hr noshade size="2" width="100%" color="#000000">
<li value="8">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74086"></a>Reassociate the SRL with the RVG:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="74087"></a>#&nbsp;&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxvol&nbsp;-g&nbsp;</b></font><em>diskgroup</em>&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>aslog&nbsp;</b></font><em>rvg_name</em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;</b></font><em>srl_name</em>
</font>
<li value="9">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74088"></a>Attach all RLINKs:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="74089"></a>#&nbsp;&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxrlink&nbsp;-f&nbsp;att&nbsp;</b></font><em>rlink_name</em>
</font>
<hr noshade size="2" width="100%" color="#000000">
<img src="images/note.gif" alt="Note " height="16" width="16">&nbsp;
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="74093"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">The RLINK was up-to-date when it was detached in <a href="task_reference_vvr141_74053.html#74078">step  5</a> and the Secondary is consistent with the Primary; therefore, it is appropriate to use the force option here. 
</font>
<hr noshade size="2" width="100%" color="#000000">
<li value="10">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74094"></a>If the application and the RVG are <em>not</em> configured as VCS resources, proceed to the next step. 
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74095"></a>OR</font>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74096"></a>If the application and the RVG are configured as VCS resources, <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">ONLINE</font> the RVG resource, as well as, the application resource. To <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">ONLINE</font> resources, use the <font face="Courier New, Courier, sansserif, sans serif" size="2">hagrp</font> command. For more information on onlining resources, see the <em>VERITAS Cluster Server User's Guide</em>. The resize operation is complete. Do not perform <a href="task_reference_vvr141_74053.html#74104">step  11</a> and <a href="task_reference_vvr141_74053.html#74107">step  12</a>.</font>
</p>
<li value="11">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74104"></a>Start the RVG:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="74105"></a>#&nbsp;&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxrvg&nbsp;-g&nbsp;</b></font><em>diskgroup&nbsp;</em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>start&nbsp;</b></font><em>rvg_name</em>
</font>
<li value="12">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="74107"></a>Restart the application.
</font>
</ol>

<!-- End Main Topic Content -->

   </td>
  </tr>
 </table>
</div>

<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
 <tr>
  <td height="18" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#FFFFFF">
  </td>
 </tr>
  <td align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&nbsp;&#94;&nbsp;<a href="task_reference_vvr141_74053.html" title="Decreasing the Size of the SRL on the Primary">Return to Top</a></font>

  </td>
  <td align="right"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="task_reference_vvr140_73275.html" title="Previous - Mapping Disk Groups">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="app_accessibility_vvr142_73235.html" title="Next - Appendix:  Accessibility and VVR VEA">Next</a>
&nbsp;&gt;&nbsp;&nbsp;</font>
  </td>
 <tr>
   <td height="9" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#FFFFFF">
   </td>
 </tr>

<!-- Footer Breadcrumbs -->
<tr>
<td bgcolor="#FFFFFF" colspan="2" height="15" align="right">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Product:  
<a href="vvr_splashpage_docCD_vvr1_103036.vxhd" title="Volume Replicator Guides title page ">Volume Replicator Guides</a>&nbsp;&nbsp;</font></td>
</tr>

<tr>
<td bgcolor="#FFFFFF" colspan="2" height="15" align="right">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Manual:  
<a href="vvr_ag_hpux_titlepage_docCD_vvr41_73700.vxhd" title="Volume Replicator 4.1 Administrator's Guide title page ">Volume Replicator 4.1 Administrator's Guide</a>&nbsp;&nbsp;</font></td>
</tr>


 <tr>
  <td colspan="2" align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" color="#000000" align="right" size="-2">
<em>VERITAS Software Corporation
</em></font><br>

<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">www.veritas.com</font><br>
  </td>
 </tr>
</table>
</div>

</BODY>
  <!--
    *************************************************************************************
    * Copyright (c) 2005 VERITAS Software Corporation. All rights reserved. *

    VERITAS, VERITAS SOFTWARE, the VERITAS Logo, and VERITAS Software Documentation 
    are trademarks or registered trademarks of VERITAS Software Corporation 
    or its affiliates in the U.S. and other countries. Other names may be 
    trademarks of their respective owners. 

    Apache Jakarta Lucene:
    Apache Software License
    Version 1.1

    Copyright (c) 2000 The Apache Software Foundation. All rights reserved.

    Redistribution and use in source and binary forms, with or without modification, 
    are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice, this 
    list of conditions and the following disclaimer.

    2. Redistributions in binary form must reproduce the above copyright notice, this 
    list of conditions and the following disclaimer in the documentation and/or other 
    materials provided with the distribution.

    3. The end-user documentation included with the redistribution, if any, must include 
    the following acknowledgment: "This product includes software developed by the Apache 
    Software Foundation (http://www.apache.org/)." Alternately, this acknowledgment may 
    appear in the software itself, if and wherever such third-party acknowledgments 
    normally appear.

    4. The names "Apache" and "Apache Software Foundation" must not be used to endorse or 
    promote products derived from this software without prior written permission. For 
    written permission, please contact apache@apache.org.

    5. Products derived from this software may not be called "Apache", nor may "Apache" 
    appear in their name, without prior written permission of the Apache Software Foundation.

    THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, 
    BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
    PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION 
    OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
    OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 
    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
    ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    This software consists of voluntary contributions made by many individuals on behalf 
    of the Apache Software Foundation. For more information on the Apache Software Foundation, 
    please see <http://www.apache.org/>. Portions of this software are based upon public domain 
    software originally written at the National Center for Supercomputing Applications, University 
    of Illinois, Urbana-Champaign.
    
    This product includes WebWindow Software developed by Horst Heistermann.
    *************************************************************************************
  -->
</HTML>
