Installing Infoblox VM Image on OpenStack with SRIOV
1. Create new flavor on OpenStack server that is suitable for the NIOS VM-4010 image.
- 8x VCPU’s
- 24 GB Memory
- 160 GB Root Disk
2. Log in to the OpenStack GUI. Go to the “Image” tab and click “Create Image.”
Installing Infoblox VM Image on Openstack with SRIOV
Infoblox Installation Guide vNIOS for OpenStack with SRIOV 17
Note that for Reporting members, you must enter 500 GB in the Ephemeral Disk (GB) field.
18 Infoblox Installation Guide vNIOS for OpenStack with SRIOV
3. Once the image creation is finished, go back to the CLI login and bring up the instance.
4. Get the SRIOV interface ID using the following command:
[root@rhops2 ~(keystone_admin)]# neutron port-list
+--------------------------------------+-----------------+-------------------+-------------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+-----------------+-------------------+-------------------------------------------------------------------------------------+
| 2ee3079a-79ea-4c82-8fee-037abebb8171 | sriov.ha.4010 | fa:16:3e:da:aa:97 | {"subnet_id": "2a81d4fc-2790-4072-9e83-ac075fcfbdde", "ip_address": "10.34.31.226"} |
| 5b6d6231-52e7-4048-9a1a-da5106b167a4 | sriov.lan2.4010 | fa:16:3e:cc:76:88 | {"subnet_id": "485d714e-f34c-4994-9bff-ef9edecf507e", "ip_address": "10.34.31.231"} |
| 86a8baa1-0184-46a6-a761-9f4558a66006 | sriov.mgmt.4010 | fa:16:3e:a5:99:3c | {"subnet_id": "824f9edb-3b30-4179-88f1-eb24a8a1b53b", "ip_address": "10.36.31.221"} |
| a4f13d16-5e90-46d7-8a9e-ea5c117e6b1d | | fa:16:3e:20:64:4e | {"subnet_id": "f4c9ded8-07aa-42da-b962-81fb9e691403", "ip_address": "10.0.0.1"} |
| a5d4c50f-d092-43ce-868b-7d7ee5f4e0c5 | | fa:16:3e:58:6c:13 | {"subnet_id": "f4c9ded8-07aa-42da-b962-81fb9e691403", "ip_address": "10.0.0.2"} |
| af026bf1-8c2e-4ea8-9dcf-5f2b1c6954b2 | | fa:16:3e:82:34:0d | {"subnet_id": "4d176229-3207-4e5e-b1eb-b638accf59f5", "ip_address": "172.24.4.226"} |
| fa8efa4b-434d-4dbf-956e-423f431059cc | sriov.lan1.4010 | fa:16:3e:42:fc:c9 | {"subnet_id": "fefb9dda-d6e6-43b6-af59-db6f747a7440", "ip_address": "10.34.31.221"} |
+--------------------------------------+-----------------+-------------------+-------------------------------------------------------------------------------------+
5. Launch an instance using the following command:
[root@rhops2 ~(keystone_admin)]# nova boot --flavor Infoblox-VM-4010 --image IB-VM-4010
--nic port-id=86a8baa1-0184-46a6-a761-9f4558a66006 --nic
port-id=fa8efa4b-434d-4dbf-956e-423f431059cc --nic
port-id=2ee3079a-79ea-4c82-8fee-037abebb8171 --nic
port-id=5b6d6231-52e7-4048-9a1a-da5106b167a4 DDI-VM-4010
Installing Infoblox VM Image on Openstack with SRIOV
Infoblox Installation Guide vNIOS for OpenStack with SRIOV 19
+--------------------------------------+---------------------------------------------------------+
| Property | Value |
+--------------------------------------+---------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | |
| OS-EXT-SRV-ATTR:host | - |
| OS-EXT-SRV-ATTR:hypervisor_hostname | - |
| OS-EXT-SRV-ATTR:instance_name | instance-0000000e |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | tjY5xVsAkmJB |
| config_drive | |
| created | 2016-02-02T02:22:28Z |
| flavor | Infoblox-VM-4010 (2e425be7-dc58-4a01-8c57-f862c60559a0) |
| hostId | |
| id | 4c2fb9dd-fbe2-42db-9174-56cfa2449068 |
| image | IB-VM-4010 (13e32e67-d6a0-4225-a127-64472c4cdb64) |
| key_name | - |
| metadata | {} |
| name | DDI-VM-4010 |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | d57f8170a21a4f5f970fb7a72f3202a6 |
| updated | 2016-02-02T02:22:28Z |
| user_id | 57770ecc6ca4457d83eb670055de8228 |
+--------------------------------------+---------------------------------------------------------+
6. Go back to the GUI and confirm if the image boots up without any errors.
7. Go to "Project" -> Instances.
For Reporting and Blocks tools members, the Instance Security Groups must be set to Permissive.
8. For console access to the instance, go to "DDI-VM-4010" -> Console.