VMware

Offene Frage aus der VMUG vom 16.07.2009 - Log redirection

VERSION 2 Published

Created on: Aug 5, 2009 9:09 AM by haif - Last Modified:  Aug 5, 2009 9:17 AM by haif

Von VMware habe ich folgende Infos zum veröffentlichen erhalten:


Redirecting VMware ESX/ESXi Logs to vMA

vMA (vSphere Management Assistant) is a Virtual Appliance for managing multiple VMware ESX hosts from a single Service Console
To enable log forwarding to vMA use:
vifp addserver <server-name or ipAddr>
sudo vilogger enable --server <VMware ESX name>


Für den ESXi gibt es auch noch einen advanced Parameter.

Redirecting VMware ESXi 4.0 Logs to a syslog server
Log on to VMware ESXi directly using vSphere Client
Configuration à Advanced Options à Syslog à Remote
Enter the syslog server's host name


Für den ESX 4:

You cannot use the vSphere Client or vicfg-syslog to configure syslog behavior for an ESX host. To configure
syslog for an ESx host, you must edit the /etc/syslog.conf file.


Beispiel:

Move to the bottom of the file and add the line in the next step if you want ALL the logs to be sent over to your syslog server.

#syslogserversetup
. @syslogsrv.mydomain

The first line in the above line is commented out by the # sign, the second line tells all the log files to be sent to "syslogsrv.mydomain". Use an ip address for the syslog server if you want this to work when your DNS server goes down.

service syslog restart (restarts the syslog service)
esxcfg-firewall -o 514,udp,out,syslog (opens the local firewall to allow remote syslogging)
esxcfg-firewall -l (reloads the new firewall configuration)

Average User Rating
(0 ratings)




There are no comments on this document

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities