The following instructions assume the VCL database has been installed and configured and that the managment node information has been added to the database as described on the web code installation page.
Check if a Subversion client is already installed on the management node by running the command: svn. If not already installed, you can try to install it using yum with the following command:
yum install subversion
If yum is not available, visit http://subversion.tigris.org/ and follow their instructions for downloading and installing a Subversion client.
Download VCL backend code from the Apache Subversion repository and save it to /usr/local/vcl
svn export https://svn.apache.org/repos/asf/incubator/vcl/trunk/managementnode/ /usr/local/vcl/
The VCL Perl code running on a management node requires several additional Perl modules available from CPAN - The Comprehensive Perl Archive Network. A search engine for CPAN modules is available at search.cpan.org.
The following is a list of modules known to be required. They should be installed in the order in which they appear because some are prerequisites for subsequent modules.
/usr/bin/make install -- OK
Module Compress::Zlib (P/PM/PMQS/IO-Compress-2.020.tar.gz)
/usr/bin/make install -- OK
Run the following command:
perl /usr/local/vcl/lib/VCL/utils.pm
A module is missing if you see any "Can't locate" lines:
Can't locate HTTP/Headers.pm in @INC (@INC contains:...)
Once all of the required modules are installed, you should see something like this:
BIN PATH: /usr/local/vcl/lib/VCL pre-execution: config file being used: /etc/vcl/vcld.conf Uncaught exception from user code: VCLD : /etc/vcl/vcld.conf does not exist, exiting -- No such file or directory BEGIN failed--compilation aborted at /usr/local/vcl/lib/VCL/utils.pm line 616. at /usr/local/vcl/lib/VCL/utils.pm line 616
Starting vcld daemon: BIN PATH: /usr/local/vcl/bin pre-execution: config file being used: /etc/vcl/vcld.conf FQDN is not listed pre-execution: process name is set to: vcld pre-execution: verbose mode is set to: 1 pre-execution: testing mode is set to: 0 pre-execution: log file being used: /var/log/vcld.log pre-execution: PID file being used: /var/run/vcld.pid Created process 23696 renamed to vcld ... [ OK ]
2009-06-16 16:57:15|15792|vcld:main(165)|lastcheckin time updated for management node 18: 2009-06-16 16:57:15