Red Hat GLOBAL FILE SYSTEM 4.7 Guía de usuario Pagina 122

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 134
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 121
Building an HP SFS client kit manuallyC–4
11. If your client has additional Lustre patches listed in the client_enabler/src/arch/distro/
lustre_patches/series file, copy the additional patches from the HP StorageWorks Scalable
File Share Client Software CD-ROM to the src/ directory, as shown in the following example:
$ cp -p
/mnt/cdrom/client_enabler/src/i686/SuSE_9.0/lustre_patches/
SuSE_python2.3_bug2309.patch src/
12. Copy the lustre_client source file from the client_enabler/src/common/
lustre_client directory on the HP StorageWorks Scalable File Share Client Software CD-ROM to
the src/ directory, as shown in the following example:
$ cp -p
/mnt/cdrom/client_enabler/src/common/lustre_client/lustre_client.tgz src/
13. Copy the diags_client source file from the client_enabler/src/common/diags_client
directory on the HP StorageWorks Scalable File Share Client Software CD-ROM to the src/
directory, as shown in the following example:
$ cp -p
/mnt/cdrom/client_enabler/src/common/diags_client/diags_client.tgz src/
14. Build the kernel.
There are two alternative processes for building the kernel; you can create an RPM file, or you can
create a built kernel tree; both of these processes are described here.
To create a kernel RPM file, perform the following steps:
a. Install the kernel SRPM file, as follows:
$ rpm -ivh src/kernel-2.4.21-40.EL.src.rpm
b. Add the Lustre patches, as follows:
i. Extract the Lustre sources, as follows:
$ cd build
$ tar -xzpf ../src/lustre-V1.4.tgz
$ cd ..
ii. Copy the Lustre patches from the Lustre source tree into the output/src directory and
modify the kernel.spec file appropriately.
iii. Copy all files listed in the appropriate series file under the build/lustre-V1.4/
lustre/kernel_patches/series/ directory into the output/src directory, as
follows:
$ for i in $(cat build/lustre-V1.4/lustre/kernel_patches/series/client-
rh-2.4.21-40); do cp
build/lustre-V1.4/lustre/kernel_patches/patches/"$i" output/src/; done
iv. Add the appropriate PatchNN: <patch_name> and %patchNN -p1 lines to the
kernel.spec file (output/specs/kernel.spec). Add the patches in the order they
appear in the series file.
c. Determine whether any kernel patches are required for the interconnect; if any are needed, add
them now.
Most interconnects will not require any kernel patches. Refer to your interconnect manufacturer
for information on whether any patches are needed for your interconnect, and how the patches
are to be added.
The following are two extracts from a kernel.spec file that add the qsnet patches (for a
Quadrics interconnect) to the kernel:
Source40: qsnetpatches-RedHat-2.4.21-40.EL.qp2.0_hp.tar.bz2
tar -xjf $RPM_SOURCE_DIR/qsnetpatches-RedHat-2.4.21-40.EL.qp2.0_hp.tar.bz2
cd qsnetpatches-RedHat-2.4.21-40.EL.qp2.0_hp/
tar -xjpf qsnetpatches.tar.bz2
cd ../
cat qsnetpatches-RedHat-2.4.21-40.EL.qp2.0_hp/qsnetpatches/*.patch | patch -
p1
Vista de pagina 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 133 134

Comentarios a estos manuales

Sin comentarios