2.7

Table Of Contents
What to do next
Go to “Deploy the Empty DBVM into the System Resource Pool,” on page 53.
Deploy the Empty DBVM into the System Resource Pool
You use a empty (or blank) DBVM to build a custom DB template.
Prerequisites
Verify that the system resource pool has sufficient resources to run your preferred combination of operating
system and database.
Procedure
1 Log in to vSphere Client as a system administrator and connect to the vCenter server.
2 Deploy an empty DBVM into the system resource pool.
When deployment completes, the empty virtual machine appears in the system resource pool. This virtual
machine is known as the base DBVM.
3 Power on the base DBVM.
Repackage the Red Hat Linux ISO Image
The original Red Hat Linux ISO image does not include Data Director specific scripts and agents, and is not
initially compliant for use with Data Director. For this reason you must repackage the Red Hat ISO image using
a kickstart file that you customize to install the OS configured for use with Data Director.
Prerequisites
The repackage scripts run on a Linux OS with the sed and mkisofs commands.
Procedure
1 Obtain a working Linux environment with sufficient storage to repackage the Linux ISO image.
If you mount the RHEL ISO from an NFS server, 8GB is sufficient. You need 12GB if you upload the ISO
to your local disk.
2 Ensure that you have a discoverable path to the working Linux environment for the original RHEL ISO
image, local directory, or NFS path.
3 Download the ISO image from the VMware product download page.
4 Mount the ISO image by typing the following command, substituting your build number for <build#> .
mount –o loop /mnt/Data-Director-Initialize-Base-DBVM-
build#
.iso /tmp/mnt
5 To repackage the RHEL ISO image, mount the NFS manually, then type the following command.
/tmp/mnt/Tools/repack_rhel_iso.sh
REDHAT_ISO_PATH
Output_folder
For example, the command
/tmp/mnt/Tools/repack_rhel_iso.sh rhel5.5.iso ./
specifies the original Linux ISO image as the source ISO image. The command repackages the ISO image,
which can pick up the kickstart file automatically from the floppy device.
REDHAT_ISO_LOCAL_FILE_PATH must be a local path. If the Red Hat ISO is on an NFS volume, mount
it to the local directory before using this command.
A RHEL ISO image is created with its own kickstart file.
Chapter 4 Building DBVMs and Base DB Templates
VMware, Inc. 53