<!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:19">
<meta name="PRODUCTNAME" content="VERITAS Software Documentation">
<meta name="FILENAME" content="app_vol_states.fm">
     
<title>VERITAS Volume Replicator Utility States</title>

</HEAD>

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

<a name="73262"></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="app_vol_states_vvr136_73248.html" title="Previous - VERITAS Volume Replicator Kernel State">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="task_reference_vvr138_73234.html" title="Next - Appendix:  VVR Task Reference">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="73262"></a> VERITAS Volume Replicator Utility States</font>
</h1>
         



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="73264"></a>RVG Utility States</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73265"></a>This section lists the RVG states and their descriptions.</font>
</p>

<p>
<ul type="disc"><li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73266"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">EMPTY</font>---State of a newly created RVG. Issue the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrvg</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">start</font> command to start the RVG.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73267"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">CLEAN</font>---The RVG is stopped. This state is seen after issuing the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrvg&nbsp;stop</font> command. Issue the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrvg</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">start</font> command to start the RVG.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73268"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">ACTIVE</font>---This determines if I/O can be performed to the data volumes:</font>
</li>
<p>
<ul type="disc"><li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73269"></a>If the KSTATE is <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">ENABLED</font>, I/O can be performed.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73270"></a>If the KSTATE is <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">RECOVER</font>, I/O cannot be performed (this state usually occurs after a system crash).</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73271"></a>If the KSTATE is <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">DISABLED</font>, I/O cannot be performed.</font>
</li>
</ul>
</p>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73272"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">FAIL</font>---A data volume error occurred.</font>
</li>
</ul>
</p>



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="73275"></a>RLINK Utility States</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73276"></a>This section lists the RLINK states and their descriptions. </font>
</p>

<p>
<ul type="disc"><li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73277"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">UNASSOC</font>---Not associated to an RVG.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73278"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">STALE</font>---Associated to an RVG but needs complete synchronization between the Primary and Secondary.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73279"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">ACTIVE</font>---Replicating or ready to replicate.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73280"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">PAUSE</font>---Replication is not active because of an administrative action or a configuration error.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73281"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">FAIL</font>---Data volume error occurred on the Secondary or the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">-w&nbsp;pause&nbsp;</font>command was issued on the Secondary. For more information, see <a href="app_vol_states_vvr137_73262.html#73337">Inconsistent RLINKs</a>.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73285"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">PAUSING</font>---Temporary state while <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">pause</font> is executing.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73286"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">RESUMING</font>---Temporary state while <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">resume</font> is executing.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73287"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">RESTORING</font>---Temporary state while <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">restore</font> is executing.</font>
</li>
</ul>
</p>



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="73290"></a>Inactive RLINKs</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73291"></a>An RLINK is considered inactive whenever the Primary cannot send data to the Secondary for any reason, such as:</font>
</p>

<p>
<ul type="disc"><li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73292"></a>A temporary failure of the network connection between the Primary and the Secondary.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73293"></a>A failure of the Secondary node.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73294"></a>The execution of a <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">pause</font> command by an administrator.</font>
</li>
</ul>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73295"></a>The data to be sent on an inactive RLINK is buffered in the SRL. If the RLINK remains inactive for an extended period, the SRL may not be able to buffer new writes; even if it can, the Secondary becomes increasingly out-of-date. So it is important that the SRL is large enough to accommodate most of the inactive periods. To help control the behavior of an inactive RLINK, SRL overflow protection may be used. For details, see <a href="ch5confvvr_vvr70_113968.html#114302">Setting the SRL Overflow Protection</a>.</font>
</p>




<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="73302"></a>STALE RLINK State</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73303"></a>An RLINK is <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">STALE</font> when the Secondary data volumes do not contain the Primary's data and cannot be brought up-to-date using the SRL. When an RLINK is first created, its initial state is <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">STALE</font>.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73304"></a>RLINKs can enter the <font face="Courier New, Courier, sansserif, sans serif" size="2">STALE</font> state when they are detached either manually (via <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink&nbsp;det</font>) or by the kernel (on the Primary only, if an SRL media error occurs). An RLINK can also become <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">STALE</font> if the log overflows. See <a href="ch2_concepts_vvr64_114223.html#114286">Protection Against SRL Overflow---srlprot attribute</a> for a description of cases where the log overflows and what can be done to prevent it.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73311"></a>To change the state of an RLINK from <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">STALE</font> to <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">ACTIVE</font>, see <a href="ch5confvvr_vvr71_139374.html#114533">Using the Automatic Synchronization Feature</a> and <a href="ch5confvvr_vvr71_139374.html#114694">Example---Synchronizing the Secondary Using Block-level Backup</a>.</font>
</p>




