04-02-2017 07:06 PM - edited 03-01-2019 01:08 PM
Now we have 3 esxi on hyperflex enviroment.
as we don't have DNS server . all hostname of ESXi named localhost
as to log , we set up as follows.
"esxcli system syslog config set --loghost='udp://vcenter-ip' "
No DNS enviroment coused esxi to send log to vcenter as localhost .
So We don't know which esxi send logs to vCenter.
if you hit on good idear to solve this matter , let me know .
Do we have no choice but to setup syslog server ?
Regards
Solved! Go to Solution.
04-21-2017 02:51 PM
Hi, Kashima
Another option would be to save the syslog to a datastore (iSCSI/NFS/FC) instead
Set the parameters in the Advance Option to enable the Syslog.global.logDirUnique
- A boolean option which controls whether a host-specific directory is created within the configured logDir
. The directory name is the hostname of the ESXi host. A unique directory is useful if the same shared directory is used by multiple ESXi hosts. Defaults to false
.
For example, SSH to ESXi CLI and execute the following esxcli command:
esxcli system syslog config set --logdir=/path/to/vmfs/directory/ --logdir-unique=true
Do this for each host
This will create a directory in the datastore for each host based on their IP address, since that's how they're registered to vCenter in a DNS-less environment
04-21-2017 02:51 PM
Hi, Kashima
Another option would be to save the syslog to a datastore (iSCSI/NFS/FC) instead
Set the parameters in the Advance Option to enable the Syslog.global.logDirUnique
- A boolean option which controls whether a host-specific directory is created within the configured logDir
. The directory name is the hostname of the ESXi host. A unique directory is useful if the same shared directory is used by multiple ESXi hosts. Defaults to false
.
For example, SSH to ESXi CLI and execute the following esxcli command:
esxcli system syslog config set --logdir=/path/to/vmfs/directory/ --logdir-unique=true
Do this for each host
This will create a directory in the datastore for each host based on their IP address, since that's how they're registered to vCenter in a DNS-less environment
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide