You can set up the Oracle Recovery Kit through the use of the LKCLI (Command Line Interface).
Creating/Extending/Configuring the Oracle resource from the Command Line
create oracle
EXAMPLE: #lkcli resource create oracle --tag <tag> --sid <ORA SID> --switchback <switchback type> --listener <listener tag> --user <user> --password <password>
Option | Default | Description |
---|---|---|
--sid <str> | ORACLE_SID of the database. | |
[--listener <str>] | None | The tag name of the Oracle Listener resource that is included depending on the Oracle resource. |
[--user <str>] | None | Oracle database username. |
[--password <str>] | None | Oracle database user password. |
extend oracle
EXAMPLE: #lkcli resource extend oracle --tag <tag> --dest <backup node> --switchback <switchback type> --template_prioity <priority> --target_priority <prority>
config oracle
EXAMPLE: #lkcli resource config oracle --tag <tag> --user <user> --password <password> --role <sysdba/sysoper>
Option | Default | Description |
---|---|---|
--user <str> | Oracle database username. | |
--password <str> | Oracle database user password. | |
--role <str> | User role. Specify sysdba or sysoper. |
Post your comment on this topic.