Your host must have a diagnostic partition (dump partition) to store core dumps for debugging and for use by VMware technical support. See Generating Diagnostic Bundles. The VMware knowledge base article at http://kb.vmware.com/kb/1004128 explains how to collect diagnostic partitions for a purple screen fault in ESXi.
The HostDiagnosticSystem managed object allows you to retrieve information in several ways.
■ Retrieve the HostDiagnosticPartition object from the HostDiagnosticSystem.activePartition property to examine the properties of the active partition.
■ Call the HostDiagnosticPartition.QueryAvailablePartition method to retrieve a list of available diagnostic partitions, in order of suitability.
■ Call the HostDiagnosticPartition.QueryPartitionCreateOptions method to retrieve a list of disks with sufficient space to contain a diagnostic partition of the specified type. The choices are returned in order of suitability.
1 Find a suitable partition by calling HostDiagnosticPartition.QueryAvailablePartition or HostDiagnosticPartition.QueryPartitionCreateOptions.
2 Call HostDiagnosticPartition.CreateDiagnosticPartition, passing in a HostDiagnosticPartitionCreateSpec, which includes information about the diagnostic type, id, storage type, and so on.On success, this method creates the partition and makes the partition the active partition if specified in the active parameter. On failure, the diagnostic partition might exist, but will not be active even if the partition was supposed to be made active.