You can set up a Generic Application through the use of the LKCLI (Command Line Interface).

Creating/Extending/Configuring the Generic Application resource from the Command Line

create gen

EXAMPLE: #lkcli resource create gen --tag <tag> --restore <path to restore script> --remove <path to remove script> --switchback <switchback type> --quickCheck <path to quickCheck script> --recover <path to recover script> --appinfo <App Info>

Option Default Description
--restore <str> Specify the path of the restore script.
--remove <str> Specify the path of the remove script.
[--quickCheck <str>] Specify the path of the quickCheck script.
[--recover <str>] Specify the path of the recover script.
[--appinfo <str>] Specify optional information about the application.

extend gen

EXAMPLE: #lkcli resource extend gen --tag <tag> --dest <backup node> --switchback <switchback type> --template_prioity <priority> --target_priority <prority> --appinfo <App Info>

Option Default Description
[--appinfo <str>] Source system appinfo. Specify optional information about the application.

config gen

EXAMPLE: #lkcli resource config gen --tag <tag> --restore <path to restore script> --remove <path to remove script> --recover <path to recover script> --quickCheck <path to quickCheck script> --all <Yes|No>

Option Default Description
[--restore <str>] Specify the path of the restore script to be updated.
[--remove <str>] Specify the path of the remove script to be updated.
[--quickCheck <str>] Specify the path of the quickCheck script to be updated.
[--recover <str>] Specify the path of the recover script to be updated.
[--all <str>] No Specify Yes or No
  • Yes – Update scripts on all of the cluster nodes.
  • No – Update the script on the node where the command is executed.

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