Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

ONTAP Discussions

Need help to automate the provisioning task

KISHOREG15

Hi,

I need help to accomplish the following task.

1. Create 100 Volumes (100 Commands)

2. Disable Snap Reserve for the above volumes (100 Commands)

3. Disable Snap Scheduling for the above volumes (100 Commands)

4. Create a Qtree

5. Creare a LUN

6. Map the LUN to the IGroup

So all togeather, I would be having about 600 commands to accomplish the above task. I create a script using excel to get all the above commands.

Once after that, do we have an option to execute them keeping them in a single file, like batch or text file and execute on the filer. Any help on this would be highly appreciated. Thank You.

Best Regards,

Krishna Kishore Govada.

3 REPLIES 3

aborzenkov

You could consider workflow automation.

KISHOREG15

Thank You for taking time to reply aborzenkov..

Is there any alternative like keeping all the commands created using excel it to a text file or batch file, copy and execute them on the filer. This is just out of curiosity. Thank You.

Best Regards,

Krishna Kishore Govada.

OPTEAMAPROJET

Hello,

 

This can be done using powershell and CSV as input.

Use Import-CSV to iterate on each of your CSV and New-NcVolume... to do the necessary task you need.

 

Best regards,

Julien

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public