VMware ESX Server 2.1
Features | Documentation | Knowledge Base | Discussion Forums
Prev
Contents
Last
Next 
Configuring ESX Server for Scripted Installations
Configuring ESX Server for Scripted Installations
To support scripted installations, you need to configure your ESX Server. To set up the server for scripted installations, complete the following steps.
- As root, connect to the service console on the ESX Server.
- With the CD-ROM in the ESX Server CD-ROM drive, mount the ESX Server CD-ROM.
mount /mnt/cdrom
- Run the following script.
/usr/bin/scriptedinstall-setup.pl
Once the script is installed, you are asked to restart Apache.
- At the Restart Apache Now prompt, enter y. This restarts Apache and logs you out of the VMware Management Interface.
Setting Up the Script
Setting Up the Script
Once you install ESX Server on one system, you can set up a script necessary for performing a scripted installation of ESX Server on other systems.
When setting up the script, you must choose the networking method for the server on which you will install ESX Server. You can specify unique network identification information, including the static IP address and host name of each system or you can use DHCP initially to quickly set up a number of ESX Server systems.
You can use DHCP initially to create one installation script that is used to deploy new ESX Server systems from the same floppy image. You must then configure each system separately and assign a unique host name and IP address. This is in addition to configuring the server with the management interface wizard.
Otherwise, you can create multiple floppy images, each containing unique network identification information you specify when you set up the script.
You must copy the script and other essential files to a floppy disk at the end of the setup process, so make sure you have a formatted floppy disk handy. You need a program to write the script to the floppy disk, such as dd, rawwritewin or rawrite. Make sure the program works with the operating system of the client on which you are creating the floppy disk.
In addition, you need access to the ESX Server installation files. The files can be on the ESX Server CD-ROM, which you can leave in the CD-ROM drive of the system on which you originally installed ESX Server, or you can use the CD-ROM to install each new system. In addition, the files can be stored on a separate server and accessed across the network.
To set up the script, complete the following steps:
- Launch a supported Web browser and enter the URL for the VMware Management Interface.
http://<hostname>
Where <hostname> is the name assigned to the server during installation.
- The Login page appears. Log in to the VMware Management Interface as root. The Status Monitor page appears.
- Click the Options tab. The Options page appears.
- Click Scripted Installation. ESX Server checks your system for the required scripted installation components. If ESX Server is not properly configured, a page appears and displays the steps needed to set up your ESX Server. To learn how to prepare your server, see Configuring ESX Server for Scripted Installations.
- The Scripted Install page appears. Enter the information for the script to use to configure another ESX Server system.

- In the Installation Type list, select Initial Install if you are going to perform a new installation; select Upgrade if you are going to upgrade an existing ESX Server system.
- In the Installation Method list, select from the following options:
- In the Network Method list, select DHCP if the ESX Server system is going to have a dynamic IP address; select Static IP if the ESX Server system is going to have a static IP address.
Note: VMware recommends each ESX Server system has its own static IP
address. However, you can use DHCP to deploy new ESX Server systems from the
same floppy image, then configure each system separately and assign a unique
host name and IP address. Or you can create multiple floppy images containing
the network identification information you specify here.
- In the Time Zone list, select the time zone for the server you are about to install. The list defaults to setting of the original ESX Server machine.
- In the Reboot After Installation list, select Yes only if the new system will eject the floppy disk automatically.
- Under Root Password, specify the root password. Enter the root password in the Password field. Enter this password a second time in the Again field.
- Click Next to continue. If the ESX Server system is going to have a static IP address, the Networking Options page appears.
- Enter the information for networking.

- Enter the host name in the Hostname field, the IP address in the IP Address field, the netmask in the Netmask field, the network gateway in the Gateway field and the domain name server in the Nameserver field.
Note: Be sure to include the full domain name if you are running with domains.
- Click Next to continue. The next Scripted Install screen appears.

- Read through the end user license agreement and check I have read and accept the terms in the license agreement.
- Enter the ESX Server serial number in the VMware ESX Server field.
If you have a license for VMware Virtual SMP for ESX Server, enter that serial number in the VMware Virtual SMP for ESX Server to configure your virtual machines with more than one virtual processor. Entering the serial number installs Vmware Virtual SMP for ESX Server.
- Select the Advanced Configuration option if you would like to configure PCI device allocation.
Note: Configuring PCI devices is not a required step for configuring the ESX
Server scripted installation script. If you decide skip this step, you will be
prompted to configure PCI devices the first time you log in to the VMware
Management Interface.
- Click Next to continue. If you selected to configure PCI device allocation, the Set PCI device allocation page appears.

- Allocate memory to the service console and select PCI devices assignments.
In the Service Console list, choose the amount of memory reserved for the service console.
The default amount for memory reserved for the service console, 192MB, is sufficient for managing up to eight virtual machines concurrently. Change this to 272MB for up to 16 virtual machines., 384MB for up to 32 virtual machines or 512MB for more than 32 virtual machines. Choose 800MB if the service console requires additional memory for installations.
Allocate the PCI devices. Specify the following:
- Select Next to continue. The Partition Configuration page appears.

- Under Partition Configuration, specify the following for each partition in the service console:
-
In the Drive list, select from the list of disks.
-
In the Mount Point field, specify the mount point. You should specify at minimum boot (/boot), root (/) and swap (swap) mount points.
-
In the Size field, specify the size of the partition in megabytes (MB).
-
In the Type list, select the type of file system. Choose from ext3 and swap. Select swap if the partition is a swap partition.
-
Check the Grow check box if you want the partition to grow until it fills the disk. VMware recommends you do not make your boot and swap partitions growable.
- When you are satisfied with your choices, click Next to continue. The next Scripted Install screen appears and provides two options:
-
Download Floppy Image this option creates a disk image of a VMware ESX Server scripted installation boot disk. It is used to begin an automated, unattended installation of ESX Server on another server machine.
-
Download Kickstart Image choose this option if you use third party deployment tools to create kickstart images.
- Click Download Floppy Image to create a floppy disk image.
- Click Download Kickstart File to create a kickstart definition file.
Prev
Contents
Last
Next 
|