OpenStack with KVM Hypervisor Deployment
Infoblox recommends that you dedicate the minimum system requirements to the NIOS-X server you plan to deploy. The dedicated resources cannot be shared with or used for other non-Infoblox applications. Sharing resources will negatively affect the performance of your Infoblox services. For information about the minimum system requirements and port usage, see the following:
- NIOS-X Server Connectivity and Service Requirements
- Minimum System Requirements for NIOS-X Servers
- Supported Platforms for NIOS-X Servers
- Port Usage for Bare-Metal NIOS-X Servers
Prerequisites
Before deploying a NIOS-X server and enabling Infoblox services, ensure that you prepare the deployment environment according to the requirements for the supported platforms and open all necessary ports for unrestricted outbound access.
Before you start the deployment, consider and complete the following:
- The recommended resources required for NIOS-X virtual server deployment are 8 vCPU and 16 GB of memory. For details, see NIOS-X Server Connectivity and Service Requirements.
- Ensure that your deployment environment meets the minimum deployment requirements.
- Infoblox supports all versions of OpenStack.
- Open all required ports on the NIOS-X servers, as list in Port Usage for Bare-Metal NIOS-X Servers, in addition to the ports required for firewalls.
- Ensure that there are no other processes using port 53 on the server system on which your NIOS-X server will be deployed. For example, some Ubuntu systems running local DNS cache (system-resolved) might occupy port 53, and your NIOS-X server might not function properly in this case.
Infoblox supports KVM deployment managed by OpenStack via the OpenStack dashboard or CLI commands.
Known Limitation
- Network interface configuration is not supported through the Infoblox Portal.
Deploying NIOS-X Servers via OpenStack Dashboard
- Log in to the Infoblox Portal.
Go to Administration > Downloads.
On the Downloads page > NIOS-X (BloxOne) Servers section, select Download Package for KVM/QCOW (60 GB Disk) for the regular image or Download Package for KVM/QCOW (750 GB Disk) for the high-capacity image.
- Click Download Package.
- Open a new browser window and launch the OpenStack dashboard.
- Log in to the dashboard using a project user credentials.
Select the appropriate project from the drop down menu at the top left.
On the Project tab, open the Compute tab and click Images category.
Click Create Image, and the Create An Image dialog appears.
- Complete following image details, as show in the screenshot:
- Image Name: Give your image a unique name.
- Image Source: Select File and browse to the location to which you downloaded the QCOW2 image from the Infoblox Portal.
- Format: Choose QCOW2-QEMU Emulator from the drop-down menu
For more information about image details, refer to the OpenStack documentation.
- Click Create Image.
Open the Project tab -> Compute tab, and click Instances.
- Choose the image you just created, and click Launch Instance.
In the Launch Instance dialog, specify the following:
- Availability Zone: By default, this value is set to the availability zone given by the cloud provider (for example,
us-west
orapac-south
). For some cases, it could be nova. - Instance Name: Specify a name for the NIOS-X server.
- Flavor: Choose m1.large for the regular image and B1-HC or a flavor that supports 750 GB disk size for the high-capacity image.
- Instance Count: Enter 1.
- Instance Boot Source: Choose Boot from image.
- Image Name: Choose the image name you have given to the image.
- Availability Zone: By default, this value is set to the availability zone given by the cloud provider (for example,
- Click Access & Security at the top.
- Under Security Groups, select default to use the default security groups, or select permissive to open a few default ports.
- Click Networking at the top.
- Add interfaces by selecting applicable networks from the list. You can choose multiple networks for multiple interfaces.
- Click Post-Creation at the top to add customized scripts, if needed.
Customization Script Source: Choose Direct Input and enter the script in the Script Data field, or you can upload a file that contains scripts such as the join token for a cluster account, as follows. To obtain a join token, see Creating Join Tokens. For information on how to use the userdata file, see YML and JSON Templates.
#cloud-config
host_setup:
jointoken: ECJ0yOZL3WVO7NSLxM7j_w7vLfTAFMRZxxxxx- Optionally, click Advanced Options at the top to specify whether to do disk partition manually or automatically, and then select the Configuration Drive checkbox to write metadata to a configuration drive if cloud_init is not available.
- Click Launch to launch the instance.
The NIOS-X server is displayed on the Instance page. Optionally, click Console at the top of the Instance page to view instance details in the console. You can also assign a floating IP address to the instance, if needed.
You have now successfully deployed the NIOS-X server. It might take a couple minutes for the server and the Infoblox Portal to connect. - To check the current status of the NIOS-X server, you can go to Configure > Servers in the Infoblox Portal. For more information about the server status see Viewing Host Status.
Deploying KVM NIOS-X Server Using CLI Commands
You must complete the following before you can use the OpenStack CLI:
- Install the OpenStackClient.
- Provide your OpenStack a username, password, project, and auth endpoint.
Enable DHCP as the default configuration for any private network.
Important
You must configure NOVA and to configure network information if you choose to disable DHCP based on this document.
To deploy the KVM NIOS-X server, complete the following:
- Log in to the Infoblox Portal.
Go to Administration > Downloads.
On the Downloads page > NIOS-X (BloxOne) Servers section, select Download Package for KVM/QCOW (60 GB Disk) for the regular image or Download Package for KVM/QCOW (750 GB Disk) for the high-capacity image.
- Click Download Package.
- Open the command-line window and enter the following commands at the prompt to perform specified tasks.
- Create an image:
openstack image create --public --disk-format qcow2 --container-format bare --file downloaded file name
- Verify whether your image has been created:
openstack image list
Add or configure networks:
Note
Verify the required networks have been added.openstack network list
Create security group to access the Device UI:
openstack security group rule create default --protocol tcp --dst-port 443:443 --remote-ip 0.0.0.0/
Note
This requires opening both ports 443 and 80.
- Verify the security group you just created:
openstack security group list
- Create Cloud-init file and rename this file to user_data.yaml:
#cloud-config
Host_setup:
jointoken: <JOINTOKEN> - Launch the VM:
openstack server create --flavor 4 --image image name \
--nic net-id=<net-id> \
--user-data user_data.yaml
--security-group default bloxoneVM1
- Verify your VM has been deployed:
openstack server list
- Create an image: