O'Reilly logo

Linux in a Nutshell, 6th Edition by Robert Love, Stephen Figgins, Ellen Siever, Arnold Robbins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing Virtual Systems

While hypervisors can control the starting and stopping of virtual machines, they can’t always shut them down gracefully. You may want to power off your systems by connecting to each system and initiating a shutdown in the normal way. Sometimes you can’t do that, though, and you need to do the virtual equivalent of pulling the plug on a system that isn’t responding. The commands listed here cover these basic operations.

Xen and KVM virtual guests can be managed with virsh commands. Use virsh list --all to get a list of all managed domains. The start, shutdown, reboot, and destroy commands are your virtual power and reset buttons. From the service console in Vmware’s ESX server you can do similar things with vmware-cmd.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required