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

Creating/Extending/Configuring the SAP MaxDB resource from the Command Line

create sapdb

EXAMPLE: #lkcli resource create sapdb --tag <tag> --switchback <switchback type> --prog <directory> --sid <SAPDB instance> --user <SAPDB user> --xuser <user key>

Option Default Description
[--prog <str>] Path found in /etc/opt/sdb The SAP MaxDB Program Path. You may type in another directory path. The valid characters allowed for the pathname are letters, digits and the following special characters: – _ . /
[--sid <str>] The first instance found that is not already configured. The SAP MaxDB instance ID.
[--user <str>] User found in /etc/opt/sdb This is the system user that owns or has permission to execute SAP MaxDB commands. This user must already exist on the template server.
[--xuser <str>] The first XUSER key configured. The XUSER key is used to store database user data for use with SAP MaxDB Tools. The XUSER key must already be configured on the corresponding server for the system user and database instance combination.

extend sapdb

EXAMPLE: #lkcli resource extend sapdb --tag <tag> --dest <backup node> --switchback <switchback type> --template_prioity <priority> --target_priority <prority> --prog <directory> --sid <SAPDB instance> --user <SAPDB user> --xuser <user key>

Option Default Description
[--prog <str>] Path found in /etc/opt/sdb on the target. The SAP MaxDB Program Path. You may type in another directory path. The valid characters allowed for the pathname are letters, digits and the following special characters: – _ . /
[--user <str>] User defined for this instance on the template server. This is the system user that owns or has permission to execute SAP MaxDB commands on the target server. This user must already exist on the target server.
[--xuser <str>] XUSER key for this instance on the template server. The XUSER key is used to store database user data for use with SAP MaxDB Tools. The XUSER key must already be configured on the target server for the system user and database instance combination.

config sapdb

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