Previous PageNext Page

2.1.5 Upgrading Configuration Files

Introduction
The purpose of this section is to describe how to merge and/or update common configuration files after Upgrading Chili!Soft ASP for Linux from version 3.5.01 to version 3.5.2L. The following files will be discussed:
 
  • Contents
  • casp.cnfg
  • odbc.ini
  • installed_db
  • global_odbc.sh
  • sqlnkdsn.ini
General Information
After the version 3.5.2L installation, a directory called "PreviousInstallationFiles" will be created in the directory from which you ran the installation script. This new directory will contain backup copies of the files listed above. These files will be located in the following directory structure:
 
  • ./Contents
  • ./asp-apache-3000/casp.cnfg
  • ./asp-apache-3000/odbc.ini
  • ./installed_db
  • ./odbc/global_odbc.sh
  • ./odbc/sqlnkdsn.ini
A description of each file and how to upgrade or merge that file into the new environment is included below.
 
Upgrade/Merge Instructions
  1. CONTENTS (no action required): This file is a description of what was upgraded and where the files where backed up from. There is nothing that you need to do with this file in relation to upgrading or merging old configurations.
     

  2.  
  3. CASP.CNFG (merge required): This is the old ASP configuration file for the asp server listed by the directory name. There is one casp.cnfg file for each ASP server that you had installed. They will be located in seperate directory for each ASP server. There are significant additions to the new casp.cnfg file for version 3.5.2L. The most common thing that you will need to do when merging this old casp.cnfg file with the new one, is to copy and paste the ASP Applications section from this old casp.cnfg file to the new one. If you have made changes to the configuration parameters other than the ASP Applications section, you will need to manually check each value to see if they are the same as the defaults that the 3.5.2L version ship with.

  4.  
  5. ODBC.INI (merge required): This file is where you define a Data Source Name (DSN) for connecting to various databases. You will need to copy any custom DSN's that you may have created, from the old odbc.ini to the new odbc.ini file. Be careful to copy both the [ ]'d sections and also the corresponding "name=description" lines in the [Data Source Names] section at the top of the file. After copying over the old DSN information, you will need to update the Driver path information for each of these old DSN's. The physical location of the drivers has changed. New locations for the previous drivers are:
    • PostgreSQL --> <CASP install root>/odbc/libodbcpsql.so
    • MyODBC --> <CASP install root>/odbc/libmyodbc.so

     
  6. INSTALLED_DB (no action required): This file lists information about the location and port of the web server and ASP server that was previously installed. It is backed up for informational purposes only.

  7.  
  8. GLOBAL_ODBC.SH (merge required): This file contains reference to any system environment variables that need to be set in order to connect to the database itself. For most people you will not have to do anything with this file. However, for those that have made changes to this file in the past, you will want to merge any previous changes into the new version. DO NOT just copy the old one over the new one. File locations and LD_LIBRARY_PATH information has changed in the new version of this file.

  9.  
  10. SQLNKDSN.INI (replacement required): This file contains all of the SequeLink DSN information that you setup by using the ./setsqlnk utility. If you have setup a DSN to communicate with an Access MDB or MS SQL Server database in the previous installation, you will need to copy this old version over the top of the new one which is located at:
    • <CASP install root>/odbc/sqlnk/ini/
Finalizing the Upgrade
After you have completed all of the steps required above, you will need to stop and start both the ASP server and the Web server for the changes to take effect.
 

Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page