ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaie_5.4.0.1/rzaiesetfrca.htm

179 lines
11 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="topic" />
<meta name="DC.Title" content="Set up Fast Response Cache Accelerator (FRCA) for HTTP Server (powered by Apache)" />
<meta name="abstract" content="This topic provides information about how to set up FRCA for your HTTP Server with the IBM Web Administration for i5/OS interface." />
<meta name="description" content="This topic provides information about how to set up FRCA for your HTTP Server with the IBM Web Administration for i5/OS interface." />
<meta name="DC.Relation" scheme="URI" content="rzaieparfrca.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2002,2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2002,2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiesetfrca" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Set up Fast Response Cache Accelerator (FRCA) for HTTP Server (powered
by Apache)</title>
</head>
<body id="rzaiesetfrca"><a name="rzaiesetfrca"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Set up Fast Response Cache Accelerator (FRCA) for HTTP Server (powered
by Apache)</h1>
<div><p>This topic provides information about how to set up FRCA for your
HTTP Server with the <span>IBM<sup>®</sup> Web Administration for i5/OS™ interface</span>.</p>
<div class="important"><span class="importanttitle">Important:</span> Information
for this topic supports the latest PTF levels for HTTP Server for i5/OS .
It is recommended that you install the latest PTFs to upgrade to the latest
level of the HTTP Server for i5/OS. Some of the topics documented here are
not available prior to this update. See <a href="http://www-03.ibm.com/servers/eserver/iseries/software/http/services/service.html" target="_blank">http://www.ibm.com/servers/eserver/iseries/software/http/services/service.htm</a> <img src="www.gif" alt="Link outside Information Center" /> for more information. </div>
<p>The following explains how to enable FRCA, FRCA logging, and FRCA file
caching. See Fast Response Cache Accelerator (FRCA) for HTTP Server (powered
by Apache) for more information. </p>
<p>FRCA is a Web cache architecture that is tightly integrated with the TCP/IP
stack. FRCA moves performance critical TCP Application functions into a fast
response cache that improves HTTP Server performance. </p>
<ul><li><a href="#enable">Enable FRCA</a></li>
<li><a href="#logging">Enable FRCA logging</a></li>
<li><a href="#file_caching">Enable FRCA file caching</a></li>
<li><a href="#proxy">Enable FRCA reverse proxy caching</a></li>
</ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaieparfrca.htm" title="This topic provides step-by-step tasks for the Fast Response Cache Accelerator.">Fast Response Cache Accelerator tasks</a></div>
</div>
</div><div class="hr" id="enable"><a name="enable"><!-- --></a><h2 class="topictitle2">Enable FRCA</h2>
<div><div class="note"><span class="notetitle">Note:</span> The following information may be used to enable FRCA for the first time
or enable FRCA for a different Server area.</div>
<ol><li>Click the <strong>Manage</strong> tab. </li>
<li>Click the <span class="uicontrol">HTTP Servers</span> subtab.</li>
<li>Select your HTTP Server (powered by Apache) from the <strong>Server</strong> list.
</li>
<li>Select the <a href="rzaiecontext.htm">context</a> you
want to work with from the <strong>Server area</strong> list. </li>
<li>Expand <strong>Server Properties</strong>. </li>
<li>Click <strong>FRCA</strong>. </li>
<li>Click the <strong>General Settings</strong> tab in the form. </li>
<li>Click <strong>Add</strong> under the <strong>Server IP addresses and ports to listen
on</strong> table. </li>
<li>Enter an IP address and port number or select an existing IP address and
port. FRCA will listen on the IP address and port you specify. </li>
<li>Select <strong>Enabled</strong> from the list under the <strong>FRCA</strong> column. </li>
<li>Click <strong>Continue</strong>. </li>
<li>Click <strong>Apply</strong>. </li>
<li>Stop and restart your server. </li>
</ol>
<p>FRCA is now enabled. After enabling FRCA, you can set up logs and file
caching. </p>
</div>
</div>
<div class="hr" id="logging"><a name="logging"><!-- --></a><h2 class="topictitle2">Enable FRCA logging</h2>
<div><p>FRCA logging information allows you to track and generate reports on your
HTTP Server's activity. You may specify various log attributes, such as the
format for the information in the log file, rules for excluding entries from
the log file, and client side information logging. Each server configuration
file contains information about the type of log files the server will create.
You must enable FRCA before FRCA logging can be set up. See Set up logs on
HTTP Server (powered by Apache) for more information. </p>
<ol><li>Click the <strong>Manage</strong> tab. </li>
<li>Click the <span class="uicontrol">HTTP Servers</span> subtab.</li>
<li>Select your HTTP Server (powered by Apache) from the <strong>Server</strong> list.
</li>
<li>Select the <a href="rzaiecontext.htm">context</a> you
want to work with from the <strong>Server area</strong> list. </li>
<li>Expand <strong>Server Properties</strong>. </li>
<li>Click <strong>FRCA</strong>. </li>
<li>Click the <strong>FRCA Logs</strong> tab in the form. </li>
<li>Click <strong>Add</strong> under the <strong>FRCA logs</strong> table. </li>
<li>Enter the name of the log file you want to use. </li>
<li>Enter the log attributes under the <strong>Attributes</strong> column. </li>
<li>Click <strong>Continue</strong>. </li>
<li>Click <strong>OK</strong>. </li>
<li>Stop and restart your server. </li>
</ol>
</div>
</div>
<div class="hr" id="file_caching"><a name="file_caching"><!-- --></a><h2 class="topictitle2">Enable FRCA file caching</h2>
<div><p>FRCA provides file caching support. You may specify the maximum cache size,
the maximum file size to cache, the files to cache during server startup,
and the directories to dynamically cache files from. You must enable FRCA
before FRCA file caching can be set up. </p>
<ol><li>Click the <strong>Manage</strong> tab. </li>
<li>Click the <span class="uicontrol">HTTP Servers</span> subtab.</li>
<li>Select your HTTP Server (powered by Apache) from the <strong>Server</strong> list.
</li>
<li>Select the <a href="rzaiecontext.htm">context</a> you
want to work with from the <strong>Server area</strong> list. </li>
<li>Expand <strong>Server Properties</strong>. </li>
<li>Click <strong>FRCA</strong>. </li>
<li>Click the <strong>FRCA File Cache</strong> tab in the form. </li>
<li>Select <strong>Enabled</strong> from the <strong>FRCA file cache capabilities</strong> list.
</li>
<li>Enter a new value for <strong>Maximum cache size</strong> and select corresponding
size unit, or keep the default value. </li>
<li>Enter a new value for <strong>Maximum file size to cache</strong> and select the
corresponding size unit, or keep the default value. </li>
<li>Click <strong>Add</strong> under the <strong>Files to cache during server startup</strong> table
to add file types or specific files to cache at HTTP Server startup. </li>
<li>Click <strong>Continue</strong> when finished adding files to table. </li>
<li>Click <strong>Add</strong> under the <strong>Files to cache during server runtime</strong> table
to add file types or specific files to cache during HTTP Server runtime. </li>
<li>Click <strong>Continue</strong> when finished adding files to table. </li>
<li>Click <strong>OK</strong>. </li>
<li>Stop and restart your server. </li>
</ol>
</div>
</div>
<div class="hr" id="proxy"><a name="proxy"><!-- --></a><h2 class="topictitle2">Enable FRCA reverse proxy caching</h2>
<div><p>FRCA provides reverse proxy caching support. You may specify the maximum
proxy cache size and the maximum proxy response size to cache. In addition,
you may provide options for controlling which documents are cached based on
expiration criteria, specify remote servers for proxy requests, and establish
document retention policies. You must enable FRCA before FRCA Reverse Proxy
caching can be set up. </p>
<ol><li>Click the <strong>Manage</strong> tab. </li>
<li>Click the <span class="uicontrol">HTTP Servers</span> subtab.</li>
<li>Select your HTTP Server (powered by Apache) from the <strong>Server</strong> list.
</li>
<li>Select the <a href="rzaiecontext.htm">context</a> you
want to work with from the <strong>Server area</strong> list. </li>
<li>Expand <strong>Server Properties</strong>. </li>
<li>Click <strong>FRCA</strong>. </li>
<li>Click the <strong>FRCA Reverse Proxy Cache</strong> tab in the form. </li>
<li>Select <strong>Enabled</strong> from the <strong>FRCA reverse proxy cache capabilities</strong> list.
</li>
<li>Enter a new value for <strong>Maximum proxy cache size</strong> and select its corresponding
size unit, or keep the default value. </li>
<li>Enter a new value for <strong>Maximum proxy response size to cache</strong> and
select its corresponding size unit, or keep the default value. </li>
<li>Enter a new value for <strong>Document retention period</strong> and select its
time unit, or keep the default value. </li>
<li>Click <strong>Add</strong> under the <strong>Proxy requests to remote servers</strong> table.
</li>
<li>Enter a virtual path under the <strong>Local virtual path</strong> column. </li>
<li>Enter a remote server URL under the <strong>Remote server URL</strong> column. </li>
<li>Click <strong>Continue</strong>. </li>
<li>Click <strong>Add</strong> under the <strong>Document refresh policies</strong> table. </li>
<li>Enter a full or partial URL under the <strong>Match URL</strong> column. </li>
<li>Enter a value under the <strong>Period</strong> column and select its corresponding
time unit. </li>
<li>Click <strong>Continue</strong>. </li>
<li>Click <strong>OK</strong>. </li>
<li>Stop and restart your server. </li>
</ol>
</div>
</div>
</body>
</html>