Install an IDOL Component as a Service on Linux

On Linux operating systems, you can configure a component as a service to allow you to easily start and stop it. You can also configure the service to run when the machine boots. The following procedures describe how to install Query Manipulation Server as a service on Linux.

NOTE:

To use these procedures, you must have root permissions.

NOTE:

When you install Query Manipulation Server on Linux, the installer prompts you to supply a user name to use to run the server. The installer populates the init scripts, but it does not create the user in your system (the user must already exist).

The procedure that you must use depends on the operating system and boot system type.

Install a Component as a Service for a systemd Boot System

NOTE:

If your setup has an externally mounted drive that Query Manipulation Server uses, you might need to modify the init script. The installed init script contains examples for an NFS mount requirement.

To install an IDOL component as a service

  1. Run the appropriate command for your Linux operating system environment to copy the init scripts to your init.d directory.

    where componentname is the name of the init script that you want to use, which is the name of the component executable (without the file extension).

    For other Linux environments, refer to the operating system documentation.

  2. Run the following commands to set the appropriate access, owner, and group permissions for the component:

    where componentname is the name of the component executable that you want to run (without the file extension).

    For other Linux environments, refer to the operating system documentation.

  3. (Optional) If you want to start the component when the machine boots, run the following command:

    systemctl enable componentname

Install a Component as a Service for a System V Boot System

To install an IDOL component as a service

  1. Run the following command to copy the init scripts to your init.d directory.

    cp IDOLInstallDir/scripts/init/systemv/componentname /etc/init.d/

    where componentname is the name of the init script that you want to use, which is the name of the component executable (without the file extension).

  2. Run the following commands to set the appropriate access, owner, and group permissions for the component:

    chmod 755 /etc/init.d/componentname
    chown root /etc/init.d/componentname
    chgrp root /etc/init.d/componentname
  3. (Optional) If you want to start the component when the machine boots, run the appropriate command for your Linux operating system environment:

    For other Linux environments, refer to the operating system documentation.


_HP_HTML5_bannerTitle.htm