Automatically starting process agents on UNIX

On UNIX, startup scripts are available to automatically start the process agent when the system starts.

Before you begin

You can modify the startup scripts before you install them, if required.

Functionality delivered in fix pack
23Tivoli® Netcool®/OMNIbus Version 8.1.0.23 supports systemd style startup scripts, used on RHEL V7 and SuSE V12 onwards.

On Linux versions that are based on init.d startup scripts, such as RHEL V6 and SuSE V6 and previous versions, modify the startup script called nco for the version of Linux® that you are using. The script contains sections for either the Red Hat and SUSE versions of Linux, and these sections are delimited with comments within the script as follows:
### REDHAT ONLY
...
### END REDHAT ONLY


### SUSE ONLY
...
### END SUSE ONLY
Note that the script contains a number of separate sections for the Red Hat and SUSE versions of Linux.

Also on Linux, modify the nco script if you are using Plugable Authentication Modules (PAM) for authentication by adding the -authentication PAM argument to the script. For the default UNIX authentication, you do not need to add anything.

About this task

These scripts are located in the following directory:

$NCHOME/omnibus/install/startup

This directory contains one of the following installation scripts, depending on the operating system:
  • aix5install
  • hpux11hpiainstall
  • solaris2install
  • linux2x86install
  • linux2s390install

To use the process agent startup scripts, you must run the appropriate installation script for your operating system. (You might need to make the script executable before running it.)

To install the process agent startup scripts:

Procedure

  1. Run the installation script as the root user.
    For example, to install the scripts on Solaris, run solaris2install from the $NCHOME/omnibus/install/startup location.
    The following output is displayed:

    Name of the Process Agent Daemon [NCO_PA]

  2. Press Enter to accept the default process agent server name NCO_PA or enter another server name.
    The following output is displayed:

    Should pa_name run in secure mode (y/n)? [y]

  3. Press Enter to include the -secure command-line option when starting the process agent.
    Secure mode controls the authentication of connection requests with a user name and password.
    The following message is displayed:
    Enter value for environment variable NETCOOL_LICENSE_FILE,
    if required [27000@localhost]:
    Note: Although Tivoli Netcool/OMNIbus does not require a license key in order to run, some probes and gateways that have not been through a recent maintenance cycle still require license keys. If you are running these older probe or gateway packages, they will still require the NETCOOL_LICENSE_FILE environment variable to be set, and the availability of a Netcool license server.
  4. If you do not use a license server, you can safely press Enter to run the script. If you have a license server, either press Enter to accept the default value for the licensing environment variable, or enter another value.

Results

Each installation script copies or links the required configuration files into the system startup directory. On some systems (for example, Solaris and HP-UX), the ability to stop the processes at system shutdown is also provided.

What to do next

For information about modifying startup scripts, see your specific operating system documentation.