Operations#
Operating Empowerment Center means knowing at every moment how the server is doing, acting when something gets stuck and finding out about problems without having to keep watching. This chapter explains the tools ECenter offers for it and how they connect with those of your organization (Prometheus, a container orchestrator, a syslog).
Before you start#
Everything in this chapter requires the System administration privilege. Whoever does not have it does not see the Operations entry in the sidebar and, if they open the address /admin/operations, the page tells them “The operations console is used by whoever administers the system.”.
What ECenter offers#
| Tool | What it is for | Where |
|---|---|---|
| Operations console | See the status of the server, the sessions, the jobs and the open workbooks, and act on them: close a session, terminate a job, unlock a workbook. | Administration › Operations (/admin/operations) |
| Activity | Charts from the last hour to the last year: sessions, jobs, memory, CPU, availability of the client databases, sends, alerts… | Activity tab of the console |
| Operational alerts | Problems the server detects by itself (license, client database down, memory, disk, queues, failing deliveries…). They open and resolve by themselves, and can notify by email. | Alerts tab of the console and a notice at the top of the application |
| Metrics and health | The server's figures in Prometheus format and the probes for an orchestrator. | /actuator/…, on the management port if enabled |
| Logs | What the server writes, with the lines of the alerts and the audit, for a syslog or a SIEM. | The container's standard output |
| The operations and scheduling notices, and the sends of subscriptions and data alerts. | The organization's SMTP server |
How the chapter is organized#
- The operations console: the header, the refresh and each tab (Summary, Sessions, Jobs, Open workbooks and Policies), with what each figure measures and what to do with it.
- The Activity tab: the gadgets, the periods, zooming in and out, and how to customize the tab and the Summary.
- Operational alerts: each kind of alert, when it opens and resolves, the email notice, Check now and the unprocessed events.
- Jobs and queues: the life cycle of a job, the classes and their queues, canceling, the cap of queued jobs per user and what happens with several instances.
- Metrics, health and logs: Actuator, the management port for Prometheus, the probes and the logs.
- Mail: the emails ECenter sends, how to check that they go out and testing with Mailpit. The SMTP server is configured in Mail and notices.
What changes compared with Empowerment Center 7#
In Empowerment Center 7 (EC7) supervision was split between the Server Administrator (configuration and starting of services) and the Server Tools (sessions, threads, jobs and open workbooks). In ECenter 8.0:
- Everything is in a single web console, and the server checks the privilege on every request.
- The console shows whose each session is (EC7 only showed the IP address).
- Terminating a job cancels it in an orderly way, including the statement in progress in the client database. There is no forced termination of a thread.
- The server does not restart by itself because of memory or at midnight: it warns with an alert, and restarting it is up to you or the orchestrator.
- Without a valid license the server keeps running (the API only lets you sign in and install the license), instead of stopping.
- The thresholds, the notices and what is kept are configured on the server (
ecenter.operations.*) and the console only shows them.