Configuring the Network Dump Collector service in vSphere
book
Article ID: 344063
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXiVMware Cloud Foundation
Issue/Introduction
This article provides methods for configuring the network coredump collector services in vSphere ESXi Server/VMware vCenter Server. For more information on the Network Dump Collection feature, see ESXi Network Dump Collector in VMware vSphere 5.x/6.0 (1032051).
The VMware ESXi Dump Collector is packaged with vCenter Server. The configuration method differs for the Windows and Linux versions. The configurable options include:
Directory for storing received coredumps
Amount of disk space used for storing received coredumps
Listening network UDP port number
VMware ESXi Dump Collector for Windows
The vCenter Server installation media contains the VMware ESXi Dump Collector service installer. The directory used for storing received core dumps, the amount of disk space used, and the listening port number can be set during installation. However, all options can be changed later by editing the configuration file.
To configure the ESXi Dump Collector for Windows:
Locate the vmconfig-netdump.xml configuration file in the VMware ESXi Dump Collector installation directory. By default, it is located at C:\ProgramData\VMware\VMware ESXi Dump Collector\.
Note: For ESXi 6.0.x, it is located in C:\ProgramData\VMware\vCenterServer\data\netdump\.
Open the vmconfig-netdump.xml configuration file using a text editor.
Locate the defaultDataPath tag, which appears similar to:
Change the listening UDP port number to another value, as required.
Change the maximum amount of disk space used for storing received coredumps to a different value. The value is specified in gigabytes.
Save the vmconfig-netdump.xml configuration file.
Restart the VMware ESXi Dump Collector service using these commands:
net stop vmware-network-coredump net start vmware-network-coredump
VMware ESXi Dump Collector in the vCenter Server Virtual Appliance
The vCenter Server Virtual Appliance has a pre-configured Netdump service available and running. The directory used for storing received core dumps, the amount of disk space used, and the listening port number are all set to defaults, but can be changed later.
Configuring the ESXi Dump Collector using the VMware vCenter Server Virtual Appliance Web interface
Open a web browser, and connect to https://vCenterServerVirtualApplianceHostnameOrIP:5480/.
Log in using an administrative account.
Click the Services tab.
Click the NetDump tab.
Change the listening UDP port number to the desired value.
Change the maximum amount of disk space used for storing received coredumps to a different value. The value is specified in gigabytes.
Click Save Settings.
Click the Status tab.
Click Stop ESXi Services.
Click Start ESXi Services.
Configuring the ESXi Dump Collector using the VMware vCenter Server Virtual Appliance command line
Open the console of the vCenter Server Virtual Appliance.
Log in using an administrative account.
Open the /etc/sysconfig/netdumper configuration file using a text editor. The default configuration appears similar to: