Configuring DSS Auto-Start on Windows - DSS 6 Documentation

Documentation: Configuring DSS Auto-Start on Windows - DSS 6 Documentation

Configuring DSS Auto-Start on Windows

This section describes the steps to enable the automatic restart of Data Source Solutions DSS processes (DSS Agent Listener and DSS Hub Server) after a Windows system reboot or an application failure.

Before performing the configurations on this page, ensure that the Windows user account running the DSS services is a member of the Administrator group and has the Log on as a service privilege.


Add DSS to Windows Startup

Adding applications to Windows Startup ensures they start automatically when the operating system boots.

If you installed DSS using the installer (DSS Hub or DSS Agent), the DSS processes are automatically added to Windows Startup.

If you installed DSS using the ZIP file (DSS Hub or DSS Agent), the DSS processes are not added to Windows Startup. In this case, you need to manually add DSS to Windows Startup to ensure they start automatically after a Windows boot:

Add DSS Agent Listener Service to Windows Startup

To add the DSS Agent Listener service to Windows Startup:

  1. Open the Windows Services Manager and locate the Data Source Solutions DSS Agent Listener service.
  2. Right-click the service and select Properties from the context menu.
  3. Navigate to the General tab and set the Startup type to Automatic.
  4. Click OK.

Reboot your Windows system and check the Windows Services Manager to ensure the DSS Agent Listener service starts automatically.

Add DSS Hub Server Service to Windows Startup

To add the DSS Hub Server service to Windows Startup:

  1. Open the Windows Services Manager and locate the Data Source Solutions DSS Hub Server service.
  2. Right-click the service and select Properties from the context menu.
  3. Navigate to the General tab and set the Startup type to Automatic.
  4. Click OK.

Reboot your Windows system and check the Windows Services Manager to ensure the DSS Hub Server service starts automatically.


Configure Automatic Restart for DSS Hub Server After Failure

In addition to enabling auto-start of DSS processes after Windows boot, we recommend configuring the DSS Hub Server service to restart automatically if it encounters a failure.

This configuration applies to both installer and ZIP-based installations.

To configure the DSS Hub Server service to restart automatically if it fails during operation:

  1. Open the Windows Services Manager and locate the Data Source Solutions DSS Hub Server service.
  2. Right-click the service and select Properties from the context menu.
  3. Navigate to the Recovery tab and set Restart the Service for the first and subsequent failures.
  4. Click OK.

Configure DSS Hub Server Service Dependency on DBMS

The DSS Hub Server service should depend on a Database Management System (DBMS) service to ensure it does not attempt to start before the database is ready. To configure this dependency, use the sc config command.

This configuration applies to both installer and ZIP-based installations.

For example, if the DBMS service is OracleServiceOHS, use the following command:

sc config <em>dsshubserver_service_name</em> depend=OracleServiceOHS

To list all services related to DSS and verify their names, run the following command:

sc queryex | find "dss"

See Also