<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="73318"></a>FAIL RLINK State</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73320"></a>A Primary RLINK enters the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">FAIL</font> state when the corresponding Secondary RLINK enters the <font face="Courier New, Courier, sansserif, sans serif" size="2">FAIL</font> state for any reason. This happens if there is an unrecoverable I/O error on one of the Secondary data volumes. </font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73322"></a>There are two ways for a Secondary RLINK to fail. One is if it encounters an I/O error that cannot be corrected. This is less likely to happen if the data volumes have been configured in a redundant fashion.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73324"></a>The second way for a Secondary RLINK to fail is if you enter the<font face="Courier New, Courier, sansserif, sans serif" size="2">&nbsp;vxrlink</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">-w&nbsp;pause</font> command on the Secondary. This command must be used with great care because it enables data volumes on the Secondary to be written. The command must be used if a data volume must be restored from backup. </font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73325"></a>When the restore operation is complete, execute the following command:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="73327"></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;-c&nbsp;</b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>checkpoint_name</b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;restore&nbsp;</b></font><em>rlink_name</em>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73328"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">This&nbsp;will&nbsp;return&nbsp;both&nbsp;the&nbsp;Primary&nbsp;and&nbsp;Secondary&nbsp;RLINKs&nbsp;to&nbsp;the&nbsp;</font><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">ACTIVE</font><font face="Courier New, Courier, sansserif, sans serif" size="2">&nbsp;state.&nbsp;</font></font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73331"></a>Secondaries can also be restored from a Primary checkpoint if a Secondary checkpoint is not available, but the Primary checkpoint and corresponding backup are available.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73332"></a>If the Secondary RLINK cannot be restored, or if it is no longer needed, then <br><font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">det</font> can be used on either the Primary or the Secondary to detach the Primary RLINK and make it <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">STALE</font>.</font>
</p>

<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="73333"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">In some cases after an RLINK has been moved from the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">FAIL</font> state back to the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">ACTIVE</font> state, the RVG may remain in the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">FAIL</font> state. This can be corrected by entering: <br># <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxrvg </b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>-g </b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>diskgroup</b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b> </b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>start </b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>rvg_name</b></font>
</font>
<hr noshade size="2" width="100%" color="#000000">



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="73337"></a>Inconsistent RLINKs</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73338"></a>When an RLINK is inconsistent, the Secondary cannot be used for a failover because the data volumes do not reflect the data on the Primary node.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73339"></a>Note that <font face="Courier New, Courier, sansserif, sans serif" size="2">inconsistent</font> is not a state. Whether an RLINK is consistent, or not, is shown in the flags field of the RLINK. </font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73340"></a>To see whether the <font face="Courier New, Courier, sansserif, sans serif" size="2">consistent</font> or <font face="Courier New, Courier, sansserif, sans serif" size="2">inconsistent</font> flag is set, use the following command:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="73341"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">#</font>&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxprint&nbsp;-g&nbsp;</b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>diskgroup</b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;-l</b></font>&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>rlink_name</b></font>&nbsp;
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73342"></a>An RLINK that is <font face="Courier New, Courier, sansserif, sans serif" size="2">inconsistent</font> and in the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">FAIL</font> state must be restored before it can be used again. It can be restored using a Primary or a Secondary checkpoint. An RLINK becomes <font face="Courier New, Courier, sansserif, sans serif" size="2">inconsistent</font> and gets in the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">FAIL</font> state in situations such as:</font>
</p>

<p>
<ul type="disc"><li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73343"></a>When you enter the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">-w&nbsp;pause</font> command</font>
</li>
<blockquote>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73344"></a>Used to put an RLINK in the fail state. Not normally used.</font>
</blockquote>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73345"></a>If there is an unrecoverable I/O error on a data volume on the Secondary</font>
</li>
<blockquote>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73346"></a>If the data volume can be restored from backup, it is possible to recover. Loss of volumes due to I/O errors is usually preventable by mirroring.</font>
</blockquote>
</ul>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73347"></a>If an RLINK is <font face="Courier New, Courier, sansserif, sans serif" size="2">inconsistent</font>, but not in the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">FAIL</font> state, it could be a temporary situation and the inconsistent flag will clear when the operation completes. This happens in situations, such as:</font>
</p>

