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.
Post your comment on this topic.