beautypg.com

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

Page 53

background image

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

“Copying SLES into the repository” (page 53)

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

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

“Downloading SPPs and PSPs into the repository” (page 56)

5.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 5.2.2 (page 47)

. You

were instructed to record the paths to these directories.

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

/opt/repository/os/RHEL6U1-i386

The boot target directory name is similar to this:

/opt/repository/boot/RHEL6U1-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 OS-specific directory
in the repository (for example, /opt/repository/os/RHEL6U1-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/RHEL6U1-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.

5.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 5.3.1 (page 53)

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 5.3.1 (page 53)

.

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.

5.3.3 Copying SLES into the repository

5.3.3.1 Copying SLES version 10 or 11 (DVDs) into the repository

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

Section 5.2.2 (page 47)

.

If you are copying installation files for SLES Version 10 Service Pack 4, the repository directory
names for the installation and boot files are similar to this:

5.3 Copying software to the Insight Control for Linux repository

53