Preparing to install or upgrade a ZenPack
Perform this procedure to minimize the amount of time that Resource Manager is unavailable during a ZenPack installation or upgrade.
- Log in to your workstation and start a web browser.
Download the ZenPack to install or upgrade from the Zenoss Support site.
Contact your Zenoss representative for login credentials.
Copy the ZenPack egg file to a local directory on the Control Center master host.
Create a directory for the ZenPack egg file.
The directory must be local (not mounted).The following command creates a directory in /tmp:
- Use a file transfer command or utility to copy the file.
Set full permissions on the directory and files:
chmod -R 0777 /tmp/zenpack
- Create a directory for the ZenPack egg file.
Install ZenPack dependencies.
A ZenPack might require packages or other software not included in the ZenPack egg file. To ensure that the dependencies are available, perform the following substeps:
- Log in to the Control Center master host as a user with Control Center CLI privileges.
Start an interactive shell in a Zope service
In the following command, the -s flag saves and tags the changes that you make. Replace MyTag with a short name that describes the dependencies that you are installing.
serviced service shell -i -s MyTag zope bashThe serviced daemon starts a Bash shell and logs you in as the root user.
Install required dependencies.
For example, to install the terminus font for X Windows in Ubuntu Linux, enter the following command:
apt-get install xfonts-terminusEnter any number of commands to install the required dependencies.
Return to the Control Center master host shell session:
Create a snapshot and commit your changes:
serviced snapshot commit MyTag
Restart all Resource Manager application services:
serviced service restart Zenoss.resmgr/Zenoss