Automation being king, this will do it. The general process for each host:
- Set the syslog destination
- Insure a firewall exception
- Restart the syslog service.
showhostsetShow Virtual Volumes exported to a host:
showvlun -sortcol 1 -host <host>
removehostset <setname> <host>
removevlun <vvname> <lunid> <host>What I found to work best is to first remove the host from any Host Set followed by a rescan of the vSphere host HBA. When that is completed, unexport any duplicate exports by removing the highest LUN ID(s). Then rescan HBAs again.
If you are configuring vSphere hosts for syslog collection you may be overwhelmed by the amount of data thrown at your collector. By default hostd and vpxa are configured for a logging level of “verbose.”
To view the configuration for all of your vSphere hosts, break out PowerCLI. I’m forever forgetting how to retrieve information from certain cmdlets and include the host name. Here it is for me to find again:
Setting hostd and vpxa logging levels on all hosts to “info” is pretty easy: