However, you can specify tcp or ssl as the protocol to be used as well as the port number: By default, the host will use UDP protocol and port 514. To specify more than one syslog server, you will need to separate them using a comma. Note: The default syslog ruleset allows UDP/TCP 514 and TCP 1514, if you choose to use a different port you will need to update firewall ruleset. $ esxcli –server esxi1 –username root network firewall ruleset set –enabled yes –ruleset-id syslog You will need to enable the syslog rule in the ESXi firewall (only in ESXi 5.0):
Vmware esxi 5 how to#
Though it may not have been clear in our documentation that you can now specify multiple syslog servers in ESXi 5.0, here is a quick example on how to configure multiple syslog servers using the remote ESXCLI: 1. remote ESXCLI using PowerCLI or just PowerCLI.You can configure the syslog servers using the vSphere Client, but if you need to configure this across several hundred hosts you will probably want to automate this using one of the following methods: In addition to supporting multiple syslog servers, with the release of ESXi 5.0, you can specify different transport protocols: UDP (default), TCP and SSL. With ESXi 4.x, you could only forward to a single syslog server, but with ESXi 5.0 you can now forward to multiple syslog servers which is great for providing redundancy when shipping your logs. There were some questions on twitter last night about the number of syslog servers that can be configured for an ESXi host and the answer depends on the version of ESXi you are running.