Nvidia DGX-2 SYSTEM User Manual page 73

Hide thumbs Also See for DGX-2 SYSTEM:
Table of Contents

Advertisement

If virsh shutdown fails to stop the VM, for example, if the VM OS is unresponsive,
you can force a VM shutdown as follows.
virsh destroy <vm-domain>
Like virsh shutdown, virsh destroy does not remove files or clear the OS disk
allocation, so the options for creating other VMs may still be impacted depending on
available disk space.
!
CAUTION: Only use virsh destroy as a last resort, since the command initiates an
ungraceful shutdown and may result in a corrupt VM file system.
11.4.2
Restarting a VM
To restart a VM that has been stopped (not deleted), run the following.
virsh start <vm-domain>
You can also connect to the console automatically upon restarting the VM using the
following command.
virsh start --console <vm-domain>
11.4.3
Deleting a VM
Like the process of creating a guest GPU VM, deleting a VM involves several virsh
commands. For this reason, NVIDIA provides a simple way to delete a VM using
nvidia-vm. Deleting a VM using nvidia-vm does the following:
Stops the VM if it is running
Erases data on disks that the VM is using and releases the disks
Deletes any temporary support files
You should delete your VM instead of merely stopping it in order to release all resources
and to remove unused files.
!
CAUTION: VMs that are deleted cannot be recovered. Be sure to save any data before
deleting any VMs.
DGX-2 System User Guide
Using DGX-2 System in KVM Mode
73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents