This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (5 pts)
139,465 Views 60 Replies Last post: Aug 20, 2009 4:00 PM by todd_schaal RSS
ravir NetApp Employee Master 197 posts since
Mar 6, 2008
Currently Being Moderated

Mar 5, 2009 1:20 AM

Manage ONTAP SDK 3.x Feedback

Hey folks,

 

Manage ONTAP SDK 3.x version provides many new cool features.

 

 

I would like to hear from you:

 

 

  1. What did you like the most about SDK 3.x?

  2. What are the improvement areas for SDK 3.x?

 

Your feedback is extremely important for us, so please post your inputs for the above questions.

 

 

 

Regards,

SDK Team

hmmcintosh Enthusiast 26 posts since
Mar 14, 2008
Currently Being Moderated
Mar 27, 2008 2:06 PM in response to: ravir
Re: Manage ONTAP SDK 3.0 Feedback

 

Thanks for continuing to enhance the SDK.  It's a great tool, and you are making it even better.

 

 

 

 

 

1. What did you like the most about SDK 3.0?

 

 

The new documentation.  It's much easier to locate things and move around.

 

 

The new dll form for the libraries may be helpful to me too, although I haven't had a chance to play with them yet.

 

 

 

 

 

2. What are the improvement areas for SDK 3.0?

 

 

Please continue to add new API calls.  There are still a number of things I have to do in my program via CLI commands rather than through API calls because the particular thing I need isn't provided.

 

 

It would also be nice if the documentation listed the SDK version (or ONTAP version) that first supported each API call.

 

 

 

 

 

 

 

 

By the way, the release history for SDK 3.0 says there is a new API named useradmin-user-has-capability, but that API isn't listed in the "Data ONTAP APIs" section of the Programming Guide.

 

 

uwf_chowell   1 posts since
Mar 11, 2008
Currently Being Moderated
May 1, 2008 1:23 PM in response to: ravir
Re: Manage ONTAP SDK 3.0 Feedback

I was wondering if there are any plans to expose the ONTAP API as a Web service.

birger_wathne   1 posts since
Jun 12, 2008
Currently Being Moderated
Jun 13, 2008 6:29 AM in response to: ravir
Re: Manage ONTAP SDK 3.0x Feedback

 

1: I have not really used it yet, but I like the fact that at least one non-compiled language is supported.

 

 

2: This may be my own oversight, but... I cannot find any ability to query the filer for a bulk transfer of all counters (a counter snapshot ) and then use the result of this query as a pseudo filer connection for my other queries. This would be a very valuable addition, as it would not only offload a lot of connections to the filer, but I would know I am looking at simultaneous data even if my queries are several seconds apart. If there is no such ability, please consider it

 

 

   

 

 

kevin.graham Enthusiast 27 posts since
Jun 19, 2008
Currently Being Moderated
Jun 19, 2008 10:09 AM in response to: ravir
Re: Manage ONTAP SDK 3.0x Feedback

Would it be possible w/ 3.0 to start migrating the Perl modules into their own namespace? (ie. NetApp::ZAPI::Server, instead of parking 'NaServer' at the very top). With the SDK apparently "coming out of the closet" with 3.0, this would seem like one of the last easy chances to make this long-overdue update.

rashmid NetApp Employee Master 68 posts since
Mar 11, 2008
Currently Being Moderated
Jul 1, 2008 2:05 AM in response to: kevin.graham
Re: Manage ONTAP SDK 3.0x Feedback

Hi Kevin,

 

Currently we don't have plans of changing the namespace of Perl modules. If NaServer/NaElement namespace gets changed then all the scripts using these modules needs to edited. This will break the backward compatibility. Hence we do not want to change the namespace.

 

Please let me know any if you are facing any problems using the existing namespace. If there are potential problems in the existing namespace then we can consider changing it.

 

Thanks,

Rashmi.

kevin.graham Enthusiast 27 posts since
Jun 19, 2008
Currently Being Moderated
Aug 21, 2008 6:31 PM in response to: rashmid
Re: Manage ONTAP SDK 3.0x Feedback

If NaServer/NaElement namespace gets changed then all the scripts using these modules needs to edited. This will break the backward compatibility. Hence we do not want to change the namespace.

 

Correct, they would need to be maintained as-is for now (even as stubs being little more than an @ISA of the fully-qualified namespace) and communicated that they will be deprecated with v4.0.

 

