Versions Compared

Key

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

To deploy an on-prem host in VMware vCenter by using ovftool, do the following:

...

 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 file names.

...

ovftool --allowExtraConfig bloxone_dual_nics.vmx bloxone_vA.B.C-dual_nics.ova
Note
titleNote

If you do not provide metadata for the interfaces, only the first Ethernet interface is enabled with the DHCP mode. You must add an interface configuration by using the metadata network-config.

...

 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 is the name of your datastore on which you want to deploy the on-prem host.
name for the proxy is the name of the on-prem host.
standard switch ID is the name of the vSphere standard switch that allows the on-prem host and external networks to connect.
ngp_onprem_vx.x.xx.ova is the name of the on-prem host OVA file, where x.x.xx is the version number of this file.
username password is the username and password for the ESXi server.
ESXi server IP is the IP address of the ESXi server on which you have configured the VM for deploying
the on-prem host.

...

You have now successfully deployed the on-prem host. It might take a few minutes for the proxy and BloxOne Threat Defense Cloud to connect. Once connected, the proxy starts collecting information from your on-prem devices and transmitting the data to BloxOne Threat Defense Cloud.

...

For the on-prem host to function properly in OVA deployments on ESXi servers, be sure that you have enabled the Synchronize guest time with host option during the deployment and that your ESXi host is synchronized with the NTP server. If you do not select the Synchronize guest time with host option, or if it is disabled, the on-prem host synchronizes with the Ubuntu NTP servers ntp.ubuntu.com and ubuntu.pool.ntp.org. When you disable this option, be sure that you have opened the UDP 123 port for time synchronization with the servers. For more information, see /wiki/spaces/BloxOne/pages/9080626.

...

Include Page
BloxOneCloud:vCenter OVA Deployment to ESXi Using ovftool
BloxOneCloud:vCenter OVA Deployment to ESXi Using ovftool