Using multiple configurations
BcsService can be installed as multiple Windows service instances with separated configuration for every instance. E.g. Service 1 with configuration1, Service2 with configuration2 etc. Configuration specified for a service instance will be used automatically at service start. Any services can be started and stopped separately. If configuration with the specified name isn't found, then service will be stopped and the error will be logged in Windows Application log.
To use multiple configuration, make followed the steps:
- Create all requested configurations for services. See Configuration for details
- Install every requested BcsService instance as Windows service with requested configuration name. See Install & Configure Windows service for details
Example
Requested configuration
Windows Service name | Configuration name |
---|---|
Instance0 | BCS0 |
ExternalBCS | BCS1 |
RegionalBCS | BCSRegional |
Requested steps
- Create configurations BCS0, BCS1 and BCSRegional. See Configuration for details
- Install BcsService as Windows service Instance0 with configuration name BCS0 via followed command line (any optional parameters are possible. See Install & Configure Windows service for details)
BcsService /i:Instance0 /configuration:BCS0 - Install BcsService as Windows service ExternalBCS with configuration name BCS1 via followed command line (any optional parameters are possible. See Install & Configure Windows service for details)
BcsService /i:ExternalBCS /configuration:BCS1 - Install BcsService as Windows service RegionalBCS with configuration name BCS1 via followed command line (any optional parameters are possible. See Install & Configure Windows service for details)
BcsService /i:RegionalBCS /configuration:BCSRegional