Please let me know any if you are facing any problems using the existing namespace. If there are potential problems in the existing namespace then we can consider changing it.

 

No problems other than if you had Java libraries without packages or native C++/C# without namespaces -- its ugly and (inappropriately) suggests infamiliarity with the language.

 

rashmid NetApp Employee Master 68 posts since
Mar 11, 2008
Currently Being Moderated
Jul 2, 2008 9:30 PM in response to: kevin.graham
Re: Manage ONTAP SDK 3.0x Feedback

Thanks for the suggestion. I will discuss on this regard with my team.

If you have any more suggestions, please share it with us.

 

Thanks,

Rashmi.

 

fletch2007 Enthusiast 11 posts since
Jun 22, 2008
Currently Being Moderated
Jun 23, 2008 11:38 AM in response to: ravir
Re: Manage ONTAP SDK 3.0x Feedback

 

Hi, this is a basic question: How do I install this SDK?

 

 

I want to run it on my cacti server:

 

 

http://forums.cacti.net/about27581.html&highlight=netapp

 

 

 

 

 

thanks

 

 

nagendrk NetApp Employee Master 225 posts since
Mar 29, 2008
Currently Being Moderated
Jul 1, 2008 12:02 AM in response to: fletch2007
Re: Manage ONTAP SDK 3.0x Feedback
fletch2007 Enthusiast 11 posts since
Jun 22, 2008
Currently Being Moderated
Jul 1, 2008 7:08 AM in response to: nagendrk
Re: Manage ONTAP SDK 3.0x Feedback

 

I was not clear enough - I have already downloaded - but there is no README or INSTALL notes - how do we install it once downloaded and unpacked?

 

 

 

 

 

 

 

 

thanks!

 

 

nagendrk NetApp Employee Master 225 posts since
Mar 29, 2008
Currently Being Moderated
Jul 2, 2008 3:52 AM in response to: fletch2007
Re: Manage ONTAP SDK 3.0x Feedback

Not sure, how to do it for a cacti environment.   There is a thread on cacti, check this out : http://communities.netapp.com/message/2308#2308

Also, you can find some information for application integration in SDK help : Getting Started with SDK -> SDK Interfaces for Application Integration

berkhout NetApp Employee Novice 6 posts since
Aug 19, 2008
Currently Being Moderated
Sep 8, 2008 5:55 AM in response to: fletch2007
Re: Manage ONTAP SDK 3.0x Feedback

Hi,

I would like to use/write perls scripts for a linux box and using te the ONTAPI interface at first.

I have downloaded "manage-ontap-sdk-3.0R1.zip" on the laptop (windows).

It has a bunch of files in a directory.

Now, I think I'm stupid.

How do I install the SDK?

What should I do with te files in the directory? 

I didn't find a word about it.

The "getting started" asumes it has been installed already and covers just how to you use it.

But I suppose it can only be used after it has been installed, right?

I have no clue yet.

I can run perl scripts on the unix box.

Any help would be much appreciated.

Jack.

nagendrk NetApp Employee Master 225 posts since
Mar 29, 2008
Currently Being Moderated
Sep 12, 2008 11:12 AM in response to: berkhout
Re: Manage ONTAP SDK 3.0x Feedback

Hi Jack,

 

Where you able to move ahead with your scripts? 

berkhout NetApp Employee Novice 6 posts since
Aug 19, 2008
Currently Being Moderated
Sep 19, 2008 1:21 AM in response to: nagendrk
Re: Manage ONTAP SDK 3.0x Feedback

Hi Nagendra,

 

thank you very much for your interest.

Yes, now I'm taking of with the stuff, it's really fun.

 

I have copied the SDK tree (especially the perl scripts) to the (virtual) linux system.

 

I'm writing web pages in php that executes perl scripts and get the output of them in variables.

 

It will be used to rollout / rollin and backup demo configurations from a choosen demo-profile.

 

Many thanks to everybody who helped me  by responding here!

 

Greetings,

Jack.

nagendrk NetApp Employee Master 225 posts since
Mar 29, 2008
Currently Being Moderated
Sep 19, 2008 1:59 AM in response to: berkhout
Re: Manage ONTAP SDK 3.0x Feedback

Thats great... Hope to see you more in these communities.

frizzledizzle Novice 3 posts since
Sep 24, 2008
Currently Being Moderated
Sep 25, 2008 9:06 AM in response to: fletch2007
Re: Manage ONTAP SDK 3.0x Feedback

