Author: buildbot
Date: Mon Oct 15 15:06:45 2012
New Revision: 835126
Log:
Staging update by buildbot for vcl
Modified:
websites/staging/vcl/trunk/content/ (props changed)
websites/staging/vcl/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2.1to2.3.html
Propchange: websites/staging/vcl/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Oct 15 15:06:45 2012
@@ -1 +1 @@
-1398321
+1398323
Modified:
websites/staging/vcl/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2.1to2.3.html
==============================================================================
---
websites/staging/vcl/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2.1to2.3.html
(original)
+++
websites/staging/vcl/trunk/content/docs/UpgradePreviousVersions/UpgradeFrom2.2.1to2.3.html
Mon Oct 15 15:06:45 2012
@@ -99,9 +99,6 @@
</li>
-</ol>
-<h1 id="shutdown-services">Shutdown services</h1>
-<ol>
<li>
<p>Shutdown the httpd and vcld services</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>
@@ -110,9 +107,6 @@
</li>
-</ol>
-<h1 id="create-a-backup-of-vcl-database">Create a backup of vcl database</h1>
-<ol>
<li>
<p>We will create a backup of the vcl database. This will provide a restore
point if necessary.</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">.3</span><span class="o">-</span><span class="n">upgrade</span><span
class="o">.</span><span class="n">sql</span>
@@ -120,9 +114,6 @@
</li>
-</ol>
-<h1 id="update-mysql-schema">Update mysql schema</h1>
-<ol>
<li>
<p>This step updates the mysql schema.</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.3</span>
@@ -133,11 +124,9 @@
</li>
</ol>
<p><strong>Note</strong>: A new resource group is added in update-vcl.sql -
<strong>all profiles</strong>. Access to manage the group is added to the
VCL->admin node in the privilege tree if that node exists. If not, you will
need to add it manually after starting httpd again. To add it manually, pick a
node in the privilege tree, scroll to Resources, click Add Resource Group,
select serverprofile/all profiles from the drop-down box, check available,
administer, manageGroup, and manageMapping, and click Submit New Resource
Group.</p>
-<h1 id="update-web-code">Update web code</h1>
-<p>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. After copying in the new code, we will migrate
your configuration changes. 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>
<ol>
<li>
-<p>move your old code out of the way</p>
+<p>Update the web code. 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. After copying in the new
code, we will migrate your configuration changes. 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>
@@ -145,7 +134,7 @@
</li>
<li>
-<p>copy the new code in place</p>
+<p>Copy the new code 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.3</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>
@@ -153,21 +142,27 @@
</li>
<li>
-<p>copy your 2.2.1 config files</p>
+<p>Copy your 2.2.1 config files</p>
<p>:::BashLexer
cd ~/vcl_2.2.1_web/.ht-inc
cp conf.php secrets.php pubkey.pem keys.pem /var/www/html/vcl/.ht-inc</p>
</li>
<li>
<p>Make the maintenance directory writable by the web server user. You will
need to know what user httpd runs as on your server. This can be found with</p>
-<p>:::BashLexer
-ps aux | grep httpd</p>
-<p>Look at the first column. One process will be owned by root. The remaining
processes will be owned by the web server user. Now, own
/var/www/html/vcl/.ht-inc/maintenance to that user (replacing 'apache' with
your web server user if different):</p>
-<p>:::BashLexer
-chown apache /var/www/html/vcl/.ht-inc/maintenance</p>
+<div class="codehilite"><pre><span class="n">ps</span> <span
class="n">aux</span> <span class="o">|</span> <span class="nb">grep</span>
<span class="n">httpd</span>
+</pre></div>
+
+
</li>
+</ol>
+<p>Look at the first column. One process will be owned by root. The remaining
processes will be owned by the web server user. Now, own
/var/www/html/vcl/.ht-inc/maintenance to that user (replacing 'apache' with
your web server user if different):</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>
+
+
+<ol>
<li>
-<p>make some changes to conf.php:</p>
+<p>Make some changes to conf.php:</p>
<p>a. A new user group permission that controls who can manage block
allocations globally or for a specific affiliation has been added. It can be
granted to any user group under Privileges->Additional User
Permissions->Manage Block Allocations. Users with this permission are
notified of new block allocation requests. Remove</p>
<div class="codehilite"><pre> <span class="nv">$blockNotifyUsers</span>
</pre></div>