Module 1-2- ESX 40 Install

download Module 1-2- ESX 40 Install

of 34

Transcript of Module 1-2- ESX 40 Install

  • 7/28/2019 Module 1-2- ESX 40 Install

    1/34

  • 7/28/2019 Module 1-2- ESX 40 Install

    2/34

    VI4 - Mod 1-2 - Slide 2

    Agenda

    Module 1 vSphere UpgradeModule 2 ESX 4.0 Install

    Module 3 vSphere 4.0 Licensing

    Module 4 vCenter Server 4.0

    Module 5 Remote CLI

  • 7/28/2019 Module 1-2- ESX 40 Install

    3/34

    VI4 - Mod 1-2 - Slide 3

    Module 1-3 Lessons

    Lesson 1 Overview of ESXLesson 2 Installing ESX 4.0

    Lesson 3 Post Install considerations

    Lesson 4 Download and Install VI Client

    Lesson 5 Remote and Scripted Installs

  • 7/28/2019 Module 1-2- ESX 40 Install

    4/34

    VI4 - Mod 1-2 - Slide 4

    ESX Hardware Requirements

    Hardware and System resources for ESX.

    64-bit server

    All AMD Opterons support 64-bit.

    All Intel Xeon 3000/3200, 3100/3300, 5100/5300, 5200/5400,

    7100/7300, 7200/7400 support 64-bit.

    All Intel Nehalem (no Xeon brand number assigned yet for UP,

    DP, or MP processors) support 64-bit.

    2GB RAM minimum.

    One or more Ethernet controllers.

    Supported controllers include:

    Broadcom NetXtreme 570x gigabit controllers

    Intel PRO/1000 adapters

  • 7/28/2019 Module 1-2- ESX 40 Install

    5/34

    VI4 - Mod 1-2 - Slide 5

    ESX Requirements

    For best performance and security, use separate Ethernetcontrollers for the service console and the virtual machines.

    A SCSI adapter, Fibre Channel adapter, or internal RAID

    controller:

    Basic SCSI controllers are Adaptec Ultra-160 and Ultra-320,

    LSI Logic Fusion-MPT, and most NCR/Symbios SCSIcontrollers.

    Fibre Channel. See the Storage / SAN Compatibility Guide.

    RAID adapters supported are HP Smart Array, Dell PercRAID

    (Adaptec RAID and LSI MegaRAID), and IBM (Adaptec)ServeRAID controllers.

  • 7/28/2019 Module 1-2- ESX 40 Install

    6/34

    VI4 - Mod 1-2 - Slide 6

    ESX Requirements

    A SCSI disk, Fibre Channel LUN, or RAID LUN withunpartitioned space.

    In a minimum configuration, this disk or RAID is shared between the

    service console and the virtual machines.

    For hardware iSCSI, a disk attached to an iSCSI controller, such

    as the Qlogic qla405x.

    For Serial ATA (SATA), a disk connected through supported

    SAS controllers or supported on-board SATA controllers.

    A VGA capable graphics subsystem.

  • 7/28/2019 Module 1-2- ESX 40 Install

    7/34

    VI4 - Mod 1-2 - Slide 7

    ESX Requirements

    ESX supports installing and booting from the following storagesystems:

    ATA disk drives Installing ESX on an ATA drive or ATA RAID is

    supported.

    Ensure that your specific drive controller is included in the

    supported hardware. Storage of virtual machines is currently not supported on ATA

    drives or RAIDs.

    Virtual machines must be stored on VMFS volumes configured on

    a SCSI or SATA drive, a SCSI RAID, or a SAN.

  • 7/28/2019 Module 1-2- ESX 40 Install

    8/34

    VI4 - Mod 1-2 - Slide 8

    ESX Requirements

    SATA disk drives - SATA disk drives connected behindsupported SAS controllers or supported on-board SATAcontrollers.Supported SAS controllers include:

    mptscsi_pcie - LSI1068E (LSISAS3442E)

    mptscsi_pcix - LSI1068 (SAS 5)

    aacraid_esx30 - IBM serveraid 8k SAS controller

    Cciss - Smart Array P400/256 controller

    megaraid_sas - Dell PERC 5.0.1 controller

    Supported on-board SATA include:

    Intel ICH9Nvidia MPC55

    ServerWorks HT1000

  • 7/28/2019 Module 1-2- ESX 40 Install

    9/34

    VI4 - Mod 1-2 - Slide 9

    ESX Requirements

    SCSI disk drives - SCSI disk drives are supported for installingESX.

    Storage area networks (SANs) - Both Fibre Channel and iSCSI,

    are supported for installing ESX.

    Virtual Machines can be stored on VMFS partitions.

    NOTE: The minimum supported LUN capacity for VMFS3 is

    1200MB.

    Before deploying ESX on a SAN, see the latest version of the ESXSAN Compatibility Guide at

    www.vmware.com/support/pubs/vi_pubs.html

    http://www.vmware.com/support/pubs/vi_pubs.htmlhttp://www.vmware.com/support/pubs/vi_pubs.html
  • 7/28/2019 Module 1-2- ESX 40 Install

    10/34

    VI4 - Mod 1-2 - Slide 12

    Hardware and Software Compatibility

    For more information on supported hardware and software, download theESX Compatibility Guides fromwww.vmware.com/support/pubs/vi_pubs.html.

    Systems compatibility

    Lists the standard operating systems and server platforms against which

    VMware tests.

    I/O compatibility

    Lists devices that are accessed directly through device drivers in the ESXhost.

    Storage compatibility

    Lists the combinations of HBAs and storage devices currently tested byVMware and its storage partners.

    Backup software compatibility

    Describes the backup packages tested by VMware.

    http://www.vmware.com/support/pubs/vi_pubs.htmlhttp://www.vmware.com/support/pubs/vi_pubs.html
  • 7/28/2019 Module 1-2- ESX 40 Install

    11/34

    VI4 - Mod 1-2 - Slide 13

    Supported Guest Operating Systems

    The VMware Guest Operating System Installation Guideincludes information on supported guest operating systems.

    You can download this document at:

    http://www.vmware.com/support/pubs/vi_pubs.html

    ESX offers support for a number of 64-bit guest operatingsystems.

    See the Guest Operating System Installation Guide for a

    complete list.

    http://www.vmware.com/support/pubs/vi_pubs.htmlhttp://www.vmware.com/support/pubs/vi_pubs.html
  • 7/28/2019 Module 1-2- ESX 40 Install

    12/34

    VI4 - Mod 1-2 - Slide 14

    Supported Guest Operating Systems

    There are specific hardware requirements for 64-bit guestoperating system support.

    For AMD Opteron based systems, the processors must be Opteron Rev

    E and later.

    For Intel Xeon based systems, the processors must include support for

    Intel Virtualization Technology (VT).Many servers that include CPUs with VT support might ship with VT disabled

    by default, and VT must be enabled manually.

    If your CPUs support VT but you do not see this option in the BIOS, contact

    your vendor to request a BIOS version that lets you enable VT support.

    To determine whether your server has the necessary support, youcan use a CPU Compatibility Tool at

    http://www.vmware.com/download/vi/drivers_tools.html.

    http://www.vmware.com/download/vi/drivers_tools.htmlhttp://www.vmware.com/download/vi/drivers_tools.html
  • 7/28/2019 Module 1-2- ESX 40 Install

    13/34

    VI4 - Mod 1-2 - Slide 15

    Virtual Machine Requirements

    Virtual processorOne, two, four or eight processors per virtual machine

    NOTE If you create a two-processor virtual machine, your ESX machine

    must have at least two physical processors. For a four-processor virtual

    machine, your ESX machine must have at least four physical processors.

    Virtual chip set - Intel 440BX based motherboard with NS338SIO chip

    Virtual BIOS PhoenixBIOS 4.0 Release 6

  • 7/28/2019 Module 1-2- ESX 40 Install

    14/34

    VI4 - Mod 1-2 - Slide 16

    Prerequisites for Installing ESX

    Before you begin the installation procedure, ensure that youhave done the following:

    Make sure that the server hardware clock is set toUTC. This setting is in the system BIOS.

    Make sure the host has a supported NIC.

    The ESX installer needs a live network connectionto properly detect certain network settings, such asthe machine name under DHCP.

    IPv6 is not supported for ESX installation. You do not need

    to be connected if you are doing a CD-ROM/DVD install.

    Download the ESX installation ISO and burn theimage onto a DVD.

  • 7/28/2019 Module 1-2- ESX 40 Install

    15/34

    VI4 - Mod 1-2 - Slide 17

    About ESX Partitions

    ESX includes physical, virtual, required, and optional partitions.

    In ESX 4.0, /boot and vmkcore are physical partitions. The /,swap, and all the optional partitions are stored on a virtual diskcalled esxconsole.vmdk. The virtual disk is stored in the/vmfs/volumes/ directory. The default size ofesxconsole.vmdk is 8GB.

    ESX has the following physical partitions:/boot Contains the ESX software and its support files. The disk thatyou install /boot onto must be the disk the BIOS chooses to bootfrom.

    vmkcore Required to store core dumps for troubleshooting.VMware does not support ESX host configurations without a

    vmkcore partition.

    /vmfs Required to store your virtual machines. The/vmfs/volumes/ partition contains the esxconsole.vmdk,swap, and / - root partitions.

  • 7/28/2019 Module 1-2- ESX 40 Install

    16/34

    VI4 - Mod 1-2 - Slide 18

    About ESX Partitions

    The ESX installation includes separate installable components:ESX boot disk Requires 360MB of free space. The /boot and

    vmkcore partitions are included on the ESX boot disk.

    /vmfs/volumes Requires at least 8GB of free space and includes

    the service console (VMDK disk) plus space for your other virtual

    machines.You can install the ESX boot disk and /vmfs/volumes on a single

    device or on two separate devices. If you install them on a single

    device, the device must have at least 10.5GB of free space.

  • 7/28/2019 Module 1-2- ESX 40 Install

    17/34

    VI4 - Mod 1-2 - Slide 19

    Installing ESX

    The following methods are available for installing VMware ESXsoftware:

    Graphical interface This is the recommended installation method.

    Text mode Use this method if your video controller, keyboard, or

    mouse does not function properly using the graphical installer.

    Scripted An efficient way to deploy multiple hosts.

  • 7/28/2019 Module 1-2- ESX 40 Install

    18/34

    VI4 - Mod 1-2 - Slide 23

    Installing VMware ESX 4.0

    Installed ComponentsThe VMware ESX 4.0 installation includes the following

    components:

    VMware ESX 4.0 Software to manage and serve virtual

    machines.

    VMware vSphere Client - Software to allow access to the ESX

    host.

    VMware vSphere Web Access Software to allow a Web

    browser access to the ESX host.

  • 7/28/2019 Module 1-2- ESX 40 Install

    19/34

    VI4 - Mod 1-2 - Slide 24

    Installation on SATA Drives

    When installing ESX on SATA drives, consider the followingsituations:

    Ensure that your SATA drives are connected through supported

    SAS controllers or supported on-board SATA controllers.

    Do not use SATA disks to create VMFS datastores shared

    across multiple ESX hosts.

  • 7/28/2019 Module 1-2- ESX 40 Install

    20/34

    VI4 - Mod 1-2 - Slide 26

    To install ESX

    Download the ISO file for ESX 4.0 from the VMware Web Site

    Burn the iso file onto DVD media.

    Insert the DVD into the DVD drive of a supported server

    platform.

    Power on the machine with the VMware ESX DVD in the

    CD/DVD drive.

    In the BIOS, set the server to boot from the DVD.

    The ESX begins its boot process until the mode selection page appears.

  • 7/28/2019 Module 1-2- ESX 40 Install

    21/34

    VI4 - Mod 1-2 - Slide 27

    Post install Considerations

    Evaluation Period Countdown

    The ESX 60-day evaluation period begins to count down immediately

    after the first time you power on the ESX machine.

    Locate the Installation Log

    After you install and reboot, log in to the service console to read the

    installation log at /var/log/weasel.log

  • 7/28/2019 Module 1-2- ESX 40 Install

    22/34

    VI4 - Mod 1-2 - Slide28

    Lab Installing ESX 4.0

    Lab 3 Part 1

    ESX 4.0 Installation

  • 7/28/2019 Module 1-2- ESX 40 Install

    23/34

    VI4 - Mod 1-2 - Slide29

    Download the vSphere Client

    The vSphere Client is a Windows program that you can use to

    configure the ESX host and to operate its virtual machines.You can download vSphere Client from any ESX host.

    You must obtain the URL of an ESX host. This is the IP address or machinename.

    To download the vSphere Client

    From a Windows machine, open a Web browser.Enter the URL for the ESX host.For example, enterhttp://testserver.vmware.com/The VMware ESX welcome page appears.

    Click the Download the VI Client link under Getting Started.A security warning dialog box appears.

    Click Yes.

    Install the client.

  • 7/28/2019 Module 1-2- ESX 40 Install

    24/34

    VI4 - Mod 1-2 - Slide36

    Remote and Scripted Installations

    After you install ESX on a system, you can quickly deploy more

    ESX hosts by using scripted installations.

    Scripted installations provide an efficient way to deploy multiple

    hosts.

    The ESX scripted installation method is similar to Red Hats

    kickstart installation method.

    The script is a kickstart configuration file, which consists of the

    choices you want to make during the installation of ESX.

    The ESX scripted installation is incompatible with Red Hats

    kickstart installation method or files.

  • 7/28/2019 Module 1-2- ESX 40 Install

    25/34

    VI4 - Mod 1-2 - Slide37

    Remote and Scripted Installations

    Scripted installations include the following steps:Create a kickstart file using the commands shown in the ESX

    and vCenter Server Installation Guide

    Edit the kickstart configuration file as needed to change settings

    that are unique for each server.

    Run the scripted install locally from the CD-ROM drive of the

    new system or remotely over a network using installation files

    that are hosted on a remote ESX.

  • 7/28/2019 Module 1-2- ESX 40 Install

    26/34

    VI4 - Mod 1-2 - Slide 41

    Sample Kickstart File# root Password

    rootpw --iscrypted

    $1$MpR$n9sgFQJweS1PeSBpqRRu..

    # Authconfig

    authconfig --enableshadow --enablemd5

    # BootLoader ( The user has to use grubby default )

    bootloader --location=mbr

    # Timezonetimezone America/Los_Angeles

    # Install

    install cdrom

    # Network install type

    network --device=MAC_address --bootproto=dhcp

    # Keyboardkeyboard us

    # Reboot after install ?

    reboot

    # Clear partitionsclearpart --firstdisk

    # Partitioning

    part /boot --fstype=ext3 --size= --onfirstdisk

    part storage1 --fstype=vmfs3 --size=10000 --grow --onfirstdisk

    part None --fstype=vmkcore --size=100 --

    onfirstdisk# Create the vmdk on the cos vmfs partition.

    virtualdisk cos --size=5000 --onvmfs=storage1

    # Partition the virtual disk.

    part / --fstype=ext3 --size=0 --grow --onvirtualdisk=cos

    part swap --fstype=swap --size=256 --

    onvirtualdisk=cos#VMware Specific Commands

    accepteula

    serialnum --esx=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    %post

  • 7/28/2019 Module 1-2- ESX 40 Install

    27/34

    VI4 - Mod 1-2 - Slide 43

    Run a Scripted Installation from the Kickstart File

    Type one of the following commands:

    esx ks=cdrom:/ks.cfg- Kickstart file is located on the CDROM drive attached to the machine.

    esx ks=file:///ks.cfg

    - Kickstart file is at which resides inside the initial RAM disk image.

    esx ks=http:////ks.cfg

    - Kickstart file is located at the given URL.

    esx ks=nfs:////ks.cfg

    - Kickstart file is located at on a given server.

    esx ks=usb

    Kickstart file is in the root directory of a USB flash drive

    esx ks=UUID:://ks.cfg

    Kickstart file is located on the partition with the given UUID and path.

    Press Enter to start the scripted installation.

  • 7/28/2019 Module 1-2- ESX 40 Install

    28/34

    VI4 - Mod 1-2 - Slide 49

    ESX PartitioningRequired Partitions

    An ESX local boot volume requires three specific partitions for operation.In addition, a local or remote VMFS partition is required to store your virtualmachines, and a vmkcore partition is required to provide core dumps for technicalsupport.

    For /var/log, VMware recommends a separate partition to preventunexpected disk space constraints from compromising ESX operations.Increase this partition by 512MB if you perform a remote or scripted

    installation from the ESX machine.In ESX 4.0, the /boot, vmkcore, and /vmfs are physical partitions.

    The /, swap, and all the optional partitions are stored on a virtual disk

    You cannot define the sizes of the /boot, vmkcore, and /vmfs partitionswhen you use the GUI or text installation methods

    You can define these partition sizes when you do a scripted installationAfter installation, the esxconsole-.vmdk file is created on the /vmfspartition. The /, swap, and the optional partitions are stored in the esxconsole-.vmdk file.

  • 7/28/2019 Module 1-2- ESX 40 Install

    29/34

    VI4 - Mod 1-2 - Slide 50

    ESX Required Partitions

  • 7/28/2019 Module 1-2- ESX 40 Install

    30/34

    VI4 - Mod 1-2 - Slide 51

    ESX Required Partitions

  • 7/28/2019 Module 1-2- ESX 40 Install

    31/34

    VI4 - Mod 1-2 - Slide 52

    ESX Optional Partitions

    For /tmp and /home, VMware recommends separate partitions to

    prevent unexpected disk space constraints from compromising ESXoperations.

  • 7/28/2019 Module 1-2- ESX 40 Install

    32/34

    VI4 - Mod 1-2 - Slide 53

    Mini-quiz

    You can have VMFS volumes installed on a ATA

    drive? (true/false)

    False. You can put / & /boot on ATA everything else must be on

    a SATA drive.

    What 2 new methods of Kickstart installations can be accomplished

    (cdrom, nfs, file, http, ______, _______)?

    USB (vfat), UUID (ext3)

  • 7/28/2019 Module 1-2- ESX 40 Install

    33/34

    VI4 - Mod 1-2 - Slide 54

    Lesson 1-2 Summary

    Learn how to install ESX 4.0

    Download and Install VI Client

    Methods of Installation

  • 7/28/2019 Module 1-2- ESX 40 Install

    34/34

    VI4 - Mod 1-2 - Slide 55

    Lab 1 Installing ESX 4.0

    Lab 1 Part 1

    Installing ESX 4.0