Upgrading a Multicore vSRX with VMware
Starting in Junos OS Release 15.1X49-70 and Junos OS Release 17.3R1, you can scale the performance and capacity of a vSRX instance by increasing the number of vCPUs and the amount of vRAM allocated to the vSRX. See Requirements for vSRX on VMware for the software requirement specifications of a vSRX VM.
You cannot scale down the number of vCPUs or decrease the amount of vRAM for an existing vSRX VM.
Power Down vSRX VM with VMware vSphere Web Client
In situations where you want to modify the vSRX VM XML file, you need to completely shut down vSRX and the associated VM.
To gracefully shutdown the vSRX instance with VMware vSphere Web Client:
- Enter the vCenter server hostname or address in your browser (https://<ipaddress>:9443) to access the vSphere Web Client, and log in to the vCenter server with your credentials.
- Check the vSRX VM you want to power off.
- Select Open Console to open a console window to the vSRX VM.
- From the vSRX console, reboot the vSRX instance.
vsrx# request system power-off.
Upgrading a Multicore vSRX with VMware vSphere Web Client
You must power down the vSRX VM before you can update the vCPU and vRAM values for the VM.
To scale up the vSRX VM to a higher number of vCPUs or to an increased amount of vRAM:
- On VMware vSphere Web Client, Select Edit Settings to open the powered down vSRX VM to open the virtual machine details window.
- Select Memory and set the vRAM to the desired size.
- Select Processor and set the number of vCPUs. Click OK.
- Click Power On. The VM manager launches the vSRX VM with the new vCPU and vRAM settings.
vSRX scales down to the closest supported value if the vCPU or vRAM settings do not match what is currently available.
Optimizing Performance of vSRX
To optimize performance of vSRX on VMware:
For memory, select the NUMA node that line cards connect to.
For the CPU:
Select CPUs on the selected NUMA node.
Select n sockets and each socket has one core.
Reserve the CPU resource.
For the TX thread:
Configure a separate ESXi transmit thread per vNIC.
Place transmit threads on the same NUMA node.
For vNICs, use either 2 vNICs or 4 vNICs if you want to scale the performance of the vSRX VM.