hciunixservice

This command adds/removes auto-starting of hciss on UNIX/Linux systems.

You can use one of these commands:

hciunixservice -i h|s [auto-start script directory] [-c]

or

or: hciunixservice -r h|s
  • -i installs the specified services.

    Additional auto-start scripts install paths can be assigned, under which the Cloverleaf's auto-start service is referred

  • -r removes the specified services.
  • h is the host server service.
  • s is the security server service.
  • -c is a special option for CentOS 7 and above. This tunes Systemd unit files.

    By default, assertions are made on HCIROOT for services. An error is reported to the system to mark the service as a failure.

    Under a cluster environment, HCIROOT is only available to the backup node when the major one is down. This option can be used to mute alerts. Systemd skips the service when HCIROOT is absent.

Note: The command must act as root to work.

This command resides in $HCIROOT/sbin/.

Example

To add/remove auto-starting of hciss on UNIX/Linux systems.

hciunixservice [-i h|s] | [-r h|s]
  • -i installs the specified services.
  • -r removes the specified services.
  • h is the host server.
  • s is the security server.

To install the host server as a service:

  1. Log in to root:

    su or sudo to root.

  2. Change the directory:
    cd $HCIROOT/bin
  3. Install the host server as a service:
    hciunixservice -i -h
    • Replace -i with -r to remove the service.
    • Replace h with s to install/remove the security server as a service.
  4. Start the service:
    hostserverservice start

When you shut down the system, the host/security server and processes, if assigned, gracefully shut down and auto-start after the system boots.