VMware Cloud Community
PriyankaKamdar
Enthusiast
Enthusiast

vrmguestagent

I am trying to run a script using vrmguestagent but somehow script kept in template is not getting executed.

GuestAgent.log reports below two lines:

2015-11-13 05:32:17 Application.MachineQuery: [Information] uuid = 8f823b42-b828-0b10-ad88-1cb0fd566b6b

2015-11-13 05:32:17 Application: [Debug] Uninitializing subsystem: Logging Subsystem

repeatedly..

operating system is windows 7

blueprint has custom properties this:

VirtualMachine.Admin.UseGuestAgent = true

VirtualMachine.Customize.WaitComplete = true

VirtualMachine.Software0.Name = Add Owner to Local Admin Group

VirtualMachine.Software0.ScriptPath = C:\VRMGuestAgent\scripts\addusertoadmin.cmd {Owner}

vRMguest agent is mapped to manager server using command below

winservice.exe iaas-server.local:443 -p ssl

Could anyone comment on it why vrmguestagen is not excuting the script

I performed the unblock on the ZIP file and then installed the service, but it still hangs.

Cert.pem file is generated which is of 2 KB. 

vcacguestagent servcie is also started.

pls suggest.

Thanks.

Regards, Priyanka Kamdar
0 Kudos
3 Replies
abhilashhb
VMware Employee
VMware Employee

Isn't the command to install VRM agent : WinService.exe -i -h iaas-serevr.local:443 -p ssl

Abhilash B
LinkedIn : https://www.linkedin.com/in/abhilashhb/

0 Kudos
PriyankaKamdar
Enthusiast
Enthusiast

yes it was typo . cmd is winservice.exe iaas-server.local:443 -p ssl. any suggestion on issue

Regards, Priyanka Kamdar
0 Kudos
AlexJudge
VMware Employee
VMware Employee

Has the agent successfully installed, is it working for anything else other than running scripts?

Can you post the log file from the axis2/logs directory?

0 Kudos