I still haven't figured out how to install it. I also want to run it on cacti, but have no idea how to install this.

 

I have already downloaded the zip file and have it unzipped, but there I am, stuck.

kusek Master 130 posts since
Mar 13, 2008
Currently Being Moderated
Sep 25, 2008 9:18 AM in response to: frizzledizzle
Re: Manage ONTAP SDK 3.0x Feedback

Mike, thanks for asking!

 

Getting started with an SDK can be a fun journey, and lets hope we can get you off to a right start!

 

Once you have the SDK downloaded, extract it into some directory structure you can work with (I dumped it to the root of my C: drive to work with)

 

Then, for some tips and guidance of what to do, browse down to the following file:

 

manage-ontap-sdk-3.0R1\doc\WebHelp\index.htm

 

At which point, open that up in your favorite browser (IE or Firefox - It does not work correctly in Chrome)

 

I find that the best place to start from there is in the "Getting started with the SDK" section.

This will provide you with an introduction, overview, release notes, etc.  Enough to get you started and playing with the SDK!

 

Additionally, if you want to play around with some things live (with a simulator or a lab or otherwise system) you can play around with a few tools (cli or gui) located in "manage-ontap-sdk-3.0R1\bin\nt"  In there you will find zexplore and apitest - Launch them and you'll see what it brings for you to play with!

 

Hopefully this helps you get started Mike, and don't hesitate to ask any questions as you get to playing with things!

 

Christopher

 

rashmid NetApp Employee Master 68 posts since
Mar 11, 2008
Currently Being Moderated
Sep 25, 2008 9:29 AM in response to: kusek
Re: Manage ONTAP SDK 3.0x Feedback

Please look for file SDK_help.htm after extracting the Manage ONTAP SDK zip. This file is present at the first level itself. File SDK_help.htm will open the SDK user guide. SDK_help.htm is shortcut to manage-ontap-sdk-3.0R1\doc\WebHelp\index.htm.

Thanks,

Rashmi.

kusek Master 130 posts since
Mar 13, 2008
Currently Being Moderated
Sep 25, 2008 9:36 AM in response to: rashmid
Re: Manage ONTAP SDK 3.0x Feedback

Good point there Rashmi,

 

I was initially doing it in Chrome and it wasn't being so happy in working, so I went down a level (found it not working, and switched to FF)

So, yes as you point out SDK_help.htm indeed would be the best solution

 

Thanks!

 

 

A.GONZALEZ   1 posts since
Aug 8, 2008
Currently Being Moderated
Aug 10, 2008 11:12 AM in response to: ravir
Re: Manage ONTAP SDK 3.0x Feedback

Hi,

 

2. C# API

 

Is this on roadmap for next versions?

 

Regards,

ankurj NetApp Employee Enthusiast 28 posts since
Mar 6, 2008
Currently Being Moderated
Aug 13, 2008 6:45 AM in response to: A.GONZALEZ
Re: Manage ONTAP SDK 3.0x Feedback

Hi,

Yes. C# support is planned in next release of SDK. Next SDK is planned towards the end of this year.

Thanks,
Ankur

mbernards   1 posts since
Apr 8, 2008
Currently Being Moderated
Sep 8, 2008 7:14 AM in response to: ankurj
Re: Manage ONTAP SDK 3.0x Feedback

If C# support is scheduled, how about a PowerShell provider/snapin?

Managing NetApp stuff from scripts other than PERL is no fun at all.

We are in progress retiring our current old PERL stuff and standarize in PowerShell.

Just an idea

brendansaunders Novice 2 posts since
Aug 26, 2008
Currently Being Moderated
Dec 12, 2008 12:32 AM in response to: mbernards
Re: Manage ONTAP SDK 3.0x Feedback

Opening up to C# and/or PowerShell would be very helpful for anyone who (like myself) has already migrated largely to .NET.

 

Has anyone had any success in using the SDK libraries in Visual Studio .NET. At present I'm having to compile every back in VC6 and the make additional calls which is very clumsy.

 

A SOAP-based Web Service would be a dream as this makes the whole SDK process a lot less language-specific.

ankurj NetApp Employee Enthusiast 28 posts since
Mar 6, 2008
Currently Being Moderated
Dec 12, 2008 3:39 AM in response to: brendansaunders
Re: Manage ONTAP SDK 3.0x Feedback

Hi Brendan,

.Net support is planned for next release of SDK. The SDK will be released in a month's time.

Thanks,
Ankur

