Community

Subscribe
Highlighted
Accepted Solution

Integration with DFM

We recently installed the new 4.1c release and get errors when trying to send messages to the DFM:

STORAGE-05016: Creating a Operations Manager console event [script:critical-event] on [DFMServer]

com.netapp.snapcreator.storage.executor.ZapiExecutorException: netapp.manage.NaAPIFailedException: Unable to find API: event-generate (errno=13001)

    at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.run(ZapiExecutorImpl.java:55)

    at com.netapp.snapcreator.storage.executor.DfmExecutor.run(DfmExecutor.java:65)

    at com.netapp.snapcreator.storage.api.dfm.DfmImpl.createOMEvent(DfmImpl.java:697)

    at com.netapp.snapcreator.storage.StorageCoreImpl.omCreateEvent(StorageCoreImpl.java:1743)

    at com.netapp.snapcreator.workflow.task.ZAPITask.OMEventGenerate(ZAPITask.java:1790)

    at com.netapp.snapcreator.workflow.task.AlertTask.execute(AlertTask.java:93)

    at com.netapp.snapcreator.workflow.impl.SCTaskCallableBlocking.call(SCTaskCallableBlocking.java:52)

    at com.netapp.snapcreator.workflow.impl.SCTaskCallableBlocking.call(SCTaskCallableBlocking.java:18)

    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: netapp.manage.NaAPIFailedException: Unable to find API: event-generate (errno=13001)

    at netapp.manage.NaServer.invokeElem(NaServer.java:687)

    at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.run(ZapiExecutorImpl.java:46)

STORAGE-05018: Creating a Operations Manager console event [script:critical-event] on [DFMServer] failed with error [netapp.manage.NaAPIFailedException: Unable to find API: event-generate (errno=13001)].

Task: alertOnError with config:LisDiverTest3@LisDiverTest3 failed

When I select No to the "OnCommand/DFM" option to "Generate Event" under the subsection "Operations Manager console Settings" it works ok.

Re: Integration with DFM

Hello,

Are you are using a Snap Creator specific user and role?

Snap Creator 4.1 introduces a new API  that is needed for Data ONTAP 8.2.

This is the event-generate API that is referenced above.

If you are using a custom role (as opposed to vsadmin or root level role) you will need to edit the role on the storage and add the event-generate API.

I'm not sure what version of ONTAP you are using, but this is very similar to the error I received moving from SC 4.0 to 4.1.

Hope this helps.

John

Re: Integration with DFM

Hi John,

We are running 7-Mode 8.1.3P2, not 7.2. Does the same apply?

RS

Re: Integration with DFM

Hello RS,

Did the "dfm alert" ever work before?

You may please get us this output from the DFM server. "dfm about"

What is your OM_USER?

The OM_USER need to have privilege to send alerts (read/write?)

What happens when you set the OM_TRANSPORT to HTTP?

########################################################################################################################

#     OperationsManager Options                                                                                        #

########################################################################################################################

OM_TRANSPORT=HTTPS

OM_HOST=dfmhost.domainname.com

OM_USER=myomuser

OM_EVENT_GENERATE=Y

OM_PWD=2f3364396a67394a5350314asdf4717165756e4133773d3d0a

OM_PORT=8488

Re: Integration with DFM

Yes, the previous config worked in 4.0. The problem started after I upgraded/migrated to 4.1c.

C:\>dfm about
Version                          5.2.0.16233 (5.2)
Executable Type                  64-bit
Serial Number                    1-50-015067
Edition                          Standard edition of DataFabric Manager server
Data ONTAP Operating Mode        7-Mode

Administrator Name               Domain\Bob
Host Name                        NetApp2
Host IP Address                  1.2.3.4
Host Full Name                  NetApp2.mysite.com
Node limit                       250 (currently managing 3)
Operating System                 Microsoft Windows Server 2008 R2 Service Pack 1 (Build 7601) x64 based
CPU Count                        2
System Memory                    4095 MB (load: 87%)
Installation Directory           C:/Program Files (x86)/NetApp/DataFabric Manager/DFM
                                 73.5 GB free (73.5%)
Perf Data Directory              Unavailable (check if the server service is running)
Data Export Directory            Unavailable (check if the server service is running)
Database Backup Directory        Unavailable (check if the server service is running)
Reports Archival Directory       Unavailable (check if the server service is running)
Database Directory               D:/DFM/data
                                 197 GB free (91.6%)
Licensed Features                DataFabric Manager server: installed

