Skip to main content

vRA 7 Software Component - application scripts




Adobe - CMD /C START C:\TMP\AcroRdrDC1501020056_en_US.exe /sAll

IIS - Powershell
Import-Module ServerManager
Add-WindowsFeature Web-Server

import-module servermanager
add-windowsfeature web-server -includeallsubfeature
For Windows 2012, install-windowsfeature web-server instead.

MS SQL - C:\TMP\SQL2012\setup.exe /q /ACTION=Install /IAcceptSQLServerLicenseTerms /FEATURES=SQL /INSTANCENAME=MSSQLSERVER /UpdateEnabled=0

VI Client
CMD /C START C:\TMP\VMware-viclient-all-6.0.0-3249451.exe /S /v/qn

To install vRA-agent -
keeping the following URL for reference 
http://www.virtualizationteam.com/cloud/vrealize-automation-7-bootstrap-installation.html
http://www.virtualizationteam.com/cloud/vcac-guest-agent-installation.html

Cert problem http://vmwarevcloudvirtualization.blogspot.co.id/2014/04/vcac-agent-ssl-issue.html. (Hopefully we don't need to do this!)


ManagerServiceHost = IaaS -> Windows, not the vRA.
Do not need to run winservice -i -h... under c:\VRMGuestAgent

After agent is installed, it should pull the cert.pem to c:\VRMGuestAgent folder as shown below.


 SSLInfo text should have content with "CONNECTED". If you get empty log, it means not connected. This could be due to root certificate and trust issue. Refer to above link to address the root cert issue. Both root cert of IaaS and vRA must be imported to the template OS.


VCACGestAgentService looks the same if it fails to connect.



Once connected to IaaS, there will be logs folder under C:\VRMGuestAgent\axis2. If not, it will be empty.


 agent_Bootstrap log will looks like this before script being deployed.


Once the VM is deployed via vRA, you can login (after customization) and look at the looks under c:\opt\vmware-appdirector\agent\logs. There are three logs file.




Goto vRA, you can see the process of building the VM.







Comments

  1. To get this to work, did you add anything to the event broker for this? I'm simply trying to run a powershell script to install IIS and its failing. [computer name] not found, and possibly deleted before provisioning finished. Thoughts?

    ReplyDelete
  2. I am having the same problem with a linux VM ... any software component that i add it creashed the deployment

    ReplyDelete

Post a Comment

Popular posts from this blog

VMware VRNI 3.5 NTP is working but not healthy

We have experienced this problem where some of the major services not started. You will not be able to connect to the vRNI via web -> https://<ip_address_of_vrni_platform>>. This probably caused by NTP insync. You need to manually start these services. Login with Consoleuser / and default password if not changed before via venter web console. Run services restart and wait for couple minutes (it took me 5-6 mins). Types of Users  User name  Password  Admin UI  admin@local Set this password in the Activate License window during installation. SSH User  support ark1nc0113ct0r CLI User  consoleuser ark1nc0ns0l3 Note It is recommended that the users change the default passwords immediately after the deployment.  Procedure 1 Navigate to  https://<vRealize Network Insight Platform IP address> .  2 Log in to the product UI with the corresponding user name and password. Troubleshoot NTP - https://kb.vmware.com

vSphere Replication - checking the replication status

Enable SSH on ESXi host (you can do this using vCenter) Download putty or any SSH client and log in with root access vim-cmd vmsvc/getallvms ~ # vim-cmd hbrsvc Commands available under hbrsvc/: vmreplica.abort vmreplica.pause vmreplica.create vmreplica.queryReplicationState vmreplica.disable vmreplica.reconfig vmreplica.diskDisable vmreplica.resume vmreplica.diskEnable vmreplica.startOfflineInstance vmreplica.enable vmreplica.stopOfflineInstance vmreplica.getConfig vmreplica.sync vmreplica.getState  See more at: http://www.virtuallyghetto.com/2011/07/hbr-host-based-replication-cli-for-srm.html#sthash.mpqbyGmw.dpuf http://www.virtuallyghetto.com/2011/07/hbr-host-based-replication-cli-for-srm.html

Editing hosts file in iPhone/iPAD

You can now edit the hosts file with a jailbroken iPhone/iPad. Download the hosts file using tool like FileZilla. Default location is /etc/hosts. Download Notepad++ and edit the file. I've edit the file and convert it to ANSI under the Encoding menu. Once completed, upload the file back to the default location.  Try to ping the DNS... It should works!