cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2753
Views
0
Helpful
1
Replies

Scripting vmkernel port creation - UCS, Nexus 1kv and NFS storage

iniccolai
Level 1
Level 1

Hi,

We have a UCS attached to NetApp storage, all NFS-based. We use NetApp's multi-tenancy functionality(MultiStore), which means a an NFS datastore on a separate VLAN for each tenant. When you have 20+ tenants x a growing number of blades you can't create each vmkernel port manually.

I would like to use VMware's PowerCLI, but it doesn't support the 1kv yet.

Is there any other way I could script this?

Ivan

1 Reply 1

sachthak
Level 1
Level 1

Hi Ivan,

I'm not too familiar with the power cli methods, but it might worth checking out the following API:

Through the VI SDK. The AddVirtualNic method should be able to do this (http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.host.NetworkSystem.html#addVirtualNic)

This should callable through the perl vCLI or the java sdk among other methods

Hope this helps.

Sachin