Active IQ Unified Manager Discussions

How to remove secondary volume from dataset with nmsdk API?

TYNOVPET_TIETO
3,451 Views

I am looking for the way how to remove secondary volume from dataset. I am able to remove volumes/qtrees from primary site with "dataset-remove-member" but I am getting this error for secondary volumes: Error: 'member_name' is not in 'dataset_name':root . Any ideas?

1 ACCEPTED SOLUTION

TYNOVPET_TIETO
3,451 Views

my $param = NaElement->new("dataset-member-parameter");

      $param->child_add_string("dp-node-name", 'Backup/Primary Data');

View solution in original post

3 REPLIES 3

kryan
3,451 Views

Hi,

I might be missing the point of the question, but have you already attempted to use the CLI?

dfpm dataset relinquish { [ <destination-volume-name-or-id> ] | [ <destination-qtree-name-or-id> ] }

Thanks,

Kevin

TYNOVPET_TIETO
3,451 Views

Hi, unfortunatelly, I can't use CLI, but I am trying to do something exactly like: dfpm dataset remove -N 'Backup' dataset_name dataset_member_name(or ID), but with API.

Thanks, Petr

TYNOVPET_TIETO
3,452 Views

my $param = NaElement->new("dataset-member-parameter");

      $param->child_add_string("dp-node-name", 'Backup/Primary Data');

Public