Installing the Borland Enterprise Server on IBM AIX

This document describes procedures for installing the Borland Enterprise Server on IBM AIX.

Preparing for installation

Before installing on IBM AIX you should:

System requirements

For the latest platform information and system requirements for installing Borland Enterprise Server on IBM AIX, go to http://www.borland.com/techpubs/bes/platforms.

Browsers

To use the Web engine and Web Administration Tool included with the Borland Enterprise Server, you need one of the following Web browsers:

JDK requirements

You must have an existing IBM AIX Java Development Kit (JDK) 1.3 and JDK 1.4 in your environment before installing Borland Enterprise Server . You need the full JDKs installed, not just the Java Runtime Environments (JRE). The JDK 1.4 is used for Borland Enterprise Server's internal tooling. Configuring any Partition to use JDK 1.4 is not supported in AIX, Partitions must use JDK 1.3.x.

The Borland Enterprise Server installation package for IBM AIX does not ship any version of the Java Development Kit (JDK). For information on Java products for IBM AIX go to http://www.ibm.com/develperworks/tools.

JAVA_HOME environment variable

Make sure to update the JAVA_HOME environment variable to reflect the JDK installation directory. Also, update the PATH environment variable to include your JAVA_HOME/bin.

Disk space requirements

The total amount of disk space required to install the Borland Enterprise Server depends on which components you install. For more information, see "Planning your network" in the Borland Enterprise Server Installation Guide on the Borland web site http://www.borland.com/techpubs/bes.

Other services included with Borland Enterprise Server

Apache Web Server 2.0

The Apache Web Server 2.0 is included with this version of Borland Enterprise Server.

For information about the Apache Web Server, refer to Borland Enterprise Server Developer's Guide online Help Topics or PDF. Also, refer to the Apache documentation in the <install_dir>\bin\apache2\ included with Borland Enterprise Server.

SonicMQ messaging service

The messaging core service product, SonicMQ, is bundled with the Borland Enterprise Server installation. It installs automatically (requires no user intervention), and does not allow configuration. For more detailed information on the SonicMQ product, refer to the SonicMQ documentation included with the Borland Enterprise Server in <install_dir>\SonicMQ\sonicmq-docs\.

Licensing and Registration

Before installing the Borland Enterprise Server, make sure you have the license keys to run the Borland Enterprise Server edition you have purchased and its related components. If you have not received a license for the Borland Enterprise Server, contact your Borland sales representative.

If you do not provide license information during the installation process, you will be able to complete the installation. However, you are required to enter license information later using the Management Console.

For more information on using the Borland Management Console to license and register your server, go to the Borland Enterprise Server online Help Topics or PDF: Installation Guide "Licensing and registering using the Borland Management Console".

Note: If you are installing only a client, you must provide license information during the installation process.

Installing the Borland Enterprise Server on IBM AIX

Important: If the following file exists you must delete it prior to installing:


    /usr/lib/objrepos/vpd.properties

This file is created when SonicMQ is installed with (previous versions of) the Borland Enterprise Server. It is important to uninstall previous versions of Borland Enterprise Server before installing another version.

Refer to the following section on Uninstalling the Borland Enterprise Server for more information on uninstalling.

To install the Borland Enterprise Server on IBM AIX:

  1. The installation must be installed as root. To run the install file, invoke the following shell script:
    sh <file_name>.bin 
    where <file_name> is the name of the installer.
  2. Important: Please read the following section, File ownership and the iaschangeowner scripton on changing file permissions using the iaschangeowner script.

  3. If you are downloading the Borland Enterprise Server from the web site, extract the installer .bin file from BES52_AIX64/32.tar.
  4. Obtain all permissions, or chmod to run the install script.
  5. After saving the bin (32 or 64 bit) file, you can then run it to launch the installer.
  6. If you're installing from CD, enter the following commands:
  7. When the installer launches, follow the onscreen installation panels.

    JDK install panel

    Full BES installation: On the JDK panel you must enter the path of your JDK 1.4 and JDK 1.3. The installer will not let you proceed without this correct information.

    VisiBroker standalone installation: VisiBroker standalone versions do not require a JDK 1.4, therefore it is not necessary to have both JDKs 1.3 and 1.4 for VisiBroker standalone installations on AIX. If you do not have a JDK 1.4 installed, you can point that selection box to the same JDK selection as the JDK 1.3.

    Default JDK for application code

    Borland Enterprise Server 5.2.x supports both JDK 1.4 and JDK 1.3, however, AIX does not support JDK 1.4 at this time. For components that host user code, such as Partitions or a client, the default version you specify must be JDK 1.3.x.

File ownership and the iaschangeowner script

Some files and directories, such as log files, properties, and realms are not created when the Borland Enterprise Server is installed. Instead, they are created by the server at runtime, the first time the server is started. Permissions on these files and directories are granted based on the user running the server at this initial time. For example, if you run the server for the first time as usernameA, some files or directories will be owned by usernameA. Any subsequent running of the server by any other user (including root) will result in error due to permission problems. File ownership must be changed in order to allow any other users to write to these files.

Changing ownership of a server instance

To change ownership use the iaschangeowner script (UNIX only) in the /bin directory of the installed Borland Enterprise Server. The script changes the ownership of files such as logs and properties to allow writing by another owner.

The following directories (and their contents) are affected by the iaschangeowner script:

Usage

Note: This version of Borland Enterprise Server includes a new iaschangeowner option, the <new group>.

When a Borland Enterprise Server installation has multiple server instances defined, the ownership of each instance can be set to different, or the same users.

Usage: iaschangeowner -r <install dir> [-s <server name> | -d] -o <new owner> -g <new group> [-a]

When a Borland Enterprise Server installation has multiple server instances defined, the ownership of each instance can be set to different, or identical users.

Rules

The following rules apply:

Usage example

The following is a short example using the iaschangeowner script to change the user name and group for any servers started from the /usr/BES installation:


% iaschangeowner -r /usr/BES -d -o jsmith -g admin

Failure to change permissions prior to changing server owners will result in errors similar to the following:

bin/ias: server_root/sk.txt: cannot create

Uninstalling the Borland Enterprise Server

To uninstall the Borland Enterprise Server:

  1. Make sure there are no background processes like osagent running during the uninstall.
  2. Invoke the uninstaller which is available in <install_root>/UninstallerData/uninstall.
  3. It is safe to delete all remaining files in <install_root>.
  4. It is not necessary to uninstall SonicMQ using the SonicMQ uninstaller. But, you can if you wish, access the SonicMQ uninstaller using the shell script <install_root>/SonicMQ/uninstall.sh.

    The SonicMQ uninstaller will ask you about deleting a large number of files. It is recommended you choose "yes" for these prompts.