Category Archives: Uncategorized

New Release: vSphere Command-Line Interface 6.5…

New Release: vSphere Command-Line Interface 6.5 (PowerCLI) – VMware vSphere Blog

New Release: vSphere Command-Line Interface 6.5…

vSphere’s 6.5 release has brought about many new features and enhancements. One of the features which may have flown under the radar has to be the vSphere Command-Line Interface (vCLI) 6.5 release.


VMware Social Media Advocacy

Adding vCenter to Avamar – Failed to communicate to vCenter

Actually I’m working more and more with some of EMC’s (new Dell ūüėČ ) products for a customer.

On the actual situation we had to add the vCenter Server to the new Avamar Server. While I was adding the server, I received the following message:

Failed to communicate to vCenter. Unable to find valid certification path to the vCenter

avamar_error_vcenter

avamar_error_vcenter_details

After searching a while in the Avamar for VMWare Admin guide I’ve found the solution. You either can add the certificate to the Avamar cert store (this would be the secure way) or you just can disable this check.

As our customers environment is not a high secure domain, we have choose the second way. For this we connected to the Avamar server by ssh. Please use the admin user for this.

Then go to the following directory and edit the mcserver.xml:

avamar_console_ssh

In the xml search for the following string:

Then change the value from false to true:

ignore_vc_cert_false

ignore_vc_cert_false

Now we can restart the MCS server and the vCenter will be added successfully:

restart_mcs

Now the vCenter was added successfully:

avamar_noerror_vcenter

VMWare Tools 10.0.5.3227872 & SydeBySide Event ID 33

One of our customers had some problems with the new deployed VMWare Tools 10.0.5 on their W2k12 r2 Systems. The W2k8 r2 systems had no problems.

From time to time we found the event ID 33 with the following two errors:

Activation context generation failed for “C:\Program Files\VMWareTools\plugins\vmusr\vmtray.dll”. Dependent Assembly Microsoft.VC90.MFC,processorArchitecture=”amd64″,publicKeyToken=”1fc8b3b9a1e18e3b”,type=”win32″,version=”9.0.30729.4148″ could not be found. Please use sxstrace.exe for detailed diagnosis.

error33

Activation context generation failed for “C:\Program Files\VMWareTools\plugins\vmusr\dndcp.dll”. Dependent Assembly Microsoft.VC90.MFC,processorArchitecture=”amd64″,publicKeyToken=”1fc8b3b9a1e18e3b”,type=”win32″,version=”9.0.30729.4148″ could not be found. Please use sxstrace.exe for detailed diagnosis.

error33_

After searching a while I found out that this error message only appears when a new user logs in to the server. There was neither a VMWare Tools icon on the notification area visible.

Most of similar problems where indicating that there is a problem with the Visual Studio for C++.

First of all I used the SFC command (sfc /scannow) to check if all system binaries where ok. Did received no error from the system.

sfc

Then I used the sxstrace like in the event written. First of all i started the sxstrace to trace the errors:

c:\windows\system32\sxstrace Trace -logfile:c:\temp\sxstrace.log

sxstrace

A friend of me logged now also in to the system to reproduce the error. After he logged in, I saw the new event entries in the event viewer. Now I could stop the the tracing by pressing enter.

The binary output c:\temp\sxstrace.log could now be converted in a txt file. For this, we used the following command:

c:\windows\system32\sxstrace Parse -logfile:c:\temp\sxstrace.log -outfile:c:\temp\sxstraceOutPut.txt

 

sxstrace2

Now the txt file was readable and it could be opened and searched for error messages like this one:

ERROR: Cannot resolve reference Microsoft.VC90.MFC,processorArchitecture=”amd64″,publicKeyToken=”1fc8b3b9a1e18e3b”,type=”amd64″,version=”9.0.30729.4148″.

So, I compared the installed Visual C++ versions on the W2k8 and W2k12 systems. There I found out that the following version was not installed on the w2k12 systems:

Microsoft Visual C++ 2008 Redistributable – x86 9.0.30729.4148

visualC

 

I download it from the microsoft site and installed it manually.

After installing it, I didn’t receive¬†any more those errors. This seems to be the SP1 for the Visual C++ 2008 Redestributable package.

But why this isn’t installed with the VMWare Tools package?¬†Is this maybe not included in the package?

After checking with the software packager of the enterprise, we found out that by installing only the MSI, the C++ will not be installed. When you install the software with the EXE, the C++ is preinstalled.

So, we had to package the following two software packages:

Microsoft Visual C++ 2008 Redistributable – x64 9.0.30729.6161

Microsoft Visual C++ 2008 Redistributable – x86 9.0.30729.4148

visualC++

After deploying those two packages, every w2k12 was running perfectly again.