10.4.1 Servicing OracleDB exporter
- Organization of this subsection
(1) Windows
(a) Service name and display name
The service name and display name of OracleDB exporter service (Windows service) are shown below.
|
Service operating environment |
Service name |
Display name |
|---|---|---|
|
Physical host |
Oracledb_exporter_instance-name |
OracleDB Exporter instance-name |
|
Logical host |
Oracledb_exporter_instance-name_logical-host-name |
OracleDB Exporter instance-name logical-host-name |
(b) Starting the Service
Start OracleDB exporter in one of the following ways:
-
Start on Windows management tools service window.
-
Start by sc command or net command.
(c) Stopping the service
Shut down OracleDB exporter in one of the following ways:
-
Shut down on Windows management tools service window.
-
It is stopped by sc command or net command.
(d) Auto start setting
In Windows management tools services window, set the startup type in OracleDB exporter to automatic startup.
(2) Linux
(a) Unit name and Description
The following table shows the unit names and Description for OracleDB exporter servicing in a Linux.
|
Service operating environment |
Unit name |
Description |
|---|---|---|
|
Physical host |
Oracledb_exporter_instance-name |
OracleDB Exporter instance-name |
|
Logical host |
Oracledb_exporter_instance-name_logical-host-name |
OracleDB Exporter instance-name logical-host-name |
(b) Starting the Service
Start the service with the following command:
$ systemctl start unit-name
(c) Stopping the service
Stop the service with the following command:
$ systemctl stop unit-name
(d) Auto start setting
-
Enabling Automatic Startup
Enable automatic startup of the service with the following command:
$ systemctl enable unit-name
-
Disabling automatic startup
Disable automatic startup of services with the following command:
$ systemctl disable unit-name
(e) Alive monitoring
Check the operating status of the service with the following command.
$ systemctl is-active unit-name