druf@up-great.ch   1 posts since
Feb 2, 2009
Currently Being Moderated
Feb 2, 2009 5:46 AM in response to: ankurj
Re: Manage ONTAP SDK 3.0x Feedback

Any update on the next release?

Still waiting to get C# support!

brendansaunders Novice 2 posts since
Aug 26, 2008
Currently Being Moderated
Feb 17, 2009 3:12 AM in response to: ankurj
Re: Manage ONTAP SDK 3.0x Feedback

I know January is  long month but is there any sign of .net or SOAP support?

rashmid NetApp Employee Master 68 posts since
Mar 11, 2008
Currently Being Moderated
Feb 17, 2009 3:36 AM in response to: brendansaunders
Re: Manage ONTAP SDK 3.0x Feedback

Hi,

 

We could not release Manage ONTAP SDK 3.5 in January. It will be released within few weeks.

 

Thanks,

Rashmi.

mgoldman NetApp Employee Enthusiast 32 posts since
Aug 12, 2008
Currently Being Moderated
Aug 13, 2008 9:24 AM in response to: ravir
Re: Manage ONTAP SDK 3.0x Feedback

Thing I liked best about SDK 3.0x:

 

Finding it, and the necessary files to download.  Search engines hate me.

 

Improvement areas for SDK 3.0x:

 

1) simple examples for every call.  I'm not primarly a programmer, I just do it on the side to support my tasks.  Perhaps just a set of clear examples on how to make the calls and read the returned data?

 

2) move 'system-cli' from unsupported to supported.  That way I don't have to rely on an unsupported call to get work done.  And I won't have to jump through hoops to get the command to work.

 

3) document what commands *aren't* included in the SDK.  Put estimates (even if 'never') for when they will be included.

 

That's my list for now.  Of course, I'm really happy to have the SDK, as I first asked about something like that about 5 years ago when I was a customer.

 

Matt

frankbounds Novice 7 posts since
Mar 20, 2008
Currently Being Moderated
Aug 14, 2008 5:19 AM in response to: mgoldman
Re: Manage ONTAP SDK 3.0x Feedback

I would like to echo Matthew's comments.  A little better documentation for the calls using Perl.  I have been building a mdule so once I get them figured out I put them there for easier access.  Maye NetApp should consider writing a wrapper module for Perl.  I have been coding Perl for 10 years but I am not a programmer.  I'm a Unix/SAN admin.  I also would like to see system-cli become supported.

 

Frank Bounds

corey.hines@target.c Novice 2 posts since
Apr 2, 2009
Currently Being Moderated
May 6, 2009 6:55 AM in response to: mgoldman
Re: Manage ONTAP SDK 3.0x Feedback

Can someone tell me what system-cli is able to do? I am having trouble figuring out exactly how to use the aggr-create API call. If I had a way to use the system-cli API call to issue a properly formatted CLI aggr create command that would be just as good. I have had good luck with the disk-sanown-assign call but the aggr-create call is driving me nuts. Can anyone help me or point me to the correct forum? I am new to the discussion boards so please direct me.

 

Thanks,

 

Corey Hines

 

Here is a version of my code that doesn't work. I have tried to create additional NaElements for the disks and add them as children to the aggregate but none of that worked either. Any advice is much appreciated. My disks are currently space delimited in the p0 and p1 disks vars. I am also trying to create a mirrored aggregate.

 

aggregate_create($aggr_name, $p0disks, true, $p1disks);

 

 

sub aggregate_create

{

  my ($aggr, $disks, $mirrored, $mdisks) = @_;

  my $in = NaElement->new("aggr-create");

  #my $disks_element = NaElement->new("disks");

  #my $mdisks_element = NaElement->new("mirror-disks");

  $in->child_add_string("aggregate", $aggr_name);

  $in->child_add_string("is-mirrored", $mirrored);

  $in->child_add_string("disks", $disks);

  $in->child_add_string("mirror-disks", $mdisks);

 

  my $out = $s->invoke_elem($in);

  if($out->results_status() eq "failed")

  {

    #If the aggregate creation fails provide areason

    print($out->results_reason() ."\n");

     exit(-2);

   }

}



rkiran NetApp Employee Master 67 posts since
Mar 13, 2008
Currently Being Moderated
May 6, 2009 8:49 AM in response to: corey.hines@target.c
Re: Manage ONTAP SDK 3.0x Feedback

Hi Corey,

