<?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: Applying an OCUM Annotation in a WFA Script in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Applying-an-OCUM-Annotation-in-a-WFA-Script/m-p/141188#M25806</link>
    <description>&lt;P&gt;Matt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much! It's a bummer that this isn't built-in functioality, but it is good to know there might be a way to do it via MySQL statements. Unfortunately I am not a SQL guru by any stretch, but I will play around with options and see what I can come up with! Thank you again.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jun 2018 13:51:28 GMT</pubDate>
    <dc:creator>TMADOCTHOMAS</dc:creator>
    <dc:date>2018-06-28T13:51:28Z</dc:date>
    <item>
      <title>Applying an OCUM Annotation in a WFA Script</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Applying-an-OCUM-Annotation-in-a-WFA-Script/m-p/141158#M25796</link>
      <description>&lt;P&gt;In my WFA volume creation script I would like to add one final step - adding an OCUM annotation to the new volume. However, I cannot figure out how to do it. I do see a&amp;nbsp;&lt;SPAN&gt;"Volume_Annotation" Dictionary item but I'm not sure where to start in using it. I don't see any other volume annotation objects in WFA. Any suggestions?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:33:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Applying-an-OCUM-Annotation-in-a-WFA-Script/m-p/141158#M25796</guid>
      <dc:creator>TMADOCTHOMAS</dc:creator>
      <dc:date>2025-06-04T13:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Applying an OCUM Annotation in a WFA Script</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Applying-an-OCUM-Annotation-in-a-WFA-Script/m-p/141172#M25798</link>
      <description>&lt;P&gt;Hi Tomas,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've searched around however i've there does not appear to be API or CLI for OCUM annotations, it appears to be UI only function, however if you connect to the "ocum" SQL database you can view the annotation information. In theory it would be possible to execute a SQL statement from WFA to OCUM to insert the annotation. For example...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;INSERT INTO ocum.annotationmanualresourcemapping (annotationTypeId, annotationValueId, resourceId, resourceType)
VALUES ((SELECT type_id FROM ocum.annotation WHERE name = '&lt;EM&gt;&lt;STRONG&gt;high&lt;/STRONG&gt;&lt;/EM&gt;'), (SELECT id FROM ocum.annotation WHERE name = '&lt;EM&gt;&lt;STRONG&gt;high&lt;/STRONG&gt;&lt;/EM&gt;'), (SELECT id FROM ocum.volumelivelistdtoview WHERE volumelivelistdtoview.name = '&lt;EM&gt;&lt;STRONG&gt;cifs_data_003&lt;/STRONG&gt;&lt;/EM&gt;' AND volumelivelistdtoview.vserverName = '&lt;EM&gt;&lt;STRONG&gt;vserver1&lt;/STRONG&gt;&lt;/EM&gt;'), '&lt;EM&gt;&lt;STRONG&gt;volume&lt;/STRONG&gt;&lt;/EM&gt;');
&lt;/PRE&gt;
&lt;P&gt;You would probably also have to update the following tables:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;annotationofvolume&lt;/LI&gt;
&lt;LI&gt;annotationresourceobject&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You would need to connect to the OCUM database as a user who has access to insert into the tables (IE root).&lt;/P&gt;
&lt;P&gt;Please note that I haven't fully tested this and i'm not sure it will work, just an idea for you to explore.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 04:52:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Applying-an-OCUM-Annotation-in-a-WFA-Script/m-p/141172#M25798</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2018-06-28T04:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Applying an OCUM Annotation in a WFA Script</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Applying-an-OCUM-Annotation-in-a-WFA-Script/m-p/141188#M25806</link>
      <description>&lt;P&gt;Matt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much! It's a bummer that this isn't built-in functioality, but it is good to know there might be a way to do it via MySQL statements. Unfortunately I am not a SQL guru by any stretch, but I will play around with options and see what I can come up with! Thank you again.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 13:51:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Applying-an-OCUM-Annotation-in-a-WFA-Script/m-p/141188#M25806</guid>
      <dc:creator>TMADOCTHOMAS</dc:creator>
      <dc:date>2018-06-28T13:51:28Z</dc:date>
    </item>
  </channel>
</rss>

