You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2011/07/15 17:38:00 UTC
svn commit: r1147195 - in
/trafficserver/site/branches/ats-cms/content/docs/trunk/admin:
configuring-cache/index.en.mdtext configuring-traffic-server/index.en.mdtext
Author: igalic
Date: Fri Jul 15 15:37:59 2011
New Revision: 1147195
URL: http://svn.apache.org/viewvc?rev=1147195&view=rev
Log:
fixing a couple of formatting issues.
Modified:
trafficserver/site/branches/ats-cms/content/docs/trunk/admin/configuring-cache/index.en.mdtext
trafficserver/site/branches/ats-cms/content/docs/trunk/admin/configuring-traffic-server/index.en.mdtext
Modified: trafficserver/site/branches/ats-cms/content/docs/trunk/admin/configuring-cache/index.en.mdtext
URL: http://svn.apache.org/viewvc/trafficserver/site/branches/ats-cms/content/docs/trunk/admin/configuring-cache/index.en.mdtext?rev=1147195&r1=1147194&r2=1147195&view=diff
==============================================================================
--- trafficserver/site/branches/ats-cms/content/docs/trunk/admin/configuring-cache/index.en.mdtext (original)
+++ trafficserver/site/branches/ats-cms/content/docs/trunk/admin/configuring-cache/index.en.mdtext Fri Jul 15 15:37:59 2011
@@ -191,11 +191,13 @@ cache configuration tasks, such as parti
when Traffic Server is running.
To clear the cache
+
1. Stop Traffic Server (refer to [Stopping Traffic Server](../getting-started#StoppingTS)).
2. Enter the following command to clear the cache:
traffic_server -Cclear
The `clear` command deletes all data in the object store and the host database. Traffic Server does not prompt you to confirm the deletion.
+
3. Restart Traffic Server (refer to [Starting Traffic Server](../getting-started#StoppingTS)).
# Removing an Object From the Cache # {#RemovinganObjectFromCache}
Modified: trafficserver/site/branches/ats-cms/content/docs/trunk/admin/configuring-traffic-server/index.en.mdtext
URL: http://svn.apache.org/viewvc/trafficserver/site/branches/ats-cms/content/docs/trunk/admin/configuring-traffic-server/index.en.mdtext?rev=1147195&r1=1147194&r2=1147195&view=diff
==============================================================================
--- trafficserver/site/branches/ats-cms/content/docs/trunk/admin/configuring-traffic-server/index.en.mdtext (original)
+++ trafficserver/site/branches/ats-cms/content/docs/trunk/admin/configuring-traffic-server/index.en.mdtext Fri Jul 15 15:37:59 2011
@@ -22,40 +22,45 @@ Traffic Server provides several options
This chapter discusses the following topics:
-* [Configure Traffic Server Using Traffic Line](#ConfiguringTSUsingTrafficLine)
-* [Configure Traffic Server Using Configuration Files](#ConfiguringTSUsingConfigFiles)
+[TOC]
-## Configure Traffic Server Using Traffic Line ## {#ConfigureTSUsingTrafficLine}
+# Configure Traffic Server Using Traffic Line # {#ConfigureTSUsingTrafficLine}
Traffic Line enables you to quickly and easily change your Traffic Server configuration
via command-line interface. Alternatively, you can also use [Traffic Shell](../getting-started#StartingTrafficShell)
to configure Traffic Server.
-##### To view or change configuration options in Traffic Line: ##### {#viewchangeconfigurationoptionsinTrafficLine}
-2. To view a configuration setting, enter the following command:
+## View Configuration Options in Traffic Line ## {#ViewConfigOptionsinTrafficLine}
- :::text
- traffic_line -r var
- where _`var`_ is the variable associated with the configuration option. For a
- list of variables, refer to [Configuration Variables](../configuration-files/records.config).
-
-3. To change the value of a configuration setting, enter the following command:
-
- :::text
- traffic_line -s var -v value
- where _`var`_ is the variable associated with the configuration option and _`value`_
- is the value you want to use. For a list of the variables, see [Configuration Variables](../configuration-files/records.config).
-
-## Configure Traffic Server Using Configuration Files ## {#ConfigureTSUsingConfigurationFiles}
+To view a configuration setting, enter the following command:
+
+ :::text
+ traffic_line -r var
+
+where _`var`_ is the variable associated with the configuration option. For a
+list of variables, refer to [Configuration Variables](../configuration-files/records.config).
+
+
+## Change Configuration Options in Traffic Line ## {#ChangeConfigOptionsinTrafficLine}
+
+To change the value of a configuration setting, enter the following command:
+
+ :::text
+ traffic_line -s var -v value
+
+where _`var`_ is the variable associated with the configuration option and _`value`_
+is the value you want to use. For a list of the variables, see [Configuration Variables](../configuration-files/records.config).
+
+
+# Configure Traffic Server Using Configuration Files # {#ConfigureTSUsingConfigurationFiles}
As an alternative to using Traffic Line or Traffic Shell, you can change Traffic
Server configuration options by manually editing specific variables in the
[`records.config`](../configuration-files/records.config) file.
-After you modify the [`records.config`](../configuration-files/records.config) file, Traffic
-Server must reread the configuration files. From the Traffic Server `bin` directory,
-enter the Traffic Line command `traffic_line -x`. You may need to restart Traffic
-Server to apply the configuration changes.
+After modifing the [`records.config`](../configuration-files/records.config) file, Traffic
+Server must reread the configuration files: enter the Traffic Line command `traffic_line -x`.
+You may need to restart Traffic Server to apply some of the configuration changes.
The following is a sample portion of the [`records.config`](../configuration-files/records.config) file:
@@ -63,5 +68,5 @@ The following is a sample portion of the
In addition to the [`records.config`](../configuration-files/records.config) file,
Traffic Server provides other configuration files that are used to configure specific features.
-All configuration files you can manually edit are described in [Configuration Files](../configuration-files).
+You can manually edit all configuration files as described in [Configuration Files](../configuration-files).