awips2/cave/com.raytheon.viz.gfe/help/moveGFEData.html

214 lines
6 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR"
content="Mozilla/4.79 [en] (X11; U; Linux 2.4.18-27.7.xsmp i686) [Netscape]">
<title>ifpServerStats User's Guide</title>
</head>
<body bgcolor="#ffffff">
<h1 class="1Heading">
moveGFEData User's Guide</h1>
<div class="1Heading">April 4, 2006<br>
</div>
<h2 class="1Heading">
<a name="TableofContents"></a>Table of Contents</h2>
<h4 class="1Heading">
<a href="#Overview">Overview</a></h4>
<h4 class="1Heading">
<a href="#Running">Running the moveGFEData Program</a></h4>
<h4 class="1Heading">
<a href="#ExampleData">Example Output</a></h4>
<div class="1Heading">
<hr width="100%"></div>
<h2 class="1Heading">
<a name="Overview"></a>Overview</h2>
<div class="1Heading">The moveGFEData program is a utility to move or
copy
configuration files from one user to another.&nbsp; It can be used with
either one server, to copy/move files from user to user, or two
servers,
to copy/move files from one user on one server to another user on a
second
server.</div>
<div class="1Heading">
<hr width="100%"></div>
<div class="1Heading">
<hr width="100%"></div>
<h3 class="1Heading">
<a name="Running"></a>Running the moveGFEData Program</h3>
<div class="1Heading">&nbsp;</div>
<div class="1Heading">The command line syntax is:</div>
<div class="1Heading"><tt>moveGFEData -h hostname -p portnumber -s
sourceUser
-d destUser [-c] [-a host2 -b port2]</tt></div>
<div class="1Heading">A sample command line is:
<br>
<tt>moveGFEData -h dx4f -p 98000000 -s awipsusr -d SITE</tt></div>
<div class="1Heading">&nbsp;</div>
<table nosave="" border="1" width="100%">
<tbody>
<tr>
<td><b>Option Syntax</b></td>
<td><b>Optional or Mandatory</b></td>
<td><b>Description</b></td>
</tr>
<tr>
<td>-h hostname</td>
<td>Mandatory (See Note)</td>
<td>Specifies the host, upon which the source ifpServer is
running.&nbsp;
If -a and -b are not specified, then this also specifies the host upon
which the destination ifpServer is running.</td>
</tr>
<tr>
<td>-p port</td>
<td>Mandatory (See Note)</td>
<td>Specifies the port, upon which the source ifpServer is
running. If
-a and -b are not specified, then this also specifies the port upon
which
the destination ifpServer is running.</td>
</tr>
<tr>
<td>-s sourceUser</td>
<td>Mandatory</td>
<td>Specifies the source user from which files will be moved from.</td>
</tr>
<tr>
<td>-d destUser</td>
<td>Mandatory</td>
<td>Specifies the destination user to which files will be moved
to.</td>
</tr>
<tr>
<td>-c</td>
<td>Optional</td>
<td>If specified, copy data only, do not move it.&nbsp; By
default, the
data is moved.</td>
</tr>
<tr>
<td>-a host2</td>
<td>Optional</td>
<td>Specifies the host, upon which the destination ifpServer is
running.
This switch is not necessary if you are copying/moving files between
users
on the same server.</td>
</tr>
<tr>
<td>-b port2</td>
<td>Optional</td>
<td>Specifies the port, upon which the destination ifpServer is
running.
This switch is not necessary if you are copying/moving files between
users
on the same server.</td>
</tr>
</tbody>
</table>
<font color="#3366ff">Note: The -h serverhost and -p port are
predefined
based on your installation configration of GFESuite.&nbsp; The -h and
-p
will be defined for the server host and port specified during
installation.&nbsp;&nbsp;&nbsp;
If you wish to connect to another server, then these switches will be
necessary.&nbsp;</font><font color="#3366ff">&nbsp; If environment
variables ${CDSHOST} or
${CDSPORT} are defined, then the default server and port will be
determined from the environment variables, unless overridden with the
user specified -h and -p switches.</font>
<div class="1Heading">
<hr width="100%"></div>
<p><br>
The program will list the various categories that are valid.&nbsp;
The user chooses a category and an inventory is shown of the data owned
by the "sourceUser".&nbsp; The user chooses the file to move and the
program
moves the file.&nbsp; Then the program displays the updated inventory.
<br>
&nbsp;
</p>
<h3 class="1Heading"><a name="ExampleData"></a>Example Execution</h3>
<div class="1Heading">The following shows an example execution of
copying
data from user "mark" to user "mark1".&nbsp; User input is shown in
italics
and bold. The program moves the ISC_Tool from mark to mark1.
<p><tt>camper &gt; <b><i>moveGFEData -h polaris -p 98000000 -s mark -d
mark1</i></b></tt>
</p>
<p><tt>******************* MoveGFEData ******************</tt>
<br>
<tt>SourceUser: mark</tt>
<br>
<tt>DestinationUser: mark1</tt>
</p>
&lt;&gt;<tt>Enter type of data.&nbsp; Choose one of the options</tt>
<br>
<tt>0 - exit</tt>
<br>
<tt>1 - Color Tables</tt>
<br>
<tt>2 - Edit Areas (Reference Areas)</tt>
<br>
<tt>3 - Sample Sets</tt>
<br>
<tt>4 - Weather Element Groups</tt>
<br>
<tt>5 - Edit Area Groups</tt>
<br>
<tt>6 - GFE/ifpIMAGE Configurations</tt>
<br>
<tt>7 - Selection Time Ranges</tt>
<br>
<tt>8 - Smart Tools<br>
9 - Procedures<br>
10 - Utilities<br>
11 - Text Utilities<br>
12 - Text Formatters<br>
</tt><span style="font-family: monospace;">13 - Zone Combiner Saved
Combos
and Colors<br>
14 - Zone Combiner Combination Files<br>
</span><b><i><tt>8</tt></i></b>
<p><tt>***** Tools, Procedures, Utilities, Formatters *****</tt>
<br>
<tt>Current Inventory for User: mark</tt>
<br>
<tt>0.&nbsp; Exit</tt>
<br>
<tt>-1. ALL entries</tt>
<br>
<tt>1.&nbsp; SnowAmt_SmartTool</tt>
<br>
<tt>2.&nbsp; ISC_Tool</tt>
<br>
<tt>3.&nbsp; AdjustDown_wTaper</tt>
<br>
<tt>Enter number to move from mark to mark1</tt>
<br>
<b><i><tt>2</tt></i></b>
<br>
<tt>Current Inventory for User: mark</tt>
<br>
<tt>0.&nbsp; Exit</tt>
<br>
<tt>-1. ALL entries</tt>
<br>
<tt>1.&nbsp; SnowAmt_SmartTool</tt>
<br>
<tt>2.&nbsp; AdjustDown_wTaper</tt>
<br>
<tt>Enter number to move from mark to mark1</tt>
<br>
<b><i><tt>0</tt></i></b>
<br>
<tt>camper &gt;</tt></p>
</div>
</body>
</html>