This chapter describes how to move your existing development installation into a new Ingres development installation, where you can test your databases and applications and make any necessary changes to ensure that they work correctly.
The goal is to test thoroughly in the new development environment so that you can confidently perform the upgrade to the production system. The upgrade to the production system is described in subsequent chapters.
Note: If you are migrating from Ingres 6.4, read Considerations for Ingres 6.4 before performing the tasks in this chapter.
While most of the examples used in this guide are specific to UNIX, the concepts described also apply to the Windows environment. For information on upgrading in the VMS environment, see the appendix "Considerations for Alpha OpenVMS."
Note: Back up all data before starting.
The overall process for moving your existing development installation into a new Ingres development installation is as follows:
To install Ingres on the development machine, following these steps.
Note: The following procedure assumes that the development computer will support both the original and new version Ingres installations.
UNIX:
Execute the following commands:
mkdir /ing2006/ingres
chmod 755 /ing2006/ingre
Here are example scripts for the C shell. You may need to adjust them for your specific installation.
For example, the PATH settings may be different, and LD_LIBRARY_PATH may be named LIBPATH or SHLIB_PATH, depending on the platform. In this example, the "old" installation is an Ingres 6.4 installation.
setold:
setenv II_SYSTEM /ing64
set path=(. /usr/local/bin /bin /usr/ucb /usr/sbin /usr/openwin/bin $II_SYSTEM/ingres/bin $II_SYSTEM/Ingres/utility /usr/ccs/bin)
set inst=`ingprenv1 II_INSTALLATION`
setenv LD_LIBRARY_PATH /usr/lib:/usr/openwin/lib
set prompt=`whoami`.`uname -n`"[$inst]% "
echo "Switching to original Ingres 6.4 [$inst] installation"
setnew:
setenv II_SYSTEM /ing2006
set path=(. /usr/local/bin /bin /usr/ucb /usr/sbin /usr/openwin/bin $II_SYSTEM/ingres/bin $II_SYSTEM/ingres/utility /usr/ccs/bin)
set inst=`ingprenv II_INSTALLATION`
setenv LD_LIBRARY_PATH /usr/lib:/usr/openwin/lib:$II_SYSTEM/ingres/lib
set prompt=`whoami`.`uname -n`"[$inst]% "
echo "Switching to new 2006 [$inst] installation"
For example:
alias setold source ~ingres/setold
alias setnew source ~ingres/setnew
Note: Do not use the same data, checkpoint, journal, dump, or log directories as the original installation; the directories can, however, be on the same disks. ![]()