Installed Plugins                Storage System Config 6.5.1 (6.5.1) - storage systems and vFilers
                                 Storage System Config 6.5.2 (6.5.2) - storage systems and vFilers
                                 Storage System Config 6.5.3 (6.5.3) - storage systems and vFilers
                                 Storage System Config 6.5.4 (6.5.4) - storage systems and vFilers
                                 Storage System Config 6.5.5 (6.5.5) - storage systems and vFilers
                                 Storage System Config 6.5.6 (6.5.6) - storage systems and vFilers
                                 Storage System Config 6.5.7 (6.5.7) - storage systems and vFilers
                                 Storage System Config 7.0 (7.0.0.1) - storage systems and vFilers
                                 Storage System Config 7.0.1 (7.0.1.1) - storage systems and vFilers
                                 Storage System Config 7.0.2 (7.0.2) - storage systems and vFilers
                                 Storage System Config 7.0.3 (7.0.3) - storage systems and vFilers
                                 Storage System Config 7.0.4 (7.0.4) - storage systems and vFilers
                                 Storage System Config 7.0.5 (7.0.5) - storage systems and vFilers
                                 Storage System Config 7.0.6 (7.0.6) - storage systems and vFilers
                                 Storage System Config 7.0.7 (7.0.7) - storage systems and vFilers
                                 Storage System Config 7.1 (7.1.0.1) - storage systems and vFilers
                                 Storage System Config 7.1.1 (7.1.1.1) - storage systems and vFilers
                                 Storage System Config 7.1.2 (7.1.2.1) - storage systems and vFilers
                                 Storage System Config 7.1.3 (7.1.3) - storage systems and vFilers
                                 Storage System Config 7.2 (7.2) - storage systems and vFilers
                                 Storage System Config 7.2.1 (7.2.1.1) - storage systems and vFilers
                                 Storage System Config 7.2.2 (7.2.2) - storage systems and vFilers
                                 Storage System Config 7.2.3 (7.2.3) - storage systems and vFilers
                                 Storage System Config 7.2.4 (7.2.4) - storage systems and vFilers
                                 Storage System Config 7.2.5 (7.2.5.1) - storage systems and vFilers
                                 Storage System Config 7.2.6 (7.2.6.1) - storage systems and vFilers
                                 Storage System Config 7.2.7 (7.2.7) - storage systems and vFilers
                                 Storage System Config 7.3 (7.3) - storage systems and vFilers
                                 Storage System Config 7.3.1 (7.3.1.1) - storage systems and vFilers
                                 Storage System Config 7.3.2 (7.3.2) - storage systems and vFilers
                                 Storage System Config 7.3.3 (7.3.3) - storage systems and vFilers
                                 Storage System Config 7.3.4 (7.3.4) - storage systems and vFilers
                                 Storage System Config 7.3.5 (7.3.5.1) - storage systems and vFilers
                                 Storage System Config 7.3.6 (7.3.6) - storage systems and vFilers
                                 Storage System Config 7.3.7 (7.3.7) - storage systems and vFilers
                                 Storage System Config 8.0 (8.0) - storage systems and vFilers
                                 Storage System Config 8.0.1 (8.0.1) - storage systems and vFilers
                                 Storage System Config 8.0.2 (8.0.2) - storage systems and vFilers
                                 Storage System Config 8.0.3 (8.0.3) - storage systems and vFilers
                                 Storage System Config 8.0.4 (8.0.4) - storage systems and vFilers
                                 Storage System Config 8.1 (8.1) - storage systems and vFilers
                                 Storage System Config 8.1.1 (8.1.1) - storage systems and vFilers

I am already using HTTP:

C:\>dfm about
Version                          5.2.0.16233 (5.2)
Executable Type                  64-bit
Serial Number                    1-50-015067
Edition                          Standard edition of DataFabric Manager server
Data ONTAP Operating Mode        7-Mode

Administrator Name               Domain\Bob
Host Name                        NetApp2
Host IP Address                  1.2.3.4
Host Full Name                  NetApp2.mysite.com
Node limit                       250 (currently managing 3)
Operating System                 Microsoft Windows Server 2008 R2 Service Pack 1 (Build 7601) x64 based
CPU Count                        2
System Memory                    4095 MB (load: 87%)
Installation Directory           C:/Program Files (x86)/NetApp/DataFabric Manager/DFM
                                 73.5 GB free (73.5%)
Perf Data Directory              Unavailable (check if the server service is running)
Data Export Directory            Unavailable (check if the server service is running)
Database Backup Directory        Unavailable (check if the server service is running)
Reports Archival Directory       Unavailable (check if the server service is running)
Database Directory               D:/DFM/data
                                 197 GB free (91.6%)
