This page provides information on how to upgrade from VCL 2.2.1 to VCL 2.3. Please note it only applies for the upgrade from 2.2.1 to 2.3, this may or may not work for other versions.
tar xjf apache-VCL-2.3.tar.bz2
Shutdown the httpd and vcld services
service httpd stop or /etc/init.d/httpd stop
service vcld stop or /etc/init.d/vcld stop
We will create a backup of the vcl database. This will provide a restore point if necessary.
mysqldump vcl > ~/vcl-pre2.3-upgrade.sql
This step updates the mysql schema.
cd /root/apache-VCL-2.3
mysql vcl < mysql/update-vcl.sql
One item of note: A new resource group is added in update-vcl.sql - all profiles. 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.
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.
cd /var/www/html
mv vcl ~/vcl_2.2.1_web
cd /root/apache-VCL-2.3
cp -r web /var/www/html/vcl
cd ~/vcl_2.2.1_web/.ht-inc
cp conf.php secrets.php pubkey.pem keys.pem /var/www/html/vcl/.ht-inc
ps aux | grep httpd
chown apache /var/www/html/vcl/.ht-inc/maintenance
$blockNotifyUsers
$userlookupUsers
define("DEFAULTLOCALE", "en_US");
define("ALLOWADDSHIBUSERS", 0);
"lookupuserbeforeauth" => 0,
"lookupuserfield" => '',
$addUserFunc[$item'affiliationid'] = create_function('', 'return 0;');
$updateUserFunc[$item'affiliationid'] = create_function('', 'return 0;');
$addUserFunc[$item'affiliationid'] = create_function('', 'return NULL;');
$updateUserFunc[$item'affiliationid'] = create_function('', 'return NULL;');
service httpd start or /etc/init.d/httpd start
This step will make a backup copy of the 2.2.1 vcl code base and then copy the new code over the existing code to preserve any drivers or other files you've added.
cd <your vcl MN code root path>
ie. cd /usr/local/
cp -r vcl ~/vcl_2.2.1_managementnode
/bin/cp -r /root/apache-VCL-2.3/managementnode/* /usr/local/vcl
/usr/local/vcl/bin/install_perl_libs.pl
service vcld start or /etc/init.d/vcld start