As part of the VCAP6 – DCV we are going to perform Objective 1.1 Configure Dump Collector service

For the complete VCAP – DCV Checklist visit Checklist

What is Core Dump?

Core dump is diagnostic information being captured during purple screen error or a host failure. The core Dump resides in a Diagnostic partition and in-order to create a partition we require atleast 100 MB of free space either locally or remotely available disks.

Coredump partition limitations

Core Dump Collector Facts

First two default values can be changed under the Settings of VMware vSphere ESXi Dump Collector Service. More customization can be done by editing the configuration file which will be discussed below.

In-order to enable the CoreDump Service follow the below steps.

  1. Click on Administration>System Configuration under Deployment >Objects>Services

This will list the services associated with VCenter Server. ESXi Dump Collector service will be disabled by default so we will enable it here.

  1. Right click on the “VMware vSphere ESXi Dump Collector” service and click on “Edit Startup Type”
  2. Now select the option “Automatic” as below and start the service.

  3. Configure the ESXi to use the ESXi Dump collector service.

    esxcli system coredump network set –interface-name vmk0 –server-ip 192.168.3.11 –server-port 6500

To list all the network interface details

esxcli network ip interface ipv4 get

  1. Enable ESXi Dump Collector

    esxcli system coredump network set –enable true

Also execute below command to see the coredump configuration settings.

esxcli system coredump network get

    1. Now to verify the settings execute the below command.

      esxcli system coredump network check

      To perform the same using a host profile setup follow the below settings. (I am using my existing host profile)

      How to locate the Dump Collector Folder in VCenter 6?

      The core dump folder can be location under below path.

      C:\ProgramData\VMware\vCenterServer\data\netdump

      If you open netdump-setup.xml file with notepad it will have information about all the default paths as below. These settings can be very well edited and configured according to our requirement. Once the changes are done on the file it is important that the Dump Collector services should be restarted.

      <Config>
      <defaultInstallPath>C:\Program Files\VMware\vCenter Server\netdump</defaultInstallPath>
      <defaultConfigPath>C:\ProgramData\VMware\vCenterServer\data\netdump</defaultConfigPath>
      <defaultLogPath>C:\ProgramData\VMware\vCenterServer\logs\netdump</defaultLogPath>
      <defaultDataPath>C:\ProgramData\VMware\vCenterServer\data\netdump\Data</defaultDataPath>
      <serviceAddress>Vcenter01.RENLABS.LOCAL</serviceAddress>
      <defaultWebPort>8000</defaultWebPort>
      <defaultValues>
      <port>6500</port>
      <maxSize>1</maxSize>
      </defaultValues>
      <vCenterServer>
      <address>Vcenter01.RENLABS.LOCAL</address>
      <port>80</port>
      <user>root</user>
      </vCenterServer>
      <debug>
      <level>0</level>
      </debug>
      </Config>

Leave a Reply

Your email address will not be published. Required fields are marked *