Skip to content
logo
Percona ProxySQL Admin tool
ProxySQL 2.x.x and Percona Scheduler Admin tool
Initializing search
    percona/proxysql-admin-tool-doc
    percona/proxysql-admin-tool-doc
    • Home
      • Use ProxySQL 1.x.x with ProxySQL Admin
      • Install ProxySQL 1.x.x
      • Install ProxySQL 1.X from a binary tarball
      • Configure ProxySQL 1.x.x
      • Download locations for ProxySQL 2.x.x and ProxySQL admin utilities
      • Install ProxySQL 2.x.x and the admin utilities
      • Install ProxySQL 2.x.x binary tarball
      • Build the Percona Scheduler admin tool
      • Start and stop ProxySQL
      • Upgrade ProxySQL
      • Uninstall ProxySQL 2.x.x
      • ProxySQL Admin tool changes
      • ProxySQL 2.x and proxysql-admin utility
      • The proxysql-admin functions
      • ProxySQL 2.x.x and Percona Scheduler Admin tool
        • Version changes
        • Prerequisites
        • Add an issue
      • Percona Scheduler Admin configuration
      • Percona Scheduler Admin statements
      • Percona Scheduler Admin options
      • Known issues in Percona Scheduler Admin
      • Release notes index
      • ProxySQL 2.4.7 and ProxySQL admin tools (2023-02-14)
      • ProxySQL 2.4.4-1.2 and ProxySQL admin tools (2022-11-08)
      • ProxySQL 2.4.4 and ProxySQL admin tools (2022-10-04)
      • ProxySQL 2.4.3 and ProxySQL admin tools (2022-08-31)
      • ProxySQL 2.4.2 and proxysql admin tools (2022-08-10)
      • ProxySQL 2.3.2-1.2, proxysql-admin, and percona-scheduler-admin (2022-06-15)
      • ProxySQL 2.3.2 and proxysql-admin (2021-11-03)
      • ProxySQL 2.2.0 and proxysql-admin (2021-08-10)
      • ProxySQL 2.1.1 and proxysql-admin (2021-07-09)
      • ProxySQL 2.0.18 and proxysql-admin (2021-04-19)
      • ProxySQL 2.0.17 and proxysql-admin (2021-04-06)
      • ProxySQL 2.0.15 and proxysql-admin (2020-11-17)
      • ProxySQL 2.0.14 and proxysql-admin (2020-09-24)
      • ProxySQL 2.0.13 and proxysql-admin (2020-08-05)
      • ProxySQL 2.0.12 and proxysql-admin (2020-06-11)
      • ProxySQL 2.0.7 and proxysql-admin (2019-10-23)
      • ProxySQL 2.0.6 and proxysql-admin (2019-08-21)
      • ProxySQL 2.0.5 and proxysql-admin (2019-11-23)
      • ProxySQL 2.0.4 and proxysql-admin (2019-05-28)
      • ProxySQL 2.0.3 and proxysql-admin (2019-05-07)
      • ProxySQL 1.4.16 and proxysql-admin (2020-02-11)
      • ProxySQL 1.4.12 and proxysql-admin (2018-11-13)
      • ProxySQL 1.4.8 and proxysql-admin (2018-05-22)
      • ProxySQL 1.4.7 and proxysql-admin (2018-04-16)
      • ProxySQL 1.4.6 and proxysql-admin (2018-03-12)
      • ProxySQL 1.4.5 and proxysql-admin (2018-02-15)
      • ProxySQL 1.4.4 and proxysql-admin (2018-01-18)
    • Version changes
    • Prerequisites
    • Add an issue

    ProxySQL 2.x.x and Percona Scheduler Admin tool¶

    ProxySQL 2.3.2-1.2 adds the Percona Scheduler Admin (percona-scheduler-admin) tool. This tool has a segment-aware failover mechanism and can automatically perform a failover due to node failures, service degradation, or maintenance requirements. The external scheduler has the following qualities:

    • Capable of parallel query execution on nodes which results in faster failover or fallback

    • Supports fallback

    • Supports promoting a reader to primary with the following conditions are met:

    • wsrep_on=OFF

    • wsrep_sst_donor_rejects_queries is set when, for example, connections are rejected due to an ongoing state transfer

    • Supports a retry of operations in case of network glitches

    Important

    Percona Scheduler Admin was built for a different purpose and has different features than proxy-admin. You cannot use the options from one admin tool in the other admin tool. Combining the options causes unintended results.

    Version changes¶

    The Percona Scheduler Admin tool has been tested with ProxySQL 2.3.0, 2.3.2-1.2, and later versions.

    ProxySQL 2.4.2 add the following checks:

    When pxc_scheduler_handler launches, the application creates a lock file to prevent the running of multiple instances. Prior to ProxySQL 2.4.2, the lock file remained in the file system and prevented the handler script from running.

    Starting with ProxySQL 2.4.2, on startup, pxc_scheduler_handler does the following:

    * Reads the Process identifier (PID)
    
    * Reads the timestamp from the lock file
    
    * Checks if the PID is running on startup
    

    If the PID is running, the newly launched pxc_scheduler_handler exits.

    If the PID is not running, the pxc_scheduler_handler checks the lockFileTimeout timeout value. If the timeout value has been exceeded, the pxc_scheduler_handler removes the lock file and launches pxc_scheduler_handler.

    Prerequisites¶

    The following are the prerequisites for using the Percona Scheduler Admin:

    • The mysql command-line client and my_print_defaults must be installed on the system. Install the server packages on the system to add these tools.

    • ProxySQL and Percona XtraDB Cluster are running.

    For information on the Percona Scheduler Admin tool installation, see Install ProxySQL 2.x.x and the admin utilities or Build the Percona Scheduler admin tool.

    Add an issue¶

    If you find a Percona Scheduler Admin bug, add a bug report in the PSQLADM project.

    Contact us

    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.


    Last update: 2023-02-14
    Back to top
    Percona LLC and/or its affiliates, © 2023
    Made with Material for MkDocs

    Cookie consent

    We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better.