Applies To
- Zenoss 4.2.x
Summary
The instructions included in the Resource Manager Installation guide assume the host server has internet access. Some administrators may need to install Resource Manager on a host server that does not have internet access. This document details workarounds to meet this need.
Procedure
The following procedures describe options for setting up local repositories on the host server.
Prepare Files
Download the following files on a system with internet access, then transfer them to the Resource Manager host:
- Java, from Oracle. Note that you require an Oracle account to download the software from the following location:
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jre-6u45-oth-JPR
Download the following file:
jre-6u45-linux-x64-rpm.bin - Local Zenoss dependency files from the appropriate repository, for example:
- For RHEL/CentOS 5.x:
http://deps.zenoss.com/yum/4.2.x/centos/6/os/x86_64/ - For RHEL/CentOS 6.x:
http://deps.zenoss.com/yum/4.2.x/centos/5/os/x86_64/
Note: Be sure to also download and copy the /repodata directory and its files from the repository.
- For RHEL/CentOS 5.x:
- The mysqltuner.pl file. You can either download the file or copy and paste the content from http://mysqltuner.pl into a file.
- The installation RPM files for Zends and Resource Manager from Zenoss at http://support.zenoss.com
Set up a Local Repository for Resource Manager and its Dependencies
Follow these instructions to set up local repositories for the Resource Manager and its dependencies:
- Log on to the Resource Manager host system as root.
- Create a directory for storage of dependency files:
# mkdir /zenossdeps/
- Copy the files downloaded from deps.zenoss.com to the /zenossdeps/ directory.
- Turn the /zenossdeps directory into a local repository by creating a repository file. Issue the following commands:
echo "[zenossdeps-local] name=Zenoss Dependencies - local baseurl=file:///zenossdeps enabled=1 gpgcheck=0" > /etc/yum.repos.d/zenossdeps-local.repo
- Clean the yum repository and ensure the new repository is in the repolist:
# yum clean all
# yum repolist
If no Satellite Server or YUM Repository is Available
For RHEL Hosts: Set Up the RHEL/CentOS ISO as a Repository
To use the RHEL/CentOS ISO as a yum repository perform the following procedure:
- Mount the RHEL 6 ISO image to /media/rhel6:
# mount -o loop RHEL<ISO-VERSION>.iso /media/rhel6 - Copy the media.repo file from the RHEL 6 ISO image to /etc/yum.repos.d/:
# cp /media/rhel6/media.repo /etc/yum.repos.d/rhel6.repo - Edit the rhel6.repo file to point to the /media/rhel6 directory, for example:
# vi /etc/yum.repos.d/rhel6.repo - Add following line to the file:
baseurl=file:///media/rhel6/Server - Save and Exit the file.
- Run the clean command:
# yum clean all - (Optional) To enable group information to display when you use the RHEL 6 DVD as the repository:
- Install the createrepo package:
# yum install createrepo - Create a directory for the repodata file. For example, the /repodata directory:
# mkdir /repodata - Change into that directory:
# cd /repodata - Run the createrepo command:
# createrepo - Run the clean command:
# yum clean all
- Install the createrepo package:
For CentOS Hosts: Set Up the RHEL/CentOS DVD as a Repository
- Create a directory for the CD/DVD image mount point:
#mkdir /media/cdrom - Mount the DVD or ISO image:
# mount /dev/cdrom /media/cdrom - Turn the /media/cdrom directory into a local repository by creating a repository file. Issue the following commands:
echo "[dvd]
baseurl=file:///media/cdrom
enabled=1
gpgcheck=0 > /etc/yum.repos.d/dvd.repo - Run the clean command:
# clean all
Install Zenoss
After the local repositories are correctly configured and the files are transferred to the host server, Resource Manager can be installed by following the procedure outlined in the Zenoss Resource Manager Installation and Upgrade manual. The instructions for installing the dependency repository may be omitted.
Comments