Perform the following steps to create a VM instance from a glance
image.
Get the following configuration values.
The image ID.
$ glance image-list
The flavor
ID.
$ nova flavor-list
The network
ID(s).
$ neutron net-list
An informative name
for the instance.
NO1
SO2
MP5
Create and boot the VM instance.
The instance must be owned by the DSR tenant user, not the admin user. Source
the credentials of the DSR tenant user and issue the following command. Number
of IP/interfaces for each VM type must conform with the DSR Network to Device
Assignments defined in DSR Cloud Benchmarking Guide.
Note:
IPv6
addresses should use the v6-fixed-ip argument instead of
v4‑fixed-ip.
$ nova boot --image <image ID> --flavor <flavor id> --nic net-id=<first network id>,v4-fixed-ip=<first ip address> --nic net-id=<second network id>,v4-fixed-ip=<second ip address> InstanceName
View
the newly created instance using the nova
tool.
$ nova list --all-tenants
The VM takes
approximately 5 minutes to boot. At this point, the VM has no configured
network interfaces and can only be accessed by the Horizon console
tool.