Summary: How to install vmware VirtualCenter.
Date: Around 2008
Refactor: 29 April 2025: Checked links and formatting.
This is the installation of VMware VirtualCenter on Windows Server 2008 Standard SP2 64 bits. Installed like Windows Server 2008.
cscript c:\Windows\System32\slmgr.vbs -skms kms.company.local:1688 cscript c:\Windows\System32\slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX cscript c:\Windows\System32\slmgr.vbs -ato
I want the event viewer to forward all event viewer events to syslog:
C:\Users\administrator>cd c:\windows\system32 c:\Windows\System32>evtsys -i -h <ipaddress-syslogserver> Checking ignore file... May 7 16:41:06 Error opening file: evtsys.cfg: The system cannot find the file specified. May 7 16:41:06 Creating file with filename: evtsys.cfg Command completed successfully
Now, go into your services.msc and start the service.
Windows Server 2008 comes by default without a telnet client which is a no go in my opinion.
I used these steps to add the telnet client to Windows Server 2008 active features:
I disabled the Windows Firewall and disabled Internet Explorer Enhanced Security.
I added the server to the domain.
These are taken from the ESX and vCenter Installation Guide 4.1.
Media: VMware-VIMSetup-all-4.1.0-259021
The rest of the configuration is done in the vSphere Client. Start the client and point it to the vCenter Server you've just installed.
After logging in you'll see a screen like this:
After creating a datacenter, you can start with adding hosts, unless the hosts are still ESX version 3. If that's the case you'll first have to configure the License Server (see below with other configuration).
When all hosts are added, select the datacenter and click 'Create a cluster'
When the cluster is created you can 'drag and drop' the hosts into the cluster. Be sure to select the option to create a new resource pool, which will be grafted from the host. This way you won't loose the created resource pool hierarchy.
If there are still ESX 3 hosts you'll need a license server. Ours is “10.10.10.10”. To configure this go within the vSphere Client to Administration → vCenter Server Settings → Licensing and enter the license server in the “License Server” field.
Fill in the SMTP server address and the sender address (vcenter-noreply@getshifting.local)
You can view the assigned permissions on the 'Permissions tab'
Because this is a secured system we use the Message of the Day to show a warning about the system:
NOTICE TO USERS This computer system is the private property of COMPANY. It is for authorized use only. Users (authorized or unauthorized) have no explicit or implicit expectation of privacy. Any or all uses of this system and all files on this system may be intercepted, monitored, recorded, copied, audited, inspected, and disclosed to your employer, to authorized site, government, and law enforcement personnel, as well as authorized officials of government agencies, both domestic and foreign. By using this system, the user consents to such interception, monitoring, recording, copying, auditing, inspection, and disclosure at the discretion of such personnel or officials. Unauthorized or improper use of this system may result in civil and criminal penalties and administrative or disciplinary action, as appropriate. By continuing to use this system you indicate your awareness of and consent to these terms and conditions of use. LOG OFF IMMEDIATELY if you do not agree to these conditions.
I had to perform an upgrade from a vCenter installation in a somewhat larger environment than I was used to before, and they even have the database on a SQL server, although still on the same box. I thought I might as well document it.
I used this media which will update vCenter to version 4.1 update 1 (released February 2011): VMware-VIMSetup-all-4.1.0-345042.iso
After mounting the iso and starting the installer the installation programs recognizes there is a previous version of vCenter installed and announces it will perform an upgrade:
After agreeing to the license agreements you can choose that you already have a database, that you use Windows Authentication for it and do NOT want to overwrite it but want to keep it:
This is a screenshot from the test environment, normally you should select the SYSTEM account or a specially created service account:
Keep the ports as default:
The environment only has about 40 hosts so I still choose the small environment:
After checking the summary, starting the installation and finishing the installation the vCenter upgrade was finished:
The section about Update Manager became too big and is replaced by a separate page.
Port Description | Port Number |
---|---|
HTTPS port | 443 |
HTTP port | 80 |
Heartbeat port (UDP) | 902 |
Web Services HTTP port | 8080 |
Web Services HTTPS port | 8443 |
Web Services Change Service Notification port | 60099 |
LDAP port | 389 |
SSL port | 636 |
Update Manager Ports | |
HTTP port | 80 |
SOAP port | 8084 |
Web port | 9084 |
SSL port | 9087 |