Build the Percona Scheduler admin tool¶
The Percona Scheduler Admin has two main files: the
pxc_scheduler_handler binary and the
pxc_scheduler_handler does the following tasks:
Monitors the cluster’s health
Processes the cluster’s state and evaluates the scenario
Performs actions, such as failover in case of an incident
percona_scheduler_admin script runs and provides responses based on the
configuration file for the
Cloning a git project that contains submodules does not automatically check out the submodule content. The submodules require initialization and updating before they are functional.
Build the module¶
You can perform the submodule initialization by running the following statement:
$> git submodule update --init
Run the following command to build the scheduler submodule.
pxc_scheduler_handler binary is located in the base directory.
We do not recommend running multiple instances of the same binary. If you start a new instance when an instance of
pxc_scheduler_handler is already running, the binary runs, but the second instance does the following:
Consumes network and system resources
Returns the same results since the multiple versions use the same configuration file
Create an account¶
admin user account. Use this account for communication through ProxySQL and pxc_scheduler_handler.
mysql> CREATE USER 'admin'@'192.%' IDENTIFIED WITH 'mysql_native_password' by 'admin'; mysql> GRANT ALL PRIVILEGES ON *.* TO 'admin'@'192.%' WITH GRANT OPTION;
For free technical help, visit the Percona Community Forum.
To report bugs or submit feature requests, open a JIRA ticket.
For paid support and managed or consulting services , contact Percona Sales.