2 Installation

Prerequisites for Installation

To install Local Delete, upgrade all components of the DIVArchive System to the proper release. See Appendix B for DIVArchive licensing information.

  • At least two (one local and one remote) DIVArchive Managers (release 7.3.1 or later) must be installed and properly configured.

  • DIVAnet 2.1 or later is required. Queries on the number of instances (tape or total instances) require DIVAnet 2.2 or later.

Installing Local Delete as a Service

Oracle recommends installing Local Delete as a service. lynxLocalDelete.bat supports the installation and uninstallation of the Local Delete service using the -i and -u options, respectively.

Refer to the Linux installation instructions in the Oracle DIVArchive Installation and Configuration Guide in the Oracle DIVArchive 7.4 Core Documentation library for Linux-specific directions concerning running DIVArchive components as services under Linux.

Note:

The Local Delete service will be installed using the configuration file found in the %DIVA_HOME%\conf\lynxlocaldelete\ folder in Windows, or in the /home/diva/DIVA/conf/lynxlocaldelete/ directory in Linux.

If you use a configuration file other than the default, specify the file with the -conf or -f options.

Windows Service Installation

Use the following procedure to install Local Delete as a service in Windows:

  1. Open a Windows command prompt.

  2. Change to the following folder:

    cd %DIVA_HOME%\Program\Utilities\bin

  3. Execute the following batch file with the -i option (to install) or -u option (to uninstall):

    lynxLocalDelete.bat -i

Linux Service Installation

Use the following procedure to install Local Delete as a service in Linux:

  1. Open a Linux terminal.

  2. Change to the following folder:

    cd /home/diva/DIVA/Program/Utilities/bin

  3. Execute the following script file with the -i option (to install) or -u option (to uninstall).

    lynxLocalDelete.sh -i

Running Local Delete on Demand

Local Delete can be run on-demand by executing a script. You must substitute Windows paths with Linux paths when operating on Linux. For example, the Windows path C:\DIVA\Program will be /home/diva/DIVA/Program when running under Linux.

Note:

Linux commands, paths and file names are case-sensitive.

The command line console must remain open while Local Delete is running. Closing the window will stop Local Delete.

  1. Open a Windows command prompt or Linux terminal.

  2. Change to the following folder:

    cd %DIVA_HOME%\Program\Utilities\bin (in Windows)

    cd /home/diva/DIVA/Program/Utilities/bin (in Linux)

  3. Execute the following script without any command line parameters to start Local Delete.

    lynxLocalDelete.bat (Windows)

    lynxLocalDelete.sh (Linux)