NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Active IQ Unified Manager Discussions

Command to add a VM into a DataSet

bmbeaulieu
3,512 Views

Is there a way using dfm/dfpm to add a VM into a DataSet ?

I'm trying to automate the management of the VMs in each DataSet using custom attributes in vSphere.

I should have figured out this part before writing the integration!  I can't figure out the command and from what I've read it's not possible.

Thoughts?

Brian

2 REPLIES 2

kjag
3,512 Views

Hi,

Yes, its possible. You can use the below command to add the same.

dfpm dataset add [ -D ] [ -N <node-name> ] <dataset-name-or-id>

        { [ <volume-name-or-id> ] | [ <qtree-name-or-id> ] |

        [ <ossv-dir-name-or-id> ] | [ <storage-system-name-or-id> ] |

        [ <host-name-or-id> ] |

        [virtualization-object-name-or-id] } ...

-KJag

bmbeaulieu
3,512 Views

That did it!  Thanks.

I thought that command was creating a dataset.

Brian

Public