Overview
- A trial of the VI3 software was obtained from HP, along with 2 x GL380 file servers each having 12Gb RAM and 2x 72Gb SAS HDDs (RAID 1 - Mirroring).
- All software and documentation are held under N:admindocsAdmin & TechnicalProjects2007 Oct - HP Virtualisation
- The background to this project is written up here
- An invaluable resource in all this is the VI3 Installation Guide (PDF)
Virtual Centre
The Virtual Centre product is software to control the whole business. It was installed inside a VMware Workstation 6.0 VM itself as follows:
- VM Host: Duncan’s Test HP workstation
- VM Guest: XPSP2, 6Gb IDE HD, 1Gb RAM, McAfee Enterprise 8.0i SP15, Novell Client 4.83, Windows patches to current date.
- VM Guest Network: IP 137.195.80.145 (bridged, sml-vm-xp01)
- VM Guest Location: Buffalo USB HDD, path: to-be-inserted
- VM Credentials: Login to SOMFS2 as network admin, login locally as SML PC Admin.
Installation
- Virtual Centre v2.0.2-62327 hereafter abbreviated VC - was downloaded to C:temp of the VM, unzipped, and autorun.exe was run.
- Choose VC Management Server 2.0 from the list that appears (top of list).
Install to c:program filesvmwarevmware virtual center 2.0 as ‘typical’.
- Choose the MSDE database server for installation ( Oracle/SQL Server also available).
- "Install a local VMware Licence Server and configure VC Server to use it".
"Use the browse button to locate the licence to be served".
[Copy the .lic files from network to C:program filesvmwarelicences - after creating this folder - and choose VCMS.lic]
- Enter the connection information for the web service:
IP: 80.145 (not needed, here just as a reminder)
https port: 443
http port: 80
Diagnostics Port: 8083
VirtualCenter Port: 902
Heartbeat Port (UDP): 902
- Accept the XP Firewall unblocking of what follows.
- VC Apache Tomcat: Will run on port 8086 (and set to run as a service).
- Restart the VM
What do we find?
Under start menu - programs -vmware -vmware licence server - vmware licence server tools one sees the FlexLM licence server (as used in our Admin PC to licence Trados, etc).
Under start menu - programs -vmware -vmware web access - web access one finds a hyperlink to the local Apache Tomcat home page. Opening this, the Vmware Virtual Infrastucture Web Access page appears with a login form (Login Name/Password).
In the system tray is a new icon which expands to SQL Server Service Manager. It has two dropdown boxes entitled Server and Services, both of which are empty.
Creating the MSDE Database
The documentation (p60 of the PDF guide) suggests one must create the database for VC Server to use.
- Open the Control Panels - Administrative Tools - Data Sources (ODBC)
- Select the System DSN tab.
One finds under name "VMware VirtualCenter" with driver "SQL Server" already here.
- Highlight the above and click on the ‘Configure…’ button. Under ‘what name do you want to use to refer to the data source’ one finds ‘VMware VirtualCenter’. Click ‘Next’.
- The authentication tab/window follows: Windows NT authentication is selected, with ‘Login ID’ that of the SML PC Admin account.
As the SQL Server Service Manager still doesn’t see this data source, restart the VM. No change, so leave this just now.
Go back to ( start menu - programs -vmware -vmware web access - web access ) Vmware Virtual Infrastucture Web Access page and login as SML PC admin account credentials. Success! But this doesn’t show very much so, we need some more software.
Virtual Infrastructure Client 2.0
The above wasn’t installed, so return to the autorun.exe and choose to install this on the VM.
"Warning 25800 - requires .NET v1.1 with Service Pack 1. For increased stability and performance please upgrade". The ‘finish’ button then said the installation was complete and a IE window opened prompting one to download .NET SP1. This was downloaded to N:admindocsAdmin & TechnicalProjects2007 Oct - HP VirtualisationdotnetSP1 then installed, and the VM restarted.
The Virtual Centre Client icon is available on the desktop, and requests a host, username and password. At a bit of a loss as what to do next, so continue with ESX Server.
Later addition: Doh! The IP information and login credentials required are those of the ESX Server machine installd below.
Installing ESX Server
One of the two HP GL380 server was chosen (2 x 72Gb SAS HDD, RAID 1 - mirroring, 12Gb RAM). The ESX Server software upgrade-esx-3.0.2-61618.iso was burned to CD and the server booted with CD in the drive.
The IP number used was 80.200, DNS registered at present as somwebcam.som (doesn’t matter for testing).
Details are written on paper beside the server, to be written-up here later, but a default partitioning of the local disk was chosen and root user password set (same as SML PC local admin password). The single disk is actually a RAID 1 affair with 65Gb available for formatting with VMFS.
Once installed, Virtual Infrastucture Client (hereafter VI Client) was opened on the VirtualCentre PC and the above IP used to connect, along with username root and root password (same as SML PC local admin password). This is pretty self-explanatory, allowing one to view or create VMs and assign who has permissions to access them.
Virtual Infrastucture Client was also installed on Duncan’s work PC - it’s just client software so can be installed anywhere.
The First Virtual Server: Windows Server 2003
A 180-day trial copy of Windows Server 2003 was obtained and downloaded to N:admininstallWindows Server 2003R2 Trial (start date of trial is Nov 18th 2007). Two CD images are available in .img format, but are apparently in ISO format. Renaming the file with an ISO extension permitted burning with Roxio Easy CD Creator.
Using the VI Client, a VM was created on the ESX server for the above server software. One locates the ESX server in the left-hand pane, right-click and choose "New Virtual Machine". A 12Gb HDD was chosen and 1Gb RAM allocated (just a small test system).
Licencing
Insert the W2003 Server CD1 into the ESX server then, with the VI Client software (on the VirtualCenter VM), right-click on the name of the VM created above and choose ‘Power On’. A licence warning/error is returned "There are not enough licenses installed to perform the operation", advising to click on the ESX Server ‘Configuration’ tab and select ‘Licenced Features’.
An ‘edit’ link is beside the Licence Features, with options to use a licence on the host, licence server or to upload local file. Select the last option and browse to C:program filesvmwarelicence and upload VI_singlehost.lic.This doesn’t help the matter. An identical problem is documented on the VMware Support forum.
FlexLM:
On the VirtualCenter VM, dig into the FlexLM licencing matters.
One creates a new system environment variable named LM_LICENCE_FILE with value 27000@137.195.80.145 and the FlexLM licence server looks for and parses all .lic files in the C:Program FilesVMwareVMware Licence ServerLicences folder (into which VCMS.lic, VI_Centralized.lic and VI_SingleHost.lic have been manually copied). Using the LMTOOLS diagnostics (icon on the desktop of the Virtualcentre VM), one can verify that the licences have been read by FlexLM.
However … the W2003 Server VM still does not start for the same licence error.
Try the following:
- Move all .lic files into a backup subdirectory, just keeping VI_Centralized.lic and restarting the FlexLM licence Server.
- Setting the ESX Server Firewall to minimal settings via
root> esxcfg-firewall –allowIncoming –allowOutgoing
root> service mgmt-vmware restart
- Using this great Troubleshooting VI3 Guide (PDF) - page 27 of this says to change the "ESX Server Licence Type" from "unlicenced" to "ESX Server Production" in the VI Client (done).
Success! The ‘Power On’ of the W2003 VM now starts without error.