ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

Install vCenter on Windows Server 2012 – ODBC and vCenter components install (Part 2)

By Vladan SEGET | Last Updated: June 16, 2016

Shares

In the first part we successfully installed SQL Server, and created vCenter, VMware update manager and SSO databases. In this part we will create the DSNs and Install vCenter on Windows Server 2012, together with all the different components. This post is a part of multipost, where we do an Install vCenter Server on Windows Server 2012, with three separate SQL Server 2012 databases, which are hosted on Windows Server 2012 VM.  The three vCenter components which are using databases are Single Sign On, vCenter Server and VMware Update Manager. All those components points to the databases we I have installed on our SQL server 2012 in the previous article.

DSN Creation

Next step we need to do is to create DSNs. We will use the 64 bit version of DSN and the 32 bit version is still needed for VUM and SRM.

  • VMware vSphere 5.1 Single Sign-On DB (needs 64 bit ODBC)
  • VMware vSphere vCenter server DB (needs 64 bit ODBC)
  • VMware Update Manager DB (needs 32 bit ODBC)

Here is an outline to create a connection for VCDB. Take the ODBC 64 bit:

sso-ok2

To setup the connection for VMware Updata Manager (VUM) database, use this shortcut to access to the 32 bit ODBC for VUM:

c:\Windows\SysWOW64\odbcad32.exe

Once the three ODBC connections done, you should see them all in the System DSN tab, and you can start installing the different vCenter components.

odbc

Install vCenter on Windows Server 2012

You'll start with installing the SSO. Run the autorun.exe and bring up the main Installation installation window (I do always right click and run as an Administrator – bad habit only?…).

Click the vCenter Single Sign On Install.

sso-install

Then follow the assistant, and keep rolling with the different vCenter components. They're in the right order. I don't think it's necessary to list the installation of different components here, as they are easy to install. The only thing is to use the right odbc name for the three database based vCenter components.

In case you'll receive an error  that this or that account does not have enough rights on this or that database, it's easy to correct problem by jumping to the SQL server management studio and looking Security > Logins > Right clicking the user account > Server roles (or user mapping)…

Wrap Up:

The “most difficult” part is the SQL server part, where you have to create the different databases required for the different VMware vSphere components. The scripts that I pointed to in the first part of the serie, provided by VMware documentation page are easy to use, and even a SQL beginner can use them, with easy personalization.

The future might be different. When VMware will develop vCSA with every single functionality which is present in the SQL server based vCenter installation, then the things will be different. Until now, just make your SQL skill better…

If you're not very experienced in SQL, you must find your way through if you want to use standalone SQL server for your installations. Hopefully this post helps some people in their jobs. So just S-H-A-R-E…. -:)

  • If you're upgrading from previous versions of vSphere you might want to check out the vCenter Pre-Install Check Script.
  • If you're in process to think to change self signed SSL certificates, check out my post VMware Certificate Automation Tool – How to use.
Shares
5/5 - (1 vote)

| Filed Under: How To, Windows Server 2012 Tagged With: Install vCenter on Windows Server 2012

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. henketh says

    January 15, 2014 at 4:28 pm

    Nice guide!
    What are the main disadvantages of running vCenter and SQL on the same machine? And I mean a full SQL installation, not the Express version.

    • Vladan SEGET says

      January 15, 2014 at 8:46 pm

      Depending on few things. One of them is the size of your virtual infrastructure (how many hosts) and also I would preferably separate the SQL out of the vCenter server role.

  2. Henketh says

    January 15, 2014 at 9:05 pm

    Why is that preferable, in your opinion?
    We’re running 10 hosts and 250 vms on a clustered SQL right now, but experienced more problems than benefits from it. The thought of having the db and vc centralized on one server seems to be a attractive alternative.

    • Vladan SEGET says

      January 15, 2014 at 11:11 pm

      10 hosts is rather small environment, but I’d still prefer to separate the roles. Granularity. I usually avoid putting all eggs in the same basket. But it’s rather personal. If you feel confident troubleshooting VC database or having quick restore handy, why not? One of the first points to keep in mind is always the question how quickly can I restore and how old the data will be.

  3. Mariano says

    October 18, 2014 at 3:12 am

    Does it makes sense running Windows vCenter in an ESXi guest VM?

    • Vladan SEGET says

      October 18, 2014 at 1:13 pm

      vCenter is no longer recommended to be run on physical computer as we can easily protect vCenter agains hardware failure when as a VM in HA cluster…

  4. donald fossouo says

    February 24, 2015 at 2:51 pm

    Hi i have a problem first i install vmware esxi directly on my laptop n5110 and each time it give the message “No network adapter found”. Do you have any idea for fix it ? I looked for vib file seems that not found for dell inspiron n5110.

    The second problem is that i install on intel Nuc esxi and it does not recognize the second SSD

    Thks

    • Vladan SEGET says

      February 24, 2015 at 3:02 pm

      I think that you have made a mistake to install ESXi on a laptop. What for? Not only that the NICs and chipsets are most likely unsupported, but also think that you’ll have to access that system from else where. Unless this is a “green” choice for power energy consumption reasons, it does not really make sense to me. If your laptop has at least 8Gb of RAM you can install nested vSphere lab (2 ESXi, vCenter and Domain controler which also does DNS, DHCP and shared storage…) Just check the front page of the blog and request the Free PDF e-Book where I’m detailing the steps. -:)

  5. Cyndee says

    August 4, 2016 at 11:53 pm

    which steps can I omit if I install both SQL and Vcenter on the same server?
    Excellent guide

    • Vladan SEGET says

      August 5, 2016 at 2:44 pm

      vSphere 6 uses PostgreSQL DB. No more SQL Express… Was that you were looking for? I’m unsure if SQL Server (standard) and vCenter server on the same system is supported scenario.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in