Create and Deploy on VMware®
You can deploy Oracle Communications Session Delivery products on ESXI hypervisors running VMware 6. For general deployment tasks, from hardware installation to VM resource management, see the VMware documentation.
Before You Begin:
- Confirm that the VMware version 6 Hypervisor is installed on an appropriate network server.
- Confirm that the server has 40GB of space for this installation.
Note:
The following procedure describes a typical deployment. The system may display different screens, depending on the deployment.Detail on Oracle Communications Session Delivery product-specific setup steps is shown below.
- From the VMWare ESXi Host page, click Create/Register VM.
- On the Select Creation Type screen, select Deploy a virtual machine from an OVF or OVA file and click Next.
- On the Select OVF and VMDK Files
screen:
- Enter a name for the virtual machine.
- Browse to a target .ova file.
- Click Next.
- On the Select Storage screen, click Next.
- On the License Agreements screen, click I agree and click Next.
- On the Deployment Options
screen:
- On the Additional Settings screen:
- On the Ready to Complete screen, review the selections, make edits if necessary, and click Finish.
Optimize for VMware
Change these VMware settings to optimize your SBC for performance.
Set VM Compatibility
If you upgrade your hypervisor, you need to manually upgrade the VM compatibility of each previously deployed SBC to match the version of your host.
- Shutdown the VM.
- Select .
- Select the ESXi version that matches the version of the host.
- Click Upgrade.
CPU Pinning
Note:
CPU pinning does not work where vMotion determines VM placement in VMware clusters.- Determine the NUMA node assicated with the NIC card used for media
traffic.
esxcfg-info -w
- Select .
- Set Cores per Socket to the number of CPUs to assign to the VM.
- Set Reservation to the number of CPUs
multiplied by the clock speed.
For example, if the clock speed is 2095 MHz and 8 CPUs are assigned to the VM, reserve 16760 MHz.
Note:
Use show platform cpu on your SBC to display the CPU clock speed. - If your hardware supports IOMMU, set IOMMU to Expose IOMMU to the guest OS.
- Under Sheduling Affinity, enter the physical CPU numbers assiciated
with the identified NUMA node as comma-seperated numbers.
- On a hyperthreaded host, use the even numbered CPUs for your SBC VM.
- Make sure the assigned core numbers, including sibling
cores, are not used by other VMs.
You can do this by explicitly assigning the remaining CPUs to other VMs.
For example, if you have 96 available CPUs available, your entry might look like this:80,82,84,86,88,90,92,94
Memory Pinning
Memory pinning reservations specify the guaranteed minimum allocation for a VM.
- Select .
- Set Reservations to the maximum allocated
amount.
By default the system reserves only 25% of the allocated amount.
Virtual NIC Settings
By default, all interfaces use the recommended VmxNet3 driver.
Virtual NIC Settings for Media Interfaces
ESXi uses one transmit thread regardless of the number of vNICs associated with a VM. To achieve significant parallelism for high I/O workloads, you can configure a VM to use one transmit thread per vNIC. Enabling this increases network throughput at the cost of higher CPU usage.
- Select your VM, right-click, and then select .
- Select Edit configuration and then Add parameter.
- Add a parameter (or edit an existing parameter) called
ethernetX.ctxPerDev
(where the capitalX
is the number of the vNIC) and set its value to 1.For example, if vNICs 4 and 5 are used as media ports, add the parameters ethernet4.ctxPerDev and ethernet5.ctxPerDev and set each value to 1.
- Click Save.
Latency Sensitivity
For VMs in paravirtualized mode, the Latency Sensitivity parameter should be set to Normal.
Managing Snapshots
You can use snapshots to preserve the state and data of your SBC prior to upgrading. This allows you to revert back to the previous condition if the upgrade encounters a problem. See VMware's documentation for Using Snapshots to Manage Virtual Machines