Install and configure VMware syslog Collector and ESXi Dump Collector

I will talk here only about core dump collector ,, I talked in previous post about syslog server installation Configure vSphere Syslog Collector

It is direct easy configuration

Note that you do it over vmkernel not network adapter.

Finally you can check your configuration that way :

Sending a test connection:

nc -z -w 1 -s VMkernelIPAddress -u DumpCollectorIPAddress DumpCollectorPortNumber

nc -z -w 1 -s 10.XX.XX.82 -u 10.XX.XX.55 6500

Note: The nc command reports a successful connection regardless of whether the remote Netdump Server receives the traffic.

As per :

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=2003042

I believe they want to validate something doesn’t exist :

To fix Ruleset Not Found: netDump

I believe I have to create a customized rule for netDump,

I can do it like:

https://communities.vmware.com/message/1860669

But HOW to do it in exam , I can not remember each single command 😀

Go below , copy and remove unnecessary sections or create new file.
/etc/vmware/firewall # cp service.xml NetDump.xml

Go for an outbound direction rule ‘nfsclient’ , the 3rd one “keep it in the new file to modify it and remove the others”:

But you have to:

· Close the <ConfigRoot> so the XML works fine

· Give it same name as per the above failed command “netDump

· Protocol should be udp

· Keep the port like this: <port>6500</port>

· Make it enabled

<!– Firewall to allow ESXi core dump traffic –>

<ConfigRoot>

<service id=’1977′>

<id>netDump</id>

<rule id=’2015′>

<direction>outbound</direction>

<protocol>udp</protocol>

<porttype>dst</porttype>

<port>6500</port>

</rule>

<enabled>true</enabled>

<required>false</required>

</service>

</ConfigRoot>

/etc/vmware/firewall # esxcli network firewall refresh

And GUI

Looks nice 🙂

Advertisements

About Ahmad Sabry ElGendi

https://www.linkedin.com/pub/ahmad-elgendi/94/223/559
This entry was posted in Vmware. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s