Difference between revisions of "Services"

From DLS5 Wiki
Jump to: navigation, search
(DLS 5 Services)
 
(5 intermediate revisions by 3 users not shown)
Line 3: Line 3:
  
 
==What is a Windows Service?==
 
==What is a Windows Service?==
 
Possibly the biggest new feature of DLS IV is the service-based architecture.
 
  
 
On Microsoft Windows operating systems, a Windows service is a long-running executable that performs specific functions and which is designed not to require user intervention. Windows services can be configured to start when the operating system is booted and run in the background as long as Windows is running, or they can be started manually when required.
 
On Microsoft Windows operating systems, a Windows service is a long-running executable that performs specific functions and which is designed not to require user intervention. Windows services can be configured to start when the operating system is booted and run in the background as long as Windows is running, or they can be started manually when required.
  
There are many advantages to this architecture:
+
==DLS 5 Services==
  
*DLS IV does not rely on the current user's permissions
+
'''Please note:''' With DLS Standalone, System Admin Standalone and BOSS Stand-alone packages '''only''' MPCH service will be installed.
*Allows effective integration with SQL Server Express
+
*Allows operations to continue in the background AFTER the application has been closed
+
  
==DLS IV Services==
+
The following are services which DLS uses and requires to run:
  
The following are services which DLS IV uses and requires to run:
+
===DSC MCPH===
 
+
===MCPH===
+
 
The Multi-Comm Port Handler is the service component that handles the comm port assignment of each job.  This service allows Comm Port Sharing, without requiring any extra user intervention.
 
The Multi-Comm Port Handler is the service component that handles the comm port assignment of each job.  This service allows Comm Port Sharing, without requiring any extra user intervention.
  
 
Thanks to the MCPH, it's a one-time setup per connection type in the Modem Manager.
 
Thanks to the MCPH, it's a one-time setup per connection type in the Modem Manager.
  
===DLS Authentication Service===
 
The Authentication service is DLS IV's padlock.  This service ensures that your database will never fall into the wrong hands.  The Security Stamp and Hardware Key are both processed by the authentication service on every login attempt.
 
  
===DLS Communication Service===
+
'''The following services are only installed with Workgroup installation:'''
The Communication service is the workhorse that performs all communication jobs.  This service receives each communication job, converts to panel-friendly commands, and executes your upload/download.  Having the communication service allows you to submit many jobs in queue, close down the DLS IV application and walk away.  The Communication service executes the jobs silently in the background, storing detailed information about each job in the database for your later review.
+
  
===DLS Application Service===
+
===DSC Authentication Service===
The Application service is DLS IV's engine.  This service is at the core of every operation in DLS IV. It controls all traffic to-and-from the database, it builds up each communication job and checks the job's status as it's processed,
+
The Authentication service is DLS padlock.  This service ensures that your database will never fall into the wrong hands.  Hardware Key is processed by the authentication service on every login attempt.
  
==Managing Services==
+
===DSC Application Service===
Service based architecture is becoming more and more mainstream, but is still new to many PC users. DLS IV Services are set to launch automatically when your PC starts up.  This means that DLS IV, regardless of the permissions of the current PC user, will launch as a fully-functioning application every time Windows starts.
+
The Application service is DLS's engine.  This service is at the core of every operation in DLS.  It controls all traffic to-and-from the database, it builds up each communication job and checks the job's status as it's processed.
  
==Troubles with Services==
+
===DSC Communication Service===
The way in which Windows handles the starting of services, though robust, is not perfectYou may find that your PC has difficulty starting some services from time to timeHere are a couple of quick tips to help you manage your services:
+
The Communication service is the workhorse that performs all communication jobs.  This service receives each communication job, converts to panel-friendly commands, and executes your upload/downloadHaving the communication service allows you to submit many jobs in queue, close down the DLS application and walk awayThe Communication service executes the jobs silently in the background, storing detailed information about each job in the database for your later review.
  
===DLS IV Launch===
+
===DSC Web Server (only for Add-on Web SA)===
If any DLS IV service is not in a working state when the DLS IV application is launched, DLS IV will automatically try to start the services for you.  This function will execute successfully for admin level users.
+
The Web Server service is a driver of running Web SA application on an actual Web platform.
  
