Browsed by
Tag: installation

vRealize Automation 7 Installation – minimal deployment

vRealize Automation 7 Installation – minimal deployment

Ones might find it quite difficult to installa new product for the first time. Even though they installed previous version in the past (or particularly because of that!) That’s due to changes in requirements or event different structures of wizard form which requires information in different format. E.g domain administator accound in one version is required in administrator@domain.local format whils in other installation it accepts only domain\administrator format.

Thanks to that I’m going to provide the list of basic steps to install vRealize Automation 7 in minimal deployment.

I assume that you have successfully deployed the vRA appliance and prepared IaaS VM.

  1. I suggest to perform the initial configuration from IaaS VM which will be helpful during IaaS components installation during the process. After accessing the vRA appliance console at port 5480 providing default password, the wizard will start. At this stage you can choose the deployment type. Below you can see description of enterprise deployment. I will choose minimal deployment for now, though. It’s

vrainstall2 vrainstall3

2. Now it’s high time to prepare IaaS server for installation of IaaS components. In vRA 7.x it is much more simplier and faster process. You simply need to install the agent to let the wizard  discover the server and perform necessary steps then.vrainstall4

3. Here you can see that the server is discovered and you can move forward.vrainstall5

4. Next step is to check all the prerequisities and fix them if necessary.vrainstall6

5. Here you can see that there is a lot work to do on a freshly  installed Windows Server.vrainstall7

6. Furtunatelly the wizard will do the job by itself. That’s the time for short break 😉 It takes approximately 15 minutes to perform all steps.vrainstall87. When all tasks are done you can re-run the verification script to confirm that everything is fine and move to the next step.

vrainstall9

8. Provide the FQDN of vRA VM.vrainstall10

9. Here you are going to create a password which will be used by the system administrator account.

vrainstall11

10. Next step is to provide IaaS information, and here is the time to use domain\username format for IaaS Administrator account which should have local admin rights assigned.vrainstall12

11. Here you are going to provide information about the database server. I highly recommend to create new database. Keep in mind that IaaS administrator name which you provided in the previous step must have Sysadmin rights on Database Server. Without that the process will go forward. It will fail during the ending installation step, though. 
vrainstall14

12. For minimal or PoC deployment you can simply leave default values here.vrainstall15

13. The same as previous steps, leave it without changing. Just note the exact agent name which will be required during endpoint creation.vrainstall16

14. Provide the information for vRA self-signed certificates, untill you want to use custom ones.vrainstall17

15.  Provide the information for Web self-signed certificates, untill you want to use custom ones.

vrainstall18

16. Provide information for Manager service certificate.vrainstall19

17. Run the validation which might take about 10 minutes.
vrainstall21

18. Now it’s the time for some kind of backup in case something went wrong. I suggest to take snapshot of IaaS server just in case. Even though validation stage was completed successfully there are some issues which could happen during installation. (I’ve faced a failed installation due to lack of appropriate database permissions)vrainstall22

19. Next just start the installation.
vrainstall2320. If you didn’t miss anything your installation should be successfull 🙂
vrainstall25

21. Next you should provide the license key.vrainstall26

22. Deselect the VMware CEIP agreement checkbox.vrainstall27

23. You can also provide the password for initial config content. It’s expecially usefull in case of PoC installation. By clicking Create Initial Content button a blueprint for default automation on basic vRA configuration will be created and published in default tenant service catalog.

vrainstall28

24. After that you can will see the installation confirmation. Now you can start the play and begin the jurney with you vRA!
vrainstall29

Veeam One Reporter Server installation failed

Veeam One Reporter Server installation failed

During the recent deployment of Veeam One as part of Veeam Availability Suite I met a mysterious problem during the installation.
The problems seemed to be related to Veeam Reporter Server.
Environment characteristic:
– Veeam 9.5 with Update One
– Virtual Machine in Windows AD domain
– Domain user with log on as service and local Administrator privileges
– External clustered MS-SQL Server 2012
– Database created by the installator or using the script provided by Veeam – both ways checked with the same result

After starting the installation (running as Administrator just to make sure) it was goint to Reporter Server installation and during that something was going wrong and the whole
installation was rolling back.

