Testing your dump configuration
You can deliberately crash your virtual server to trigger a dump.
About this task
Use this procedure to test your dump configuration or for non-responding virtual servers.
- If kdump is set up on your KVM guest, kdump creates a dump on the virtual server.
- For guests without a kdump setup or if kdump fails, the
action is carried out that is specified for the on_crash element in the domain configuration-XML file of the virtual server. If
coredump_restartorcoredump_destroyare specified, this action results in a dump.
Procedure
Issue a virsh inject-nmi command.
# virsh inject-nmi <VS>
where <VS> is the name of the virtual server as specified in its domain configuration-XML file.