<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 4.1c assign multiple policies from cli in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/4-1c-assign-multiple-policies-from-cli/m-p/75881#M995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everytime you run policyAssignProfile it will update the policies meaning what you had before is overwritten. There is a CLI bug to allow more than one policy to be assigned and this will be fixed in SC 4.1 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for bringing this issue to our attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround is to update policies manually in profile/global.conf and in config via the NTAP_SNAPSHOT_POLICIES parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Dec 2013 00:37:34 GMT</pubDate>
    <dc:creator>ktenzer</dc:creator>
    <dc:date>2013-12-07T00:37:34Z</dc:date>
    <item>
      <title>4.1c assign multiple policies from cli</title>
      <link>https://community.netapp.com/t5/Data-Protection/4-1c-assign-multiple-policies-from-cli/m-p/75877#M994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since the GUI seems to be bugged and does not show the "action" buttons under any of the policy tabs for my SC 4.1c install, I have taken the liberty of consulting the cli help and see that it is possible to assign a policy to a profile. In my setup I am trying to setup multiple policies for something like hourly, daily, weekly, monthly. policyAssignProfile action works well, but it will remove any existing policy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example is:&lt;/P&gt;&lt;PRE&gt;$ ./snapcreator --action policyAssignProfile --profile VMware --policyName Every_Day_Backup_Mirror --verbose

[Fri Dec&amp;nbsp; 6 16:15:21 2013] INFO: REPO-04404: All queries matched for profile [VMware] config [dev]
[Fri Dec&amp;nbsp; 6 16:15:21 2013] INFO: REPO-04404: All queries matched for profile [VMware] config [stage]
[Fri Dec&amp;nbsp; 6 16:15:21 2013] INFO: REPO-04404: All queries matched for profile [VMware] config [qa]
[Fri Dec&amp;nbsp; 6 16:15:21 2013] INFO: REPO-04400: Query configs for profile [VMware] finished successfully
There are currently configurations with local retention policies specified in this profile.
Applying a Policy Object to this profile will overrule any policy settings in the configuration file(s).
Are you sure you want to continue (y|n)? y
[Fri Dec&amp;nbsp; 6 16:15:35 2013] INFO: Attaching policies [Every_Day_Backup_Mirror] to profile VMware
[Fri Dec&amp;nbsp; 6 16:15:35 2013] INFO: Updating profile golobal with new policy list
[Fri Dec&amp;nbsp; 6 16:15:35 2013] INFO: Profile global for profile VMware does not exitst. Creating new profile global config
[Fri Dec&amp;nbsp; 6 16:15:35 2013] INFO: Attaching policies [Every_Day_Backup_Mirror] to profile VMware finished successfully

&lt;/PRE&gt;&lt;P&gt;At this point the policy is assigned and the schedules have been built, now try to add the hourly policy.&lt;/P&gt;&lt;PRE&gt;$ ./snapcreator --action policyAssignProfile --profile VMware --policyName Hourly_Backup --verbose
 
[Fri Dec&amp;nbsp; 6 16:24:13 2013] INFO: REPO-04400: Query configs for profile [VMware] finished successfully
[Fri Dec&amp;nbsp; 6 16:24:14 2013] INFO: Attaching policies [Hourly_Backup] to profile VMware
[Fri Dec&amp;nbsp; 6 16:24:14 2013] INFO: Updating profile golobal with new policy list
[Fri Dec&amp;nbsp; 6 16:24:14 2013] INFO: Attaching policies [Hourly_Backup] to profile VMware finished successfully
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point the 1st policy is no longer assigned &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:47:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/4-1c-assign-multiple-policies-from-cli/m-p/75877#M994</guid>
      <dc:creator>clilescapario</dc:creator>
      <dc:date>2025-06-05T05:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: 4.1c assign multiple policies from cli</title>
      <link>https://community.netapp.com/t5/Data-Protection/4-1c-assign-multiple-policies-from-cli/m-p/75881#M995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everytime you run policyAssignProfile it will update the policies meaning what you had before is overwritten. There is a CLI bug to allow more than one policy to be assigned and this will be fixed in SC 4.1 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for bringing this issue to our attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround is to update policies manually in profile/global.conf and in config via the NTAP_SNAPSHOT_POLICIES parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Dec 2013 00:37:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/4-1c-assign-multiple-policies-from-cli/m-p/75881#M995</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2013-12-07T00:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: 4.1c assign multiple policies from cli</title>
      <link>https://community.netapp.com/t5/Data-Protection/4-1c-assign-multiple-policies-from-cli/m-p/75888#M996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works, but the schedules are not built.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Dec 2013 01:00:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/4-1c-assign-multiple-policies-from-cli/m-p/75888#M996</guid>
      <dc:creator>clilescapario</dc:creator>
      <dc:date>2013-12-07T01:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: 4.1c assign multiple policies from cli</title>
      <link>https://community.netapp.com/t5/Data-Protection/4-1c-assign-multiple-policies-from-cli/m-p/75892#M997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the schedules are created separately and added to policy it has nothing to do with policy assignments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Dec 2013 01:15:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/4-1c-assign-multiple-policies-from-cli/m-p/75892#M997</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2013-12-07T01:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: 4.1c assign multiple policies from cli</title>
      <link>https://community.netapp.com/t5/Data-Protection/4-1c-assign-multiple-policies-from-cli/m-p/75897#M998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I should have been more clear. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I mean the schedules that are already defined in the second policy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The workaround assigns the second policy to a profile, but the schedules defined in that second policy are not built (don't show up under the scheduler tab).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Dec 2013 01:24:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/4-1c-assign-multiple-policies-from-cli/m-p/75897#M998</guid>
      <dc:creator>clilescapario</dc:creator>
      <dc:date>2013-12-07T01:24:54Z</dc:date>
    </item>
  </channel>
</rss>

