This document covers the following topics:
This section describes the steps, which are to be completed after the installation of Adabas 6.7 on UNIX.
Note:
All scripts mentioned in the following steps are to be executed
in a Bourne shell.
To complete the installation of Adabas 6.7 on UNIX.
Change to the bin directory of your main installation directory.
If you did not use sudo during the installation, you must run the script afterInstallAsRoot.sh to complete the installation or some products might not work correctly.
Run the script afterInstallAsRoot.sh with root privileges.
Source the environment settings by executing the command
. ./sagenv.new
Activate the Adabas License.
Copy the license key to a temporary location on your UNIX machine.
Change to the Adabas/INSTALL directory of your main installation directory.
Execute the adalic
command. Enter:
adalic activate license_file
Where license_file
represents the fully qualified path to your license file.
Change the default Adabas Data directory.
Notes:
The default Adabas Data directory is the Adabas installation directory (i.e../Adabas). If you want to choose a different location:
Change to the Adabas/INSTALL directory of your main installation directory.
Execute the change_adadatadir.sh
command.
Enter:
change_adadatadir.sh new_location
Where new_location
represents the fully qualified path to the new location of your Data
directory.
Source the environment settings to enable the change. Execute the command:
. ./adaenv
Or close the current shell, open a new shell, change to the bin directory of your main installation directory, then source the environment by executing
. ./sagenv.new
If installed, restart the Adabas Administration Service with the changed environment.
Verify the Installation.
Note:
This step is optional.
To verify your installation you may choose to:
Create the Demo Database
Start the database
Generate a database report
Terminate the database
To achieve this, execute the following steps:
Open a command shell.
Source the environment settings.
Create the Demo Database
Execute the crdemodb
command. Enter:
crdemodb dbid
Where dbid
represents the Database ID of your database.
Start the database issuing the command:
adastart dbid
Where dbid
represents the Database ID of your database.
For further details on adastart
, refer to the
section Start
Database: adastart in the Extended
Operation documentation
Generate a database report issuing the command:
adarep dbid=dbid contents
Where dbid
represents the Database ID of your database.
For further details on adarep
, refer to the
section ADAREP in the
Utilities documentation.
Terminate the database issuing the command:
adastop dbid
Where dbid
represents the Database ID of your database.
For further details on adastop
, refer to the
section Stop
Database: adastop in the Extended
Operation documentation
Information about the version number can be obtained using either of the following methods:
Open a command shell. Then source the environment settings and execute
sagver $ADAPROGDIR/bin/adanuc.bin
Open a command shell. Then source the environment settings and execute
cat $ADAPROGDIR/version.txt
Information about the version number can be obtained using the following method:
Open a command shell. Then source the environment settings and execute
sagver $ACLDIR/lib/ libadalnkx.so
If you are also using the Adabas SQL Gateway or the Adabas Event Replicator, you must reinstall these products. For further information, refer to the related product documentation.
If you are also using other Software AG products, you must either install those products into the same directory where you installed Adabas, or you must modify the generated script sagenv.new to setup up your environment properly. For further information see Side-by-Side Installations.
The default installation directory for Adabas Client is /opt/softwareag/AdabasClient.
If you are installing Adabas Client into a directory which is not the default (e.g. /opt/softwareag/Suite1/Adabas Client) and you want to use an Adabas interface with applications that have the s-bit set, you must create a symbolic link pointing the directory /opt/softwareag/AdabasClient to the physical location of the Adabas Client Installation directory..
To create a new symbolic link
Open a command shell.
Source the environment settings.
Create the symbolic link by executing:
ln -s <installation_directory> /opt/softwareag/AdabasClient
For example:
ln -s /opt/softwareag/Suite1/AdabasClient /opt/softwareag/AdabasClient
Note:
These operations require root permissions.