Apama 10.3 | Apama Documentation | Building and Using Apama Dashboards | Dashboard Deployment | Managing the dashboard data server and display server | Working with multiple data servers
Working with multiple data servers
Builder with multiple data servers
Viewer with multiple data servers
Display server deployments with multiple data servers
Deployed dashboards have a unique associated default data server or display server. For web-based deployments, this default is specified in the Startup and Server section of the Deployment Configuration Editor. For Viewer deployments, it is specified upon Viewer startup. By default, the data-handling involved in attachments and commands is handled by the default server, but advanced users can associate non-default data servers with specific attachments and commands. This provides additional scalability by allowing loads to be distributed among multiple servers. This is particularly useful for display server deployments. By deploying one or more data servers behind a display server, the labor of display building can be separated from the labor of data handling. The display server can be dedicated to building displays, while the overhead of data handling is offloaded to data servers.
Apama supports the following multiserver configurations:
*Builder with multiple data servers. See Builder with multiple data servers.
*Viewer with multiple data servers. See Viewer with multiple data servers.
*Display server (thin client) deployment with multiple data servers. See Display server deployments with multiple data servers.
The Attach to Apama and Define ... Command dialogs (except Define System Command) include a Data Server field that can be set to a data server's logical name. To associate a logical name with the data server at a given host and port, developers use the Data Server tab in the General tab group of the Application Options dialog (select Tools Options in Builder).
For display server (thin client) deployments, you must use the option --namedServerMode whenever you start named data servers. See Display server deployments with multiple data servers.
The logical data server names specified in the Builder's Application Options dialog are recorded in the file OPTIONS.ini, and the deployment wizard incorporates this information into deployments. You can override these logical name definitions with the --namedServer name:host:port option to the Builder, Viewer, data server or display server executable. Below is an example. This is a sequence of command-line options which should appear on a single line as part of the command to start the executable:
--namedServer Server1:ProductionHost_A:3278 --namedServer Server2:ProductionHost_B:4278 --namedServer Server3:ProductionHost_C:5278
Here Server1, Server2 and Server3 are the server logical names.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.