Difference between revisions of "Managing Backend Services"
imported>Aeric |
imported>Aeric |
||
(18 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
The {{enterprisebrand}} has several backend services. Each of them can be run on a different server, to improve performance and scalability. They can be disabled, as well, if they are not used. | The {{enterprisebrand}} has several backend services. Each of them can be run on a different server, to improve performance and scalability. They can be disabled, as well, if they are not used. | ||
{{Important| <br>All backend services are enabled by default. ''But...'' | |||
# Backend services should ''not'' be enabled on a customer-facing web server, to avoid performance problems.<br>(The exception would be a single-user server used for development or proof of concept.) | |||
# With the exception of memcached, a backend service should ''not'' be enabled on more than one server, to avoid errors. | |||
Immediately after installing a server, then, it is necessary to disable all backend services, except for those services that are intended to run on the current server--and then only if the current server is intended to be a backend server. | |||
}} | |||
==== About the Backend Services ==== | ==== About the Backend Services ==== | ||
Line 11: | Line 13: | ||
:{| border="1" cellpadding="5" cellspacing="0" | :{| border="1" cellpadding="5" cellspacing="0" | ||
!Service | !Service | ||
!Default Status | !Default Status | ||
!Description | !Description | ||
|- | |- | ||
|Report Scheduler|| | |Report Scheduler||Enabled|| Runs scheduled reports when they're due | ||
|- | |- | ||
| | |Import ||Enabled|| Imports of data into the database | ||
|- | |- | ||
| | |Export ||Enabled|| Exports data from the database | ||
|- | |- | ||
| | |Memcached ||Enabled|| Data caching mechanism (installed separately) | ||
|- | |- | ||
|Quartz||Enabled||Time keeper for all scheduled events. | |Quartz ||Enabled|| Time keeper for all scheduled events. | ||
|} | |} | ||
{{:Enabling and Disabling Backend Services}} | |||
{{:Configuring Backend Services}} | |||
<noinclude> | <noinclude> | ||
[[Category:Installation]] | [[Category:Installation]] | ||
</noinclude> | </noinclude> |
Latest revision as of 22:43, 28 September 2015
The AgileApps Cloud platform has several backend services. Each of them can be run on a different server, to improve performance and scalability. They can be disabled, as well, if they are not used.
Important:
All backend services are enabled by default. But...- Backend services should not be enabled on a customer-facing web server, to avoid performance problems.
(The exception would be a single-user server used for development or proof of concept.) - With the exception of memcached, a backend service should not be enabled on more than one server, to avoid errors.
Immediately after installing a server, then, it is necessary to disable all backend services, except for those services that are intended to run on the current server--and then only if the current server is intended to be a backend server.
- Backend services should not be enabled on a customer-facing web server, to avoid performance problems.
About the Backend Services
An Application Server instance can run one or more of the following services. Enabling and disabling them determines which instance they run in--or whether they are available at all.
Service Default Status Description Report Scheduler Enabled Runs scheduled reports when they're due Import Enabled Imports of data into the database Export Enabled Exports data from the database Memcached Enabled Data caching mechanism (installed separately) Quartz Enabled Time keeper for all scheduled events.
Enabling and Disabling Backend Services
During installation, the networking.properties file is created. That file can be used to manually enable and disable backend services for an existing installation.
- To view the server list
- Open {install-dir}/profiles/IS_default/configuration/tomcat/conf/RN/networking.properties
- Servers are listed in this format: xxxxx_manager_instance=1
where "xxxxx" is one of "import", "report", etc.
- Servers are listed in this format: xxxxx_manager_instance=1
- To Disable a service
- Add a "#" character before the xxxxx_manager_instance=1 command
- # report_manager_instance=1
- Save the file
- Restart the Application Server
- To Enable a service
- Remove the "#" character from the xxxxx_manager_instance=1 command
- report_manager_instance=1
- Save the file
- Restart the Application Server
Configuring Backend Services
During installs and upgrades, it is only necessary to enable or disable a service on a platform instance. The install/upgrade process takes care of making the connections.
To change a configuration for an existing installation, changes need to be made manually, by adjusting the networking.properties file(s) and restarting the Application Server(s).
The general process is:
- Make the changes to the networking.properties files for all Application Servers.
- Restart the Application Servers.
These sections describe the changes to make: