Removing an Analytics installation
Remove the ZenETL ZenPack from the Resource Manager master:
- Log in to the Control Center browser interface.
- Stop Resource Manager by clicking Stop in the Actions column for Zenoss.resmgr.
- In the Stop Services dialog, click Stop Services.
Display the child services of Resource Manager to ensure
they have stopped.
In the Application column of the Applications table, click Zenoss.resmgr, then scroll down to the Services table. Stopped services have a grey circle icon in the Status column.
Create a snapshot of the Resource Manager service by
logging in to the Control Center master host as a user with
serviced CLI privileges.
Execute the following command to create a
serviced service snapshot Zenoss.resmgrThe snapshot ID is displayed upon completion.
Restart the following required services.
- The modelling and event database services:
Remove the ZenPacks.zenoss.ZenETL ZenPack by
executing the following command.
serviced service run zope zenpack-manager uninstall ZenPacks.zenoss.ZenETL
- In the Control Center browser interface, restart Resource Manager.
Log in to the Analytics server and change to the
su - root
Stop the Analytics server:
service zenoss_analytics stop
Remove the Analytics program files:
rpm -e zenoss_analytics-version-build
This command removes the program files, but does not remove configuration, log files, data files, or databases.
To remove configuration files, enter:
rm -rf /etc/zenoss_analytics
To remove data and log files, enter:
rm -rf /opt/zenoss_analytics
To remove databases (this will erase all your data), enter the following command as the root user:
mysql -u root -e 'drop database reporting; drop database zenoss_analytics';