Actions

FreeSBC:Cloud:VmWare Launching an Instance

Launching an instance using ESXi web interface

  1. Log in using the Vmware web interface
  2. Select 'Virtual Machines' from the left menu
    Vmware web virtual machines.png
  3. Click on 'Create / Register VM'
    Vmware web create.png
  4. Select 'Deploy a virtual machine from an OVF or OVA file' then press 'next'
    Vmware web select type.png
  5. Enter the name. Drag the file or browse to the location of the FreeSBC-SW image obtained from TelcoBridges. 'Click 'Next'
    Vmware web browse ova.png
  6. Select a datastore (if more than one are available) then click 'Next'
    Vmware web select storage.png
  7. Choose your network. Select 'Thick' disk provisioning. Uncheck 'Power on automatically'. Click 'Next'
    Vmware web deployment options.png
  8. Click 'Next'
    Vmware web ready to complete.png
  9. Do not refresh your browser and wait until the machine is deployed.
    Vmware web installing.png
  10. Once deployed, edit the VM
    Vmware web edit settings.png
  11. Edit network adapters to connect on proper networks. Make sure that at least one of the adapter connects to the private management network of the setup from which WebPortal access will be granted. Do not press the 'Save' button yet.
    Vmware web network.png
  12. Click on 'CPU' to open the details. Set 'Shares' to 'high', enter the maximum number of MHz corresponding to your number of CPU cores in 'Reservation' (See Calculating Reserved CPU) and make sure the 'Unlimited' option is selected. Do not press the 'Save' button yet.
    Vmware web cpu.png
  13. Open the 'Memory' details and check-mark the 'Reserve all guest memory (All locked)' option, set Limit to 'Unlimited' and Shares to 'High'. Do not press the 'Save' button yet.
    Vmware web memory.png
  14. Open the 'Hard disk 1' details and set the 'Shares' to 'High'. Do not press the 'Save' button yet.
    Vmware web disk res.png
  15. Click on the second tab 'VM Options', expand 'Advanced' and set 'Latency Sensitivity' to 'High' then press the 'Save' button.
    Vmware web latency.png
  16. Back to the main screen, click on "Power On" to start the new VM.
    Vmware web poweron.png
  17. Once the VM had completely booted, its assigned DHCP IPs will be displayed in General Information -> Networking. Note this IP address to access the Web Portal configuration interface later.
    Vmware web ip.png

Calculating Reserved CPU MHz

To get the MHz per core, you need to figure out the total number of available MHz that your system has and divide by the total number of cores.

  1. Select 'Host' on the left menu
    Vmware web host.png
  2. Take note of the number of cores this system has. (In this example: 12) Also take a look at the 'CAPACITY', but is is not precise down to the MHz (In this example 36.7 GHz)
    Vmware web total cpus.png
  3. When editing the VM, in the disk details, expand the 'Reservation' combobox. There should be a number in exact MHz for the maximum capacity of the system (In this example: 36708)
    Vmware web total mhz.png
  4. Calculate your VM CPU MHz Reservation requirement
mhz_per_core = total_system_mhz / total_system_cpus (In this example: 3059 = 36708 / 12 )
vm_reserved_mhz = vm_cpus * mhz_per_core (In this example: 12236 = 3059 * 4 )