I discovered that some datastores contain a large number of large vmware-x.log files. They belong to critical production VMs that I cannot damage or stop for any reason.
Let me ask some questions on this subject:
to control the number and size of vmware-x.log files: where can I set them? Can I set them at cluster or node level? What is it supposed to happen if I set them for a running VM?
Regards
Marius
Hi Marius,
you will be able remove only already rotated vmwareXX.log files in VM directory NOT the actual one being used by VM.
Removing them can be considered as safe but think twice when you modify folder content of any running VM...
To control VM logging in terms of number of rotations and size or logs redirection follow this KB article:
VMware KB: Log rotation and logging options for vmware.log
Message was edited by: vNEX - sorry I overlook some questions:
Changes made to .vmx file will always take effect after next VM power on...
VM logging is not configurable at cluster or host level but you can spread this configuration using PowerCLI script or seal it to
the Template for any new deployed VM.
In addition to manipulation with .vmx files have a look at this KB:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1714
Hi Marius,
you will be able remove only already rotated vmwareXX.log files in VM directory NOT the actual one being used by VM.
Removing them can be considered as safe but think twice when you modify folder content of any running VM...
To control VM logging in terms of number of rotations and size or logs redirection follow this KB article:
VMware KB: Log rotation and logging options for vmware.log
Message was edited by: vNEX - sorry I overlook some questions:
Changes made to .vmx file will always take effect after next VM power on...
VM logging is not configurable at cluster or host level but you can spread this configuration using PowerCLI script or seal it to
the Template for any new deployed VM.
In addition to manipulation with .vmx files have a look at this KB:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1714
