This article describes how to generate crash dump on unresponsive NetScaler VPX hosted on XenServer.
Run the following command on XenServer:
# xl list-vm
UUID ID name 79c6d5a7-bc01-42f9-b85a-8f43acc9d79a 1 centos6.2-code_plugin-ip67 483759f6-c0b0-f4b0-de8a-df4542fbb293 3 NS10.0-vpx-ip10.104.12.75 570faeb7-ed59-46cb-b0f9-9279ff426403 4 NS_VPX_10.104.12.82 38d938d0-2936-9eaf-8468-1377ada63308 5 NS_VPX_10.104.12.90 e96c928f-b358-2994-c21e-19dcbb079d91 11 NS10.0-vpx-ip10.104.12.68
Choose the domid from the above command output and run the following command on XenServer:
# /usr/lib/xen/bin/crash_guest <domid>
Run the following command on XenServer:
# xl list
Name ID Mem VCPUs State Time(s) Domain-0 0 740 4 r----- 1214615.0 172.16.190.1 4 4096 3 r----- 7667454.5 Cluster1-172.16.151.150 5 2048 2 r----- 470138.7 Cluster2-172.16.151.160 6 2048 2 r----- 493148.4 172.16.190.2 7 4096 3 r----- 7654320.0 NS11.0-172.16.16.10 9 2048 2 r----- 3815198.0 Management Service VM 24 2048 1 -b---- 64358.7
Choose the domid from the above command output and run the following command on XenServer:
# xl trigger <domid> nmi
The crash dump files are generated under /var/crash directory of respective VM. This procedure also works on NetScaler SVM.