SV-207645r379318_rule
V-207645
SRG-OS-000269-VMM-000950
ESXI-65-000044
CAT III
10
From the vSphere Web Client select the ESXi Host and right click. Select the "Add Diagnostic Partition" option configure a core dump diagnostic partition.
or
From a PowerCLI command prompt while connected to the ESXi host run at least one of the following sets of commands:
To configure a core dump partition:
$esxcli = Get-EsxCli
#View available partitions to configure
$esxcli.system.coredump.partition.list()
$esxcli.system.coredump.partition.set($null,"PartitionName",$null,$null)
To configure a core dump collector:
$esxcli = Get-EsxCli
$esxcli.system.coredump.network.set($null,"vmkernel port to use",$null,"CollectorIP","CollectorPort")
$esxcli.system.coredump.network.set($true)
From the vSphere Web Client select the ESXi Host and right click. If the "Add Diagnostic Partition" option is greyed out then core dumps are configured.
or
From a PowerCLI command prompt while connected to the ESXi host run the following commands:
$esxcli = Get-EsxCli
$esxcli.system.coredump.partition.get()
$esxcli.system.coredump.network.get()
The first command prepares for the other two. The second command shows whether there is an active core dump partition configured. The third command shows whether a network core dump collector is configured and enabled, via the "HostVNic", "NetworkServerIP", "NetworkServerPort", and "Enabled" variables.
If there is no active core dump partition or the network core dump collector is not configured and enabled, this is a finding.
V-207645
False
ESXI-65-000044
From the vSphere Web Client select the ESXi Host and right click. If the "Add Diagnostic Partition" option is greyed out then core dumps are configured.
or
From a PowerCLI command prompt while connected to the ESXi host run the following commands:
$esxcli = Get-EsxCli
$esxcli.system.coredump.partition.get()
$esxcli.system.coredump.network.get()
The first command prepares for the other two. The second command shows whether there is an active core dump partition configured. The third command shows whether a network core dump collector is configured and enabled, via the "HostVNic", "NetworkServerIP", "NetworkServerPort", and "Enabled" variables.
If there is no active core dump partition or the network core dump collector is not configured and enabled, this is a finding.
M
2925