{"id":7259,"date":"2018-10-19T06:00:14","date_gmt":"2018-10-18T20:00:14","guid":{"rendered":"https:\/\/www.penguinpunk.net\/blog\/?p=7259"},"modified":"2018-10-18T09:26:24","modified_gmt":"2018-10-17T23:26:24","slug":"cohesity-basics-excluding-vms-using-tags","status":"publish","type":"post","link":"https:\/\/www.penguinpunk.net\/blog\/cohesity-basics-excluding-vms-using-tags\/","title":{"rendered":"Cohesity Basics &#8211; Excluding VMs Using Tags"},"content":{"rendered":"<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2015\/10\/cohesity.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3134\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2015\/10\/cohesity.png\" alt=\"\" width=\"412\" height=\"50\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2015\/10\/cohesity.png 412w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2015\/10\/cohesity-300x36.png 300w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/a><\/p>\n<p>I&#8217;ve been doing some work with <a href=\"https:\/\/www.cohesity.com\/\">Cohesity<\/a> in our lab and thought it worth covering some of the basic features that I think are pretty neat. In this edition of Cohesity Basics, I thought I&#8217;d quickly cover off how to exclude VMs from protection jobs based on assigned tags. In this example I&#8217;m using version 6.0.1b_release-20181014_14074e50 (a &#8220;feature release&#8221;).<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Process<\/strong><\/p>\n<p>The first step is to find the VM in vCenter that you want to exclude from a protection job. Right-click on the VM and select Tags &amp; Custom Attributes.\u00a0Click on Assign Tag.<\/p>\n<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_01.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7260\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_01.png\" alt=\"\" width=\"704\" height=\"505\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_01.png 704w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_01-300x215.png 300w\" sizes=\"auto, (max-width: 704px) 100vw, 704px\" \/><\/a><\/p>\n<p>In the Assign Tag window, click on the New Tag icon.<\/p>\n<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_02-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7268\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_02-1.png\" alt=\"\" width=\"632\" height=\"498\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_02-1.png 632w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_02-1-300x236.png 300w\" sizes=\"auto, (max-width: 632px) 100vw, 632px\" \/><\/a><\/p>\n<p>Assign a name to the new tag, and add a description if that&#8217;s what you&#8217;re into.<\/p>\n<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_03.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7262\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_03.png\" alt=\"\" width=\"386\" height=\"176\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_03.png 386w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_03-300x137.png 300w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/a><\/p>\n<p>In this example, I&#8217;ve created a tag called &#8220;COH-Test&#8221;, and put it in the &#8220;Backup&#8221; category.<\/p>\n<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_04.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7263\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_04.png\" alt=\"\" width=\"415\" height=\"214\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_04.png 415w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_04-300x155.png 300w\" sizes=\"auto, (max-width: 415px) 100vw, 415px\" \/><\/a><\/p>\n<p>Now go to the protection job you&#8217;d like to edit.<\/p>\n<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_05.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7264\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_05.png\" alt=\"\" width=\"800\" height=\"189\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_05.png 973w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_05-300x71.png 300w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_05-768x182.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>Click on the Tag icon on the right-hand side. You can then select the tag you created in vCenter. Note that you may need to refresh your vCenter source for this new tag to be reflected.<\/p>\n<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_06.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7265\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_06.png\" alt=\"\" width=\"800\" height=\"284\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_06.png 973w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_06-300x107.png 300w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_06-768x273.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>When you select the tag, you can choose to Auto Protect or Exclude the VM based on the applied tags.<\/p>\n<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_07.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7266\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_07.png\" alt=\"\" width=\"800\" height=\"145\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_07.png 973w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_07-300x54.png 300w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_07-768x139.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>If you drill in to the objects in the protection job, you can see that the VM I wanted to exclude from this job has been excluded based on the assigned tag.<\/p>\n<p><a href=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_08.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7267\" src=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_08.png\" alt=\"\" width=\"800\" height=\"43\" srcset=\"https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_08.png 829w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_08-300x16.png 300w, https:\/\/www.penguinpunk.net\/blog\/wp-content\/uploads\/2018\/10\/cohesity_exclude_08-768x42.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Thoughts<\/strong><\/p>\n<p>I&#8217;ve <a href=\"https:\/\/www.penguinpunk.net\/blog\/cohesity-basics-auto-protect\/\">written enthusiastically about Cohesity&#8217;s Auto Protect feature previously<\/a>. Sometimes, though, you need to exclude VMs from protection jobs. Using tags is a quick and easy way to do this, and it&#8217;s something that your virtualisation admin team will be happy to use too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been doing some work with Cohesity in our lab and thought it worth covering some of the basic features that I think are pretty neat. In this edition of Cohesity Basics, I thought I&#8217;d quickly cover off how to exclude VMs from protection jobs based on assigned tags. In this example I&#8217;m using version [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[837,25],"tags":[792,297,832,976],"class_list":["post-7259","post","type-post","status-publish","format-standard","hentry","category-cohesity","category-dataprotection","tag-backup","tag-basics","tag-cohesity","tag-data-protection"],"_links":{"self":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/7259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/comments?post=7259"}],"version-history":[{"count":2,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/7259\/revisions"}],"predecessor-version":[{"id":7270,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/7259\/revisions\/7270"}],"wp:attachment":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/media?parent=7259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/categories?post=7259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/tags?post=7259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}