Looks like aggr-create request is not framed properly.Try using the following snippet for creating aggregates:

 

my $in = NaElement->new("aggr-create");
$in->child_add_string("aggregate", $aggr_name);
$in->child_add_string("is-mirrored", $mirrored);

my $disks = NaElement->new("disks");
my $disk_info = NaElement->new("disk-info");

$disk_info->child_add_string("name",$disk1);
# add more disks using child_add_string like ...
#$disk_info->child_add_string("name",$disk2);...

 

my $mirror_disks = NaElement->new("mirror-disks");
my $mirror_disk_info = NaElement->new("disk-info");
$mirror_disk_info->child_add_string("name",$mirror_disk1);

# add more disks using child_add_string like ...
#$disk_info->child_add_string("name",$mirror_disk2);...

$disks->child_add($disk_info);
$mirror_disks->child_add($mirror_disk_info);

 

$in->child_add($disks);
$in->child_add($mirror_disks);

my $output = $s->invoke_elem($in);

kevin.graham Enthusiast 27 posts since
Jun 19, 2008
Currently Being Moderated
Aug 21, 2008 6:25 PM in response to: ravir
Re: Manage ONTAP SDK 3.0x Feedback

ravir wrote:

# What are the improvement areas for SDK 3.0x?

Entirely on the client-side, but an equality operator on an NaElement would be a really nice one to have, as opposed to have to sort children and iterate outside of the API. Most of the time this is just an annoyance and not worth it, but some structures such as exports-rule-info-2 beg for a generic solution that would be best solved within the object.


if (! $naServer->invoke(
      'nfs-exportfs-list-rules-2', 'persistent', 'false'
    )->child_get('rules')->equals($naServer->invoke(
      'nfs-exportfs-list-rules-2', 'persistent', 'true')->child_get('rules')
    ))
        print "fix your exports before they fix you.\n"

...there's certainly possibilities for other logic, such as intersections between lists, but this would be a great place to start.

adweigert Enthusiast 8 posts since
Aug 4, 2008
Currently Being Moderated
Sep 20, 2008 8:59 AM in response to: ravir
Re: Manage ONTAP SDK 3.0x Feedback

What I like about it: I can actually use it rather than having to parse text output from SSH commands :) I'll finally be able to get my MSCS geo-cluster working with snapmirror sync. :)

 

What needs improved: The commands that don't have an API should be documented - qtree security for one :) Docs are a good start, they need an example with each to show how it's intended use.

 

Other Suggestions: Maybe adding one service that does execute a command line (would remove the need for SSH programs from my script), .NET support, WSDL for a web service would probably make it a whole lot more reusable and support other languages without having to have a specific API for it.

mgoldman NetApp Employee Enthusiast 32 posts since
Aug 12, 2008
Currently Being Moderated
Sep 22, 2008 8:21 AM in response to: adweigert
Re: Manage ONTAP SDK 3.0x Feedback

Have you tried using 'system-cli' instead of ssh? 

 

Plus side:

 

Don't have to do ssh or rsh calls so your code is more portable.

 

Down side:

 

Not currently supported.

Not well documented.  Okay, very poorly documented.

Different usage than other commands.

 

I hate not having examples, so below is a very simple example.  It just does a df on the filer and shows how the results are returned.

 

Yes, I know that there is a ZAPI command to get df; however, the example below is to show how to run a random command line on the filer, not a good way to get the filer's DF output!

 

Suggestions and imporovements are welcome.  I really need to take the time to wrap this up into a function that allows me to do something like:

 

NA_cli_call (@info, $cmd, @cli_argv);

 

but my perl coding skills are really lacking.  I still haven't figured out how to pass arrays by reference so that I can pass two arrays into a subroutine.

 

+++ CUT HERE +++

#!/usr/bin/perl -w

use lib 'c:/Perl/site/lib/NetApp';
use NaServer;
use NaElement;

my $zapi_out;
my $filer = "10.0.0.31,root,secret,902106502";
my @info = split (',', $filer);
my $hostid = $info[0];
my $username = $info[1];
my $password = $info[2];
my $requested_sn = $info[3];
my $info = "";
my $cmd;
my $cmd_args;

#
# Setup for connecting to the filer
#
my $s = NaServer->new ($hostid, 1, 3);
$s->set_style(LOGIN_PASSWORD);
$s->set_admin_user($username, $password);
$s->set_transport_type(NA_SERVER_TRANSPORT_HTTP);

