How to install Database and ODBC for VMware View

Installing VMware View Database and ODBC connection in my lab.

After the introductory post where I showed the basic setup which you’ll going to follow, now we going to kick the installation process. We will work on my vCenter VM which was already setup for my lab environment I’m using for vSphere 5, so this part of the setup is not included in this How-to install, configure VMware View series of articles.

Fist thing we need to do is to setup the VMware View Database. I’m gonna stick with SQL Express for my lab, since it’s also the bundled database provided when you install VMware vSphere 5. Be aware of the size limitation on that kind of “Express” database and rather plan use SQL Server Standard for larger deployments.

Creating the View Database through SQL Server Management Studio – SQL express management studio express (version 2005 in my case) has the possibility to create local databases and so I’m gonna use this free tool from Microsoft to do the job. You can find the download of this tool through this link.

I’m sure that there is other tools which can do the same job, so feel free to comment, I’ll update the post so everyone can benefit from it.

Microsoft sql server management studio express

So the first step as I said above, is the database creation for VMware View 5. I’m gonna call that database view5, but any name can be of course used.

How to create VMware View Database and ODBC connection

As you can see there is nothing fancy. Select the Databases on the left > Right click the white space and choose New database.

The next thing is to give it the Proper Name.

How to create VMware View Database and ODBC connection

Once done you just validate on clicking OK button. And as you can see the database will appear allong with your existing vSphere databases. In my case there are already the VCDB (vCenter Database) and UMDB (vSphere Update Manager Database).

How to create VMware View Database and ODBC connection

Creation of the ODBC connection for VMware View Database. This connection is created on the vCenter Server. You go throught the Start menu > Administrative tools > ODBC

How to create VMware View Database and ODBC connection

The next few screens will show you on how to configure the ODBC connection. Selecting the System DSN > Add button > Selecting SQL Native Client

How to create VMware View Database and ODBC connection

And then to continue through the assistant. You give a name for connection. I named it the same as the View database itself ….

How to create VMware View Database and ODBC connection

And the wizard continues to select the authentication method..

How to create VMware View Database and ODBC connection

Once done, just follow and change the default database to the view5 – which is your VMware View database you created in the Microsoft SQL server Management studio express 2005 tool.

How to create VMware View Database and ODBC connection

The next step just verifies that the connection is available

How to create VMware View Database and ODBC connection

And we got to the end screenshot here.

How to create VMware View Database and ODBC connection

This was one of the crucial parts for successful setup of VMware View. If you’re more serious on VMware View, you can attend a VMware Class where you’ll be guided by professional instructor and you’ll be able to pass a desktop certification. The VMware Desktop Certification is called  VCA4-DT (VMware Certified Associate 4 – Desktop). The VCA4-DT is a new VMware certification which has been introduced for public only recently.

You can also Study more remotely or while on-the-go with Trainsignal‘s Training done by Brian Knudston, which I reviewed several months back. Read my review here – VMware View Administration Training – My Review. 

Even if this training is for View 4.6 the concepts there are the same, and recently Brian confirmed that this training will be updated for VMware View 5 as he is already working on the project.

The full serie – VMware View 5 Install, configure – How-to in my lab :

Enjoy…-:)

 

Article by

Vladan is as an Independent consultant, vExpert 2009 - 2013, VCP 4/5 and owner of this website. Feel free to subscribe via RSS

Comments

  1. Hi,

    Nice documentation. I will give a try now . Thanks a lot for the post.