Installing and Configuring IQService

IQService, also referred to as the Integration Service, is a native Windows service that enables Identity Security Cloud to participate in a Windows environment and access information only available through Windows APIs.

It is a lightweight service that must be installed on any supported Windows Server that has connectivity to the target systems you want to manage in Identity Security Cloud.

Prerequisites

Installing IQService

  1. Download the Integration Service from Identity Security Cloud via a source that requires it.

  2. Run the following commands to install a Windows service named IQService.

    • To install IQService so it communicates with Identity Security Cloud on a non-TLS port:

      IQService.exe -i

      This command installs an instance of IQService named IQService-Instance1 and on port 5050 (if available).

    • To install IQService so it communicates with Identity Security Cloud on a TLS port:

      IQService.exe -i -o <TLS Port Number>

      This command installs an instance of IQService named IQService-Instance1 and on the given TLS port number.

      Note
      For more details on the requirements and procedure to set up TLS Communication and Client Authentication, refer to Configuring TLS and Client Authentication for IQService.

    • To install IQService so it communicates with Identity Security Cloud on both TLS and Non-TLS ports:

      IQService -i -p <Non-TLS Port> -o <TLS port>

      This command installs an instance IQService named IQService-Instance1 and on the given TLS and Non-TLS ports.

  3. Unzip the downloaded IQService.zip archive into the created or desired location. For example, C:\SailPoint\IQService\

    Note
    Verify the DLLs are trusted by checking the properties of the DLL files.

  4. Start the service either from the Services Applet or from the command line by running the following command:

    IQService.exe -s

Registering IQService

The IQService.exe -i command installs and registers the service with the new registry path HKEY_LOCAL_MACHINE\SOFTWARE\SailPoint\IQService Instances\IQService-Instance1 with the following keys:

Keys

Description

port

Port to listen

tracefile

Path to the tracefile

tracelevel

0 (off)

3 (verbose)

maxTraceFiles

Maximum number of Trace log files that must get created before overwriting the older files

traceFileSize

Maximum file size of a trace file in bytes. A new file is created when the current file exceeds this limit

clientAuthUsers

If you configure IQService with client authentication, the IQService user is displayed with this key.

tlsPort

If you configure the TLS port, the IQService is set up for the communication over TLS.

The IQService accesses only the IQService-related keys in the registry editor, and installs or uninstalls successfully.

IQService Fallback Implementation

In information technology, the term fallback refers to a backup solution to prevent the total failure of a system. The fallback solution commonly has a reduced or limited functionality but is still capable of operating the most important functions for a certain period, to allow time for operation of the system to be brought fully online again. After the primary system is restored, the fallback solution is deactivated and normal operation is resumed.

IQService now allows you to install a secondary instance (fallback instance) of the primary service running on an IQService host machine. This secondary IQService instance takes over only when a primary IQService instance is down and not serving the requests coming from Identity Security Cloud.

In Identity Security Cloud, any request from user gets routed through VA (Cloud Connector Gateway). VA takes care of sending request to the appropriate request handler. Here if primary IQService instance is down, then the request processing is redirected to secondary IQService instance by the VA.

Note
Once the primary IQService is restored or working as expected, the VA automatically starts redirecting requests to the primary IQService.

The secondary service is not considered as a load balancer service or a high availability service. The secondary service works as a fallback service in case of failure of the primary IQService.

Note
The secondary IQService is used to serve requests when the primary IQService is down during upgrades. The secondary IQService handles manages requests if the primary IQService instance crashes and can handle the next requests until the primary service is running. However, the primary IQService must not be stopped purposefully and you should not keep the secondary service running to handle requests from Identity Security Cloud. If the primary IQService is stopped by running the IQService -k command, the secondary IQService is also stopped.

Installing the Secondary IQService Instance

The secondary IQService is automatically installed on the same host but with a different port (the installer uses another available port) as the primary IQService.

  1. IQService.exe -i – This command installs two instances of IQService. During installation it creates a IQService-Instance1-Secondary directory inside the installation directory of IQService. It copies all files present in the installation directory to that directory. It is the installation directory for the IQService-Instance1-Secondary service.

  2. IQService.exe -i -b – This command allows you to install only one instance of IQService. This command is recommended only you have a load balancer configured to take care of failures in the running service.

  3. IQService.exe -s – If the secondary service is installed, this command starts both instances of IQService.

  4. IQService.exe -k – If the secondary service is installed, this command stops both instances of IQService.

  5. IQService.exe -t – If the secondary service is installed, this command restarts both instances of IQService.

Note
When the Primary service is started, stopped, or restarted either from a command or through a services console, the operation is performed on both the instances.

After installation, you can configure different ports or TLS ports.

Upgrading IQService

To upgrade, you must uninstall the previous version and then install the new version.

SailPoint also recommends backing up the current installation before uninstalling to aid with troubleshooting the new version, should issues arise.

  • To determine the existing (old) version, run the following command:

    IQService.exe -v

  • To uninstall the existing (old) version, run the following command:

    IQService.exe -u

  • Run the following command to install a new version:

    IQService.exe -i

Upgrading IQService to the Latest Version

  1. Take the backup of the existing IQService installation.

  2. Stop the service either from the Services Applet or from the command line by running the following command:

    IQService.exe -k

  3. Uninstall IQService using the IQService -u command.

  4. Extract the latest IQService in the installation directory.

  5. Install the new IQService using the IQService -i command.

  6. Start the IQService.

Note
If you have executed the IQService Public Key Exchange task for the existing IQService then SailPoint recommends that you follow the instructions mentioned to install and register a new IQService.