$cmd = new NaElement ("system-cli");
$cmd_args = new NaElement ("args");
$cmd_args->child_add (new NaElement ("arg", "df"));
$cmd->child_add ($cmd_args);

$zapi_out = $s->invoke_elem ($cmd);

if ($zapi_out->results_errno != 0) {
my $reason = $zapi_out->results_reason();
print STDERR "Ivoke Failed: $reason\n";
exit (1);
}

print "----------------------------------------\n";

#
# Read through the output.
#
my $info_out = $zapi_out->child_get_string ("cli-output");
print "$info_out\n";

print "----------------------------------------\n";

 

exit (0);

jasonwu NetApp Employee Novice 5 posts since
Sep 24, 2008
Currently Being Moderated
Sep 24, 2008 6:09 AM in response to: ravir
Re: Manage ONTAP SDK 3.0x Feedback

Dear  Sir,

 

My customer who is a major telecommunication equipment supplier around the world is now developing a Database management system(like oracle and DB2)  which may contain couple of features regarding database backup , storage provisioning, DR ,etc.   Understand that netApp has this support of ONTAP SDK for both partners and customers , Just wondering whether my custome is applicable to get enrolled for following feature get developed.

- Database hotbackup by using ONTAP snapshot API 

- Database storage provisioning discovery and managent by using ONTAP API

- Performance statistics

Thanks in advance  if you could provide more detail regarding ONTAP SDK and any comment/recommendation is greatly appreciated.

 

Best Regards,

Jason

email  : jason.wu@netapp.com

nagendrk NetApp Employee Master 225 posts since
Mar 29, 2008
Currently Being Moderated
Sep 24, 2008 8:48 AM in response to: jasonwu
Re: Manage ONTAP SDK 3.0x Feedback

Hi Jason,  Manage ONTAP SDK is available for free download.  No enrollment required at all.  For more information refer this link: http://communities.netapp.com/docs/DOC-1110

sullivan.andrew Novice 9 posts since
Sep 26, 2008
Currently Being Moderated
Oct 15, 2008 7:02 PM in response to: ravir
Re: Manage ONTAP SDK 3.0x Feedback

1) What did you like the most about SDK 3.0x?

Very easy to use and understand.  Very nice that it uses http to communicate.  I was able to rewrite it into php, which makes interacting with it from Cacti and other web based apps VERY easy.  Additionally, I am assisting a coworker with creating a PowerShell version, which should make command line interaction significantly easier as well.

 

2) What are the improvement areas for SDK 3.0x?

Document EVERYTHING.  Seems like every time I read a new entry on the forum here I discover a new, undocumented, command.

 

Fix the aggr-space-info call to not return negative numbers...VERY annoying that I have to do a remote cli call and parse raw text to get this information.  This is even worse in my opinion because other calls that return space information (volume-list-info) return the correct values

rkiran NetApp Employee Master 67 posts since
Mar 13, 2008
Currently Being Moderated
Oct 16, 2008 4:58 AM in response to: sullivan.andrew
Re: Manage ONTAP SDK 3.0x Feedback

Hi Andrew,

The aggr-space-list-info issue for returnig negative values will be fixed in future releases of ONTAP.

ankurj NetApp Employee Enthusiast 28 posts since
Mar 6, 2008
Currently Being Moderated
Oct 16, 2008 1:37 PM in response to: sullivan.andrew
Re: Manage ONTAP SDK 3.0x Feedback

Hi Andrew,

Thanks for your feedback. You wrote " Document EVERYTHING. Seems like every time I read a new entry on the forum here I discover a new, undocumented, command". Can you provide more details on what undocumented new commands you have discovered? 

Thanks,
Ankur

sullivan.andrew Novice 9 posts since
Sep 26, 2008
Currently Being Moderated
Oct 17, 2008 4:22 AM in response to: ankurj
Re: Manage ONTAP SDK 3.0x Feedback

system-cli was the most recent one that comes to mind.  There have been a couple of cases where the returned result wasn't what I expected according to the documentation...either more or less elements returned.  I don't recall which it was that did that to me at the moment though.

 

The other "issue" that I have is with the performance counters...there's no place that I've found that documents what they are.  For example, using the provided sample code, executing "perl perf_operation.pl xxx xxx xxx get-counter-values aggregate", what are all the blkr_* counters? 

nagendrk NetApp Employee Master 225 posts since
Mar 29, 2008
Currently Being Moderated
Oct 17, 2008 4:42 AM in response to: sullivan.andrew
Re: Manage ONTAP SDK 3.0x Feedback

