
26
Chapter 4. Installing a hub
This chapter describes how to install a Resource Manager hub on a host other than the master host. The zenhub
daemon is CPU-intensive, so off-loading it to another host is useful when the master host is resource-constrained, or in
environments with multiple collectors. For more information about remote hubs, refer to the chapter titled "Distributed
Collector" in Zenoss Service Dynamics Resource Management Extended Montitoring.
The installation process includes preparation steps on the hub host, and deployment steps through the Resource Man-
ager browser interface.
4.1. Preparing to install
The following items are required or recommended.
• Resource Manager master and hub hosts must be placed on the same subnet. If they are not, network latency negates
many of the benefits of installing a hub host.
• Master and hub hosts must be able to resolve each others' fully-qualified domain names, either through entries in
/etc/hosts, or through a nameserver on their network.
• The Linux distribution installed on the hub host must be the same as the distribution installed on the master host.
The master copies binaries to the hub during installation and updates.
Follow these steps to prepare a hub host.
1. Disable Security-Enhanced Linux (SELinux).
a. Log in as root, or as a user with superuser privileges.
b. Change to enforcing in permissive mode (avoiding the need to reboot) with the following command:
/bin/echo 0 > /selinux/enforce
c. Disable enforcing mode permanently by editing the /etc/selinux/config file with the following command:
/bin/sed -i.bak -e 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
2. Enable network traffic through required ports.
• To enable traffic through specific ports, refer to Appendix B, "Required ports".
• To enable traffic through all ports, enter the following commands.
IPv4: service iptables stop; chkconfig iptables off
IPv6: service ip6tables stop; chkconfig ip6tables off
Note
You may open all ports at this time, and then close unneeded ports later.
3. Install the Zenoss dependencies repository.
RHEL/CentOS 5: rpm -Uvh http://deps.zenoss.com/yum/zenossdeps-4.2.x-1.el5.noarch.rpm
RHEL/CentOS 6: rpm -Uvh http://deps.zenoss.com/yum/zenossdeps-4.2.x-1.el6.noarch.rpm
4. Clean up yum caches.
Comentarios a estos manuales