Below xm dump-core command with "-L" live option can be used to generate VM core from Linux Virtual Machine.
With "-L" live option the VM core will be generated when the VM is running. Replace <VM UUID> with Virtual Machine UUID in above command and specific the location where you want to save VM core and filename for VM core.
For e.g. if you want to create VM core for VM with UUID 0004fb0000060000d39b625749c489c7 under /ssd/ directory with name 0004fb0000060000d39b625749c489c7-core, your xm dump core command looks as follows:
All Linux Virtual Machines (VM's).
xm dump-core -L <VM UUID> <location of dump core>/<dump core filename>
With "-L" live option the VM core will be generated when the VM is running. Replace <VM UUID> with Virtual Machine UUID in above command and specific the location where you want to save VM core and filename for VM core.
For e.g. if you want to create VM core for VM with UUID 0004fb0000060000d39b625749c489c7 under /ssd/ directory with name 0004fb0000060000d39b625749c489c7-core, your xm dump core command looks as follows:
xm dump-core -L 0004fb0000060000d39b625749c489c7 /ssd/0004fb0000060000d39b625749c489c7-core
Below is example console output when running xm dump-core command.
# xm dump-core -L 0004fb0000060000d39b625749c489c7 /ssd/0004fb0000060000d39b625749c489c7-core
Dumping core of domain: 0004fb0000060000d39b625749c489c7 ...
Dumping core of domain: 0004fb0000060000d39b625749c489c7 ...
Products to which Article Applies
All Linux Virtual Machines (VM's).
tarun boyella
No comments:
Post a Comment