VMware PACKAGE MANAGER 1.1 Instrukcja Użytkownika Strona 49

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 69
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 48
Installing Collectors and Hubs
42
Zenoss DataStore, then check the host value in $ZENHOME/etc/global.conf to make sure it can be reached from
the server the hub is on.
Another aspect of remote hubs connecting to the Zenoss DataStore is privileges. For a hub to connect to the
database, the user specified in the $ZENHOME/etc/global.conf file for mysqluser must be granted privileges to
connect to the Zenoss DataStore from the remote server. If a remote hub is logging error messages that indicate
it is not allowed to connect from the given host, then these privileges are likely not set up correctly. Granting of
these privileges requires a fully qualified domain name for the remote server.
Before adding a hub, ensure grants and permissions are set correctly. For your Resource Manager master, run
these commands:
GRANT SELECT on mysql.user to zenoss@'%' IDENTIFIED BY "zenoss";
GRANT ALL PRIVILEGES ON zenoss_zep.* to zenoss@'%' IDENTIFIED BY "zenoss";
GRANT ALL PRIVILEGES ON zodb.* to zenoss@'%' IDENTIFIED BY "zenoss";
FLUSH PRIVILEGES;
For every remote Zenhub server, run these commands in the Zenoss DataStore, replacing RemoteHubFQDN
with the appropriate host name for each server:
GRANT SELECT on mysql.user to zenoss@'RemoteHubFQDN' IDENTIFIED BY "zenoss";
GRANT ALL PRIVILEGES ON zenoss_zep.* to zenoss@'RemoteHubFQDN' IDENTIFIED BY "zenoss";
GRANT ALL PRIVILEGES ON zodb.* to zenoss@'RemoteHubFQDN' IDENTIFIED BY "zenoss";
FLUSH PRIVILEGES;
5.2.2.4. Prerequisite Tasks
Before deploying a remote hub, you must:
Configure your firewall
Install the Zenoss dependencies repository
Install RRDtool
5.2.2.4.1. Configure Your Firewall
The following ports must be open in your firewall:
Port Protocol Direction to Resource
Manager Server
Description
11211 TCP | UDP Inbound memcached
8080 TCP Outbound Web interface
514 UDP Inbound syslog
162 UDP Inbound SNMP Traps
8789 TCP Inbound and outbound ZenHub communication
Table 5.6. Ports
5.2.2.4.2. Install the Zenoss Dependencies Repository
Install the Zenoss dependencies repository. Use one of the following commands.
RHEL 5 or CentOS 5:
rpm -ivh http://deps.zenoss.com/yum/zenossdeps-4.2.x-1.el5.noarch.rpm
RHEL 6 or CentOS 6:
rpm -ivh http://deps.zenoss.com/yum/zenossdeps-4.2.x-1.el6.noarch.rpm
5.2.2.4.3. Install and Configure RRDtool
Enter the following command to install RRDtool:
yum -y --enablerepo=rpmforge install rrdtool-1.4.7
Przeglądanie stron 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 68 69

Komentarze do niniejszej Instrukcji

Brak uwag