Starting and stopping HCL Quality Server

Start the HCL Quality Server server to enable users to log in by using a web browser. If the server is installed as a service, you can configure it for automatic startup on boot or for manual startup on demand.

About this task

On Windows systems, the server is, by default, configured to be installed as a service, and for automatic startup on boot. If you cleared these selections during the installation, then use the IBM® Installation Manager Modify option to update the installation. See the following procedure for Windows systems:
On non-Windows systems, after installation, you must manually configure the server as a service. See the following procedures for non-Windows systems:

Procedure

Starting and stopping on Windows:

  1. To start the server, from the command line, run the startup.bat file from the default location C:\Program Files\HCL\HCLProducts\QualityServer\bin.
  2. To stop the server, from the command line, run the shutdown.bat file from the default location C:\Program Files\HCL\HCLProducts\QualityServer\bin.
  3. If the server is installed as a Windows service:
    1. To start the service, from the Start menu, click HCL OneTest > Start HQS.
      Note: By default, the server is configured to start automatically on boot.
    2. To stop the service, from the Start menu, click click HCL OneTest > Stop HQS.
  4. To modify the Windows service from automatic startup to manual startup:
    1. Go to Control Panel, and select System and Security > Administrative Tools > Services.
    2. Double-click HCL Quality Server.
    3. Change the startup type from Automatic to Manual. Click OK.
      Tip: You can also use this Control Panel option to start or stop the service.

Starting and stopping on non-Windows systems

Procedure

Starting on non-Windows systems

  1. To start the server, from the command line, run the startup.sh file from the default location: /opt/HCL/HCLProducts/QualityServer.

Stopping on non-Windows systems

  1. To stop the server, from the command line, run the shutdown.sh file from the default location: /opt/HCL/HCLProducts/QualityServer.

Configuring automatic start on boot on non-Windows systems:

  1. Ensure that you have root permissions.
  2. Add the startup.sh script to the path /etc/init.d.
  3. Create symbolic links to the script in the run-level folders, for example, /etc/rc3.d .
    Tip: For automatic shutdown, copy the shutdown.sh script to the path /etc/init.d, and create a symbolic link in the run-level folders, for example, /etc/rc0.d
  4. Open a command prompt and run the following command:
    sudo update-rc.d startup.sh defaults

Configuring automatic start on boot on RedHat Linux systems

About this task

The steps for RedHat Linux systems are slightly different than those for non-Windows systems.

Procedure

  1. Ensure that you have root permissions.
  2. Add the startup.sh script to the path /etc/init.d.
  3. Create symbolic links to the script in the run-level folders, for example, /etc/rc3.d .
  4. Edit startup.sh (located at both /etc/init.d and /etc/rc3.d) by using the following command: nano startup.sh.
  5. Replace the following lines:
    #!/bin/sh 
    . /opt/HCL/QualityServer/bin/setenv.sh 
    /opt/HCL/QualityServer/bin/server start defaultServer
    with the following:
    #!/bin/sh 
    #chkconfig: 345 99 01 
    #description: startup.sh 
    . /opt/HCL/QualityServer/bin/setenv.sh 
    /opt/HCL/QualityServer/bin/server start defaultServer

    This adds startup.sh to chkconfig.

  6. Run the following command: ntsysv.

    This command runs startup.sh automatically on boot.

Feedback