Skip to main content

VMware vSphere Requirements

This page covers the VMware-specific requirements needed before StackConsole can connect CMP to your VMware vCenter environment. Complete the common prerequisites first.

warning

CMP supports VMware vSphere version 8.0.1.0 and above. Older versions are not supported.


1. Access for StackConsole Team​

The StackConsole team needs access to your vCenter Dashboard UI. Choose one:

Option A — VPN Access (preferred)

Provide VPN access to:

NameEmail
Satish Londhesatish.londhe@stackconsole.io
Abhishek Burkuleabhishek.burkule@stackconsole.io

Option B — IP Whitelist

Whitelist our jump server:

14.192.19.227

Additionally, provide at least read-only vCenter credentials for the initial assessment:

FieldValue
vCenter URL
Username (read-only)
Password

2. CMP VM → vCenter Connectivity​

From all CMP VMs, access to vCenter is required. Private access is recommended for production.

Communication between the CMP VM and vCenter must be allowed on the configured API ports (typically 443).


3. Initial vCenter Structure (Required Immediately)​

CMP uses the vCenter API for all VM operations and requires a specific folder structure to exist before configuration begins.

3.1 Datacenter & Folder Structure​

🔴 Create a CMP Root Folder of type "VM and Template Folder" at the Datacenter level:

  • Folder name: CMP-ROOT-FOLDER (or any agreed name — share the exact name with the StackConsole team)
  • CMP will automatically create per-customer subfolders inside this root folder at onboarding time

3.2 Host Cluster​

  • A Host Cluster is required for VM deployment
  • Multiple clusters are supported — each can be mapped to a CMP compute category
  • 🔴 DRS (Distributed Resource Scheduler) must be enabled on all host clusters used by CMP

3.3 Datastore Cluster / Datastore Pod​

  • A Datastore Cluster is required for VM storage
  • Multiple clusters are supported — each can be mapped to a CMP storage category
  • 🔴 Storage DRS must be enabled on all datastore clusters used by CMP

3.4 VM Template Folder​

  • All VM templates must be stored in a dedicated folder in vCenter
  • Share the template folder path with the StackConsole team

4. Required vCenter API User & Permissions​

CMP requires two user accounts for vCenter:

UserPurposeAccess Level
Dashboard userUI access for the StackConsole team during setupRead-only (minimum)
API userUsed by CMP for all VM operationsCustom role with the permissions below

Minimum Required vCenter Permissions for the API User​

Create a custom role in vCenter with the following permissions and assign it to the CMP API user:

Reference: VMware Privileges Documentation (vSphere 8.0)

#Permission
1Datacenter.View
2Folder.Browse
3Folder.Inventory
4Folder.View
5Folder.Create
6System.Read
7System.View
8Datastore.FileManagement
9Datastore.Browse
10VirtualMachine.Inventory.Create
11VirtualMachine.Interact.PowerOn
12VirtualMachine.Interact.PowerOff
13VirtualMachine.Interact.ConsoleInteract
14VirtualMachine.Config.AddRemoveDevice
15VirtualMachine.Config.CPUCount
16VirtualMachine.Config.Memory
17VirtualMachine.Config.Rename
18VirtualMachine.State.CreateSnapshot
19VirtualMachine.State.RemoveSnapshot
20VirtualMachine.State.RevertToSnapshot
21VirtualMachine.Config.RemoveDisk
22VirtualMachine.Config.AddExistingDisk
23VirtualMachine.Config.AddNewDisk
24VirtualMachine.Config.DiskExtend
25VirtualMachine.Config.ResetGuestInfo
26Performance.View
27Performance.Manage
28Network.View
29Task.List
30Task.Read

Provide the API user credentials:

FieldValue
vCenter URL
API Username
API Password
info

We recommend creating a dedicated CMP service account in vCenter with only these permissions. This is a security best practice and ensures CMP cannot perform actions outside its intended scope.


5. VM Console Access — ESXi Port Requirements​

For VM console access via CMP, the CMP Backend server must be able to reach each ESXi host on the following ports (using ESXi private IPs):

PortProtocolPurpose
ICMP—Basic connectivity check (ping)
80TCPHTTP traffic
443TCPHTTPS / secure traffic
902TCP + UDPVMware console traffic (VMRC)
903TCPAdditional VMware remote console port
warning

vCenter returns direct URLs to the ESXi host for console sessions — not proxied through vCenter. This means the CMP Backend server needs direct network access to all ESXi hosts, not just to vCenter.

Enable access via one of:

  • VPN from CMP server to ESXi hosts, or
  • Whitelist the CMP server IP on ESXi host firewalls

References:


6. VM Templates​

To provision VMs from CMP, OS templates must meet specific requirements. Refer to the VMware Template Requirements document for the complete specification.

Key points:

  • Templates must be stored in the dedicated VM Template Folder (see section 3.4)
  • Templates must support password reset and SSH key injection
  • Templates must be cloud-init compatible

7. Supported Features​

CMP supports the following VMware vCenter operations:

VM Lifecycle​

  • Create, Start, Stop, Reboot, Reset VM
  • VM Console Access (VNC/HTML5)
  • Change VM Name
  • Reset VM Username & Password

Resource Management​

  • Upgrade CPU, Memory, and Storage

Snapshot Management​

  • Create, Revert, Delete Snapshots

Disk Management​

  • Create new disk
  • Attach / Detach disk
  • Extend disk size
  • Delete disk

Network & IP Management​

  • VLAN Management (CMP tracks and manages VLANs per customer)
  • Private IP Pool Management (automatic allocation/release)

Import​

  • Import existing VMware VMs into CMP for centralized management

8. VMware Checklist​

Complete before scheduling the installation:

  • VPN access granted or jump server IP whitelisted
  • Read-only vCenter credentials provided
  • API user created with all 30 required permissions
  • API user credentials provided
  • CMP-ROOT-FOLDER created in vCenter
  • At least one Host Cluster with DRS enabled
  • At least one Datastore Cluster with Storage DRS enabled
  • VM Template Folder path confirmed
  • OS templates prepared per template requirements
  • ESXi ports 80, 443, 902, 903 accessible from CMP Backend server
  • CMP VMs provisioned with required specs (see common prerequisites)
  • Domain, SSL, SMTP provided