O'Reilly logo

Middleware Management with Oracle Enterprise Manager Grid Control 10g R5 by Debu Panda, Arvind Maheshwari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Packaging and deploying a plug-in

So far we have seen how to monitor a target using various definition files. In this section, we'll see how we can package those files into an archive. This archive can be used to deploy the monitoring support on multiple hosts through Enterprise Manager Console.

Packaging

We'll use emcli command utility to package all the files required for the management plug-in. One sample command is listed next—for more details on emcli command and all other options, you can refer to the Enterprise Manager documentation.

emcli add_mp_to_mpa -mpa="/tmp/sun_javawebserver.jar" -mp_version="1.0" -ttd="/tmp/metadata/sun_javawebserver.xml" -dc="/tmp/default_collection/sun_javawebserver.xml" -file="MONITORING_SCRIPT:/tmp/sunws.pl" -func_desc="Management ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required