Main -> Documentation -> Product Updates -> Upgrading from Open SiteSearch 4.1.2 to SiteSearch 4.1.2a

Upgrading from Open SiteSearch 4.1.2 to SiteSearch 4.1.2a

 

Table of Contents

Introduction
Requirements
Document Conventions
Determining Your Upgrade Path
Applying 4.1.2a Bug Fixes to an Existing SiteSearch Environment
Upgrading from Version 4.1.2 to a Complete 4.1.2a Environment
     – WebZ Upgrade Procedure
     – Database Builder Upgrade Procedure
Appendices


Introduction

This document provides instructions for integrating customizations from the SiteSearch 4.1.2a patch release into an existing Open SiteSearch 4.1.2 environment on UNIX or Windows NT systems.

WARNING: If you have customized your SiteSearch environment, you must follow one of the upgrade procedures described in this document. DO NOT install the 4.1.2a software package into your existing environment. You will lose all of your changes by installing version 4.1.2a on top of an existing environment.


Requirements

Before completing the instructions in this document, you must:


Document Conventions

  • <WebZ_root> refers to your existing Open SiteSearch 4.1.2 environment.
  • <TempDir_root> refers to the directory where you install the Open SiteSearch 4.1.2a software.
  • <NewWebZ_root> refers to a directory with a copy of your existing 4.1.2 environment. You integrate changes from version 4.1.2a into <NewWebZ_root>, while allowing patrons to access the <WebZ_root> environment during the upgrade.
  • <fullpath to JDK> is the full path to your Java Development Kit (JDK) installation.
  • When a procedure step refers to editing a file, use the text editor of your choice to edit the file. Then save and close the file.
  • In path names, forward slashes ("/") separate directories. For Windows NT, change the forward slashes to backslashes ("\").

Determining Your Upgrade Path

Ask yourself the following questions to determine how to proceed with upgrading your existing SiteSearch environment. While it is quicker to install only the bug fixes, you lose the opportunity to take advantage of the new features available in version 4.1.2a by installing only the bug fixes.

1. Do you want to install bug fixes only or bug fixes and enhancements? OCLC recommends that you upgrade to a complete 4.1.2a environment.

3. Have you customized SiteSearch in ANY way?



Applying 4.1.2a Bug Fixes to an Existing SiteSearch Environment

The following procedure describes how to integrate 4.1.2a bug fixes into an existing 4.1.2 environment with the SS4_1_2a.jar file.

By completing the steps below, you receive only the bug fixes made to the SiteSearch software in the 4.1.2a patch release. To integrate the complete 4.1.2a software package with an existing environment, see Upgrading from Version 4.1.2 to a Complete 4.1.2a Environment.

1. Have you downloaded any patches or bug fixes with .class files from the SiteSearch FTP site for Java classes for which we do also not provide the .java source files?

  • Yes. Delete these .class files before proceeding to step 2.
  • No. Go directly to step 2.

2. Back up your existing environment in a separate directory.

  • Stop the Web server, the WebZ system, and, if you are providing user authorization through the WebZ interface, the SQL server.
  • Copy the <WebZ_root> environment into a backup directory. This backup directory is a safeguard only; you do not use it in this procedure.

3. Create a temporary directory (<TempDir_root>) and install the SiteSearch 4.1.2a WebZ component in this directory.

4. Copy the SS4_1_2a.jar file from the <TempDir_root>/classes/lib directory into the <WebZ_root>/classes/lib directory. There should now be two SS*.jar files in the <WebZ_root>/classes/lib directory, SS4_1_2.jar and SS4_1_2a.jar.

5. Edit your CLASSPATH environment variable to read the SS4_1_2a.jar file.

An example of the required CLASSPATH statements follows.

.:<fullpath to JDK>/lib/classes.zip:<WebZ_root>/classes/: \
<WebZ_root>/classes/lib/pears.jar: \
<WebZ_root>/
classes/lib/SS4_1_2a.jar: \
<WebZ_root>/classes/lib/mail.jar: \
<WebZ_root>/classes/lib/activation.jar

Note:

(1) In the example, backslash ("\") characters are included for readability only. Do NOT add them to the CLASSPATH variable.

(2) Edit the CLASSPATH variable so that its entries appear exactly in the order shown in the examples.

(3) Windows NT administrators need to set the CLASSPATH manually for this upgrade, even though you do not need to do this in a first-time installation. Use the syntax below except for substituting backslashes ("\") for forward slashes ("/") to separate file names.

(4) For more information about setting the CLASSPATH variable, see Configuring the CLASSPATH Variable for UNIX or Configuring the CLASSPATH Variable for NT in Installing and Configuring the Open SiteSearch Suite.

UNIX Administrators: After you edit your CLASSPATH variable, log out of your UNIX session and log back in to activate the new settings.

6. Edit the ssmgr.hostname file (in the <WebZ_root>/scripts directory), where hostname is the name of the host system where your existing Open SiteSearch environment is installed, in a text editor. You must change the following item, which is above "DO NOT edit below this line" statement, to reflect the 4.1.2a version of the software.

# What version of SiteSearch is installed
SSVERSION=4_1_2a

7. Edit the ssadmin file (in the <WebZ_root>/scripts directory) in a text editor. Change the item shown in to reflect the 4.1.2a version of the software:

SSVERSION=4_1_2a

8. Use a text editor to edit the SSVERSION line (as you did for ssadmin in Step 7) in the following files in <WebZ_root>/scripts:

  • ber2marc
  • ber2txt
  • bounce
  • mysql
  • mysql_rb (if applicable)
  • ssadminbatch
  • zclient

9. Test the <WebZ_root> environment. Start the Web server, SQL server (if necessary), and the WebZ system. Start a new WebZ user session in a Web browser, and perform several searches. Make sure to check all of the WebZ functionality through the interface, such as:

Debug any problems that have been introduced with this integration using the Troubleshooting the WebZ System document.



Upgrading from Version 4.1.2 to a Complete 4.1.2a Environment

The following procedures describe how to integrate changes in version 4.1.2a into to your existing 4.1.2 environment. Follow the instructions below carefully to preserve the changes you have made to the SiteSearch software. Print these instructions and use them as a checklist for upgrading your environment. See Description of the Open SiteSearch 4.1.2a Patch Release for a description of the software upgrades included in version 4.1.2a. See Appendix A for a list of the new and modified files in SiteSearch 4.1.2a.

The upgrade involves:

  • Making a copy of your existing 4.1.2 environment in a new directory, <NewWebZ_root>.
  • Installing the 4.1.2a software in another directory, <TempDir_root>.
  • Applying the changes in version 4.1.2a to <NewWebZ_root> by:
    • Copying files from <TempDir_root> to <NewWebZ_root>.
    • Editing configuration files in <NewWebZ_root>.
    • Editing existing files in <NewWebZ_root> to make them identical to their <TempDir_root> counterparts.

WebZ Upgrade Procedure

Important: Perform and test these instructions in a test environment before implementing your customized 4.1.2a software in a production environment.

1. Make a copy of your existing 4.1.2 environment in a new directory (<NewWebZ_root>).

  • Stop the Web server, the WebZ system, and, if you are providing user authorization through the WebZ interface, the SQL server in your <WebZ_root> environment.
  • Copy the <WebZ_root> environment into the <NewWebZ_root> directory.
  • Restart the Web server, SQL server, and WebZ system in <WebZ_root>.

You will work in the <NewWebZ_root> directory during this procedure, while still providing patron access to the <WebZ_root> environment until you complete the upgrade.

Note:  

<NewWebZ_root> becomes your new <WebZ_root> environment after you complete this upgrade procedure.

2. Create a new directory (<TempDir_root>) and install the SiteSearch 4.1.2a WebZ component in this directory.

3. Copy the SS4_1_2a.jar file from the <TempDir_root>/classes/lib directory into the <NewWebZ_root>/classes/lib directory. There should now be two SS*.jar files in the <NewWebZ_root>/classes/lib directory, SS4_1_2.jar and SS4_1_2a.jar.

4. Edit your CLASSPATH environment variable for the 4.1.2a environment. Your CLASSPATH must contain the following information:

        .: <fullpath to JDK>/lib/classes.zip:\
    <NewWebZ_root>/classes/:\
        <NewWebZ_root>/classes/lib/pears.jar:\
    <NewWebZ_root>/classes/lib/SS4_1_2a.jar:\
    <NewWebZ_root>/classes/lib/mail.jar:\
    <NewWebZ_root>/classes/lib/activation.jar
Note:

(1) In the example above, backslash ("\") characters are included for readability only. Do NOT add them to the CLASSPATH variable.

(2) Edit the CLASSPATH variable so that its entries appear exactly in the order shown in the example.

(3) Windows NT administrators need to set the CLASSPATH manually for this upgrade, even though you do not need to do this in a first-time installation. Use the syntax below except for substituting backslashes ("\") for forward slashes ("/") to separate file names.

(4) For more information about setting the CLASSPATH variable, see Configuring the CLASSPATH Variable for UNIX or Configuring the CLASSPATH Variable for NT in Installing and Configuring the Open SiteSearch Suite.

UNIX Administrators: After you edit your CLASSPATH variable, log out of your UNIX session and log back in to activate the new settings.

5. Edit the ssmgr.hostname file (in the <NewWebZ_root>/scripts directory), where hostname is the name of the host system where your existing Open SiteSearch environment is installed. Change the values of the ROOTDIR and SSVERSION variables at the top of the file to reflect the 4.1.2a version of the software, as follows:


# Where SiteSearch is installed
ROOTDIR=<NewWebZ_root>

# What version of SiteSearch is installed
SSVERSION=4_1_2a

6. Edit the ssadmin file (in the <NewWebZ_root>/scripts directory) in a text editor. Change the values of the ROOTDIR, CLASSES, and SSVERSION variables to reflect the 4.1.2a version of the software, as shown below:

ROOTDIR=<NewWebZ_root>

JAVAHOME=<fullpath to JDK> 

CLASSES=<NewWebZ_root> 

SSVERSION=4_1_2a 

7. Use a text editor to edit the ROOTDIR, CLASSES, and SSVERSION variables (as you did for ssadmin in Step 6) in the following files in <NewWebZ_root>/scripts:

  • ber2marc
  • ber2txt
  • bounce (has only ROOTDIR and SSVERSION variables)
  • mysql (UNIX only) (has only ROOTDIR and SSVERSION variables)
  • ssadminbatch
  • zclient

8. Which operating platform are you using?

  • UNIX. Are you using the Apache Web server?
    • Yes. Go to step 9.
    • No. Make any modifications necessary to the Netscape Web server to run the SiteSearch 4.1.2a environment in <NewWebZ_root>. Then go to step 11.
  • No.
    • Make any any modifications necessary to your Web server to run the WebZ 4.1.2a test environment in <NewWebZ_root>.
    • Are you using the WebZ Access component and a corresponding SQL database?
      • Yes. Make sure that the SQL database can run the Access database for the <NewWebZ_root> environment without interfering with the Access database in your production environment. Then go to step 11.
      • No. Go to step 11.

9. Edit <NewWebZ_root>/httpd/apache_1.3.11/conf/httpd.conf:

  • Modify the variables with path references in <NewWebZ_root>/httpd/conf/apache_1.3.11/conf/httpd.conf so that they refer to <NewWebZ_root> instead of <WebZ_root>. Appendix B lists these variables.
  • Select a different Web server port for testing the <NewWebZ_root> environment than the one used for the 4.1.2 production environment and modify the Port variable in httpd.conf accordingly.

10. Edit the HTTPDROOTDIR line in the apache script in <NewWebZ_root>/scripts so that it refers to the apache_1.3.11 directory in <NewWebZ_root>, like this:

# Where SiteSearch is installed
HTTPDROOTDIR=<NewWebZ_root>/httpd/apache_1.3.11

11. Copy these database conversion scripts from <TempDir_root>/scripts to <NewWebZ_root>/scripts:

  • updateSQL.pl
  • chg411DumpFiles.pl

12. Edit updateSQL.pl as follows:

  • Edit the value of the $sourceDir variables so that they contain <NewWebZ_root> in the path.
  • Edit the $perlPath variable so that it refers to the location of the Perl interpreter on your system.

13. Which operating platform are you using?

  • UNIX. Is your operating system Solaris?
    • Yes. Copy these files from <TempDir_root>/mysql/lib/mysql to <NewWebZ_root>/mysql/lib/mysql:
      • mysqlclient.so
      • libmysqlclient.so.10
      • libmysqlclient.so.10.0.0

      Note:   

      If you subsequently want to run mysqladmin from the UNIX command line, you must set this environment variable:

      LD_LIBRARY_PATH=<NewWebZ_root>/mysql/lib/mysql

    • No.
      • Copy the 4.1.2a version of the accessdb sample database file, <TempDir_root>/mysql/accessdb.dump to <NewWebZ_root>/mysql, thus overwriting the 4.1.2 version of this file.
      • Go to step 14.
  • Windows NT.
    • Copy the 4.1.2a version of the accessdb sample database file, <TempDir_root>/accesssql/accessdb.sql to <NewWebZ_root>/accesssql, thus overwriting the 4.1.2 version of this file.
    • Go to step 16.

14. Edit the <NewWebZ_root>/mysql/data/my.cnf file as follows:

  • Change the value of the socket variable in the [client] and [mysqld] sections of so that it contains the path to the mysql.sock file in <NewWebZ_root>:

    socket = <NewWebZ_root>/msql

  • Change the value of the port variable in the [client] and [mysqld] sections. Use a different MySQL port than the one you are using in your 4.1.2 production environment.

15. Edit the <NewWebZ_root>/mysql/bin/mysqlaccess file. Change the path to the mysql executable in the $MYSQL varaible to that it reads: as follows: so that it refers to <NewWebZ_root>, like this:

$MYSQL = '<NewWebZ_root>/mysql/bin/mysql'

16. Edit the <NewWebZ_root>/ini/servers/AccessServer.ini file:

  • Change the value of the URL variable in the [JDBC] section of <NewWebZ_root>/ini/AccessServer.ini so that it contains the SQL port number you are using to test the <NewWebZ_root> environment. For MySQL, you changed this port in step 14 and the syntax of the variable is as follows:

    [JDBC]
    SQLDriver=org.gjt.mm.mysql.Driver
    URL=jdbc:mysql://hostname:mysql_port/accessdb

    For Windows NT, you changed this port in step 8.

  • Add the lines shown in dark blue bold print to the [ColumnPurpose] section:

    [ColumnPurpose]
    authos.autho=AUTHORIZATION
    authos.pwd=PASSWORD
    authos.sessions=MAX_SESSIONS
    userdb.userdbkey=USERDBKEY
    dbs.dbname=DBNAME
    dbs.dbid=DBID
    resources.resourceid=RSRCID
    resources.resourceautho=AUTHORIZATION
    resources.resourcepwd=PASSWORD
    resources.resourcename=RSRCNAME
    userresource.resourceid=RSRCID
    userresource.dbid=DBID
    userresource.db_autho=AUTHORIZATION
    userresource.db_password=PASSWORD

17. Change the path from <WebZ_root> to <NewWebZ_root> in the configuration (.ini) files listed in Appendix C. Appendix C lists the variables in each .ini file for which you need to modify the path.

18. Verify that these configuration files contain a carriage return or line break after the last line:

  • <NewWebZ_root>/ini/dbs/PapersFirst.ini
  • <NewWebZ_root>/ini/format/obiv1/PapersFirstFormats.ini
    (this file may also reside in a directory for your customized formatting configuration files)

19. Edit <NewWebZ_root>/ini/servers/OclcISOILL.ini. Change host to hostname, as follows:

#host and port for OCLC prod
hostname = isoill.oclc.org

20. Edit <NewWebZ_root>/ini/servers/MnScuISOILL.ini. Change the value of the hostname variable, as follows:

hostname = mirage.pals.msus.edu

21. Have you modified any of the interlibrary loan (ILL) formatting configuration files listed in Appendix D (located in <NewWebZ_root>/ini/format/obiv1 or the directory that contains your customized versions of these files)?

  • Yes. For each file you have modified, edit the file as shown in Appendix D. For the files you did not modify, overwrite the <NewWebZ_root> version of each file with its <TempDir_root> counterpart.
  • No. Overwrite the <NewWebZ_root> version of each file with its <TempDir_root> counterpart.

22. Have you modified any of the vendor-specific ILL formatting configuration files listed in Appendix A in your 4.1.2 environment?

  • Yes. For each file you have modified:
    • Use the UNIX diff utility (or another utility that can identify the differences between two files) to identify the differences between the 4.1.2a version in <TempDir_root> and the customized 4.1.2 file in <NewWebZ_root>.
    • Edit the customized file in <NewWebZ_root> accordingly.

    For the files you did not modify, overwrite the <NewWebZ_root> version of each file with its <TempDir_root> counterpart.

  • No. Overwrite the <NewWebZ_root> version of each file with its <TempDir_root> counterpart.

23. Edit <NewWebZ_root>/ini/interface/obiv1/BaseStyle.ini. Modify the BookMarkFullText variable in the [anchors] section so that it reads as follows (the changes appear in dark blue bold text):

BookMarkFullText = <a href="&StyleTable.DEFAULTS.NAMESPACE; \
BookMark?&context; &resultset=&resultset; \
&recno=&fullrecno;&numrecs=1 \
&format=T&next=currentstate&entitytarget=main" \
&StyleTable.targets.searchResults;
>
\
<img src="&StyleTable.images.savedisplayed; \
"border="0" alt="Save Displayed Record"></a>

24. Review the Java classes modified in SiteSearch 4.1.2a, as listed in Appendix A. Have you modified any of these classes in any way in your 4.1.2 environment?

  • Yes. For each file you have modified:
    • Use the UNIX diff utility (or another utility that can identify the differences between two files) to identify the differences between the 4.1.2a version in <TempDir_root> and the customized 4.1.2 file in <NewWebZ_root>.
    • Edit the customized class in <NewWebZ_root> accordingly.
    • Recompile the customized class.

For the files you did not modify, overwrite the <NewWebZ_root> version of each file in Appendix A that you did not customize (and its corresponding .class file ) with its <TempDir_root> counterpart.

  • No. Overwrite the <NewWebZ_root> version of each file (and its corresponding .class file) in Appendix A with its <TempDir_root> counterpart.
25. Copy the 4.1.2a API (Javadoc) from <TempDir_root>/htdocs/obiv1/help to <NewWebZ_root>/htdocs/obiv1/help.

26. Test the <NewWebZ_root> environment. Start the Web server, SQL server (if necessary), and the WebZ system. Start a new WebZ user session in a Web browser, and perform several searches. Make sure to check all of the WebZ functionality through the interface, such as:

Debug any problems that have been introduced with this integration using the Troubleshooting the WebZ System document.

27. When you are satisfied that the <NewWebZ_root> environment is functioning properly, make it your new production environment.

WebZ-only sites: Change the Web server port and SQL database port in <NewWebZ_root> to the ports that you use in the production environment. Recall that you modified these ports so that you could upgrade and test the <NewWebZ_root> environment without interfering with your production environment.

  • In a UNIX environment with the Apache Web server, change the Web server port for WebZ in <NewWebZ_root>/httpd/apache_1.3.11/conf/httpd.conf.
  • In a UNIX environment where you are using MySQL, change the MySQL port in <NewWebZ_root>/mysql/data/my.cnf (port variable in the [client] and [mysqld] sections) and <NewWebZ_root>/ini/AccessServer.ini (URL variable in the [JDBC] section).
  • For other Web servers or SQL databases, see the appropriate documentation for port changes or other modifications necessary to make <NewWebZ_root> your new production environment.
Sites with both WebZ and Database Builder: Change only the Web server port for WebZ until after you complete the Database Builder upgrade procedure.

28. Are you using Database Builder?

 

Database Builder Upgrade Procedure

This procedure applies only to SiteSearch environments that include Database Builder. It assumes that you have completed the WebZ upgrade procedure before you start this procedure.

1. Shut down the Record Builder application (click here for the UNIX shutdown procedure; click here for the Windows NT shutdown procedure).
2. Follow the procedure outlined in Moving the SSDOT Environment to modify the <NewWebZ_root>/dbbuilder/ssdot/exes/ssdot.ini and <NewWebZ_root>/dbbuilder/ssdot/ssdot files. Change all path references from <WebZ_root> to <NewWebZ_root>.
3. Start the SSDOT program, located in <NewWebZ_root>/dbbuilder/ssdot. Type "l" and press Enter to list the registered databases within the 4.1.2a SSDOT environment. Verify that all of your local databases are recognized in the 4.1.2a environment. Exit SSDOT.

4. Edit the <NewWebZ_root>/dbbuilder/ssdot/info/db_name.reg file (where db_name is the database's name) for each local database. Change all path references from <WebZ_root> to <NewWebZ_root>.

Note:  

The rest of this procedure pertains to upgrading Database Builder's Record Builder application. If you do not use or are not planning to use Record Builder, these steps are optional. However, OCLC recommends that all sites upgrade Record Builder to version 4.1.2a so that you have the most recent version available if you subsequently plan to use it.

5. Edit the ssadmin_rb file (in the <NewWebZ_root>/scripts directory). Change the values of the ROOTDIR, CLASSES, and SSVERSION variables to reflect the 4.1.2a version of the software, as shown below:

ROOTDIR=<NewWebZ_root>

JAVAHOME=<fullpath to JDK> 

CLASSES=<NewWebZ_root> 

SSVERSION=4_1_2a 

6. Which operating platform are you using?

  • UNIX Are you using the Apache Web server?
    • Yes. Go to step 7.
    • No. Make any modifications necessary to the Netscape Web server to run the Record Builder application in the SiteSearch 4.1.2a test environment in <NewWebZ_root>. Then go to step 9.
  • Windows NT.
    • Make any any modifications necessary to your Web server to run the Record Builder application in the SiteSearch 4.1.2a test environment in <NewWebZ_root>.
    • Are you using the SiteSearch Access component for Record Builder and a corresponding SQL database?
      • Yes. Make sure that the SQL database can run the Access database for Record Builder in the <NewWebZ_root> environment without interfering with the Access database in your production environment.

        Then go to step 10.

7. Edit <NewWebZ_root>/httpd/apache_1.3.11/conf/httpd_rb.conf.

  • Modify the variables with path references in <NewWebZ_root>/httpd/apache_1.3.11/conf/httpd_rb.conf so that they refer to <NewWebZ_root> instead of <WebZ_root>. Appendix B lists these variables.
  • Select a different Web server port for testing Record Builder in the <NewWebZ_root> environment than the one used for the 4.1.2a production environment. Modify the Port variable in httpd_rb.conf accordingly.

8. Edit the HTTPDROOTDIR line in the apache_rb script in <NewWebZ_root>/scripts so that it refers to the apache_1.3.11 directory in <NewWebZ_root>, like this:

# Where SiteSearch is installed
HTTPDROOTDIR=<NewWebZ_root>/httpd/apache_1.3.11

9. Are you using MySQL as part of your Record Builder Access component?

  • Yes. Edit <WebZ_root>/scripts/mysql_rb as follows:
    • Add the characters "/data" to the dump section of the mysql_rb script, as shown below:

      dump)
        DATESTR=`date '+.D%Y%m%d.T%H%M%S'`
        echo "$MYSQLHOME/bin/mysqldump \
          --defaults-file=$MYSQLHOME/data/my.cnf $DB > $DUMPFILE
      $DATESTR"
        $MYSQLHOME/bin/mysqldump --defaults-file=$MYSQLHOME/data/my.cnf \
          $DB > $DUMPFILE$DATESTR
      ;;

      Note:   The backslashes (\) are included only for readability. Do not add them to the mysql_rb script.
    • Edit the ROOTDIR line so that it refers to <NewWebZ_root>, like this:
    • # Where SiteSearch is installed
      ROOTDIR=<NewWebZ_root>

    • Edit the SSVERSION line so that if refers to SiteSearch 4.1.2a, like this:
      SSVERSION=4_1_2a
  • No. Go to step 10.

10. Change the value of the URL variable in the [JDBC] section of <NewWebZ_root>/ini/AccessServer_rb.ini so that it contains the SQL port number you are using to test the <NewWebZ_root> environment. For MySQL, you changed this port in step 16 of the WebZ upgrade and the syntax of the variable is as follows:

[JDBC]
SQLDriver=org.gjt.mm.mysql.Driver
URL=jdbc:mysql://hostname:mysql_port/rbdb

11. Do you have an existing Access component database for Record Builder (rbdb) in <NewWebZ_root>?

  • Yes. Is it a MySQL database or a Windows-based SQL database?
    • MySQL database. In <NewWebZ_root>, create a database dump file for rbdb:
      • Rename the <NewWebZ_root>/mysql/rbdb.dump file shipped with SiteSearch 4.1.2 with another name of your choice.
      • Start the MySQL server in <NewWebZ_root>.
      • From <NewWebZ_root>/scripts, enter the following command:

        mysql_rb dump

    • Windows-based SQL database.
      • Create a dump of the database contents.
      • Rename the database dump file rbdb.sql.
      • Copy the database dump file to <NewWebZ_root>\accesssql\rbv0\rbdb.sql.
  • No. Go to directly to step 13.

12. Convert your rbdb database to the 4.1.2a table structure. (SiteSearch 4.1.2 had a bug in the rbdb conversion.)

  • Go to the <NewWebZ_root>/scripts directory.
  • Enter one of the following commands to load your database dump file into a new database with the 4.1.2a table structure:

    for a MySQL database: perl updateSQL.pl accessdb.dump rb
    for a Windows NT SQL database:   perl updateSQL.pl accessdb.dump rb nt

This updates the rbdb.dump file in <NewWebZ_root>/mysql (UNIX) or the rbdb.sql file in <NewWebZ_root>/accesssql/rbv0. It also creates a copy of the original rbdb.dump file as rbdb.dump.orig.

You can subsequently configure the Access component for your operating system (click here for UNIX: click here for Windows NT) and then load the data in the accessdb file into the database.

13. Change the path from <WebZ_root> to <NewWebZ_root> in the Record Builder configuration (.ini) files listed in Appendix C (the files that end with "_rb.ini"). Appendix C lists the variables in each .ini file for which you need to modify the path.

14. Test the Record Builder application in the <NewWebZ_root> environment. Start the Web server, SQL server (if necessary), and Record Builder (click here for the UNIX startup procedure; click here for the Windows NT startup procedure). Start a new Record Builder user session in a Web browser. Make sure to check all of the Record Builder functionality through the interface, such as:

  • adding, modifying, and deleting records
  • browsing for records
  • user authorization

15. When you are satisfied that the Record Builder application in the <NewWebZ_root> environment is functioning properly, make it your production version. Change the Web server port and SQL database port in <NewWebZ_root> to the ports that you use in the production environment. Recall that you modified these ports so that you could upgrade and test the <NewWebZ_root> environment without interfering with your production environment.

  • In a UNIX environment with the Apache Web server, change the Web server port in <NewWebZ_root>/httpd/apache_1.3.11/conf/httpd_rb.conf.
  • In a UNIX environment where you are using MySQL, change the MySQL port in <NewWebZ_root>/msql/msql.conf change the MySQL port in <NewWebZ_root>/mysql/data/my.cnf (port variable in the [client] and [mysqld] sections), <NewWebZ_root>/ini/AccessServer.ini (URL variable in the [JDBC] section), and <NewWebZ_root>/ini/AccessServer_rb.ini (URL variable in the [JDBC] section).
  • For other Web servers or SQL databases, see the appropriate documentation for port changes or other modifications necessary to make the Record Builder application in <NewWebZ_root> your new production version of this application.


Appendices

The document Appendices for the Upgrade from Open SiteSearch 4.1.2 to SiteSearch 4.1.2a contains each appendix referenced in these procedures. Each appendix includes links to the procedure steps in this document that refer to it.


See Also

Installing the WebZ (Web Server) Extension (Version 4.1.2a)
Installing WebZ (Version 4.1.2a)
Installing Database Builder (Version 4.1.2a)

Description of the Open SiteSearch 4.1.2a Patch Release
Appendices for the Upgrade from Open SiteSearch 4.1.2 to SiteSearch 4.1.2a


[Main][Documentation][Support][Technical Reference][Community][Glossary][Search]

Last Modified: