How to restart toolstack on host from CLI, and does it have any effect on running jobs

How to restart toolstack on host from CLI, and does it have any effect on running jobs

book

Article ID: CTX211929

calendar_today

Updated On:

Description

How to restart toolstack on host from CLI, and does it have any effect on running jobs


Instructions

Restarting the xapi service will have no impact on the running virtual machines.

The xapi service is a user space process in Dom0. You may see a disconnect of the hosts from the XenCenter until the xapi service is completely restarted. If you have any task running, it will be cancelled if you restart xapi. So the best way to restart xapi or toolstack on XenServer is by making sure what tasks are running. You can run the below command to check the tasks running on each XenServer in the pool

#xe task-list

Once you verify that there are no critical tasks running (live migration, start/shutdown of machine, copy etc.). We can run the toolstack restart command.

#xe-toolstack-restart