VM.
Login as user root on VMware vSphere client.
- Enter VM Ware host machine IP Address.
- Enter your VMware vSphere administrator user name.
- Enter your VMware vSphere administrator password.
Caption |
---|
0 | Figure |
---|
1 | VMware VSphere Client Login |
---|
|
|
The vSphere Client main window appears.
Include Page |
---|
| Screenshot_disclaimer |
---|
| Screenshot_disclaimer |
---|
|
In VMware vSphere Client main window, click Getting Started tab. Click Create a new virtual machine.
Caption |
---|
0 | Figure |
---|
1 | New Virtual Machine Main |
---|
|
|
Select Custom in Configuration window, and click Next. Provide a Name for your
. The name can be up to 80 characters. Click Next. Caption |
---|
0 | Figure |
---|
1 | Custom Configuration |
---|
|
|
From the Storage screen, select a datastore1 and click Next. Ensure datastore has at least 100 GB or more free space. This datastore is required to store all log-related data files.
Caption |
---|
|
|
Select Virtual Machine Version: 11. Refer to For VMware for more information.
Caption |
---|
0 | Figure |
---|
1 | Selecting Virtual Machine Version |
---|
|
|
From Guest Operating System screen, make the following selections, and then click Next:
Select Linux as the Guest Operating System.
Select Debian GNU/Linux 9 (64-bit) from Version drop-down menu.
Caption |
---|
0 | Figure |
---|
1 | Guest Operating System |
---|
|
|
From CPUs screen, make following selections, and click Next. (In the following screenshot example, 4 cores are chosen). For CPU, memory configuration details, see For VMware.
Number of Virtual sockets: 1
Number of cores per virtual socket: 4 or above (depending on whether all virtual NICs are used)
Caption |
---|
0 | Figure |
---|
1 | Creating Virtual CPUs |
---|
|
|
From the Memory screen, assign memory for the virtual machine, and then click Next. For fewer than 6000 calls, the minimum reservation must be 10 GB. Anything more than 6000 calls require at least 14GB vRAM. Refer to SBC SWe Performance Metrics for more information.
Caption |
---|
|
|
Define Virtual Machine network interface connections (NICs) using following options from the drop-down menus. Then click Next to continue.
Caption |
---|
|
|
Select first network adapter (NIC 1:) for management interface. For example, the label can be MGMT which is created using Configuring vNetwork Standard Switches (vSwitches).
Select second network adapter (NIC 2:) for HA interface. For example, the label can be HA.
Info |
---|
|
These network adapters and labels are already created on the ESX host server. If you are installing for the first time on new ESXi host server, these network adapters and corresponding labels (MGMT, HA) needs to be created. For details, see Configuring vNetwork Standard Switches (vSwitches). The PKT0, and PKT1 is created using the PCI devices. Refer step 14 through 19 for guidance. |
Warning |
---|
Make sure that Network Adapters are mapped exactly in the following order as shown below: - First network adapter (Network Adapter 1) for management interface
- Second network adapter (Network Adapter 2) for high availability
|
Select Adapter type as VMXNET 3 for both MGMT and HA interfaces.
Ensure all Connect at Power On check boxes are checked. This must be Power On always.
From the SCSI Controller screen, select LSI Logic Parallel as the SCSI Controller option, then click Next to continue.
Caption |
---|
0 | Figure |
---|
1 | Selecting SCSI Controller |
---|
|
|
From the Select a Disk screen, select Create a new virtual disk option, then click Next to continue.
From the Create a Disk screen, make the following selections:
Caption |
---|
0 | Figure |
---|
1 | Selecting Disk Provisioning Option |
---|
|
|
In Capacity section, assign a minimum of 100 GB or more disk space.
In Disk Provisioning section, choose only Thick Provisioning Eager Zeroed option:
Thick Provision Lazy Zeroed - Allocates the requested hard disk (virtual) during the VM creation. This type of disk pre-allocates and dedicates a pre-defined amount of a space for a virtual machine's disk operations, but it does not write zeroes to a virtual machine file system block until the first write within that region at run time.
Thick Provision Eager Zeroed(recommended) - Pre-allocates and dedicates a user defined amount of space for a VM disk operations.
Thin Provision - Creates virtual hard disk during runtime (on write operations). This provides more optimal hard disk usage, but it has some performance impact until it creates maximum requested virtual hard disk.
In Location section, select Specify a datastore or datastore cluster and click Browse... Select the datastore or NFS where ISO image is available.
Caption |
---|
0 | Figure |
---|
1 | Specifying Datastore |
---|
|
|
Click Next to continue.
From the Advanced Options screen, keep the default value SCSI (0:0) and click Next. The default virtual device node is SCSI (0:0).
Caption |
---|
0 | Figure |
---|
1 | Selecting Advance Option |
---|
|
|
From the summary screen, review your VM settings and select the Edit the virtual machine settings before completion option. Click Continue. To go back and change the settings, click Back.
Caption |
---|
0 | Figure |
---|
1 | Ready to Complete |
---|
|
|
Click Add to continue the configuration on PKT0 and PKT1.
Caption |
---|
0 | Figure |
---|
1 | Adding the device |
---|
|
|
Choose the type of device to add and click Next. For Direct I/O interface, you must select the PCI device.
Caption |
---|
0 | Figure |
---|
1 | Selecting PCI Device |
---|
|
|
Select the physical PCI/PCI2 device to connect the packet interface PKT0 and click Next.
Caption |
---|
0 | Figure |
---|
1 | Specifying the PCI/PCIe Device |
---|
|
|
- PKT Port NUMA Affinity: To find and modify PKT port NUMA affinity, perform the following steps:
Find the PKT port NUMA affinity by executing the following command on the EXSi host:
Code Block |
---|
vsish -e get /net/pNics/<PKT port name - vmnicX>/properties | grep "NUMA" |
- Update VM Numa affinity to be same as NIC NUMA affinity:
Edit Settings -> VM options -> Configuration Parameters -> Add Parameters.
Caption |
---|
0 | Figure |
---|
1 | Edit Configuration Settings |
---|
|
|
Add the following parameters:
Code Block |
---|
numa.nodeAffinity’ = 0 or 1 (based on PKT port NIC affinity)
numa.autosize.once = FALSE |
Caption |
---|
|
|
Click Finish.
Caption |
---|
0 | Figure |
---|
1 | Finalizing the Device Details |
---|
|
|
Repeat the step 14 through 17 to add the physical device to connect the PKT1 interface.
Info |
---|
|
As it is a Direct I/O, the same Passthrough device must not be used by a multiple VM instances. You must select the different PCI/PCIe device in step 16 for the PKT1 interface. |
After adding the PCI devices for both PKT0 and PKT1 interfaces, click Finish to complete.
Caption |
---|
0 | Figure |
---|
1 | Completing the Task |
---|
|
|
Info |
---|
|
All the NIC ports of the same NIC card has to be fully configured as either pass-through devices or for virtual networking (vSwitches). This is a VMware ESXi limitation/restriction. |
The virtual machine is created under host IP address with the specified configuration. See the below example screen.
Caption |
---|
|
|
This creates the virtual machine.
- After VM is created, you must manually enable autostart and autostop of the Virtual Machine. Enabling the autostop/autostart of Virtual Machine is useful, in scenarios where power is lost and later regained. This setting of VM helps autostart of VMs when the host machine is powered ON.
To autostart the VM, perform the following steps:Select the host IP address from left-pane and click Configuration Tab. The Virtual Machine Startup and Shutdown section is displayed.
Caption |
---|
0 | Figure |
---|
1 | Virtual Machine Startup/Shutdown |
---|
3 | Virtual Machine Startup/Shutdown |
---|
|
|
Click Properties link displayed towards the top-right window.
In System Settings pane, you must ensure to select the Allow virtual machine to start and stop automatically with the system check box. By default it is selected.
Caption |
---|
0 | Figure |
---|
1 | Enabling Auto Startup and Auto Shutdown of VM |
---|
3 | Enabling Auto Startup and Auto Shutdown of VM |
---|
|
|
In Startup Order pane, select the VM, which you want to automatically start and click Move Up.
The selected VM is displayed underneath Automatic Startup.
Caption |
---|
0 | Figure |
---|
1 | Moving VM to AutoStartup |
---|
3 | Moving VM to AutoStartup |
---|
|
|
- Click OK. This completes the autostartup and autoshutdown settings for the Virtual Machine.