Enable Kernel Crash Dumping
To enable kernel crash dumping, use the following request:
PUT /settings/hypervisors/:hypervisor_id/crash_debug.xml
PUT /settings/hypervisors/:hypervisor_id/crash_debug.json
XML Request Example
curl "http://onapp.test/settings/hypervisors/3/crash_debug.xml" -d '<hypervisor><crash_debug>true</crash_debug></hypervisor>' -X PUT \ -u account_email:API_key \ -H "Accept: application/xml" \ -H "Content-Type: application/xml"
JSON Request Example
curl "http://onapp.test/settings/hypervisors/3/crash_debug.json" -d '{"hypervisor":{"crash_debug":true}}' -X PUT \ -u account_email:API_key \ -H "Accept: application/json" \ -H "Content-Type: application/json"
Where:
crash_debug - true if the crash dumping option is enabled, otherwise, false
After you have enabled kernel crash dumping, reboot your compute resources at a convenient time to apply the changes.