<!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:33:27">
<meta name="PRODUCTNAME" content="VERITAS Software Documentation">
<meta name="FILENAME" content="ch2install_hpux.fm">
     
<title>Installing VVR Packages Using the swinstall Command</title>

</HEAD>

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

<a name="153698"></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="ch2install_hpux_vvr24_153693.html" title="Previous - Installing VVR Packages Using the installvvr Script">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="ch3upgrade_hpux_vvr26_113906.html" title="Next - Upgrading VERITAS Volume Replicator">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_install_hpux_titlepage_docCD_vvr2_73700.vxhd" title="Volume Replicator 4.1 Installation Guide title page ">Volume Replicator 4.1 Installation 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="153698"></a> Installing VVR Packages Using the swinstall Command</font>
</h1>
         
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="143141"></a>If you prefer, you can use the <font face="Courier New, Courier, sansserif, sans serif" size="2">swinstall</font> command rather than the product installer provided on the disc with VERITAS Volume Replicator to install the packages.</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="143148"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">If you choose to install VERITAS Volume Replicator using the <font face="Courier New, Courier, sansserif, sans serif" size="2">swinstall</font> command, you must manually add the appropriate patches.
</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="143152"></a>Installing the VVR License</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="143154"></a>Use the previously obtained license key to install the license. To display a list of all licenses on the system, use the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxlicrep</font> command. To verify that the license is permanent and has not expired, use the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxlictest</font> command.</font>
</p>

</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="143157"></a>&nbsp;&nbsp;<b>To install a new VVR license</b></font>
</p>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="143158"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxlicinst&nbsp;</b></font>
</font>
<blockquote>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="143159"></a>Follow the prompts.</font>
</blockquote>



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="143203"></a>Notes on Installing VVR when VxVM is Already Installed</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="143204"></a>If the 4.1 release of VERITAS Volume Manager (VxVM) is already installed on your system, you can start using VVR by installing the VVR license. If a previous version of operating system is installed on your system, you must upgrade the Operating System (OS) version to . After OS upgrade, the VxVM version 3.5 is available. Install VxVM from the product disc to overwrite the 3.5 version with version 4.1. For more information, see <em>VERITAS Storage Foundation Installation Guide.</em></font>
</p>

<p>
<ul type="disc"><li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="143218"></a>You must run the script <font face="Courier New, Courier, sansserif, sans serif" size="2">vxstart_vvr</font> that resides in <font face="Courier New, Courier, sansserif, sans serif" size="2">/usr/sbin</font> directory.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="143219"></a>Volumes with Dirty Region Logs (DRLs) cannot be associated with an Replicated Volume Group (RVG). If you plan to associate existing volumes that have DRLs with an RVG, remove the DRLs first. To remove a DRL from a volume, use the following command:</font>
</li>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="143220"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;</font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxassist&nbsp;-g&nbsp;</b></font><em>diskgroup</em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;remove&nbsp;log&nbsp;</b></font><em>volume_name</em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;nlog=0</b></font>
</font>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="143222"></a>Use <font face="Courier New, Courier, sansserif, sans serif" size="2">vxdiskadm</font> to initialize any new disks and to create disk groups.</font>
</li>
</ul>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="143223"></a>To use the new features of VVR 4.1, upgrade the version of each disk group by entering the following command:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="143224"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxdg&nbsp;upgrade</b></font>&nbsp;<em>diskgroup</em>
</font>
<p>
<ul type="disc"><li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="146921"></a>Use <font face="Courier New, Courier, sansserif, sans serif" size="2">vxlictest</font> to verify that VVR is licensed. </font>
</li>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="146947"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxlictest&nbsp;-n&nbsp;&quot;VERITAS&nbsp;Volume&nbsp;Manager&quot;&nbsp;-f&nbsp;VVR</b></font>
</font>
</ul>
</p>



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="143226"></a>Installing the VVR Packages Using the swinstall Command</font>
</h2>
 