Licensed Features                DataFabric Manager server: installed

Installed Plugins                Storage System Config 6.5.1 (6.5.1) - storage systems and vFilers
                                 Storage System Config 6.5.2 (6.5.2) - storage systems and vFilers
                                 Storage System Config 6.5.3 (6.5.3) - storage systems and vFilers
                                 Storage System Config 6.5.4 (6.5.4) - storage systems and vFilers
                                 Storage System Config 6.5.5 (6.5.5) - storage systems and vFilers
                                 Storage System Config 6.5.6 (6.5.6) - storage systems and vFilers
                                 Storage System Config 6.5.7 (6.5.7) - storage systems and vFilers
                                 Storage System Config 7.0 (7.0.0.1) - storage systems and vFilers
                                 Storage System Config 7.0.1 (7.0.1.1) - storage systems and vFilers
                                 Storage System Config 7.0.2 (7.0.2) - storage systems and vFilers
                                 Storage System Config 7.0.3 (7.0.3) - storage systems and vFilers
                                 Storage System Config 7.0.4 (7.0.4) - storage systems and vFilers
                                 Storage System Config 7.0.5 (7.0.5) - storage systems and vFilers
                                 Storage System Config 7.0.6 (7.0.6) - storage systems and vFilers
                                 Storage System Config 7.0.7 (7.0.7) - storage systems and vFilers
                                 Storage System Config 7.1 (7.1.0.1) - storage systems and vFilers
                                 Storage System Config 7.1.1 (7.1.1.1) - storage systems and vFilers
                                 Storage System Config 7.1.2 (7.1.2.1) - storage systems and vFilers
                                 Storage System Config 7.1.3 (7.1.3) - storage systems and vFilers
                                 Storage System Config 7.2 (7.2) - storage systems and vFilers
                                 Storage System Config 7.2.1 (7.2.1.1) - storage systems and vFilers
                                 Storage System Config 7.2.2 (7.2.2) - storage systems and vFilers
                                 Storage System Config 7.2.3 (7.2.3) - storage systems and vFilers
                                 Storage System Config 7.2.4 (7.2.4) - storage systems and vFilers
                                 Storage System Config 7.2.5 (7.2.5.1) - storage systems and vFilers
                                 Storage System Config 7.2.6 (7.2.6.1) - storage systems and vFilers
                                 Storage System Config 7.2.7 (7.2.7) - storage systems and vFilers
                                 Storage System Config 7.3 (7.3) - storage systems and vFilers
                                 Storage System Config 7.3.1 (7.3.1.1) - storage systems and vFilers
                                 Storage System Config 7.3.2 (7.3.2) - storage systems and vFilers
                                 Storage System Config 7.3.3 (7.3.3) - storage systems and vFilers
                                 Storage System Config 7.3.4 (7.3.4) - storage systems and vFilers
                                 Storage System Config 7.3.5 (7.3.5.1) - storage systems and vFilers
                                 Storage System Config 7.3.6 (7.3.6) - storage systems and vFilers
                                 Storage System Config 7.3.7 (7.3.7) - storage systems and vFilers
                                 Storage System Config 8.0 (8.0) - storage systems and vFilers
                                 Storage System Config 8.0.1 (8.0.1) - storage systems and vFilers
                                 Storage System Config 8.0.2 (8.0.2) - storage systems and vFilers
                                 Storage System Config 8.0.3 (8.0.3) - storage systems and vFilers
                                 Storage System Config 8.0.4 (8.0.4) - storage systems and vFilers
                                 Storage System Config 8.1 (8.1) - storage systems and vFilers
                                 Storage System Config 8.1.1 (8.1.1) - storage systems and vFilers

I am already using HTTP:

C:\>dfm about
Version                          5.2.0.16233 (5.2)
Executable Type                  64-bit
Serial Number                    1-50-015067
Edition                          Standard edition of DataFabric Manager server
Data ONTAP Operating Mode        7-Mode

Administrator Name               Domain\Bob
Host Name                        NetApp2
Host IP Address                  1.2.3.4
Host Full Name                  NetApp2.mysite.com
Node limit                       250 (currently managing 3)
Operating System                 Microsoft Windows Server 2008 R2 Service Pack 1 (Build 7601) x64 based
CPU Count                        2
System Memory                    4095 MB (load: 87%)
Installation Directory           C:/Program Files (x86)/NetApp/DataFabric Manager/DFM
                                 73.5 GB free (73.5%)
