Categories: VMware

VMware View Log Bundle Generation Redirection

On a couple of occasions in the past few weeks I’ve had to generate log bundles for both and VMware View Connection Brokers and View Composer. VMware provides a simple script, which collects all of the relevant logs for you and creates a tidy zip file for you to send off to VMware Support.

Great! Unless your C drives is running low on space…..

The log bundles created automatically get placed onto the desktop of the user running the script (C:\Documents and Settings\<current user>\Desktop). These log bundles vary in size and can be up to 1GB each. So if your C drive is almost full before hand, it soon would be completely full.

With the help of Ian Gibbs from Virtual Clarity we have been able to find a way of redirecting these logs to a destination of our choice.

Please note, these changes are not supported. If you do decided to make these changes, please make sure you make a backup of the scripts before hand.

VMware View Connection Server Log Bundle Generation Redirection

During the installation of the View Brokers, a set of scripts are installed to the following directory (Default): C:\Program Files\VMware\VMware View\Server\DCT. To change the location of the bundle for the Brokers, the files that need to be edited are: support.bat and vdm-support.vbs. (In this example I will be using the Z Drive as my new location.)

  • Edit support.bat and change Line 22 to read: cscript //nologo vdm-support.vbs /s:z:\
  • Save support.bat changes
  • Edit vdm-support.vbs and change Line 160 to read: 'BoolSilentMode = True
  • Save vdm-support.vbs changes

Now just run the Log Bundle Generation from the Start Menu > All Programs > VMware > Generate View Connection Server Log Bundle as normal. Your Log Bundles will now be redirected.

VMware View Composer Log Bundle Generation Redirection

During the installation of View Composer, a set of scripts are installed to the following directory (Default): C:\Program Files\VMware\VMware View Composer. To change the location of the bundle for Composer, the file that needs to be edited is: svi-support.vbs. (In this example I will be using the Z Drive as my new location.)

  • Remove Read-Only permissions from svi-support.vbs
  • Edit svi-support-vbs and change Line 329 to read: mSaveDir = "z:\"
  • Save svi-support.vbs changes

Now just run the Log Bundle Generation from the Start Menu > All Programs > VMware > VMware View Composer > Create View Composer Support Logs as normal. Your Log Bundles will now be redirected. 

 A big Thank you to Ian Gibbs from Virtual Clarity for support with this.

 

Simon Long

Share
Published by
Simon Long

Recent Posts

Google Cloud VMware Engine @ VMworld 2021

Another VMworld is upon us!!! Sadly, it's only virtual again this year. However, that does…

3 years ago

Google Cloud VMware Engine – Learning Resources

As part of my recent move to Google, I'm working on quickly getting up to…

3 years ago

Hey Google!

I am delighted to announce the next chapter in my career. Today is my first…

3 years ago

EP13 – Defending Remotely

In episode thirteen of The VCDX Podcast, I am joined by two special guests who…

3 years ago

Getting Started With Oracle Cloud VMware Solution (OCVS) – Migrating Workloads Using VMware HCX

In my recent ‘Getting started with Oracle Cloud VMware Solution (OVCS)’ post; Getting Started With…

3 years ago

Getting Started With Oracle Cloud VMware Solution (OCVS) – Connecting To An On-Premises Environment

In my recent ‘Getting started with Oracle Cloud VMware Solution (OVCS)’ post; Getting Started With…

3 years ago