Quantcast
Channel: VMware Communities : Popular Discussions - vSphere Management Assistant (vMA)
Viewing all articles
Browse latest Browse all 25377

Add Nas File Systems in a script -- Help!

$
0
0

I have 15 ESXi servers and I need  to add about 10 NFS Volumes per server.  There is "NO WAY" I'm doing  that manually.  I know how to add a NAS store via the vMA command line.   What I need help with is adding into a script for all the NFS  connections.

 

Can  anyone help me get started to create a script where I can add all the  connections so I don't have to add each volume manually?

 

vicfg-nas --server myesx-host.com --add --nasserver my.netapp.com -s /mount dir nfsstore.

 

Can I add all my NFS connections in a file/script so I can just execute and all the NFS volumes are mounted?

 

Remember, I need an example if possible, i'm a little green on writing scripts for the vMA.

 

Just trying to make my life easier with the vMA and your assistance.  Thanks for your help in advance.


Viewing all articles
Browse latest Browse all 25377

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>