This document provides information on how to create a base Windows image. The base image can be used to create derivative VCL images.
These instructions are for xCAT or VMware images. If creating an xCAT image, ignore the sections with titles beginning with VMware Only:.
Note: xCAT is a cluster management tool used as a provisioning engine within VCL to install images on bare metal blades.
VCL can utilize several different provisioning engines including xCAT, VMware Server, VMware ESX, and VMware ESXi.
This document assumes familiarity with xCAT and VMware.
Terminology
- Management node: Linux server with the following components installed:
- Compute node: refers to the target blade or virtual machine
Requirements
...
You will need the following:
- Compute node has already been added to the VCL database
- Windows Windows XP installation ISO file
- Windows XP product key
...
- Note: these instructions assume the Windows ISO file is loacated at the following location on the management node:
Windows XP ISO: /install/WinXP+SP3.iso - Windows product key owned by your organization
These instructions assume you have root access and are using a bash shell:
...
- image
- imagerevision
- resource
These These rows need to be added to the database manually either by using SQL commands or phpMyAdmin. The following SQL statements assume the following properties of the image:
...
Code Block |
---|
INSERT INTO `vcl`.`resource` (
`id` ,
`resourcetypeid` ,
`subid`
)
VALUES (
NULL , '13', '7'
)
|
VMware Only: Create a Virtual Machine
The instructions assume that VMware has been configured with the following bridged networks:
- VMnet0: bridged to private interface: eth0
- VMnet2: bridged to public interface: eth1
- Launch the VMWare Server console:
- Connect to Local Host
- Create a new VM
- Virtual Machine Configuration: Typical
- Guest Operating System: Microsoft Windows
Version: Windows XP Professional (select the appropriate version if you are not installing XP) - Name: vmwarewinxp-base7-v1
- Network connection: Custom
/dev/vmnet1vmnet0 - Disk size: 8.0 GB
- Allocate all disk space now: no
- Split disk into 2GB files: yes
- Edit virtual machine settings
- Configure the VM CD-ROM drive to use the Windows XP ISO image
- Connection: Use ISO image: browse to path of Windows XP ISO image
/install/WinXP+SP3.iso
- Add: Ethernet Adapter
- Network Connection: Custom
/dev/vmnet0vmnet2
Install Windows
...
Follow the steps: Install Windows XP for a Base Image
- Power on the VM if it is not already powered on
- Install VMWare Tools (Note: you must have a CD-ROM drive configured for the VM in order to install VMware Tools)
- Click on the VM menu and select "Install VMWare Tools"
- Select Typical and proceed through the setup pages accepting the defaults
- Reboot the VM when installation is complete
...