...

  1. Sign in to OpenStack and compose the user data file for the Grid Master using the vi editor. You can also compose the data file locally and move it to the OpenStack node later.
    For a sample of the Grid Master user data file, see the Sample User Data File for the Grid Master section.

  2. Run the openstack port-create command to create port IDs for the network interfaces (MGMT, LAN1, and/or HA).

    • For the vNIOS appliance to run in OpenStack, you must specify at least two networks, MGMT and LAN1.

    • If you need to create a LAN2 port, then you must create an HA port.

    • To set up high availability (HA) with vNIOS, you must specify three network interfaces, MGMT, LAN1, and HA on each node of the HA pair.
      Ensure that the LAN 1 and HA interfaces are in the same subnet.

    • For HA pairs, you must also run the allowed-address-pairs option to define the VIP port for the HA configuration, using the VRRP MAC address and the Virtual Router ID.
      Following is an example:
      $ openstack port-create VIP –-allowed-address-pairs list=true mac_address= 00:00:5e:00:01:c8 ip_address=10.0.0.22

      Note that you can use the security-group option to associate the vNIOS instance with one or more security groups that you have created. For more information, see Setting Up Security Groups. Optionally, you can associate the vNIOS instance with a security group when you run the openstack server create command.
      Example:
      $ openstack port-create --security-group <name of the security group>

  3. For an HA pair configuration only: Ensure that you set allow_duplicate_networks=true in the nova.conf file to remove the restriction of allowing only one interface for each network in OpenStack.

  4. Run the openstack port list command to view the network and port IDs generated for all network interfaces. You can copy and paste the Port IDs into the openstack server create command.

  5. Run the openstack server create command in OpenStack to spin up the Grid Master VM.
    Note: Use the custom name that you used when creating flavors.
    Following is an example:

    • For Red Hat OpenStack Platform, use the command:
      openstack server create <instance_name> --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> --nic port-id=<lan2_port_id> --user-data <user_data_file_name>

    • For Ubuntu, use the command:
      openstack server create <instance_name> --config-drive True --flavor <flavor_name> --image <image_name> --network <network_name_mgmt> --network <network_name_lan1> --network <network_name_ha> --network <network_name_lan2> --user-data <user_data_file_name>
      For information about user data files, see the Defining User Data Settings for vNIOS Instances section.

      Parameter description:

      • config-drive determines whether to use the virtual CD-ROM drive transport mechanism for the user data file. Set it to True to enable the use of virtual drive.

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

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

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

      • network specifies the name of the network in which the port must reside.

      • user-data specifies the name of the user data file.

To remove networks, use the openstack net-delete command. If some of the networks remain, use OpenStack Horizon to manually remove them.
The vNIOS for OpenStack instance automatically spins up after the openstack server create command is run.

...

  1. Sign in to OpenStack and compose a user data file for each Grid member you plan to join the Grid. For a sample Grid member user data file, see the Sample User data File for Grid Members section.

  2. Run the openstack server create command in OpenStack to spin up each Grid member VM, as follows:

    • For Red Hat OpenStack Platform, use the command:
      openstack server create <instance_name> --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> --nic port-id=<lan2_port_id> --user-data <user_data_file_name>

    • For Ubuntu, use the command:
      openstack server create <instance_name> --config-drive True --flavor <flavor_name> --image <image_name> --network <network_name_mgmt> --network <network_name_lan1> --network <network_name_ha> --network <network_name_lan2> --user-data <user_data_file_name>
      For information about user data files, see the Defining User Data Settings for vNIOS Instances section.
      Parameter description:

      • config-drive determines whether to use the virtual CD-ROM drive transport mechanism for the user data file. Set it to True to enable the use of virtual drive.

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

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

      • nic port-id specifies the port ID of the network interface.

      • network specifies the name of the network in which the port must reside.

      • user-data specifies the name of the user data file.

After you run the openstack server create command and launch the vNIOS for OpenStack instances, the Grid members automatically join the Grid. Further communications with the instance take place through Grid Manager and the NIOS CLI.

...