===Start Menu - Restart All Services===
+
==Troubleshooting Services==
Use DLS IV's built-in Service start up utilityBrowse to DLS IV in your Start Menu, select Utilities and "Restart All DLS IV Services"This will automatically shutdown all DLS IV services and restart them in the desired order.
+
The way in which Windows handles the starting of services, though robust, is not perfectYou may find that your PC has difficulty starting some services from time to timeHere are a couple of quick tips to help you manage your services:
  
If you experience trouble stopping a service, it may be because that service is currently busy trying to startup.  It is recommended to allow approx 2 mins to let the service gracefully complete the startup routine before shutting it downTry the "Restart All DLS IV Services" utility again in a couple of minutes.
+
===DLS Launch===
 +
If any DLS service(s) are not in a working state when the DLS application is launched, DLS will automatically try to start the services for youThis function will execute successfully for admin level users.
  
 
===Services Manager===
 
===Services Manager===
Line 55: Line 47:
 
You'll see a comprehensive list of all the service based applications installed on the PC, and each service's current state.
 
You'll see a comprehensive list of all the service based applications installed on the PC, and each service's current state.
  
From here you can see the state of all DLS IV services, and correct any issues.  Remember, when starting the DLS Services, start them in this order:
+
From here you can see the state of all DLS services, and correct any issues.  Remember, when starting the DLS Services, start them in this order:
  
#Authentication Service
+
#Authentication Service ''(not installed for Standalone Installation)''
#Application Service
+
#Application Service   ''(not installed for Standalone Installation)''
#Communications Service
+
#Communications Service ''(not installed for Standalone Installation)''
 
#MCPH Service
 
#MCPH Service
  
 
===Startup Time===
 
===Startup Time===
Each DLS IV service is in the ''"Windows Service Manager's"'' start up queue.  Many other programs utilize this function. When your PC boots up, it must work through all of the various programs in this list, which will each start sequentially. This process can take a few moments.
+
Each DLS service is in the ''"Windows Service Manager's"'' start up queue.  Many other programs utilize this function. When your PC boots up, it must work through all of the various programs in this list, which will each start sequentially. This process can take a few moments.
  
The DLS IV services must be started before running DLS IV.  It is suggested that the PC is completely booted before running DLS IV.
+
The DLS services must be started before running DLS.  It is suggested that the PC is completely booted before running DLS.
  
During this startup, it is '''strongly''' recommended that you do not attempt to STOP any DLS IV services.
+
During this startup, it is '''strongly''' recommended that you do not attempt to STOP any DLS services.
  
 
===Dependencies===
 
===Dependencies===
There are as few service dependencies in DLS IV as possible.  For example:  The Windows TCP/IP service must be running to allow the DLS IV components to properly initialize.  Please ensure that the following Services are set to "Automatic" start up and are fully started when attempting to run DLS IV:
+
There are as few service dependencies in DLS as possible.  For example:  The Windows TCP/IP service must be running to allow the DLS components to properly initialize.  Please ensure that the following Services are set to "Automatic" start up and are fully started when attempting to run DLS:
  
 
*Remote Access Connection Manager (RasMan)
 
*Remote Access Connection Manager (RasMan)
 
*Windows Management Instrumentation
 
*Windows Management Instrumentation
*SQL Server (Express)
 
  
If any of these services are not started, you may experience difficulty operating DLS IV.   
+
If any of these services are not started, you may experience difficulty operating DLS.   
  
 
===One of the Services has NEVER started===
 
===One of the Services has NEVER started===
If one of your DLS IV services has NEVER started and you are unable to start it manually, it is likely that there was a problem during installation.  This type of issue can be avoided by ensuring that the PC is not busy during the installation process.
+
If one of your DLS services has NEVER started and you are unable to start it manually, it is likely that there was a problem during installation.  This type of issue can be avoided by ensuring that the PC is not busy during the installation process.
  
 
As with the installation of most applications, is is recommend that you close all open programs, ensure that anti-virus is not actively scanning, and reduce the workload of the PC so that the installation process can run smoothly.
 
As with the installation of most applications, is is recommend that you close all open programs, ensure that anti-virus is not actively scanning, and reduce the workload of the PC so that the installation process can run smoothly.
  
Uninstall DLS IV and re-install to correct this issue.
+
Uninstall DLS and re-install to correct this issue.
  
 
===Rebooting Your PC===
 
