{"id":440,"date":"2024-05-23T11:06:06","date_gmt":"2024-05-23T09:06:06","guid":{"rendered":"https:\/\/binaryvikings.io\/?p=440"},"modified":"2024-05-23T11:06:06","modified_gmt":"2024-05-23T09:06:06","slug":"nutanix-stop-an-in-progress-replication","status":"publish","type":"post","link":"https:\/\/binaryvikings.io\/?p=440","title":{"rendered":"Nutanix &#8211; Stop an in-progress replication"},"content":{"rendered":"\n<p>A Data Protection replication can not be stopped from the UI. So here are the simple commands to type in <em><strong>ncli<\/strong><\/em> on the <strong>CVM<\/strong> to solve this.<\/p>\n\n\n\n<p>First we need to get the <strong>replication job Id<\/strong> along with the <strong>name<\/strong> of the <em>Protection Domain<\/em>.<\/p>\n\n\n\n<p>1. SSH to <strong>nutanix@{CVM_IP}<\/strong><br>2. Type in the shell: <code><strong>ncli pd list-replication-status<\/strong><\/code><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"587\" height=\"193\" src=\"https:\/\/binaryvikings.io\/wp-content\/uploads\/2024\/05\/image-10.png\" alt=\"\" class=\"wp-image-444\" style=\"width:587px;height:auto\" srcset=\"https:\/\/binaryvikings.io\/wp-content\/uploads\/2024\/05\/image-10.png 587w, https:\/\/binaryvikings.io\/wp-content\/uploads\/2024\/05\/image-10-300x99.png 300w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\"><em>Note the <strong>Id<\/strong> and <strong>Protection Domain<\/strong> for the next command<\/em><\/p>\n\n\n\n<p>3. Type in the shell: <code><strong>ncli pd abort-replication name=\"{Protection Domain}\" replication-ids=\"{Id}\"<\/strong><\/code><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"860\" height=\"33\" src=\"https:\/\/binaryvikings.io\/wp-content\/uploads\/2024\/05\/image-11.png\" alt=\"\" class=\"wp-image-445\" srcset=\"https:\/\/binaryvikings.io\/wp-content\/uploads\/2024\/05\/image-11.png 860w, https:\/\/binaryvikings.io\/wp-content\/uploads\/2024\/05\/image-11-300x12.png 300w, https:\/\/binaryvikings.io\/wp-content\/uploads\/2024\/05\/image-11-768x29.png 768w\" sizes=\"auto, (max-width: 860px) 100vw, 860px\" \/><\/figure><\/div>\n\n\n<p>That&#8217;s it, the replication job should not be stopped and can now be deleted or updated from the Prism UI.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Data Protection replication can not be stopped from the UI. So here are the simple commands to type in ncli on the CVM to<\/p>\n","protected":false},"author":1,"featured_media":243,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[12,34,17],"tags":[],"class_list":["post-440","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides","category-nutanix","category-virtual-machines"],"_links":{"self":[{"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/posts\/440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=440"}],"version-history":[{"count":1,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/posts\/440\/revisions"}],"predecessor-version":[{"id":446,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/posts\/440\/revisions\/446"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/media\/243"}],"wp:attachment":[{"href":"https:\/\/binaryvikings.io\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}