Skip to content. | Skip to navigation

IT Virtualization Blog

Personal tools

This is SunRain Plone Theme
You are here: Home / Users / lmarzke / howto / vmware-vcenter5-install

vmware-vcenter5-install

by lmarzke last modified Nov 12, 2012 11:12 AM

VCenter 5 Installation

 

Verify DNS.

  1. Ping VCenter server , Ping hosts, Ping DB

For: Windows 2008 Srv R2, 64bit required.

Install Firefox

 

  1. To install SQL server 2008R2
  2. run from a command prompt
    netsh advfirewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 remoteip = localsubnet profile = DOMAIN
  3. Add local user "sqlservice"
  4. Run SQL installer..
  5. Select to install SQL server, Client support.  Don't need reporting or other stuff.
  6. Install default instance, don't add another instance.
  7. Run all services as "sqlservice"
  8. Set Authentication Mixed Windows/SQL
  9. Set SA password
  10. Create DB,   login as SA user
    use [master] 
    go 
    CREATE DATABASE [VCDB] ON PRIMARY 
    (NAME = N'vcdb', FILENAME = N'D:\Databases\VCDB.mdf', SIZE = 2000KB, FILEGROWTH = 10% ) 
    LOG ON 
    (NAME = N'vcdb_log', FILENAME = N'D:\Databases\VCDB.ldf', SIZE = 1000KB, FILEGROWTH = 10%) 
    COLLATE SQL_Latin1_General_CP1_CI_AS 
    go
    use VCDB 
    go 
    sp_addlogin @loginame=[vpxuser], @passwd=N'complexpw', @defdb='VCDB', @deflanguage='us_english'
    go 
    ALTER LOGIN [vpxuser] WITH CHECK_POLICY = OFF 
    go 
    CREATE USER [vpxuser] for LOGIN [vpxuser]
    go
    use MSDB
    go
    CREATE USER [vpxuser] for LOGIN [vpxuser]
    go
    use VCDB go sp_addrolemember @rolename = 'db_owner', @membername = 'vpxuser' go use MSDB go sp_addrolemember @rolename = 'db_owner', @membername = 'vpxuser' go
  11. Set DB Recovery Mode to "Simple"
  12. Enable SQL Server Agent ( Automatic Start )
  13. Create 64bit DSN,  login (sql auth) as vpxuser,  with above password,  set default DB to 'VCDB'
  14. Run Vcenter installer, you may have to manually type in the name of the DSN.

 

Install Web Client (Server )

  1. Run Installer
  2. Browser to http://localhost:9090/admin-app
  3. Redirect to https://localhost:9443/admin-app
  4. Open Command Line to
    c:\Program Files\VMware\Infrastructure\vSphereWebClient\scripts
  5. Run the following script.
    admin-cmd.bat register https://webclientserver.domain.com:9443/vsphere-client https://vsphereserver.domain.com/ User Password
    Where User/password is a Vcenter Admin or ( Vcenterserver\Administrator )

 

VMware Update Manager

 

  1. Run the following to create the VMware Update Manager DB
    use [master] 
    go 
    CREATE DATABASE [VUM] ON PRIMARY 
    (NAME = N'vum', FILENAME = N'D:\Databases\VUM.mdf', SIZE = 2000KB, FILEGROWTH = 10% ) 
    LOG ON 
    (NAME = N'vum_log', FILENAME = N'D:\Databases\VUM.ldf', SIZE = 1000KB, FILEGROWTH = 10%) 
    COLLATE SQL_Latin1_General_CP1_CI_AS 
    go
    use VUM 
    go 
    CREATE USER [vpxuser] for LOGIN [vpxuser]
    go
    sp_addrolemember @rolename = 'db_owner', @membername = 'vpxuser'
    go

  2. Create a 32bit DSN with the program.
    %WindowsDir%\SysWOW64\odbcad32.exe
    
    Use Native SQL client, Change Default DV to "VUM"  login (sql auth) as vpxuser.
  3. Set DB Recovery mode to "Simple"

 

vSphere 5.1 notes:

 

 

Document Actions