</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="143227"></a>&nbsp;&nbsp;<b>To install the optional VVR packages using the swinstall command</b></font>
</p>
<ol>
<li value="1">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="149952"></a>Log in as <font face="Courier New, Courier, sansserif, sans serif" size="2">root</font>.
</font>
<li value="2">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="149953"></a>Create a directory for installation:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="149954"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mkdir&nbsp;/tmp/install</b></font>
</font>
<li value="3">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="149955"></a>Insert the software disc with the VVR software in to the DVD drive of your system.
</font>
<li value="4">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="149956"></a>Mount the disc and go to the directory that contains the software packages as follows:<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>							</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="152386"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>/usr/sbin/pfs_mount&nbsp;-t&nbsp;rrip&nbsp;/dev/dsk/</b></font><em>c#t#d#</em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;/dvdrom</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="152927"></a>&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>cd&nbsp;/dvd_path/depot</b></font>
</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="149958"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">Install the packages in the order specified below to ensure proper installation (for example, you must install <font face="Courier New, Courier, sansserif, sans serif" size="2">VRTSvxvm</font> before <font face="Courier New, Courier, sansserif, sans serif" size="2">VRTSvmpro</font>). If any of the packages are already installed on your system as a result of other VERITAS product installations, a message displays.
</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="143248"></a>Use the following command to install the optional software packages:
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="152402"></a>To do it interactively:</font>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="152414"></a>Register the depot using the command:</font>
</p>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="152416"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>swreg&nbsp;-l&nbsp;depot&nbsp;/dvd_path/depot</b></font>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="152415"></a>Install the optional packages using the command:</font>
</p>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="146597"></a>#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;swinstall&nbsp;/dvd_path/depot&nbsp;VRTSobgui&nbsp;VRTSjre&nbsp;VRTSweb&nbsp;VRTSvrw&nbsp;</b></font>\
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="150077"></a><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;&nbsp;VRTSvcsvr&nbsp;VRTSmcsg</b></font>&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>VRTSvmdoc&nbsp;VRTSvrdoc&nbsp;VRTSvmman&nbsp;</b></font>\
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="150078"></a><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;&nbsp;&nbsp;VRTSap&nbsp;VRTStep</b></font>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="146727"></a>	The system prints out a series of status messages as the installation progresses and prompts you for any required information, such as the license key. Answer all questions asked during the installation.</font>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="146599"></a>To do it non-interactively:</font>
</p>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="150735"></a><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>#&nbsp;swinstall&nbsp;-s&nbsp;/dvd_path/depot&nbsp;VRTSobgui&nbsp;VRTSjre&nbsp;VRTSweb&nbsp;VRTSvrw&nbsp;</b></font>\
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="150736"></a><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;&nbsp;VRTSvcsvr&nbsp;VRTSmcsg</b></font>&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>VRTSvmdoc&nbsp;VRTSvrdoc&nbsp;VRTSvmman&nbsp;</b></font>\
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="146601"></a><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;&nbsp;&nbsp;VRTSap&nbsp;VRTStep</b></font>
</font>
</ol>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="145681"></a>After installing VVR, use the VERITAS product installer to configure VVR. See <a href="ch4config_vvr32_113906.html#113906">Configuring VERITAS Volume Replicator</a>. Configuring VVR using the VERITAS product installer also starts the VVR processes. If you intend to maintain the existing or default configuration, you can start the VVR processes using the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxstart_vvr</font> script in the <font face="Courier New, Courier, sansserif, sans serif" size="2">/usr/sbin</font> directory.</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="147508"></a>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="114287"></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="ch2install_hpux_vvr25_153698.html" title="Installing VVR Packages Using the swinstall Command">Return to Top</a></font>

  </td>
  <td align="right"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="ch2install_hpux_vvr24_153693.html" title="Previous - Installing VVR Packages Using the installvvr Script">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="ch3upgrade_hpux_vvr26_113906.html" title="Next - Upgrading VERITAS Volume Replicator">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_install_hpux_titlepage_docCD_vvr2_73700.vxhd" title="Volume Replicator 4.1 Installation Guide title page ">Volume Replicator 4.1 Installation 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>
