We are deploying the rhq server to a number of systems and we'd like to slim down the slim down the number of plugins on the system. Can we pull unwanted plugins out of the rhq-server zip file, rebuild it and deploy the slimmed zip file? Is that the best way or is there some other method?
Bala Nair SeaChange International
On 12/17/10 1:02 PM, Bala Nair wrote:
We are deploying the rhq server to a number of systems and we'd like to slim down the slim down the number of plugins on the system. Can we pull unwanted plugins out of the rhq-server zip file, rebuild it and deploy the slimmed zip file? Is that the best way or is there some other method?
Bala Nair SeaChange International _______________________________________________ rhq-users mailing list rhq-users@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-users
RHQ 3 provides the ability to disable plugin. The plug is not actually removed but agents will stop performing discovery scans for that plugin. I believe that when you disable a plugin, you need to also remove the resource from that plugin that are in inventory. It does not happen automatically. RHQ 4 is adding support for deleting plugins. You can read a little more about it at http://www.rhq-project.org/display/JOPR2/Adding+and+Updating+Agent+Plugins, and I posted a blog on the work at http://johnsanda.blogspot.com/2010/11/rhq-deleting-agent-plugins.html.
Bala,
If this is a new deployment of RHQ, then yes, what you described is the best thing to do. Just unpack the server zip, remove the plugin jars you don't want, repackage the distro and ship that rhq distro zip to the machines that will get the rhq server installed.
This way, you'll never deploy those plugins once and you won't have to worry about disabling them later.
John
On 12/17/2010 01:02 PM, Bala Nair wrote:
We are deploying the rhq server to a number of systems and we'd like to slim down the slim down the number of plugins on the system. Can we pull unwanted plugins out of the rhq-server zip file, rebuild it and deploy the slimmed zip file? Is that the best way or is there some other method?
Bala Nair SeaChange International _______________________________________________ rhq-users mailing list rhq-users@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-users
That is a good way to go. You'll want to remove the unwanted plugins prior to install. Once they are initially loaded they can't be totally removed (yet). Note that some plugin dependencies exist so some plugins need to stay, but many of the RHQ plugins can be removed.
On 12/17/2010 1:02 PM, Bala Nair wrote:
We are deploying the rhq server to a number of systems and we'd like to slim down the slim down the number of plugins on the system. Can we pull unwanted plugins out of the rhq-server zip file, rebuild it and deploy the slimmed zip file? Is that the best way or is there some other method?
Bala Nair SeaChange International _______________________________________________ rhq-users mailing list rhq-users@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-users
rhq-users@lists.stg.fedorahosted.org