Follow

How to Install Resource Manager 4.2.x Without Internet Access On The Host (offline)

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:

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:

  1. Log on to the Resource Manager host system as root
  2. Create a directory for storage of dependency files:

    # mkdir /zenossdeps/

  3. Copy the files downloaded from deps.zenoss.com to the /zenossdeps/ directory. 
  4. 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 
  5. 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:

  1. Mount the RHEL 6 ISO image to /media/rhel6:
    # mount -o loop RHEL<ISO-VERSION>.iso /media/rhel6
  2. 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
  3. Edit the rhel6.repo file to point to the /media/rhel6 directory, for example:
    # vi /etc/yum.repos.d/rhel6.repo
  4. Add following line to the file:
    baseurl=file:///media/rhel6/Server
  5. Save and Exit the file.
  6. Run the clean command:
    # yum clean all
  7. (Optional) To enable group information to display when you use the RHEL 6 DVD as the repository:
    1. Install the createrepo package:
      # yum install createrepo
    2. Create a directory for the repodata file. For example, the /repodata directory:
      # mkdir /repodata
    3. Change into that directory:
      # cd /repodata
    4. Run the createrepo command:
      # createrepo
    5. Run the clean command:
      # yum clean all

For CentOS Hosts: Set Up the RHEL/CentOS DVD as a Repository

  1. Create a directory for the CD/DVD image mount point:
    #mkdir /media/cdrom
  2. Mount the DVD or ISO image:
    # mount /dev/cdrom /media/cdrom
  3. 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
  4. 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.

Was this article helpful?
0 out of 0 found this helpful

Comments

Powered by Zendesk