In the logs of Reporter Server I found such information:

MSI (s) (28:64) [14:13:16:973]: Product: Veeam ONE Reporter Server — Installation operation failed.
MSI (s) (28:64) [14:13:16:973]: Windows Installer installed the product. Product Name: Veeam ONE Reporter Server. Product Version: 9.5.0.3201. Product Language: 1033.
Manufacturer: Veeam Software. Installation success or error status: 1603.

Going deeper I realised that the installator was able to connect to DB, but after that, when it checked that the DB exist or not and tried to reconnect the connection failed.

MSI (s) (28!40) [14:13:14:801]: Doing action: VmaVeeamOneSQLSettings_Check
Action start 14:13:14: VmaVeeamOneSQLSettings_Check.
MSI (s) (28:5C) [14:13:14:816]: Invoking remote custom action. DLL: C:\Windows\Installer\MSID04F.tmp, Entrypoint: _VmaVeeamOneSQLSettings_Check@4
***Veeam*** Windows authentication selected, impersonating will be performed.
***Veeam*** Impersonating. User: ‘ENERGA\veeamone’…
***Veeam*** Impersonation completed successfully.
***Veeam*** Connecting to SQL server. Instance: 192.168.1.187, User:
***Veeam*** SQL Server connection established.
***Veeam*** Sql Server version: 11.0.6544.0.
***Veeam*** Database ‘VeeamOneDB’ exists.
MSI (s) (28!60) [14:13:15:441]: PROPERTY CHANGE: Adding VM_ONE_DB_EXISTS property. Its value is ‘1’.
***Veeam*** Reconnecting to SQL server…
***Veeam*** Checking HADR…
***Veeam*** GET HADR configuration…
***Veeam*** HADR is enabled.
***Veeam*** Get replica role…
***Veeam*** An error occurred while connecting to SQL. Error code: 0x80040E14.
***Veeam*** Description: ‘ADODB::Connection->Execute failed. ErrorMessage: IDispatch error #3092.
Description: The user does not have permission to perform this action.
State: 42000, Native: 297, Source: Microsoft OLE DB Provider for SQL Server
Failed to connect to SQL Server ‘192.168.1.187’.
MSI (s) (28!60) [14:13:15:722]: Product: Veeam ONE Reporter Server — Failed to connect to SQL Server ‘10.1.10.132’.
MSI (s) (28!60) [14:13:15:722]: PROPERTY CHANGE: Adding VMONE_SQL_CHECKING_RESULT property. Its value is ‘0’.
Action ended 14:13:15: VmaVeeamOneSQLSettings_Check. Return value 1.
CustomAction VmaRP_SQLSettings_Check returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 14:13:15: VmaRP_SQLSettings_Check. Return value 3.
CustomAction VmACheckCustomDialogsParams returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 14:13:15: VmACheckCustomDialogsParams. Return value 3.

I wasn’t able to find anything on the Web which would be similar to my issue.
Then I tried to use a different database instanace – let’s say it was test one, with small difference – it was a standalone SQL Server beside the cluster.
And this time it worked correctly. This was really strange for my expecially in case I used the same VM, domain user, etc.

After that, guided by a Veeam Support I tried one more time installing each component separately. I mean installing first Veeam One server with WebUI option deselected.
Then using the CLI with fallowing commands I was able to successfully install Reporter and Business View.
cd /d D:\VeeamONEReporterWeb_x64.msi
cd /d D:\BV_x64.msi

During the installation of these additional components there is a wizard where is poissible to change internal database to external one.

VMware Auto Deploy considerations

VMware Auto Deploy considerations

According to VMware definitione vSphere Auto Deploy can provision hundreds of physical hosts with ESXi software. You can specify the image to deploy and the hosts to provision with the image. Optionally, you can specify host profiles to apply to the hosts, a vCenter Server location (datacenter, folder or cluster), and assign a script bundle for each host. In short that is the tool to automate your ESXi deployment or upgrade.

