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
- It cannot be created on an iSCSI LUN (Both hardware and software) and No FCoE LUN.
-
Diagnostic partiions cannot be create using vCLI however the existing partitions can be activated.
To view the core dump partition from your ESXi host execute below command from the ESXi CLI.
esxcli system coredump partition get
Core Dump Collector Facts
- Coredump Server service works on UDP Port (1025-9999) and uses port 6500 as default.
- Coredump Repository maximum size 10 GB and the default CoreDump Repository size is 2 GB.
- Network dump collector will not work if the management vmkernel port has been configured to use Etherchanel/LACP
- The netdump protocol is used for sending coredumps from failed ESXi to the Dump collector service.
- CoreDump collector only supports IPV4.
- The network traffic is not encrypted and no authentication mechanism to make sure the integrity and validity of the data being received by the Dump Collector Service.
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.
- 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.
- Right click on the “VMware vSphere ESXi Dump Collector” service and click on “Edit Startup Type”
-
Now select the option “Automatic” as below and start the service.
-
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
-
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
-
-
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>
-