
Installing a hub
33
6. Remove the weekly cron job that packs the Zope Object Database (ZODB).
rm -f /etc/cron.weekly/zenoss
7. Set a new password for the zenoss user and provide it to the person who performs the next procedure.
4.2.3.3. Configure SSH access
1. Log in to the hub host as zenoss and enter the following commands:
cd $HOME
mkdir .ssh
chmod 700 .ssh
touch .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
2. Log in to the master host as user zenoss and enter the following command. Substitute the fully-qualified domain
name of the hub host for hub-host:
cat $HOME/.ssh/id_rsa.pub | ssh -l zenoss \
hub-host "cat - >> /home/zenoss/.ssh/authorized_keys"
The ssh command prompts you to confirm the connection.
3. Enter yes.
The ssh command prompts you for the password of the zenoss user on the hub host.
4. Enter the password.
The ssh command invokes cat to append the RSA public key of the zenoss user on the master host to the authorized
keys file of the zenoss user on the hub host. In addition, ssh adds the hub host to the known hosts file of the zenoss
user on the master host.
4.2.3.4. Deploy the hub to the hub host
1. Log in to the Resource Manager browser interface as a user with ZenManager or Manager permissions.
2. Click Advanced > Collectors.
The browser displays the deployed hubs and collectors.
3. From the action menu next to Hubs, select Add Hub....
The Add Hub page displays.
4. Select zenoss user SSH keys.
5. Provide values for the following fields:
• Hub ID, the logical name of the hub.
The name can be any unique combination of letters, digits, and dashes.
• Host, the fully-qualified domain name or IP address of the hub host.
• Port, the number of the port on which the hub listens for collectors.
The default number port is the lowest port number greater than 8789 that is not in use by an existing hub.
Comentarios a estos manuales