The SDK documentation has improved significantly.  Navigate through "Design Guides" --> "Performance Management" --> "Appendix - Performance counters...", you can find a brief description of counters. For e.g.

 

blkr_async_offline

8B

DELTA

NONE

Number of times an async block reallocation call failed  due to aggr offline

CM_DIAG

-

blkr_async_no_msg

8B

DELTA

NONE

Number of times an async block reallocation call failed  due to no message

CM_DIAG

-

sullivan.andrew Novice 9 posts since
Sep 26, 2008
Currently Being Moderated
Oct 17, 2008 4:45 AM in response to: nagendrk
Re: Manage ONTAP SDK 3.0x Feedback

Fantastic!  I apologize for complaining about it...I honestly never looked there.  Thank you for pointing it out!!!

arpitmpatel Novice 8 posts since
Jul 4, 2008
Currently Being Moderated
Oct 22, 2008 10:12 PM in response to: ravir
Re: Manage ONTAP SDK 3.0x Feedback

Hi,

In the manage ontap sdk, for QTree: available space, and used space counters are not available.They are available from aggregate, volume and lun.

are this qtree specific counters will be provided in next release?

 

 

Thanks

Arpit

 

adamfox NetApp Employee Master 220 posts since
Mar 10, 2008
Currently Being Moderated
Oct 23, 2008 8:00 AM in response to: arpitmpatel
Re: Manage ONTAP SDK 3.0x Feedback

Are quotas enabled on the qtrees in question?  ONTAP relies on tree quotas to be able to figure things out like "available space" in a qtree.  Without that, it's not differentiated from the underlying volume.  If you only want used space, then you can set up a dummy quota (a quota on a qtree with no space limit) and that will activate the ONTAP processes to count the space in a qtree without establishing a limit.  So you're used space will be accurate, but your available space will still be based on the underlying volume in that case.

 

Hope this helps.

mgoldman NetApp Employee Enthusiast 32 posts since
Aug 12, 2008
Currently Being Moderated
Dec 12, 2008 12:50 PM in response to: ravir
Re: Manage ONTAP SDK 3.0x Feedback