Perf Data Directory              Unavailable (check if the server service is running)
Data Export Directory            Unavailable (check if the server service is running)
Database Backup Directory        Unavailable (check if the server service is running)
Reports Archival Directory       Unavailable (check if the server service is running)
Database Directory               D:/DFM/data
                                 197 GB free (91.6%)
Licensed Features                DataFabric Manager server: installed

Installed Plugins                Storage System Config 6.5.1 (6.5.1) - storage systems and vFilers
                                 Storage System Config 6.5.2 (6.5.2) - storage systems and vFilers
                                 Storage System Config 6.5.3 (6.5.3) - storage systems and vFilers
                                 Storage System Config 6.5.4 (6.5.4) - storage systems and vFilers
                                 Storage System Config 6.5.5 (6.5.5) - storage systems and vFilers
                                 Storage System Config 6.5.6 (6.5.6) - storage systems and vFilers
                                 Storage System Config 6.5.7 (6.5.7) - storage systems and vFilers
                                 Storage System Config 7.0 (7.0.0.1) - storage systems and vFilers
                                 Storage System Config 7.0.1 (7.0.1.1) - storage systems and vFilers
                                 Storage System Config 7.0.2 (7.0.2) - storage systems and vFilers
                                 Storage System Config 7.0.3 (7.0.3) - storage systems and vFilers
                                 Storage System Config 7.0.4 (7.0.4) - storage systems and vFilers
                                 Storage System Config 7.0.5 (7.0.5) - storage systems and vFilers
                                 Storage System Config 7.0.6 (7.0.6) - storage systems and vFilers
                                 Storage System Config 7.0.7 (7.0.7) - storage systems and vFilers
                                 Storage System Config 7.1 (7.1.0.1) - storage systems and vFilers
                                 Storage System Config 7.1.1 (7.1.1.1) - storage systems and vFilers
                                 Storage System Config 7.1.2 (7.1.2.1) - storage systems and vFilers
                                 Storage System Config 7.1.3 (7.1.3) - storage systems and vFilers
                                 Storage System Config 7.2 (7.2) - storage systems and vFilers
                                 Storage System Config 7.2.1 (7.2.1.1) - storage systems and vFilers
                                 Storage System Config 7.2.2 (7.2.2) - storage systems and vFilers
                                 Storage System Config 7.2.3 (7.2.3) - storage systems and vFilers
                                 Storage System Config 7.2.4 (7.2.4) - storage systems and vFilers
                                 Storage System Config 7.2.5 (7.2.5.1) - storage systems and vFilers
                                 Storage System Config 7.2.6 (7.2.6.1) - storage systems and vFilers
                                 Storage System Config 7.2.7 (7.2.7) - storage systems and vFilers
                                 Storage System Config 7.3 (7.3) - storage systems and vFilers
                                 Storage System Config 7.3.1 (7.3.1.1) - storage systems and vFilers
                                 Storage System Config 7.3.2 (7.3.2) - storage systems and vFilers
                                 Storage System Config 7.3.3 (7.3.3) - storage systems and vFilers
                                 Storage System Config 7.3.4 (7.3.4) - storage systems and vFilers
                                 Storage System Config 7.3.5 (7.3.5.1) - storage systems and vFilers
                                 Storage System Config 7.3.6 (7.3.6) - storage systems and vFilers
                                 Storage System Config 7.3.7 (7.3.7) - storage systems and vFilers
                                 Storage System Config 8.0 (8.0) - storage systems and vFilers
                                 Storage System Config 8.0.1 (8.0.1) - storage systems and vFilers
                                 Storage System Config 8.0.2 (8.0.2) - storage systems and vFilers
                                 Storage System Config 8.0.3 (8.0.3) - storage systems and vFilers
                                 Storage System Config 8.0.4 (8.0.4) - storage systems and vFilers
                                 Storage System Config 8.1 (8.1) - storage systems and vFilers
                                 Storage System Config 8.1.1 (8.1.1) - storage systems and vFilers

I am already using HTTP:

OM_TRANSPORT=HTTP

OM_HOST=NetApp2

OM_EVENT_GENERATE=Y

OM_USER=Domain\Admin

OM_PWD=53396e794c4e57433947345a

OM_PORT=8088

Re: Integration with DFM

I upgraded/installed the newly released fully supported and buffed SnapCreator 4.1 release and that solved the problem.

Re: Integration with DFM

Great news and I especially like to hear Snap Creator and buffed in the same sentence

Keith