Control Scripts for MATRIXX Gateways and Web Apps

Several shell scripts installed with the RPMs for the MATRIXX gateways and web apps are used by the init.d processes for enabling, starting, stopping, and restarting the various processes. These scripts are described here for reference only. To correctly enable, start, stop, or restart the MATRIXX gateways and web apps, use the Linux systemctl command.

Enabling MATRIXX gateways and web apps

After installing MATRIXX gateways and web apps, enable them to start (or restart) at the system boot with the systemctl enable service command, where service is the name of the gateway or web app used with other systemctl commands. For example, enable RS Gateway to restart when the server is restarted with the following command: sudo systemctl enable mtx_rsgateway.

Event Streamer Control Scripts

Event Streamer systemctl Commands and Control Script Equivalents lists the shell scripts included in the Event Streamer RPM and the systemctl commands to use in their place.
Table 1. Event Streamer systemctl Commands and Control Script Equivalents
systemctl Command Shell Script
sudo systemctl enable mtx_event_streamer No comparable script.
systemctl start mtx_event_streamer start_event_streamer.sh
systemctl stop mtx_event_streamer stop_event_streamer.sh
systemctl restart mtx_event_streamer restart_event_streamer.sh
systemctl status mtx_event_streamer check_event_streamer.sh

Gateway Proxy Control Scripts

Gateway Proxy Proxy systemctl Commands and Control Script Equivalents lists the shell scripts included in the Gateway Proxy RPM and the systemctl commands to use in their place.

Table 2. Gateway Proxy Proxy systemctl Commands and Control Script Equivalents
systemctl Command Shell Script
sudo systemctl enable mtx_gateway_proxy No comparable script.
sudo systemctl start mtx_gateway_proxy start_gateway_proxy.sh
sudo systemctl stop mtx_gateway_proxy stop_gateway_proxy.sh
sudo systemctl restart mtx_gateway_proxy restart_gateway_proxy.sh
sudo systemctl status mtx_gateway_proxy check_gateway_proxy.sh
Note: Running sudo systemctl status mtx_gateway_proxy runs the check_gateway_proxy.sh script with the --no_healthcheck option. To perform a health check on Gateway Proxy, run the check_gateway_proxy.sh script.
Running the check_gateway_proxy.sh script without the --no_healthcheck option requires that one or both of the netcat or lsof utilities are installed. Install those utilities with the following commands:
yum install nc.x86_64
yum install lsof

HTTP Price Controller Control Script

HTTP Price Controller systemctl Commands and Control Script Equivalents lists the shell script included in the MATRIXX Engine RPM and container and the systemctl command to use in its place.

Table 3. HTTP Price Controller systemctl Commands and Control Script Equivalents
systemctl Command Shell Script
sudo systemctl restart http_price_controller

sudo systemctl stop http_price_controller

http_price_controller.sh

MATRIXX Backoffice Customer Tool Control Scripts

MATRIXX Backoffice Customer Tool systemctl Commands and Control Script Equivalents lists the shell scripts included in the MATRIXX Backoffice Customer Tool RPM and the systemctl commands to use in their place.

Table 4. MATRIXX Backoffice Customer Tool systemctl Commands and Control Script Equivalents
systemctl Command Shell Script
sudo systemctl enable mtx_matrixxbct No comparable script.
sudo systemctl start mtx_matrixxbct start_matrixxbct.sh
sudo systemctl stop mtx_matrixxbct stop_matrixxbct.sh
sudo systemctl restart mtx_matrixxbct restart_matrixxbct.sh
sudo systemctl status mtx_matrixxbct check_matrixxbct.sh

My MATRIXX Control Scripts

My MATRIXX systemctl Commands and Control Script Equivalents lists the shell scripts included in the My MATRIXX RPM and the systemctl commands to use in their place.

Table 5. My MATRIXX systemctl Commands and Control Script Equivalents
systemctl Command Shell Script
sudo systemctl enable mtx_mymatrixx No comparable script.
sudo systemctl start mtx_mymatrixx start_mymatrixx.sh
sudo systemctl stop mtx_mymatrixx stop_mymatrixx.sh
sudo systemctl restart mtx_mymatrixx restart_mymatrixx.sh
sudo systemctl status mtx_mymatrixx check_mymatrixx.sh

Notification Server Control Scripts

Notification Server systemctl Commands and Control Script Equivalents lists the shell scripts included in theNotification Server RPM and the systemctl commands to use in their place.

Table 6. Notification Server systemctl Commands and Control Script Equivalents
systemctl Command Shell Script
sudo systemctl enable mtx_notifier_camel No comparable script.
sudo systemctl start mtx_notifier_camel start_notifier.sh
sudo systemctl stop mtx_notifier_camel stop_notifier.sh
sudo systemctl restart mtx_notifier_camel restart_notifier.sh
sudo systemctl status mtx_notifier_camel check_notifier.sh

Payment Service Control Scripts

Payment Service systemctl Commands and Control Script Equivalents lists the shell scripts included in the Payment Service RPM and the systemctl commands to use in their place.

Table 7. Payment Service systemctl Commands and Control Script Equivalents
systemctl Command Shell Script
sudo systemctl enable mtx_payment_service No comparable script.
sudo systemctl start mtx_payment_service start_payment_service.sh
sudo systemctl stop mtx_payment_service stop_payment_service.sh
sudo systemctl restart mtx_payment_service restart_payment_service.sh
sudo systemctl status mtx_payment_service check_payment_service.sh

RS Gateway Control Scripts

Payment Service systemctl Commands and Control Script Equivalents lists the shell scripts included in the RS Gateway RPM and the systemctl commands to use in their place.

Table 8. RS Gateway systemctl Commands and Control Script Equivalents
systemctl Command Shell Script
sudo systemctl enable mtx_rsgateway No comparable script.
sudo systemctl start mtx_rsgateway start_rsgateway.sh
sudo systemctl stop mtx_rsgateway stop_rsgateway.sh
sudo systemctl restart mtx_rsgateway restart_rsgateway.sh
sudo systemctl status mtx_rsgateway check_rsgateway.sh

Task Processing Service Control Scripts

Task Processing Service systemctl Commands and Control Script Equivalents lists the shell scripts included in the Task Processing Service RPM and the systemctl commands to use in their place.

Table 9. Task Processing Service systemctl Commands and Control Script Equivalents
systemctl Command Shell Script
sudo systemctl enable mtx_task_processing_service No comparable script.
sudo systemctl start mtx_task_processing_service start_task_processing_service.sh
sudo systemctl stop mtx_task_processing_service stop_task_processing_service.sh
sudo systemctl restart mtx_task_processing_service restart_task_processing_service.sh
sudo systemctl status mtx_task_processing_service check_task_processing_service.sh