Configuring and Installing Ibm Bladecenter: Using Blade Servers With Esx Server
Configuring and Installing Ibm Bladecenter: Using Blade Servers With Esx Server
1
Configuring and Installing IBM BladeCenter
VMware products improve the existing benefits of blade servers. By using ESX Server, you can
install multiple virtual servers on a single blade, thereby containing costs and maximizing the
potential of your hardware.
For more information on the benefits of VMware ESX Server, see www.vmware.com/products/
server/esx_features.html.
2
Configuring and Installing IBM BladeCenter
Local Storage
On IBM blade servers, you need local storage (typically an IDE drive) to install the VMkernel and
VMware Service Console.
ESX Server does not support “diskless” operation, where the ESX Server base installation is on a
Fibre Channel SAN logical unit number (LUN), Internet SCSI (iSCSI), network-attached storage
(NAS), or other external storage.
Local SCSI
Some blade systems have SCSI peripherals that can be attached to each CPU, and take up to
two SCSI drives. In typical use, these SCSI drives are placed into a RAID1 (mirrored) configuration
for redundancy.
On an IBM blade, the SCSI peripheral takes up one of the blade slots, thus reducing the
maximum blade density by half.
SAN Storage
Fibre Channel SANs are the preferred storage media for ESX Server and VirtualCenter in a blade
environment, due to the following advantages:
• This configuration doubles the blade density per blade chassis, compared with local SCSI
storage on IBM blades.
• SAN storage may be shared among multiple blades (and other systems), thus allowing
storage consolidation. Often, this is a much more efficient use of storage resources than
dedicated, per-system, RAID-protected storage.
• IBM blade systems support redundant host bus adapters (HBAs) to meet High Availability
needs.
• The storage is more reliable (RAID5 with hot spares compared to RAID1).
• Storage is unlimited compared to the storage that fits on a single local SCSI disk.
• A shared SAN is required for using VMotion with VirtualCenter.
• Images, templates, and so on, may be shared between multiple ESX Server systems.
3
Configuring and Installing IBM BladeCenter
VMotion
For you to use VMotion, all blades in a VirtualCenter farm need access to the same logical unit
number (LUN) on a SAN. Consequently, the VMFS volumes that contain the virtual machine
virtual disk (.dsk) files must be on a shared SAN accessible by ESX Server.
Note: VMotion is not supported for virtual machines hosted on local storage. The virtual
machine must reside on a shared SAN.
Swap File
ESX Server swap partitions must be on a controller visible to the virtual machines (VMkernel).
We recommend that you create ESX Server swap partitions on a local SCSI drive, or on the SAN.
Purchase enough physical memory to prevent virtual machine swapping from being a
significant performance issue.
Depending on the number of blades and your swap usage, you may choose to allocate a
dedicated LUN for swap files. Multiple swap files from multiple ESX servers can reside on this
dedicated LUN. Do not store any other kind of file (virtual machine .dsk files, checkpoint files,
and so on) on this LUN.
Use a unique name for each blade server swap file, such as, <server_name>.vswp.
Although you can have a total of eight swap files for each ESX Server machine, you can select
only one swap file through the VMware Management Interface.
4
Configuring and Installing IBM BladeCenter
1. You must install ESX Server on the first IBM blade by performing a standard CD-ROM-based
installation. Follow the procedure described in the ESX Server 2.1 Installation Guide, at
www.vmware.com/support/esx21/doc/esx21install_text-steps_install.html.
Note: You can use the graphical installer with IBM blades only if you are using a USB
mouse plugged into a USB port.
2. There are two different procedures for installing ESX Server on subsequent, additional
blades in IBM BladeCenter. Select and complete one of the following procedures, based on
your work environment.
• Performing a Remote Network Installation of ESX Server with RDM on page 6
• Performing a remote network installation by using a scripted, remote installation. Follow
the steps in the ESX Server 2.1 Installation Guide at www.vmware.com/support/esx21/doc/
esx21install_script_setup_install.html .
5
Configuring and Installing IBM BladeCenter
Note: We recommend you dedicate all Fibre Channel devices to the virtual machines
(VMkernel).
6
Configuring and Installing IBM BladeCenter
serving a different range of IP addresses for target systems. However, one D-server is
sufficient for this installation.
• Remote console (integrated with IBM Director console) — This console provides the
user interface for inspecting and controlling the RDM server. Multiple IBM Director
remote consoles may be connected to the RDM server, if necessary.
2. Configure the DHCP server.
A DHCP server is required for the proper operation of RDM. Refer to the RDM
documentation for the procedure to configure your DHCP server.
3. Prepare the ESX Server boot image.
After installing ESX Server on the first blade, use the VMware Management Interface to
prepare an ESX Server installation floppy disk. Configure a scripted installation for DHCP
operation as described in the ESX Server 2.1 Installation Guide at www.vmware.com/support/
esx21/doc/esx21install_script_setup_install.html. When the configuration is complete, select
Download Floppy Image and create a floppy disk image.
4. Create a new mount point on your NFS server and export it. For more information on how
to set up an NFS server, see The Linux Documentation Project HOWTO at tldp.org/HOWTO/
NFS-HOWTO.
a. Copy the contents of the ESX Server 2.1 CD-ROM to the root of your NFS mount point.
Then copy the ks.cfg file from the ESX Server installation floppy to the root of your
NFS mount point.
b. Edit the ks.cfg file and modify the Installation Method line. This line should
start with a cdrom or url command. Replace this line with the following:
nfs –-server <nfsserver> --dir <nfsdir>
Replace <nfsserver> with the IP address or host name of your NFS server and
replace <nfsdir> with the NFS mount point.
5. Add the ESX Server boot image to the RDM server.
By default, RDM is installed in C:\Program Files\IBM\RDM. We assume this default
location in the following steps. If you have installed RDM in a different directory, then
change the directories in the following steps, accordingly.
a. Open the folder for C:\Program
Files\IBM\RDM\repository\environment\.
b. Create a folder in that directory called esx.
c. Copy C:\Program
Files\IBM\RDM\repository\environment\etc\pxeboot.0 to
C:\Program Files\IBM\RDM\repository\environment\esx\.
d. Copy C:\Program
Files\IBM\RDM\repository\environment\etc\pxeboot.cfg to
C:\Program Files\IBM\RDM\repository\environment\esx\.
e. Edit C:\Program
Files\IBM\RDM\repository\environment\etc\default to match the
following lines.
Note: Type each line on a single line, including the line starting with APPEND. This line
appears as two lines because of the formatting in this tech note. <nfsserver> is the
7
Configuring and Installing IBM BladeCenter
IP address or host name of the NFS server and <nfsmount> is its mount point as
configured in step 4.
DEFAULT vmlinuz
APPEND initrd=initrd.img apic ks=nfs:<nfsserver>:<nfsmount>/
ks.cfg ramdisk_size=10240
f. Copy the initrd.img and vmlinuz files from the ESX Server installation floppy to
C:\Program Files\IBM\RDM\repository\environment\esx\.
Be sure that the file names are all lower case.
6. Find the target system (the blade on which you want to install ESX Server) in IBM Director.
a. Open and log into the IBM Director console program.
b. There are three columns in the IBM director window. Set the “group” on the left column
to “physical platforms”.
c. Find the target system in the middle column. You can identify the target system by its
MAC address, IP address, machine name, or IBM machine ID. To be sure, double-click the
highlighted entry representing the target system to match the MAC address. If you
cannot find the target system, boot the target system by using the pre-boot execution
environment (PXE) once, and the target system is boot scanned by the IBM Director
server.
7. Create an installation task.
a. In the right “task” column of the IBM Director window, choose Remote Deployment
Manager > Custom.
b. Right click on Custom and create a new task.
c. In the Advanced tab, there is an editable text box that contains the script that runs the
task. Modify the installation task to match the following.
;This is command list for custom task
BOOTTYPE !LOADBOOTSTRAP environment/esx/pxeboot.0
WAKE
!!setenv
!!SHUTDOWN
END
8. Create a job for the target system using the custom installation by dragging the target
system in the second column onto the new task that you just created. Choose run system
in the pop-up window, and then select execute now.
9. Start the ESX Server installation.
If the target system is set to wake up on LAN or boot from PXE, it should find the RDM
server and load the boot image pxeboot.0 from the D-Server. The boot image then
loads the vmlinuz and initrd.img files and starts the ESX Server installer. The ESX
Server installer downloads files from the NFS server and continues with the installation.
10. Perform the ESX Server configuration steps in the VMware Management Interface, as
described in the ESX Server 2.1 Installation Guide at www.vmware.com/support/esx21/doc/
esx21install_config_install.html.
Note: We recommend you dedicate all Fibre Channel devices to the virtual machines
(VMkernel).
8
Configuring and Installing IBM BladeCenter
11. Repeat this process for each additional blade server in the BladeCenter.
9
Configuring and Installing IBM BladeCenter
10
Configuring and Installing IBM BladeCenter
mkdir /mnt/cdrom
11