10.2.2 New installation (in Linux)
-
Create directories under the shared directory.
When your physical host is already running and operating, at the command prompt, go to the shared directory and run the following commands to create the directories necessary for the IM Exporter add-on programs under the shared directory.
mkdir -m 777 jp1ima/conf/ mkdir -m 700 jp1ima/logs/ya_cloudwatch_exporter/ mkdir -m 700 jp1ima/logs/process_exporter/ mkdir -m 700 jp1ima/logs/promitor_scraper/ mkdir -m 700 jp1ima/logs/promitor_resource_discovery/ mkdir -m 700 jp1ima/logs/script_exporter/ mkdir -m 700 jp1ima/logs/fluentd/
-
Change the communication protocol to the IP binding method.
The change must be made on both the physical and logical hosts. For the physical host, it must be made on both nodes. In addition, the services must be restarted after the change is made on the physical host.
- For a physical host
For the services used by the IM Exporter add-on programs, specify the IP address of your physical host as the value of the key in their definition file listed in the following table.
Service
Definition file
Key to be modified
jpc_ya_cloudwatch_exporter
Unit definition file located in /usr/lib/systemd/system
-listen-address
jpc_process_exporter
Unit definition file located in /usr/lib/systemd/system
--web.listen-address
jpc_promitor_scraper
Runtime configuration file located in /opt/jp1ima/conf/promitor/scraper/
resourceDiscovery.host
jpc_promitor_resource_discovery
None
Not applicable
jpc_script_exporter
Unit definition file located in /usr/lib/systemd/system
--web.listen-address
jpc_fluentd(log metrics feature)
Log metrics definition file located in /opt/jp1ima/conf/user
bind
- For a logical host
For the services used by the IM Exporter add-on programs, specify the IP address of your logical host as the value of the key in their definition file listed in the following table.
Service
Definition file
Key to be modified
jpc_ya_cloudwatch_exporter
Unit definition file located in /usr/lib/systemd/system (for logical host)
-listen-address
jpc_process_exporter
Unit definition file located in /usr/lib/systemd/system (for logical host)
--web.listen-address
jpc_promitor_scraper
Runtime configuration file located in shared-directory/jp1ima/conf/promitor/scraper/
resourceDiscovery.host
jpc_promitor_resource_discovery
None
Not applicable
jpc_script_exporter
Unit definition file located in /usr/lib/systemd/system (for logical host)
--web.listen-address
jpc_fluentd(log metrics feature)
Log metrics definition file located in shared-directory/jp1ima/conf/user
bind
-
Register services for logical hosts with your cluster software.
Register only the services you will use from the IM Exporter add-on programs, listed in the following table, with your cluster software.
-
jpc_ya_cloudwatch_exporter
-
jpc_process_exporter
-
jpc_promitor_scraper
-
jpc_promitor_resource_discovery
-
jpc_script_exporter
-
jpc_fluentd
-