Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

Note

Before you issue commands with Nova, ensure that your environment contains the necessary credentials. You can do this by sourcing the keystonerc_admin file that is created during the OpenStack installation. For more information, refer to the section Getting Credentials for a CLI in the OpenStack CLI Guide.

...

  1. In OpenStack, run source keystonerc_admin to set up the OpenStack environment.

  2. Upload the qcow2 file for the specified vNIOS for KVM model to OpenStack. For more information, see Requirements.

  3. Set up the OpenStack flavors, as described in the Setting Up the OpenStack Flavors for vNIOS section.

  4. Import the vNIOS instance into OpenStack, as described in the Importing vNIOS Instance into OpenStack section.

  5. Set up security groups, as described in the Setting Up Security Groups section.

  6. Deploy an instance, as described in the Deploying a vNIOS Instance in an OpenStack Environment section.

Note

Note
The serial console output for instances deployed in the OpenStack environment may have inconsistencies as the console output is from the VGA port. To view the console output for an instance, Infoblox recommends that you use the serial port connected to that instance.

Setting up the OpenStack Flavors for vNIOS

...

To deploy the vNIOS instances in a HA setup in OpenStack, complete the following steps:

Note

Note

In a HA configuration, you must unblock the VRRP port 112 in your security group.

  1. For both active and passive nodes, run the neutron port-create command to create port IDs for the MGMT, LAN1 and HA network interfaces as shown in the following steps:

    1. To create an MGMT port, use the command:
      neutron port-create <mgmt_network_name> --name <mgmt-node-1> --binding:vnic-type direct
      neutron port-create <mgmt_network_name> --name <mgmt-node-2> --binding:vnic-type direct

    2. To create a LAN1 port, use the command:
      neutron port-create <lan1_network_name> --name <lan1-node-1> --binding:vnic-type direct
      neutron port-create <lan1_network_name> --name <lan1-node-2> --binding:vnic-type direct

    3. To create a HA port, use the command:
      neutron port-create <lan1_network_name> --name <ha-node-1> --binding:vnic-type direct
      neutron port-create <lan1_network_name> --name <ha-node-2> --binding:vnic-type direct

  2. Create a port for HA-VIP in the same subnet as that of LAN1 by using the command:
    neutron port-create <lan1_network_name> --name <ha-vip> --binding:vnic-type direct

  3. Run the neutron port list command to view the network and port IDs generated for all network interfaces. You can copy the port IDs from this output to the nova boot command.

  4. Deploy active and passive nodes using  the nova boot command:
    nova boot --config-drive True --flavor <flavor_name>   --image  <image_name> --nic port-id=<mgmt_port_id> --nic port-id=<lan1_port_id> --nic port-id=<ha_port_id> <instance name>

    nova boot --config-drive True --flavor <flavor_name>   --image  <image_name> --nic port-id=<mgmt_port_id> --nic port-id=<lan1_port_id> --nic port-id=<ha_port_id> <instance name>

    • flavor specifies the flavors of the vNIOS for KVM instance. For information about how to define flavors, see the Setting Up vNIOS OpenStack Flavors section.

    • image defines the name of the software package you downloaded. For information about supported vNIOS for KVM models, see vNIOS for KVM Virtual Appliance Models.

    • nic port-id specifies the port ID of an interface (MGMT, LAN1, LAN2, or HA).

...