2 copying rhel into a remote repository – HP Insight Control Software for Linux User Manual

Page 70

Advertising
background image

After you register an OS in the repository, you must copy the vendor-supplied installation files
and boot files to the appropriate OS-specific directories under the /opt/repository/os and
/opt/repository/boot

directories . The OS distribution medium can either be a series of

CDs, DVDs, or .iso files.

Proceed to one or more of the following sections, depending upon the type of Linux OS you are
copying to the repository:

“Copying RHEL into the local repository on the CMS” (page 70)

“Copying RHEL into a remote repository” (page 70)

“Copying SLES into the repository” (page 71)

“Copying virtual machine OS into the repository” (page 77)

“Copying a custom OS into the repository” (page 77)

“Downloading and copying PSPs into the repository” (page 78)

6.3.1 Copying RHEL into the local repository on the CMS

The OS directory and the boot target directory where you copy the installation files were provided
to you during the OS repository registration process described in

Section 6.2.2 (page 64)

. You

were instructed to record the paths to these directories.

For example, if you are copying OS installation files for RHEL Version 5 Update 2, the directory
name is similar to this:

/opt/repository/os/RHEL5U2-i386

The boot target directory name is similar to this:

/opt/repository/boot/RHEL5U2-i386Boot

To copy vendor-supplied installation files for supported versions of RHEL into the repository,
follow these steps:

1.

Copy the contents of the first installation disk (CD or DVD) directly into the appropriate
OS-specific directory in the repository (for example, /opt/repository/os/
RHEL5U2-i386

).

2.

If a second installation disk exists, copy the contents of the second installation disk into the
same directory. If any file names are the same, it is safe to override them.

3.

Repeat the copy operation until you have copied all installation files to the same directory
in the repository.

4.

Copy the kernel and RAM disk boot files to the related boot target directory (for example,
/opt/repository/boot/RHEL5U2-i386Boot

).

The kernel and RAM disk boot files are located in the isolinux subdirectory of the
installation disk. The kernel file name is vmlinuz and the RAM disk file name is
initrd.img

. You must use these file names.

6.3.2 Copying RHEL into a remote repository

To copy supported versions of RHEL into a remotely hosted repository, follow these steps:

1.

Copy the vendor-supplied OS installation files to the remote server so that they can be
accessed by the HTTP path specified when you registered the OS in the repository. The
structure under the remote directory must have the same structure as it would have if the
files were in the local repository on the CMS. See

Section 6.3.1 (page 70)

for that directory

structure.

2.

Copy the kernel and RAM disk files to the same location in the local repository as specified
in

step 4

in

Section 6.3.1 (page 70)

.

Kernel and RAM disk files must always be available in the local repository on the CMS in
the boot target directory, even if the OS is hosted remotely.

70

Managing the Insight Control for Linux repository

Advertising