<p>
<ul type="disc"><li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73348"></a>During atomic update</font>
</li>
<blockquote>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73350"></a>An atomic update operation would happen automatically, for example, to catch up after a network outage. If a machine crashed during such an update, the user would see the inconsistent flag set while not in the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">FAIL</font> state. This is unlikely, however, and as long as the Primary node has not been lost, VVR will automatically make the RLINK consistent again once the Primary-Secondary network connection is reestablished.</font>
</blockquote>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73354"></a>During DCM resynchronization</font>
</li>
<blockquote>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73355"></a>When you execute the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrvg</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">resync</font> command after the SRL has overflowed, the RLINK becomes inconsistent during resynchronization until the DCM replay is complete.</font>
</blockquote>
</ul>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73357"></a>When the <font face="Courier New, Courier, sansserif, sans serif" size="2">inconsistent</font> flag is set, a flag is displayed indicating whether the RLINK can be resynchronized. If the RLINK has the <font face="Courier New, Courier, sansserif, sans serif" size="2">cant_sync</font> flag set, it is inconsistent, and this Secondary needs to be resynchronized before it can take part in replication again. If the <font face="Courier New, Courier, sansserif, sans serif" size="2">inconsistent</font> and <font face="Courier New, Courier, sansserif, sans serif" size="2">can_sync</font> flags are set, there is enough information to make it consistent again. This will occur automatically.</font>
</p>




<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="73362"></a>Pausing, Resuming, and Restoring RLINK States</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73365"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">PAUSING</font>, <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">RESUMING</font>, and <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">RESTORING</font> are temporary states through which the RLINK transitions when doing a <font face="Courier New, Courier, sansserif, sans serif" size="2">Pause</font>, <font face="Courier New, Courier, sansserif, sans serif" size="2">Resume</font>, or <font face="Courier New, Courier, sansserif, sans serif" size="2">Restore</font>, respectively. If these states persist, it means that the command failed halfway through the execution. Recovery from these states is simple.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73370"></a>If the state is <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">PAUSING</font>, it means that some error prevented the pause operation from completing. The error is displayed during execution of the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">pause</font> command. When the error is corrected, the next <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">pause</font> command will succeed.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73372"></a>If the state is <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">RESUMING</font>, it means that some error prevented the resume operation from completing. The error is displayed during execution of the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">resume</font> command. When the error is corrected, the next <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">resume</font> command will succeed.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73373"></a>If the state is <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">RESTORING</font>, a <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font><font face="Courier New, Courier, sansserif, sans serif" size="2">&nbsp;</font><font face="Courier New, Courier, sansserif, sans serif" size="2">restore</font> command failed. You must execute either a <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font><font face="Courier New, Courier, sansserif, sans serif" size="2">&nbsp;</font><font face="Courier New, Courier, sansserif, sans serif" size="2">-w&nbsp;pause</font> command to put the RLINK back into the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">FAIL</font> state, or a <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font><font face="Courier New, Courier, sansserif, sans serif" size="2">&nbsp;</font><font face="Courier New, Courier, sansserif, sans serif" size="2">-c</font> <font face="Courier New, Courier, sansserif, sans serif" size="2"><em>checkpoint</em></font> <font face="Courier New, Courier, sansserif, sans serif" size="2">restore</font> command to put it into the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">ACTIVE</font> state.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73378"></a>Two other Volume Replicator commands also use two-phase transactions. If these commands fail after executing partially, they can be safely repeated. The commands are:</font>
</p>

<p>
<ul type="disc"><li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73379"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font><font face="Courier New, Courier, sansserif, sans serif" size="2">&nbsp;</font><font face="Courier New, Courier, sansserif, sans serif" size="2">recover</font></font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73380"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">vxrvg&nbsp;recover</font></font>
</li>
</ul>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73381"></a>If the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrlink</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">recover</font> or <font face="Courier New, Courier, sansserif, sans serif" size="2">vxrvg&nbsp;recover</font> command fails, the state of the object will still be <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">RECOVER</font>. Volume Replicator commands that do two-phase transactions report an error message and have a nonzero exit code if they fail.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="73386"></a></font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="71835"></a></font>
</p>


<!-- 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="app_vol_states_vvr137_73262.html" title="VERITAS Volume Replicator Utility States">Return to Top</a></font>

  </td>
  <td align="right"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="app_vol_states_vvr136_73248.html" title="Previous - VERITAS Volume Replicator Kernel State">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="task_reference_vvr138_73234.html" title="Next - Appendix:  VVR Task Reference">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>
