Hostimor Hosting & CloudDocumentation
Back to website Support centre
HOSTIMOR | VMWARE ESXI MANAGEMENT

Smart placement and hostname template

Place each new order on the best ESXi host and datastore by the hosts’ live capacity and your rules, and build server names from a template (2.0).

Turning it on and candidate servers

On the product’s Module tab set Server Selection = Smart placement; the default is Leave it to WISECP. For a single service, the same setting on the service’s Settings tab overrides the product.

Candidates (2.1): if the product (or service) uses a WISECP server group, every active server of the group is a candidate, even across settings profiles. Each candidate is judged with its own profile: its own IPv4 pool, templates and network; a host without as many free addresses as the plan’s IPv4 count is skipped. Without a group, the candidates are the servers in the settings profile of the server WISECP gave the order to: same network, shared IPv4 pool and templates. A group that spans several profiles has its own card on the Placement page; the order and the selection method come from there.

Leave it to WISECP: skip unsuitable server (2.1)

WISECP picks a server from a server group by the number of services alone (least full or in order); it does not look at free IPv4 addresses, so it may give an order to a host whose pool is empty. When the product is set to Leave it to WISECP and uses a server group, Skip unsuitable server on the product’s Module tab (on by default) looks at the server WISECP chose right before provisioning, before anything is created. The server counts as unable to take the order when it is closed to new orders in Placement, its maximum accounts are reached, it is unreachable or in maintenance mode, it has too few free IPv4 addresses for the plan, or it lacks the port group in the product’s Network field. The order then moves to the fitting group member WISECP would choose next (the service history says “server changed”).

  • A server you chose by hand, or one outside the group, is never changed.
  • When WISECP rebuilds the VM on a plan change, the server is not changed.
  • If no server of the group fits, provisioning stops with the reasons before anything is copied.

Placement › Simulation shows what happens in both modes: which server WISECP gives the order to, whether that server can take it and, if not, which server the service moves to.

Rules

Management page → Placement → Edit on the server’s row:

RuleMeaning
Use for new ordersWhen off, no new VM is set up on this server (to empty a host before maintenance).
CPU / RAM / disk to keep freeAt least this much must stay free on the host and datastore after the new VM.
Maximum VMsUpper limit of services on the server.
vCPU per core, RAM allocation (%), disk allocation (%)Oversell limits; 0 = no limit.
Datastore choice and allowed datastoresEmptiest, in order or random; an empty list = all.

The profile’s card sets the priority order and the method (Best capacity or Fill in priority order).

What happens at set-up

  • Each candidate is measured over the ESXi API right before set-up; a host that does not answer or is in maintenance mode is skipped.
  • If the chosen host lacks the order’s template, the next suitable host is used.
  • If the chosen server is another record, the service moves to it before anything is created; the IP comes from that server’s pool and the VM goes on the chosen datastore.
  • Simultaneous orders are decided one after another, and a decision holds room on the host until the VM exists.
  • The decision is written to Module Logs as placement.

If no host fits, the order stops before anything is copied, with an error giving each host’s reason. Simulation shows which host a product’s new server would go to right now and each host’s score; it creates nothing. Placement happens only at the first set-up.

Hostname template

The product’s Hostname Template is used when the customer gives no hostname; when empty, vps<service no>. Example: {ip_dash}.server.example.com → 192-0-2-10.server.example.com.

PlaceholderValue
{service}Service number
{ip} / {ip_dash}Primary IPv4 address / with dashes
{random4}4 random letters / digits
{domain}The order’s domain

The first label must contain {service}, {ip}, {ip_dash} or {random4}, and the result must be a full domain name. A template that breaks these rules is kept with the reason shown in the product form and is not used until it is fixed.

Was this guide helpful?See the support steps →