A painted rooftop machine deck at dusk with rows of compact server nodes in weatherproof cabinets above a hazy city

XCP-ng and Xen Orchestra: the right layer, the right guest

Two 2501 specialties cover XCP-ng and XenServer: one from a root shell in dom0, one through Xen Orchestra’s API from a management host. They diagnose on their own and say which layer each figure comes from; shutting down or reconfiguring a guest is written out for a person to approve.

Updated

Specialty

XCP-ng and Xen Orchestra Operators

Works on
  • XCP-ng
  • XenServer
  • Xen Orchestra
  • xe
  • xentop
  • xo-cli
Default mode
May fix, within its brief

What the XCP-ng and Xen Orchestra Operators cover

The load you see when you log in to an XCP-ng host is the control domain’s, not the machine’s. Restarting the biggest guest on that number is how the wrong service goes down. The XCP-ng operators read both layers before they conclude.

Two ways in
A root shell in dom0 with xe, xentop and xl, or Xen Orchestra’s API with a scoped token and no SSH on the hypervisor.
dom0 is not the host
Guest CPU does not show in dom0’s figures, so it reads both core counts and says which layer each figure describes.
Reversible fixes only
It may restart an auxiliary XAPI service that is down without touching guests, end a stray process in dom0, or start a guest the ticket asks for.
The management plane is off limits
Management appliances on the pool are untouchable, and it never restarts the toolstack or reboots the host.
How it reaches your systems
The CLI operator works from a root shell in dom0; 2501 reaches Unix hosts over SSH. The Xen Orchestra operator works from a management host through the API, with no shell or SSH on the hypervisor.
Default mode: may fix, within its brief
May diagnose and make reversible fixes by default, such as restarting an auxiliary XAPI service that is down. Shutting down, rebooting or reconfiguring a guest, and restarting the toolstack, are gated: the agent writes out the command for a person to approve. Set it investigate-only, or tag a ticket @2501:investigate, and it runs no write command at all.

Problems it handles

One block per kind of ticket: what the agent checks, what it may do, and what it leaves to your team.

Problem 01

Which guest is making my XCP-ng host busy?#

It ranks the domains with xentop, then names the guest, the layer the load lives in, whether it is a spike or sustained, and its share of the physical host. It never quotes dom0’s load as the hypervisor’s.

It checks

  • dom0’s core count and the physical host’s.
  • Each domain’s load, ranked with xentop.

It may

  • End a process in dom0 it can prove is a stray load generator.

It leaves to people

  • Shutting down, rebooting or reconfiguring the guest.
  • Fixes inside the guest: it stops at the guest boundary.

Problem 02

What does 2501 do when an XCP-ng guest is halted?#

It reads the guest’s power state, the task list and the XAPI log around the time it stopped, then starts it when the ticket asks.

It checks

  • Power state and the task list.
  • The XAPI log around the stop time.

It may

  • Start the guest the ticket asks to bring back up.

It leaves to people

  • Resetting the power state or rebooting a guest.
  • Management appliances on the pool.

Questions about XCP-ng and Xen Orchestra Operators

Have a ticket of this kind that is not answered here?Book a demo

Shell in dom0 or Xen Orchestra API: which one?

The CLI operator when agents may have a root shell in dom0, the Xen Orchestra operator when they must reach the hypervisor only through Xen Orchestra’s API.

Will it restart the toolstack?

No. A toolstack restart drops every XAPI session, so it is a person’s decision.

Next step

Bring your busiest XCP-ng pool

We will show which figures the operators would read first, and what they would hand back for approval.