Generating RPM Packages
Perform the operations in this section on all the four nodes.
- Download the BeeGFS 7.2.2 source package.
1 2
cd /root wget https://git.beegfs.io/pub/v7/-/archive/7.2.2/v7-7.2.2.zip - Decompress the source package.
unzip v7-7.2.2.zip
- Download the BeeGFS patch file and upload it to the directory where BeeGFS is located.
Download it using the URL provided in OS and Software Requirements.
- Apply the patch.
patch -p1 < v4-0001-Separate-socket-operations-in-the-kernel-space.patch
- Build and generate RPM packages.
make package-rpm PACKAGE_DIR=packages BEEGFS_VERSION=7.2.2 RPMBUILD_OPTS="-D 'MAKE_CONCURRENCY <n>'"
In the command in 5, <n> indicates the number of concurrent processes. Set this parameter based on the actual CPU configuration. Example:make package-rpm PACKAGE_DIR=packages BEEGFS_VERSION=7.2.2 RPMBUILD_OPTS="-D 'MAKE_CONCURRENCY 8'"
- Copy the generated RPM packages to the /root/v7-7.2.2 directory.
cp -r /root/v7-7.2.2/packages/RPMS/aarch64/* /root/v7-7.2.2 cp -r /root/v7-7.2.2/packages/RPMS/noarch/* /root/v7-7.2.2
Parent topic: Deploying BeeGFS