Configuring and Installing Ibm Bladecenter: Using Blade Servers With Esx Server
Configuring and Installing Ibm Bladecenter: Using Blade Servers With Esx Server
Configuring and Installing Ibm Bladecenter: Using Blade Servers With Esx Server
This note contains the following topics: Using Blade Servers with ESX Server on page 1 Using Blades with ESX Server and VirtualCenter on page 2 Blade Server Hardware Requirements on page 2 Configuring ESX Server on IBM Blade Servers on page 3 Installing ESX Server on IBM BladeCenter on page 5 Installing ESX Server on the First Blade from the CD-ROM on page 5 Installing ESX Server on Additional Blades on page 6 Performing a Remote Network Installation of ESX Server with RDM on page 6 Post-Installation Considerations on IBM Blade Servers on page 9 Using NIC Teaming on IBM Blade Servers on page 9 Creating VLANs with NIC Teaming on IBM Blade Servers on page 10 Creating a VLAN with NIC Teaming for the Service Console on page 10 Creating VLANs with NIC Teaming for Virtual Machines on page 10 Best Practices on IBM Blade Servers on page 10 Mounting USB CD-ROM Devices on page 10 Determining the Floppy Drive on a Blade Server on page 11
In particular, using VMware products with blade servers provides: Improved utilization by increasing server and application density. You can consolidate applications and infrastructure services onto fewer blade servers. Increased operational flexibility. Increased resource management and use of each virtual machine.
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.
Two BladeCenter 4-port Gigabit Ethernet Switch modules BladeCenter Fibre Channel Expansion Card (one for each blade, if you want FC connectivity) BladeCenter 2-port Fibre Channel Switch module (for FC connectivity) Sufficient physical memory to prevent virtual machine swapping from being a significant performance issue Refer to the ESX Server documentation for more information on system requirements at www.vmware.com/support/esx21/doc/esx21admin_res.html.
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.
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 .
Note: We recommend you dedicate all Fibre Channel devices to the virtual machines (VMkernel).
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
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).
11. Repeat this process for each additional blade server in the BladeCenter.
10
mkdir /mnt/cdrom
VMware, Inc. 3145 Porter Drive Palo Alto, CA 94304 www.vmware.com Copyright 19982004 VMware, Inc. All rights reserved. Protected by one or more of U.S. Patent Nos. 6,397,242 and 6,496,847; patents pending. VMware, the VMware boxes logo, GSX Server and ESX Server are trademarks of VMware, Inc. Microsoft, Windows, and Windows NT are registered trademarks of Microsoft Corporation. IBM is a registered trademark of International Business Machines Corporation. Linux is a registered trademark of Linus Torvalds. All other marks and names mentioned herein may be trademarks of their respective companies. Revision: 20040329 Item: ESX-ENG-Q104-074
11