Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\ratug\dbr_replay015.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Starting Replay Clients</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1.1 Build 005" /> <meta name="date" content="2009-06-04T10:50:31Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Starting Replay Clients" /> <meta name="relnum" content="11g Release 2 (11.2)" /> <meta name="partnum" content="E12254-01" /> <link rel="copyright" href="./dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="./dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="prev" href="dbr_replay014.htm" title="Previous" type="text/html" /> <link rel="next" href="dbr_replay016.htm" title="Next" type="text/html" /> <script src="./callback.js" type="text/javascript"></script> <noscript>Your browser does not support JavaScript. This help page requires JavaScript to render correctly.</noscript> </head> <body> <div class="zz-skip-header"><a href="#BEGIN">Skip Headers</a></div> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="dbr_replay014.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="dbr_replay016.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CHDDDJDH" name="CHDDDJDH"></a><a id="RATUG145" name="RATUG145"></a></p> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h1>Starting Replay Clients</h1> <a name="BEGIN" id="BEGIN"></a> <p>After determining the number of replay clients that are needed to replay the workload, you need to start the replay clients by running the wrc executable in replay mode on the hosts where they are installed. Once started, each replay client will initiate one or more sessions with the database to drive the workload replay.</p> <p>In replay mode, the wrc executable accepts the following keywords:</p> <ul> <li> <p><code>userid</code> and <code>password</code> specify the user ID and password of a replay user for the replay client. If unspecified, these values default to the <code>system</code> user.</p> </li> <li> <p><code>server</code> specifies the connection string that is used to connect to the replay system. If unspecified, the value defaults to an empty string.</p> </li> <li> <p><code>replaydir</code> specifies the directory that contains the preprocessed workload capture you want to replay. If unspecified, it defaults to the current directory.</p> </li> <li> <p><code>workdir</code> specifies the directory where the client logs will be written. This parameter is only used with the <code>debug</code> parameter for debugging purposes.</p> </li> <li> <p><code>debug</code> specifies whether debug data will be created. Possible values include:</p> <ul> <li> <p><code>on</code></p> <p>Debug data will be written to both files in the working directory</p> </li> <li> <p><code>off</code></p> <p>No debug data will be written (the default value)</p> </li> </ul> <div class="helpinfonote"> <p><span class="bold">Note: </span>Before running the wrc executable in debug mode, contact Oracle Support for more information.</p> </div> </li> <li> <p><code>connection_override</code> specifies whether to override the connection mappings stored in the <code>DBA_WORKLOAD_CONNECTION_MAP</code> view. If set to <code>TRUE</code>, connection remappings stored in the <code>DBA_WORKLOAD_CONNECTION_MAP</code> view will be ignored and the connection string specified using the <code>server</code> parameter will be used. If set to <code>FALSE</code>, all replay threads will connect using the connection remappings stored in the <code>DBA_WORKLOAD_CONNECTION_MAP</code> view. This is the default setting.</p> </li> </ul> <p>The following example shows how to run the wrc executable in replay mode:</p> <pre xml:space="preserve" class="oac_no_warn"> %> wrc system/password@test mode=replay replaydir=./replay </pre> <p>In this example, the wrc executable starts the replay client to replay the workload capture stored in a subdirectory named <code>replay</code> under the current directory.</p> <p>After all replay clients have connected, the database will automatically distribute workload capture streams among all available replay clients and workload replay can begin. You can monitor the status of the replay clients using the <code>V$WORKLOAD_REPLAY_CLIENTS</code> view. After the replay finishes, all replay clients will disconnect automatically.</p> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="dbr_replay013.htm#CHDICJHE">Setting Up Replay Clients</a></p> </div> </div> <!-- class="sect3" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2008, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="./dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="dbr_replay014.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="dbr_replay016.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de