Versions Compared

Key

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

To deploy host a NIOS-X server in the VMware vCenter using ovftool, complete the following:

  1. Log in to the Cloud Services Infoblox Portal.
  2. Go to to Configure > Administration -Downloads.

  3. On the Downloads page, click Download Package for OVA in the On-Prem Hoststhe NIOS-X (BloxOne) Servers section.Choose an applicable package from the drop-down menu

  4. The Infoblox Portal downloads the .ova file to your system. Note that if you are deploying the a NIOS-X server for Data Connector host, choose the high-capacity 750 GB OVA package.Click Download Package for VM, and then save the package on your systemincrease the disk size of the NIOS-X server to 750 GB.For information on how to change the disk size of your NIOS-X server, see Increasing Disk Size for NIOS-X Servers in OVA.
  5. Prepare the YML and JSON files for the host the NIOS-X server deployment. You can either download the sample YML and JSON templates and modify them, or create your own files. 
    For instructions about how to modify the YML and JSON files and to download sample YML and JSON templates, see Appendix B: YML and JSON Templates.
  6. After you have updated the YML and JSON templates or created new files, open any Linux terminal and use the VMware OVF Tool to execute the following commands to encode the cloud configuration for user data in base64 format:
    For Linux systems:
     userdata=$(cat userdata_file | base64 -w0)
     metadata=$(cat metadata_file)

    For Mac systems:

     userdata=$(cat userdata_file | base64)
     metadata=$(cat metadata_file)

    where userdata_file and metadata_file are the actual file names.

  7. Optionally, if you want to add multiple network interfaces to the host NIOS-X server, you can modify the VMX configuration, as follows. For information about multiple interfaces, see Multiple Network Interfaces for HostsServers.
    ovftool --allowExtraConfig bloxone_vA.B.C.ova bloxone_dual_nics.vmx

    Then, add the required interface configuration to the VMX configuration: echo 'ethernet0.networkName = "wan"' >> bloxone_dual_nics.vmx echo 'ethernet1.networkName = "lan"' >> bloxone_dual_nics.vmx echo 'ethernet1.present = "true"' >> bloxone_dual_nics.vmx echo 'ethernet1.virtualDev = "vmxnet3"' >> bloxone_dual_nics.vmx echo 'ethernet1.connectionType = "bridged"' >> bloxone_dual_nics.vmx echo 'ethernet1.startConnected = "true"' >> bloxone_dual_nics.vmx echo 'ethernet1.addressType = "generated"' >> bloxone_dual_nics.vmx

    After you modify the VMX configuration, execute the following commands:
    ovftool "--net:wan=mgmt-nw" "--net:lan=local-nw" \
        --allowAllExtraConfig \
        --extraConfig:guestinfo.cloudinit.userdata="${userdata}" \
        --extraConfig:guestinfo.cloudinit.metadata="${metadata}" \
        ... \ # other required args
        --sourceType=VMX bloxone_dual_nics.vmx \
        "vi://${VCENTER_USER}:${VCENTER_PASS}@${VCENTER_HOST}/<Datacenter>/host/<Cluster>"
    You can pack the image back to OVA by executing the following command:
    ovftool --allowExtraConfig bloxone_dual_nics.vmx bloxone_vA.B.C-dual_nics.ov

    If you do not provide metadata for the interfaces, only the first Ethernet interface is enabled with the DHCP mode. You must add interface configuration using the metadata network-config.
  8. To deploy the host NIOS-X server, execute the following commands:
     ovftool --acceptAllEulas --skipManifestCheck --allowAllExtraConfig --sourceType=OVA
     --powerOn --datastore="<datastore name>" --name="<name for the proxy>"
     --net:"lan"="<standard switch ID>"
     --extraConfig:guestinfo.cloudinit.userdata="${userdata}"
     --extraConfig:guestinfo.cloudinit.metadata="${metadata}" ngp_onprem_vx.x.xx.ova
     vi://<username>:<password>@<ESXi server IP>

    where
    datastore name = The name of your datastore on which you want to deploy the host NIOS-X server.
    name for the proxy = The name of the host NIOS-X server.
    standard switch ID = The name of the vSphere standard switch that provides connectivity between the
    host and NIOS-X server and external networks.
    ngp_onprem_vx.x.xx.ova = The name of the host the NIOS-X server OVA file; x.x.xx is the version number of this file.
    username password = This is the username and password for logging in to the ESXi server.
    ESXi server IP = The IP address of the ESXi server on which you have configured the VM for deploying
    the  host NIOS-X server.

    You have now successfully deployed  hostdeployed the NIOS-X server. It might take a couple minutes for the proxy and BloxOne Cloud to connect. Once connected, the proxy starts collecting information from your on-premises devices and transmits the data to BloxOne Cloud.
  9. For host the NIOS-X server to function properly in OVA deployments on ESXi servers, ensure that you enable the Synchronize guest time with host option during the deployment and that your ESXi host your NIOS-X server is synchronized with the NTP server. If you do not select the Synchronize guest time with host option (or if this option is disabled), the host NIOS-X server synchronizes with the Ubuntu NTP servers: ntp.ubuntu.com and ubuntu.pool.ntp.org. When you disable this option, ensure that you open the UDP 123 port for time synchronization with the Ubuntu NTP servers. For more information, see Synchronizing Time on the ESXi Servers.

  10. To check the current status of the host NIOS-X server, you can go to Manage > Hoststo Configure > Servers in the Cloud Services Infoblox Portal. For more information about the host server status, see Viewing Host Status.