Product SiteDocumentation Site

9.2. Adding RPM Packages not in RHEL to Node Groups

Red Hat HPC maintains a repository containing all of the RPM packages that ship with Red Hat Enterprise Linux. This repository is sufficient for most customers. RPM packages that are not in Red Hat Enterprise Linux can also be added to a Red Hat HPC repository by placing the RPM packages into the appropriate contrib directory under /depot. For example:
Procedure 9.1. Adding RPM Packages not in RHEL to Node Groups
  1. Start with the RPMs that are not in Red Hat Enterprise Linux or in a Red Hat HPC Kit
  2. Create the appropriate subdirectories in /depot/contrib:
    # mkdir –p /depot/contrib/rhel/5/x86_64
    # cp foo.rpm /depot/contrib/rhel/5/x86_64/foo.rpm
    
  3. Rebuild the Red Hat HPC repository with repoman:
    # repoman –u –r rhel5_x86_64
    
  4. It takes some time to rebuild the repository and associated images.
  5. Run ngedit and navigate to the Optional Packages screen.
  6. Select the new package by navigating within the package tree and using the spacebar to select.
  7. Continue through the ngedit screens and either allow ngedit to synchronize the nodes immediately or perform the node synchronization manually with cfmsync –p at a later time.
    Example: selecting a RPM package that is not included in Red Hat Enterprise Linux
    Contributions can be added to more than one Red Hat HPC repository, the directory structure is: /depot/contrib/<os_name>/<version>/<architecture>