You can set up the MySQL Recovery Kit through the use of the LKCLI (Command Line Interface).

Creating/Extending/Configuring the MySQL resource from the Command Line

create mysql

EXAMPLE: #lkcli resource create mysql --tag <tag> --cnf <config path> --bin <exe path> --switchback <switchback type> --instance <instance number>

Option Default Description
--cnf <str> Absolute path of the MySQL configuration file.
--bin <str> Absolute path of the directory where the MySQL executable binary is located.
[--instance <str>] None MySQL instance number you want to protect.
If you are using MySQL on a single instance, do not specify this number.

extend mysql

EXAMPLE: #lkcli resource extend mysql --tag <tag> --dest <backup node> --switchback <switchback type> --template_prioity <priority> --target_priority <prority> --bin <exe path>

Option Default Description
[--bin <str>] Absolute path of the directory where the MySQL executable binary is located on the node to which the node is extended.

config mysql

Nothing to configure.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment