diff --git a/ncm-scp-location-registration/README.md b/ncm-scp-location-registration/README.md new file mode 100644 index 0000000..7c21aa1 --- /dev/null +++ b/ncm-scp-location-registration/README.md @@ -0,0 +1,5 @@ +# NCM SCP location registration using ssh action + +Refer to the screenshot for more info. + +Edit credentials and command as per the requirement. \ No newline at end of file diff --git a/ncm-scp-location-registration/ncm-scp-location-registration.pbk b/ncm-scp-location-registration/ncm-scp-location-registration.pbk new file mode 100644 index 0000000..c6dba33 --- /dev/null +++ b/ncm-scp-location-registration/ncm-scp-location-registration.pbk @@ -0,0 +1 @@ +{"pcVersion":"master","pcUuid":"695ec728-5bb8-42b6-88dc-3742a1216607","hashValue":"5NmugcmrL1dR9qKL8gLyv4Wg6wmyl34KhB4QgcoTQnw=","actionRuleList":[{"uuid":"32b6027d-296c-4f51-7dae-4def1f7277f0","name":"ncm-scp-location-registration","isEnabled":true,"validated":true,"triggerList":[{"uuid":"d8c42967-3a03-4849-ad87-d938f9530cbe","triggerType":{"type":"trigger_type","uuid":"","name":"manual_trigger"},"displayName":"Manual","inputParameterList":[{"name":"entity_type","value":"vm"}]}],"actionList":[{"uuid":"bdc0d223-3c39-46b9-a41a-0540433296da","actionType":{"type":"action_type","uuid":"","name":"ssh_using_ipaddr"},"displayName":"IP Address SSH","inputParameterList":[{"name":"ssh_command","value":"/home/nutanix/bin/ncm/ncm-backup-cli register-location --location-id=\u003clocation-id\u003e --location-type=SCP --scp-location=\"Host:\u003cIP\u003e,Username:\u003cuser-id\u003e,Password:\u003cpassword\u003e,Path:\u003cbackup-path\u003e\""},{"name":"auth_mechanism","value":"password"},{"name":"ip_addr","value":"192.168.1.1"},{"name":"username","value":"admin"},{"name":"password","value":""},{"name":"allow_on_cvm","value":"true"}],"maxRetries":2}],"isPrepackaged":false,"checkTriggerValidity":true,"triggerFilterableInputParamName":"entity_type","triggerFilterableInputParamValue":"vm","ruleType":"kXPlay"}]} \ No newline at end of file diff --git a/ncm-scp-location-registration/ncm-scp-location-registration.png b/ncm-scp-location-registration/ncm-scp-location-registration.png new file mode 100644 index 0000000..2b602dc Binary files /dev/null and b/ncm-scp-location-registration/ncm-scp-location-registration.png differ