===Rebooting Your PC===
Rebooting your PC is an excellent way to get back to a safe starting point.  Rebooting your PC will close any conflicting applications and will allot the proper resources to the DLS IV services on start up.  It also allows each service to restart with the designed System privileges.
+
Rebooting your PC is an excellent way to get back to a safe starting point.  Rebooting your PC will close any conflicting applications and will allot the proper resources to the DLS services on start up.  It also allows each service to restart with the designed System privileges.

Latest revision as of 18:04, 13 June 2014


What is a Windows Service?

On Microsoft Windows operating systems, a Windows service is a long-running executable that performs specific functions and which is designed not to require user intervention. Windows services can be configured to start when the operating system is booted and run in the background as long as Windows is running, or they can be started manually when required.

DLS 5 Services

Please note: With DLS Standalone, System Admin Standalone and BOSS Stand-alone packages only MPCH service will be installed.

The following are services which DLS uses and requires to run:

DSC MCPH

The Multi-Comm Port Handler is the service component that handles the comm port assignment of each job. This service allows Comm Port Sharing, without requiring any extra user intervention.

Thanks to the MCPH, it's a one-time setup per connection type in the Modem Manager.


The following services are only installed with Workgroup installation:

DSC Authentication Service

The Authentication service is DLS padlock. This service ensures that your database will never fall into the wrong hands. Hardware Key is processed by the authentication service on every login attempt.

DSC Application Service

The Application service is DLS's engine. This service is at the core of every operation in DLS. It controls all traffic to-and-from the database, it builds up each communication job and checks the job's status as it's processed.

DSC Communication Service

The Communication service is the workhorse that performs all communication jobs. This service receives each communication job, converts to panel-friendly commands, and executes your upload/download. Having the communication service allows you to submit many jobs in queue, close down the DLS application and walk away. The Communication service executes the jobs silently in the background, storing detailed information about each job in the database for your later review.

DSC Web Server (only for Add-on Web SA)

The Web Server service is a driver of running Web SA application on an actual Web platform.

Troubleshooting Services

The way in which Windows handles the starting of services, though robust, is not perfect. You may find that your PC has difficulty starting some services from time to time. Here are a couple of quick tips to help you manage your services:

DLS Launch

If any DLS service(s) are not in a working state when the DLS application is launched, DLS will automatically try to start the services for you. This function will execute successfully for admin level users.

Services Manager

Access the Windows Services Manager by:

  • Right-click "My Computer"
  • Click "Manage"
  • Browse to "Service and Applications" and then "Services"

You'll see a comprehensive list of all the service based applications installed on the PC, and each service's current state.

From here you can see the state of all DLS services, and correct any issues. Remember, when starting the DLS Services, start them in this order:

  1. Authentication Service (not installed for Standalone Installation)
  2. Application Service (not installed for Standalone Installation)
  3. Communications Service (not installed for Standalone Installation)
  4. MCPH Service

Startup Time

Each DLS service is in the "Windows Service Manager's" start up queue. Many other programs utilize this function. When your PC boots up, it must work through all of the various programs in this list, which will each start sequentially. This process can take a few moments.

The DLS services must be started before running DLS. It is suggested that the PC is completely booted before running DLS.

During this startup, it is strongly recommended that you do not attempt to STOP any DLS services.

Dependencies

There are as few service dependencies in DLS as possible. For example: The Windows TCP/IP service must be running to allow the DLS components to properly initialize. Please ensure that the following Services are set to "Automatic" start up and are fully started when attempting to run DLS:

  • Remote Access Connection Manager (RasMan)
  • Windows Management Instrumentation

If any of these services are not started, you may experience difficulty operating DLS.

One of the Services has NEVER started

If one of your DLS services has NEVER started and you are unable to start it manually, it is likely that there was a problem during installation. This type of issue can be avoided by ensuring that the PC is not busy during the installation process.

As with the installation of most applications, is is recommend that you close all open programs, ensure that anti-virus is not actively scanning, and reduce the workload of the PC so that the installation process can run smoothly.

Uninstall DLS and re-install to correct this issue.

Rebooting Your PC

Rebooting your PC is an excellent way to get back to a safe starting point. Rebooting your PC will close any conflicting applications and will allot the proper resources to the DLS services on start up. It also allows each service to restart with the designed System privileges.