diff --git a/ncm_s3_location_registration/README.md b/ncm_s3_location_registration/README.md new file mode 100644 index 0000000..a926da8 --- /dev/null +++ b/ncm_s3_location_registration/README.md @@ -0,0 +1,5 @@ +# NCM S3 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_s3_location_registration/ncm-s3-location-registration.pbk b/ncm_s3_location_registration/ncm-s3-location-registration.pbk new file mode 100644 index 0000000..62823ab --- /dev/null +++ b/ncm_s3_location_registration/ncm-s3-location-registration.pbk @@ -0,0 +1 @@ +{"pcVersion":"master","pcUuid":"5ad84468-9a18-4967-8745-563ba597de1c","hashValue":"hyldb0n2BZ+BIYz8F0SnMEwglvRdpuQ02eRUTFUxDvA=","actionRuleList":[{"uuid":"f60409e8-0f97-4486-72bf-7cc1256a5eb0","name":"ncm-s3-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":"ip_addr","value":"192.168.1.1"},{"name":"ssh_command","value":"/home/nutanix/bin/ncm/ncm-backup-cli register-location --location-id=\u003clocation-id\u003e --location-type=S3 --s3-location=\"BucketName:\u003cbucket-name\u003e,AccessKey:\u003caccess-key\u003e,SecretKey:\u003cSec-key\u003e,Region:\u003cregion\u003e\" "},{"name":"password","value":""},{"name":"auth_mechanism","value":"password"},{"name":"username","value":"admin"},{"name":"allow_on_cvm","value":"false"}],"maxRetries":2}],"isPrepackaged":false,"checkTriggerValidity":true,"triggerFilterableInputParamName":"entity_type","triggerFilterableInputParamValue":"vm","ruleType":"kXPlay"}]} \ No newline at end of file diff --git a/ncm_s3_location_registration/ncm-s3-location-registration.png b/ncm_s3_location_registration/ncm-s3-location-registration.png new file mode 100644 index 0000000..cee6450 Binary files /dev/null and b/ncm_s3_location_registration/ncm-s3-location-registration.png differ