10.10 Installing the Agent by Using YUM on RHEL

You can install the ZENworks Adaptive Agent on Red Hat Enterprise Linux (RHEL) devices by using YUM. The ZENworks Server hosts a repository, which is used by YUM to install the Adaptive Agent at the following URL:

http://<server_ip>/zenworks-agent-addon/zenworks-agent-yum-repo-rhel4/

http://<server_ip>/zenworks-agent-addon/zenworks-agent-yum-repo-rhel5/

http://<server_ip>/zenworks-agent-addon/zenworks-agent-yum-repo-rhel6/

The agent installed is automatically registered with the ZENworks Server that is used as a repository.

To install the ZENworks Adaptive Agent on RHEL, perform the following steps:

  1. Add a new repository file named zenworks.repo to the /etc/yum.repos.d/ directory with the following content:

    For a 32-bit device:

    [zenworks-agent-addon]

    name=zenworks-agent-addon

    baseurl=http://<server_ip>/zenworks-agent-addon/<repo_url>/

    gpgcheck=0

    For a 64-bit device:

    [zenworks-agent-addon]

    name=zenworks-agent-addon

    exclude=*.i386 novell-zenworks-zislnx*.i586 xinetd*.i386 xinetd*.i686 novell-zenworks-xplat-zennotifyicon*.i586 novell-zenworks-xplat-jsvc*.i586 novell-zenworks-xplat-imaging-native*.i586 jre*.i586 novell-zenworks-zmg*.i586

    baseurl=http://<server_ip>/zenworks-agent-addon/<repo_url>/

    gpgcheck=0

    Replace server_ip with the DNS name or IP address of a ZENworks Server and repo_url with zenworks-agent-yum-repo-rhel4 for RHEL 4, zenworks-agent-yum-repo-rhel5 for RHEL 5 and zenworks-agent-yum-repo-rhel6 for RHEL 6.

    NOTE:By default, YUM installs 32-bit RPMs on 64-bit devices. If multiple architectures for the same RPM are available in the YUM repository, both the 32-bit and 64-bit RPMs are installed on 64-bit devices. The exclude attribute ensures that conflicting 32-bit RPMs are not installed on the 64-bit devices.

  2. Ensure you disable selinux before installing the agent. To install the agent, run the yum groupinstall zenworks-agent-addon command.

NOTE: On RHEL devices, if the Adaptive agent is installed using the yum groupinstall, to uninstall it, you need to use the novell-zenworks-xplat uninstall located at /opt/novell/zenworks/bin. The yum groupremove is not supported.