Installing and Uninstalling the Agent
If you are using an enStratus provided image, the agent is pre-installed. More administrators are looking to install the agent and scripts onto existing infrastructure.
Installation
Installing the enStratus agent is a process that is currently undergoing some refactoring. For Ubuntu an Debian, a .deb package is available that will handle the installation and upgrading of the agent.
For Ubuntu and Debian starting images, execute:
| $ sudo apt-get update |
then for Ubuntu:
| $ sudo apt-get install gcc openjdk-6-jdk sysstat sudo secure-delete |
or Debian:
| $ apt-get install gcc sun-java6-jdk sysstat sudo secure-delete |
Once those steps are complete the process for installing the agent is the same for Debian and Ubuntu:
First, download the agent here.
Then:
| $ sudo dpkg -i enstratus-latest.deb |
For Cent OS and Fedora, instructions for installing and upgrading the agent can be found here.
For Windows Server 2003, instructions for installing the agent can be found here.
For Windows Server 2008, instructions for installing the agent can be found here.
In the near future, a Chef recipe will also be available to install the agent on servers configured using Chef.
Uninstalling the Agent
The uninstaller is presently a work in progress. To uninstall enStratus manually, please perform the following actions:
- sudo /etc/init.d/tomcat-enstratus stop
- sudo rm -rf /enstratus
- sudo update-rc.d enstratus disable
- sudo update-rc.d tomcat-enstratus disable
- sudo rm -f /etc/init.d/enstratus
- sudo rm -f /etc/init.d/tomcat-enstratus
Updated: 08-02-2011: