Storage Boards Cleanup
To make it easier to find information about HPE Storage products and solutions, we are doing spring cleaning. This includes consolidation of some older boards, and a simpler structure that more accurately reflects how people use HPE Storage.
HPE StoreVirtual Storage / LeftHand
cancel
Showing results for 
Search instead for 
Did you mean: 

Automating - Scripting VSA IP address assignment

Gauche
Trusted Contributor

Automating - Scripting VSA IP address assignment

Usually all SAN/iQ nodes, including the VSA, have to have their initial IP address set via serial or KVM connection to the node.
The VSA being a VM though, it does now have a way to "push" an IP address through the vmx file. This can be handy for automating installs of VSA by script.

This only works on SAN/iQ 8 and later VSA...

Before the VSA firt boot set these values in the .vmx file:

guestinfo.host = "VSA"
guestinfo.ip = "10.0.38.70"
guestinfo.nm = "255.255.0.0"
guestinfo.gw = "10.0.38.1"
guestinfo.proto = "static"

Where,

host is hostname
ip is IP address of the VSA
nm is the network mask
gw is the network gateway
proto is the protocol, one of “static” or “dhcp”

An example of dynamic would be,
guestinfo.host = "VSA"
guestinfo.proto = "dhcp"

The VSA will examine these values on the first bootup only and set them once.
Subsequent boots will do nothing with these settings as we don't want to change the IP address of a live VSA.
Adam C, LeftHand Product Manger