In previous article we have covered vRealize automation 7 simple install. In this guide we will show you how to install vRealize automation 7 enterprise. I have split up every single role and made sure it is highly available. This might not necessarily be best practice as it highly depends on your environment. Make sure you read the vRealize Automation 7 – Reference Architecture to ensure you design the environment correctly.
- 2x vRealize Automation 7 Appliances
- 2x Windows Servers for IaaS Web
- 2x Windows Servers for the Management Service (Active / Passive)
- 2x Windows Servers for the agents (one agent will be install – vSphere)
- 2x Windows Servers for the DEMs
Depending on the size and requirements of your environment, you may also need to split out the vRealize Orchestrator from vRA and deploy / load balance two appliances instead. I have not done this here – I might cover it in future articles, but here I simply want to show how to install the vRA / IaaS part.
You can also see an Edge device – This environment has vCNS installed so I will use a vShield Edge as Load Balancer. The Agents and DEMs don’t require a Load Balancer – vRA will handle the failover automatically.
![vra7_140](http://open902.com/wp-content/uploads/2016/01/vra7_140-294x300.png)
Here you can see I created three pools for
- vRA Appliances (Active / Active)
- IaaS Web (Active / Active)
- Management Service (Active / Passive)
![vra7_141](http://open902.com/wp-content/uploads/2016/01/vra7_141-1024x508.png)
With the relevant virtual servers. Make sure DNS has been setup correctly for the virtual LB IPs
![vra7_142](http://open902.com/wp-content/uploads/2016/01/vra7_142-1024x390.png)
And of course make sure the LB is actually enabled
![vra7_143](http://open902.com/wp-content/uploads/2016/01/vra7_143-1024x326.png)
Browse to your first (primary) vRA appliance and login as root – the installation wizard should start automatically.
![vra7_147](http://open902.com/wp-content/uploads/2016/01/vra7_147-1024x724.png)
Accept the license agreement
![vra7_148](http://open902.com/wp-content/uploads/2016/01/vra7_148-1024x725.png)
The fun bit – select ‘Enterprise Deployment’
![vra7_149](http://open902.com/wp-content/uploads/2016/01/vra7_149-1024x723.png)
Click ‘Next’
![vra7_150](http://open902.com/wp-content/uploads/2016/01/vra7_150-1024x726.png)
Download and install the Automation Agent on every windows server.
![vra7_151](http://open902.com/wp-content/uploads/2016/01/vra7_151-1024x724.png)
Just go through the installation wizard ‘quickly’
![vra7_131](http://open902.com/wp-content/uploads/2016/01/vra7_131-300x236.png)
![vra7_132](http://open902.com/wp-content/uploads/2016/01/vra7_132-300x235.png)
![vra7_133](http://open902.com/wp-content/uploads/2016/01/vra7_133-300x233.png)
Connect to the first vRA appliance and accept the SSL certificate thumbprint
![vra7_134](http://open902.com/wp-content/uploads/2016/01/vra7_134-300x234.png)
Here I am using the domain admin, which isn’t best practise. But this is a lab, so I am happy to use it
![vra7_135](http://open902.com/wp-content/uploads/2016/01/vra7_135-300x235.png)
Hit ‘Install’
![vra7_136](http://open902.com/wp-content/uploads/2016/01/vra7_136-300x236.png)
And wait for the installation to finish
![vra7_137](http://open902.com/wp-content/uploads/2016/01/vra7_137-300x235.png)
![vra7_138](http://open902.com/wp-content/uploads/2016/01/vra7_138-300x235.png)
The Windows servers should now pop into the installation wizard.
Click ‘Next’
![vra7_152](http://open902.com/wp-content/uploads/2016/01/vra7_152-1024x723.png)
Add your second appliance.
![vra7_153](http://open902.com/wp-content/uploads/2016/01/vra7_153-1024x726.png)
In order to add the second appliance, you only need to do the following
- Login
- Cancel the installation wizard
- Create a certificate – this can be self-signed as the wizard will replace it later
![Screen Shot 2016-01-15 at 12.23.32](http://open902.com/wp-content/uploads/2016/01/Screen-Shot-2016-01-15-at-12.23.32.png)
Accept the SSL certificate of the second appliance
![vra7_162](http://open902.com/wp-content/uploads/2016/01/vra7_162-1024x725.png)
Define the Server Roles
![vra7_163](http://open902.com/wp-content/uploads/2016/01/vra7_163-1024x724.png)
The Hosts aren’t necessarily in the correct order so make sure you look twice !
Here I have configured the following:
![vra7_164](http://open902.com/wp-content/uploads/2016/01/vra7_164-1024x725.png)
Tea-Time .. Click ‘Run’ to check the servers for prerequisites. Bear in mind, this will take .. a while.
![vra7_165](http://open902.com/wp-content/uploads/2016/01/vra7_165-1024x725.png)
If, like me, your Windows servers are plain servers, with no roles installed, the check will likely fail
![vra7_167](http://open902.com/wp-content/uploads/2016/01/vra7_167-1024x727.png)
You can check the details what exactly fail (if for example you configured the servers yourself previously)
![vra7_168](http://open902.com/wp-content/uploads/2016/01/vra7_168-1024x726.png)
Click ‘Fix’. This can take a long time. Depending on your environment etc.
![vra7_170](http://open902.com/wp-content/uploads/2016/01/vra7_170-1024x725.png)
Once everything is fixed, click ‘Run’ again to re-check
![vra7_171](http://open902.com/wp-content/uploads/2016/01/vra7_171-1024x727.png)
If all went well, and all is green, click ‘Next’
![vra7_172](http://open902.com/wp-content/uploads/2016/01/vra7_172-1024x724.png)
Here add the vRA Appliance LB address – remember my vShield Edge Virtual Servers ?
![vra7_173](http://open902.com/wp-content/uploads/2016/01/vra7_173-1024x726.png)
Configure your System Admin password
![vra7_175](http://open902.com/wp-content/uploads/2016/01/vra7_175-1024x725.png)
Once again, add here the Virtual Servers (VIPs) of your LB for both Web and Manager Service
Enter an Encryption Passphrase
![vra7_176](http://open902.com/wp-content/uploads/2016/01/vra7_176-1024x725.png)
Enter your SQL details. Now previously I mentioned that I used the domain admin for the Automation Agent installed.
As a result that user will also have full access on my SQL server and I therefore ok to use Windows Authentication.
If you used a service account, make sure it has the appropriate permissions on the sql server. See notes in the screenshot below.
![vra7_177](http://open902.com/wp-content/uploads/2016/01/vra7_177-1024x725.png)
Click ‘Validate’ and ensure the details are correct
![vra7_179](http://open902.com/wp-content/uploads/2016/01/vra7_179-1024x726.png)
Configure the credentials your IIS App Pools will run under. Again, this my dev environment, so I am using my trusted domain admin
![vra7_181](http://open902.com/wp-content/uploads/2016/01/vra7_181-1024x724.png)
Click ‘Validate’ and ensure your details are correct
![vra7_183](http://open902.com/wp-content/uploads/2016/01/vra7_183-1-1024x727.png)
Do the same for your Manager Services (Active / Passive)
Note: You cannot have two active Manager Services at the same time
![vra7_184](http://open902.com/wp-content/uploads/2016/01/vra7_184-1-1024x725.png)
Validate the credentials again.
Click ‘Validate’
![vra7_186](http://open902.com/wp-content/uploads/2016/01/vra7_186-1024x724.png)
Configure the DEMs.
![vra7_187](http://open902.com/wp-content/uploads/2016/01/vra7_187-1024x723.png)
Once more validate the credentials and settings. Ensure each DEM has a unique Instance Name
![vra7_189](http://open902.com/wp-content/uploads/2016/01/vra7_189-1024x724.png)
Make sure you remember the Endpoint name.
The Endpoint name (cAsE SenSItivE) will be used when configuring vRA Endpoints and it needs to match 100%.
![vra7_190](http://open902.com/wp-content/uploads/2016/01/vra7_190-1024x728.png)
Make sure both agent names / endpoints are configured on both servers identically
![vra7_191](http://open902.com/wp-content/uploads/2016/01/vra7_191-1024x724.png)
Validate your settings by clicking ‘Validate’
![vra7_192](http://open902.com/wp-content/uploads/2016/01/vra7_192-1024x724.png)
The next steps are to configure the certificates. For ‘production’ servers I have my own Windows CA.
Rather than creating a certificate for each server / role, I created a certificate with multiple Subject Names
Subject names include each appliance name, FQD, IP and also the Load Balancer Host Names, FQDNs and IPs.
If you intend to use SRM with re-IPing ensure your DR IPs are in the certificate as well.
![vra7_139](http://open902.com/wp-content/uploads/2016/01/vra7_139-880x1024.png)
You may also need to import the certificates to your vShield Edge / Load Balancer – especially if you want to offload SSL
![Screen Shot 2016-01-15 at 12.51.56](http://open902.com/wp-content/uploads/2016/01/Screen-Shot-2016-01-15-at-12.51.56.png)
Here now import the certificate.
If you follow my guide to create a certificate then the below certificates required are
- rui.key
- rui.pem
![vra7_193](http://open902.com/wp-content/uploads/2016/01/vra7_193-1024x727.png)
Once imported, click ‘Next’
![vra7_194](http://open902.com/wp-content/uploads/2016/01/vra7_194-1024x724.png)
Do the same for your web servers
![vra7_195](http://open902.com/wp-content/uploads/2016/01/vra7_195-1024x726.png)
![vra7_197](http://open902.com/wp-content/uploads/2016/01/vra7_197-1024x725.png)
And Manager Service
![vra7_198](http://open902.com/wp-content/uploads/2016/01/vra7_198-1024x725.png)
![vra7_199](http://open902.com/wp-content/uploads/2016/01/vra7_199-1024x725.png)
Unfortunately the FQDNs are too long to fit, but here follow the instructions and ensure that only the active / primary hosts are in your Load Balancer Pool
![vra7_200](http://open902.com/wp-content/uploads/2016/01/vra7_200-1024x629.png)
One final validation
![vra7_201](http://open902.com/wp-content/uploads/2016/01/vra7_201-1024x725.png)
This might take a while
![vra7_202](http://open902.com/wp-content/uploads/2016/01/vra7_202-1024x725.png)
But should succeed eventually.
Click ‘Next’
![vra7_203](http://open902.com/wp-content/uploads/2016/01/vra7_203-1024x724.png)
DO IT !!! Either create snapshots or backups – something …
![vra7_204](http://open902.com/wp-content/uploads/2016/01/vra7_204-1024x723.png)
If your backups / snapshots take a long time and the wizard times out (it did for me), login to your first vRA Appliance
vcac-vami installation-wizard activate
This will restart the wizard once you login to your vRA Appliance again. The wizard will start at the same point, so don’t worry.
It might start at the previous step but all you need to do is to get back to the Snapshot page and click ‘Next’
Click ‘Install’
![vra7_205](http://open902.com/wp-content/uploads/2016/01/vra7_205-1024x724.png)
I was watching progress bars for about 3hrs (well, it took 3hrs anyway)
![vra7_206](http://open902.com/wp-content/uploads/2016/01/vra7_206-1024x726.png)
![vra7_207](http://open902.com/wp-content/uploads/2016/01/vra7_207-1024x727.png)
You can also follow the installation of each component. Here you will also find errors .. if there are any
![vra7_208](http://open902.com/wp-content/uploads/2016/01/vra7_208-1024x724.png)
As I said – it took three hours but finished eventually
![vra7_209](http://open902.com/wp-content/uploads/2016/01/vra7_209-1024x725.png)
Enter a license key
![vra7_210](http://open902.com/wp-content/uploads/2016/01/vra7_210-1024x723.png)
Click ‘Next’
![vra7_211](http://open902.com/wp-content/uploads/2016/01/vra7_211-1024x726.png)
Enter a (secure) Admin password and click ‘Create Initial Content’
![vra7_212](http://open902.com/wp-content/uploads/2016/01/vra7_212-1024x727.png)
And watch more progress bars
![vra7_213](http://open902.com/wp-content/uploads/2016/01/vra7_213-1024x722.png)
Done
![vra7_214](http://open902.com/wp-content/uploads/2016/01/vra7_214-1024x725.png)
Now it is time to re-add your hosts into the Load Balancer pools.
Note about the Manager Service : It really depends how your LB works.
As the Manager Service needs to be Active / Passive, either ensure it won’t fail over automatically (secondary is likely installed as manual service), or simply don’t add the second manager server until needed (i.e. you need to fail over). If you do add the secondary, below instructions explain what page you need to monitor
![vra7_215](http://open902.com/wp-content/uploads/2016/01/vra7_215-1024x627.png)
Now you should be able to browse to your vRA environment using the VIP / FQDN.
![vra7_216](http://open902.com/wp-content/uploads/2016/01/vra7_216-1024x726.png)
Once logged in, you can for example check the DEMs, ensuring they are all online etc.
![vra7_217](http://open902.com/wp-content/uploads/2016/01/vra7_217-1024x557.png)
That is it for the installation.