Author: buildbot
Date: Thu Mar 14 18:36:21 2013
New Revision: 854501
Log:
Staging update by buildbot for vcl
Added:
websites/staging/vcl/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2.1to2.2.2.html
Modified:
websites/staging/vcl/trunk/content/ (props changed)
Propchange: websites/staging/vcl/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Mar 14 18:36:21 2013
@@ -1 +1 @@
-1456563
+1456607
Added:
websites/staging/vcl/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2.1to2.2.2.html
==============================================================================
---
websites/staging/vcl/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2.1to2.2.2.html
(added)
+++
websites/staging/vcl/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2.1to2.2.2.html
Thu Mar 14 18:36:21 2013
@@ -0,0 +1,185 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE- 2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+ <link href="/css/vcl.css" rel="stylesheet" type="text/css">
+ <link href="/css/code.css" rel="stylesheet" type="text/css">
+ <title>Apache VCL - Upgrade From 2.2.1 to 2.2.2</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+</head>
+
+<body>
+ <div id="sitetitle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="5">
+ <tr>
+ <td><a href="/index.html"><img src="/img/vcl-logo.png" height="100"
align="left" alt="Apache VCL logo"></a></td>
+ <td><a href="http://www.apache.org"><img src="/img/asf-logo.png"
align="right" alt="Apache Software Foundation logo"></a></td>
+ </tr>
+ </table>
+ </div>
+
+ <div id="navigation">
+ <ul>
+<li>Information<ul>
+<li><a href="/info/about.html">What is VCL?</a></li>
+<li><a href="/info/features.html">Features</a></li>
+<li><a href="/info/architecture.html">Architecture</a></li>
+<li><a href="/info/use-cases.html">Use Cases</a></li>
+<li><a href="/downloads/download.cgi">Download</a></li>
+<li><a href="http://www.apache.org/licenses/LICENSE-2.0.html">License</a></li>
+<li><a href="/info/faq.html">FAQ</a></li>
+</ul>
+</li>
+<li><a href="/docs/index.html">Documentation</a><ul>
+<li><a href="/docs/using-vcl.html">Using VCL</a></li>
+<li><a href="/docs/image-creation.html">Image Creation</a></li>
+<li><a href="/docs/administration.html">Administration</a></li>
+<li><a href="/docs/installation.html">Installation</a></li>
+<li><a href="/docs/deployment-planning.html">Deployment Planning</a></li>
+</ul>
+</li>
+<li><a href="/comm/index.html">Community</a><ul>
+<li><a href="/comm/index.html#getInvolved">Getting Involved</a></li>
+<li><a href="/comm/index.html#mail-list">Mailing Lists</a></li>
+<li><a href="/comm/index.html#how-do-i-join-the-project">How can I
Join</a></li>
+<li><a href="/comm/wiki.html">Wiki</a></li>
+<li><a href="/dev/index.html">Development</a><ul>
+<li><a href="/dev/jira.html">Issue Tracking</a></li>
+<li><a href="/dev/code-documentation.html">Code Documentation</a></li>
+<li><a href="/dev/roadmap.html">Roadmap</a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li><a href="http://www.apache.org">Apache Software Foundation</a><ul>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a
Sponsor</a></li>
+</ul>
+</li>
+</ul>
+ </div>
+
+ <div id="content">
+ <h1 class="title">Upgrade From 2.2.1 to 2.2.2</h1>
+ <p>This page provides information on how to upgrade from VCL 2.2.1 to VCL
2.2.2. Please
+note it only applies for the upgrade from 2.2.1 to 2.2.2, this may or may not
work for
+other versions.</p>
+<p><strong>The basic steps that will be performed</strong></p>
+<ul>
+<li>Download and Extract 2.2.2 code </li>
+<li>Shutdown httpd service</li>
+<li>Create backup of vcl database </li>
+<li>Create backup of web code</li>
+<li>Upgrade web code</li>
+<li>Restart httpd service</li>
+</ul>
+<h1 id="detailed-steps-for-upgrade-from-221-to-222">Detailed steps for upgrade
from 2.2.1 to 2.2.2</h1>
+<ol>
+<li>follow instructions on the <a
href="http://vcl.apache.org/downloads/download.cgi">VCL download</a>
+page to download and verify apache-VCL-2.2.2.tar.bz2 and put in in /root</li>
+<li>
+<p><strong>extract VCL 2.2.2 code</strong></p>
+<div class="codehilite"><pre><span class="n">tar</span> <span
class="n">xjf</span> <span class="n">apache</span><span class="o">-</span><span
class="n">VCL</span><span class="o">-</span><span class="mf">2.2.2</span><span
class="o">.</span><span class="n">tar</span><span class="o">.</span><span
class="n">bz2</span>
+</pre></div>
+
+
+</li>
+<li>
+<p><strong>Shutdown</strong> the httpd service</p>
+<div class="codehilite"><pre><span class="n">service</span> <span
class="n">httpd</span> <span class="n">stop</span> <span class="ow">or</span>
<span class="sr">/etc/i</span><span class="n">nit</span><span
class="o">.</span><span class="n">d</span><span class="o">/</span><span
class="n">httpd</span> <span class="n">stop</span>
+</pre></div>
+
+
+</li>
+<li>
+<p>We will <strong>create a backup of the vcl database</strong>. This will
provide a restore point
+if necessary. There are no updates to the database in this upgrade, but it is
still a
+good idea to have a backup.</p>
+<div class="codehilite"><pre><span class="n">mysqldump</span> <span
class="n">vcl</span> <span class="o">></span> <span class="o">~/</span><span
class="n">vcl</span><span class="o">-</span><span class="n">pre2</span><span
class="mf">.2.2</span><span class="o">-</span><span
class="n">upgrade</span><span class="o">.</span><span class="n">sql</span>
+</pre></div>
+
+
+</li>
+<li>
+<p><strong>Backup the web code</strong>. This step we will move the 2.2.1 web
directory out of the
+way, so we can copy in the new web code base. These instructions assume that
you installed the
+vcl web code at /var/www/html/vcl. If you installed it elsewhere, replace
+/var/www/html/vcl with your vcl web root.</p>
+<div class="codehilite"><pre><span class="n">cd</span> <span
class="sr">/var/</span><span class="n">www</span><span class="o">/</span><span
class="n">html</span>
+<span class="n">mv</span> <span class="n">vcl</span> <span
class="o">~/</span><span class="n">vcl_2</span><span
class="mf">.2.1_</span><span class="n">web</span>
+</pre></div>
+
+
+</li>
+<li>
+<p><strong>Copy the new code</strong> in place</p>
+<div class="codehilite"><pre><span class="n">cd</span> <span
class="sr">/root/</span><span class="n">apache</span><span
class="o">-</span><span class="n">VCL</span><span class="o">-</span><span
class="mf">2.2.2</span>
+<span class="n">cp</span> <span class="o">-</span><span class="n">r</span>
<span class="n">web</span> <span class="sr">/var/</span><span
class="n">www</span><span class="sr">/html/</span><span class="n">vcl</span>
+</pre></div>
+
+
+</li>
+<li>
+<p><strong>Copy your 2.2.1 config files</strong></p>
+<div class="codehilite"><pre><span class="n">cd</span> <span
class="o">~</span><span class="sr">/vcl_2.2.1_web/</span><span
class="o">.</span><span class="n">ht</span><span class="o">-</span><span
class="n">inc</span>
+<span class="n">cp</span> <span class="n">conf</span><span
class="o">.</span><span class="n">php</span> <span
class="n">secrets</span><span class="o">.</span><span class="n">php</span>
<span class="n">pubkey</span><span class="o">.</span><span class="n">pem</span>
<span class="nb">keys</span><span class="o">.</span><span class="n">pem</span>
<span class="sr">/var/</span><span class="n">www</span><span
class="sr">/html/</span><span class="n">vcl</span><span
class="o">/.</span><span class="n">ht</span><span class="o">-</span><span
class="n">inc</span>
+</pre></div>
+
+
+</li>
+<li>
+<p><strong>Make the maintenance directory writable by the web server
user</strong>. Normally this is
+the apache user. If using a different user, change the below command
accordingly.</p>
+<div class="codehilite"><pre><span class="nb">chown</span> <span
class="n">apache</span> <span class="sr">/var/</span><span
class="n">www</span><span class="sr">/html/</span><span
class="n">vcl</span><span class="sr">/.ht-inc/m</span><span
class="n">aintenance</span>
+</pre></div>
+
+
+</li>
+<li>
+<p><strong>Restart httpd service</strong></p>
+<div class="codehilite"><pre> <span class="n">service</span> <span
class="n">httpd</span> <span class="n">start</span> <span class="ow">or</span>
<span class="sr">/etc/i</span><span class="n">nit</span><span
class="o">.</span><span class="n">d</span><span class="o">/</span><span
class="n">httpd</span> <span class="n">start</span>
+</pre></div>
+
+
+</li>
+<li>
+<p>Make some test reservations and watch the vcld.log to verify everything is
working
+correctly.</p>
+<div class="codehilite"><pre> <span class="n">tail</span> <span
class="o">-</span><span class="n">f</span> <span class="sr">/var/</span><span
class="nb">log</span><span class="o">/</span><span class="n">vcld</span><span
class="o">.</span><span class="nb">log</span>
+</pre></div>
+
+
+</li>
+</ol>
+ </div>
+
+ <div id="footer">
+ <div class="copyright">
+ <p>
+ Copyright © 2012 The Apache Software Foundation, Licensed under
+ the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache
License, Version 2.0</a>.
+ <br />
+ Apache and the Apache feather logo are trademarks of The Apache
Software Foundation.
+ </p>
+ </div>
+ </div>
+
+</body>
+</html>