(Click to open topic with navigation)
The Moab Offline Tarball is only created if you are using the RPM Installation – Offline Method. See 3.1.1 RPM Installation and Upgrade Methods for more information.
This topic contains instructions on how to create a moab-offline tarball on a web-enabled host outside of your Moab HPC Suite environment. This is the tarball that is then copied (using either by scp, DVD, USB or similar) to each host within your Moab HPC Suite environment.
The internet-enabled host must have the exact same OS as the hosts within your Moab HPC Suite environment. As the Moab HPC Suite can have several hosts, and each host may not use the same OS, you may need to repeat this procedure for each OS used.
These instructions assume the user is non-root, but has sudo rights.
On a web-enabled host, do the following:
If the host uses a proxy to connect to the Internet, do the following:
export http_proxy=http://<proxy_server_id>:<port>
export https_proxy=http://<proxy_server_id>:<port>
[root]# tar zxf moab-hpc-suite-9.1.0-<OS>.tar.gz
The variable marked <OS> indicates the OS for which the build was designed.
[root]# cd moab-hpc-suite-9.1.0-<OS>
Consider reviewing the README file for additional details on using the RPM distribution tarball.
sudo ./install-rpm-repos.sh -y
If the installation returns the following warning line:
Warning: RPMDB altered outside of yum.
This is normal and can safely be ignored.
The script installs the createrepo package and its dependencies. You must answer "y" to all the questions in order for the RPM install of the suite to work.
Additionally, the script installs the EPEL and 10gen repositories.
Confirm you own /opt.
sudo chown <user>:<user> /opt
Create the moab-offline directory in which to store the RPMs.
mkdir /opt/moab-offline
Do the following:
Symlink all the Moab HPC Suite RPMs to your moab-offline directory. This enables the repotrack utility to copy them.
ln -s /opt/adaptive-rpm-repository/rpm/*.rpm /opt/moab-offline/
Use repotrack to download all dependency RPMs.
repotrack -a x86_64 -p /opt/moab-offline moab-hpc-suite
Download the Java RPM into the moab-offline directory.
The Java version may vary depending on the Moab HPC Suite components in your configuration. See 1.2 Component Requirements for more information.
cd /opt/moab-offline
wget <java_url>
Create a repository file for the moab-offline directory.
The createrepo package and its dependencies should have been installed when you ran ./install-rpm-repos.sh -y.
echo "[moab-offline] name=moab-offline baseurl=file:///opt/moab-offline failovermethod=priority enabled=1 gpgcheck=0" > moab-offline.repo
Create the moab-offline tarball. The "h" option ensures the symlinked targets will be copied, instead of just the links.
tar hczvf moab-offline.tgz moab-offline
This tarball can now be copied (using scp, DVD, USB drive, or similar) to each host within your Moab HPC Suite environment.