As far as I know in particular on the Polish market it is not a widely used tool. However, it can be helpful for Integrator’s Companies to improve and make far more faster deployment of new environments. Furthermore, VMware claims the scripted or automated deployments should be used for every deployment with 5 or more hosts. Nonetheless, even if you are woring as a System Engineer or  at other implementation position I believe you are not installing new deployments every week..If that is every month – lucky you.

Well, is it really worth to prepare the AutoDeploy environment to deploy for instance 8 new hosts? – It depends.

IMHO, for such small deployments if you are really keen on making it a little bit fater the better way is to use kickstarts scripts. It can be much faster, expecially in case you are using them at least from time to time and you have prepared a good template (According the vSphere 6.5 I’m changing my mind a little bit due to changes which make AutoDpeloy preparation far more quicker)

However, Auto Deploy that’s not only deployment. It can be a kind of environment and change management. That can only be a specific kind of infrastructure where you use AutoDeploy to boot ESXi hosts instead of booting from local hard drives/SD cards.

Nevertheless, in Polands it is easier to meet classic PXE deployment booting from SAN than AutoDeploy. Is it the same trend seen around the world?

I am looking forward to hearing from you about yours experience with Auto Deploy.

vSphere 6.5 Installation – Part 3 – vCenter Server on Windows

vSphere 6.5 Installation – Part 3 – vCenter Server on Windows

This is the third part of the series in which I’m describing the process of installation vSphere 6.5 components. In this part I’ll go throught the process of installation vCenter Server on MS Windows Server 2012 R2.

The others parts are:

Now let’s check how the Windows installation looks like in the latest vSphere version.

Prerequisities:

  •  ISO for vCenter Server installation. Keep in mind that this is different ISO than used to PSC or vCSA deployment.
  • Account which can log in as a service (you can add it from Local Security Policy -> Local Policies -> User Rights Assignment -> Log on as a service)
  • (Optional) External Database with correctly configured ODBC.

For this demonstration I’m using embedded Postgress SQL instance which have the same limit as an external database and In my opinion in most cases it’s the best option.

 

 

1. The first step you have to do after you download the ISO image is to start the autorun. Then you choose the vCenter Serwer for Windows option and click Install button. You will also notice that there is no option to install vSphere Client for Windows from the installer page. However in vSphere 6.0 you were able to find the installer on the ISO in vSphere-Client folder. Unfortunatelly in vSphere 6.5 there is no more C# client for windows…For most of you (including me) it’s really bad news, althought there is the light at the end of the tunnel – new HTML5 client 🙂 It’s completely new and different user interface and I’ll devote the whole part of the series to show closer how it looks like.
2vc

 

2. On the welcome screan simply click Next.

3vc

3. Accept the End User License Agreement and click Next.

4vc

4. Choose the deployment type page allows you to choose which component should be deployed. In my case the external PSC was deployed in previous step and now I’m choosing vCenter Server. It’s important to notice that external PSC must be deployed before you start the deployment of vCenter Server Appliance.

5vc

5. Define the System Name. Notice that the FQDN you specify is already present and configured in your DNS. Click Next.

6vc

6. This is the step when you have to connect with your PSC and SSO domain. Provide the PSC FQDN name, SSO domain name, password for Administrator, and click Next.

7vc

7. Choose the account you would like to use for the installation. You could use the current account you are logged in or specify an other service account. Click Next.


10vc

8. This is the step where you can choose the database type. As I mentioned before in most cases I recommend to use embedded PostgreSQL. However you could also specify the external one. Click Next.

11vc

9. Confirm or specify some unusual port addresses you are going to use for specific services used by vCenter. Click Next.

12vc
10. Specify the installation directory or leave the default values and click Next.

13vc

11. Review the summary page and click Install to begin the installation process.

14vc

12.Monitor the installation progress.

15vc

13. After the installation is completed you can Launche vSphere Web Client and begin the real configuration of your management server.

16vc

 

If you want to try new HTML5 client you can type the https://vC_FQDN_IP in your browser and choose HTML5 option or go straight to https://vC_FQDN/ui

As you can notice on the vC welcome screan the HTML5 client is not fully functional yet. In the next part of the series I’ll go throught the new client to show you how it looks and how to navigate so please stay tuned 🙂

 