Okay, so I've run into some tasks that I can't do with the SDK.  These are things that I would really like to do.

 

  1. Find out how long the currently running SnapMirror job has been transfering. (yeah, that's a DataONTAP limit!)
  2. Read log files.
  3. Run disk sanitization.

Any one else have items to add to the list of missing features for the SDK?

sameer_deokule Novice 5 posts since
Mar 14, 2008
Currently Being Moderated
Jan 29, 2009 11:35 AM in response to: ravir
Re: Manage ONTAP SDK 3.0x Feedback

Does the SDK support Linux for zSeries?

 

Thanks

nagendrk NetApp Employee Master 225 posts since
Mar 29, 2008
Currently Being Moderated
Feb 2, 2009 4:03 AM in response to: sameer_deokule
Re: Manage ONTAP SDK 3.0x Feedback

Nope.. No support for zSeries yet.

sameer_deokule Novice 5 posts since
Mar 14, 2008
Currently Being Moderated
Mar 17, 2009 5:00 PM in response to: nagendrk
Re: Manage ONTAP SDK 3.0x Feedback

Where can I find any licensing information for using Manage ONTAP SDK?

 

This is to take care of any third party IP (TPIP) usage reporting requirements

arising in our software product becuase of its use of the the ONTAP SDK.

 

Please note that TPIP here implies the Manage ONTAP SDK in the context

of our use and not necessarily the TPIP used by the SDK itself..

 

Thanks

nagendrk NetApp Employee Master 225 posts since
Mar 29, 2008
Currently Being Moderated
Mar 18, 2009 4:15 AM in response to: sameer_deokule
Re: Manage ONTAP SDK 3.0x Feedback

I guess, you are looking for SDK software license.  It is available as part of the documentation in SDK_help at Home > Manage ONTAP SDK 3.5 > Software License Agreement.

ankurj NetApp Employee Enthusiast 28 posts since
Mar 6, 2008
Currently Being Moderated
Mar 20, 2009 9:00 AM in response to: sameer_deokule
Re: Manage ONTAP SDK 3.0x Feedback

Hi Sameer,

     In addition to License agreement, you may also want to look at file "Notice.txt" in the top level directory. Notice.txt file provides detail on all the third party components used in SDK and their copyright notices.
Thanks,
Ankur

paulasellek Novice 3 posts since
May 16, 2008
Currently Being Moderated
Mar 20, 2009 3:03 AM in response to: ravir
Re: Manage ONTAP SDK 3.5 Feedback

Hi,

 

The new SDK has some support for some new ONTAP 7.3.1 features that we hope to use. 

 

But, still no support for virtual interfaces.  When will this appear? (By all means shoot me down if it is there I was just blind!)

 

Cheers,

 

Kevin Peirce.

nagendrk NetApp Employee Master 225 posts since
Mar 29, 2008
Currently Being Moderated
Mar 23, 2009 2:04 AM in response to: paulasellek
Re: Manage ONTAP SDK 3.5 Feedback

An enhancement request has already been filed for this.  But, release timeline is not yet known.

systeme@Inrialpes.fr Novice 5 posts since
Oct 2, 2008
Currently Being Moderated
Apr 1, 2009 2:49 AM in response to: ravir
Re: Manage ONTAP SDK 3.x Feedback

Hello,

 

I've been using the SDK 3.0 for some time now, and here is what I can say about it.

What is nice is the number of counters we can get from the filers.

What could be improved is the languages proposed as APIs : I use python for programming, and I had to struggle to compile against the c library.

The documentation is nice, but there are lacks in the counters documentation (mostly counters for what I've encountered). For example : in the perf object documentation, the disk_read_MB_per_sec_histo counter is described as Histogram of disk read megabytes per second, which would be OK, but it returns an array with 29 values, and the signification of these values doesn't seem to be explained. So how can we use it ?

Other example, for the processor object, domain busy is described as an array of processor time in various domains, but these are not described.

So a little more explanation of the counters signification when their names are not sufficent would be welcome.

 

Maybe this more detailled documentation exists somewhere, in that case an easy-to-find pointer to it would be welcome.

 

Anyway it's a great tool, and a great job done.

 

Thanks

 

Jean-Marc

blgodfrey Novice 2 posts since
Mar 15, 2008
Currently Being Moderated
Apr 27, 2009 4:19 PM in response to: ravir
Re: Manage ONTAP SDK 3.x Feedback

I see system-cli changed its args schema in ontapi 1.9 to <args><arg>1</arg><arg>2</arg></args> and no longer supports the <args><arg0>1</arg0><arg1>2</arg1></args>  that I had been using for a while.

 

Easy change for me to support backward compat with older ontapi's but this api needs to become "supported" and documented.  Not everything can be done with the supported API's and workarounds need to be achieved to do our job.  For instance I need to get some hard to find shelf information, so I use "environemnt shelf" command.

AshitKumar Enthusiast 21 posts since
Nov 20, 2008
Currently Being Moderated
May 4, 2009 3:26 AM in response to: ravir
Re: Manage ONTAP SDK 3.x Feedback

>>>1. What did you like the most about SDK 3.x?

 

There are lots of improvements but i liked the vfiler-tunelling API addition a very cool feature.

 

>>>> What are the improvement areas for SDK 3.x?

Add support for the other data ONTAP like GX.

todd_schaal Novice 2 posts since
Mar 19, 2009
Currently Being Moderated
Aug 20, 2009 9:46 AM in response to: ravir
Re: Manage ONTAP SDK 3.x Feedback

Recently download 3.5p1 and am having problems with the .NET libraries.  It keeps looking for a source file called naserver.cs.  I get this even running the sample visual studio projects included in the sdk.  Is there something missing from the package?  or am I doing something wrong?

rkiran NetApp Employee Master 67 posts since
Mar 13, 2008
Currently Being Moderated
Aug 20, 2009 10:28 AM in response to: todd_schaal
Re: Manage ONTAP SDK 3.x Feedback

Todd,

I am not able to reproduce this problem on neither VS2005 nor VS2008  .

Which Visual Studio and .NET framework version are you using ? When are you facing naserver.cs file error ? Are you atleast able to compile and execute hello_ontapi sample code ?

todd_schaal Novice 2 posts since
Mar 19, 2009
Currently Being Moderated
Sep 8, 2009 2:08 AM in response to: rkiran
Re: Manage ONTAP SDK 3.x Feedback

My apologies.   Visual Studio was just trying to step into the source while

debugging.  I just set my break points to pass through your code and

everything worked fine.

 

 

Thanks,

Todd Schaal

More Like This

  • Retrieving data ...

Bookmarked By (0)