VMware VCM 5.3 Troubleshooting Manual page 33

Vcenter configuration manager
Hide thumbs Also See for VCM 5.3:
Table of Contents

Advertisement

4. Click Next, and then click Finish.
5. Modify as needed and run the following on the command line of the Agent machine:
C:\WINDOWS\CMAgent\Installer\Python\python.exe -E
C:\WINDOWS\CMAgent\Installer\Providers\CommonPy\AgentBridge.py --
root=C:\WINDOWS\CMAgent\Installer\Providers --action-
template=C:\WINDOWS\CMAgent\Installer\Providers\Providers\Provisioning\Wasp\SourcesProvider\
RemoveRepositoryAction.template --action=template --
provider=Providers\Provisioning\Wasp\SourcesProvider\WaspSourcesProvider.py --
parameter=Uri="http://<RepositoryMachine>/SoftwareRepository" --
parameter=Platform="Any" --parameter=Section="Release" --parameter=request_
timeout_secs="28740"
6. You can add the --temp-dir=c:\myProviderOutput parameter to save all intermediate files and
provider log to a specified directory. The directory must be created before you can use it. Specifying
this directory will save all the intermediate files for actions, some of which are not available on the
collector.
7. If you also include the --parameter=LoginFile=, you must modify the AgentBridge script to
capture the file. For example, --parameter=LoginFile="C:\WINDOWS\TEMP\LoginFile.enc"
This file usually only exists for the duration of the job and this parameter is not optional.
Modify the argument handling for the 'parameter' argument in
<path>\CMAgent\CommonPy\AgentBridge.py
elif o in ('--parameter='):
param = str(a).strip("\"'")
paramList = param.split('=', 1)
key = paramList[0].strip("\"'")
value = ''
if len(paramList) > 1:
self.parameters[key] = value
if key == 'LoginFile':
VMware, Inc.
value = paramList[1].strip("\"'")
from shutil import copy
copy(value, 'c:\\myTemp\\')
Software Provisioning Troubleshooting
33

Advertisement

Table of Contents
loading

Table of Contents