vSphere 6.5 Installation – Part 2 – vCenter Server Appliance

vSphere 6.5 Installation – Part 2 – vCenter Server Appliance

In the previous Part I of the series, I described the installation process of external PSC in vSphere 6.5.  In this part I’ll go through the process of vCenter Server appliance deployment.

  1. The first step is to download the vCSA ISO image and mount it for instance to your desktop. Inside the ISO image go to D:\vcsa-ui-installer\win32 and run the installer.exe. (This is the same ISO image used for PSC deployment). Then we choose the Install option, as you can see there are also available such option as Upgrade, Migrate and Rocever. All of them will be described further in next part of the series.

1vcsa

  1. In vSphere 6.5 the process of deployment is divided into two phases, or more correctly stages. The first stage contains the deployment of the appliance where it is deployed in our infrastructure. The second stage will let you configure the PSC and creating SSO domain, etc. It’s nothing to do on this step, simply click Next.

 

2vcsa

  1. Accept the End User License Agreement and click Next.

3vcsa

4. Choose the deployment type page allows you to choose which component should be deployed. In my case the external PSC was deployed in previous step and now I’m choosing vCenter Server. It’s important to notice that external PSC must be deployed before you start the deployment of vCenter Server Appliance.

4vcsa

5. In this step you have to provide the information about the host or vCenter where the appliance will be deployed. I’d like to emphasiss the option with vCenter which is new and in my opinion very helpful. It’s also the recommended option, of course if you already have a vCenter in place. That’s because if you connect directly to an ESXi host and it is in a DRS cluster, DRS initiated vMotions may occur during deployment process. To prevent this, you can either connect to vCenter managing the ESXi host or ensure the cluster where this ESXi host resides is not set to Fully Automated DRS for the duration of the deployment. You also need to provide the credentials to vCenter or ESXi host for an user that have the privileges do deploy and configure virtual appliances.

5vcsa

6. Verify and confirm the Certificate warning.

6vcsa

7. In case you have choosen the vCenter to connect tom, you can indicate a specific folder for the appliance. Click Next.

7vcsa

8. Choose the correct ESXi host to deploy it and click Next.

8vcsa

9. Specify the Virtual Machine name, root password and click Next.

9vcsa

10. Choose the right size of your deployment. VMware was so nice and inclueded information on the screen to let you choose the right size for your environment. In my case it’s “just” the lab so Thiny version will be more than enough. Click Next to go further.

10vcsa

11. Choose the datastore you want to use. There is also an option to configure the appliance this in thin provisioning mode. If you prefer so, simply mark the checkbox “Enable Thin Disk Mode” and click Next.

11vcsa12. This steps requires the network configuration. You are supposed to provide port group from the available list of port groups configured on ESXi host/vCenter you choosed before. There is also a place for system name which is optional (in case you don’t provide it, IP address will be used instead)

12vcsa13. Last step in stage one – confirmation. If all settings are correct click Finish to start the deployment process.

13vcsa

14. After all you can observe the progress via installator and host/vCenter.

15vcsa 14vcsa

15. When the deployment stage is done you go pass to stage 2 – basic configuration of our vCenter Server Appliance. To do that, click Continue.

16vcsa

16. Again you will see the welcome screean which informs you that this is the beginning of stage 2. Click Next to start.

17vcsa

17. Provide the IP address of NTP Server, mark the enable SSH checkbox and click Next.

18vcsa

18. This is the step when you have to connect with your PSC. Provide the PSC FQDN name, SSO domain name, password for Administrator, and click Next.

19vcsa

19. Review all the configured options and values and click Finish.

20vcsa

20. You will need to confirm the warning that you are completely sure about your choice. The process could not be interrupted after that.

21vcsa

21. Again as in the stage 1 you can monitor the progress untill it’s finished.

22vcsa

22. After the deployment is done, you can access the using the IP or FQDN name with port 443.

23vcsa

It’s done you vCenter Server Appliance is up and ready to start work with.

In the next part I’ll describe the straightforward process of Windows vCenter Server installation.

 

Please, check the other parts of the series: