JBoss.orgCommunity Documentation
Jopr is an enterprise management solution for JBoss middleware projects and other application technologies. This pluggable project provides administration, monitoring, alerting, operational control and configuration in an enterprise setting with fine-grained security and an advanced extension model.
It provides support for monitoring base operating system information on six operating systems as well as management of Apache, JBoss Application Server (JBoss AS) and other related projects. See the Jopr website for more information or see the Jopr embedded website
This chapter provides information on how to enable the management of Mobicents SIP Servlets Servers through Jopr with our custom Jopr plug in. Two versions of Jopr are available: an embedded version, which is better suited to development environments; and a full version, which is better suited to production environments.
The Mobicents SIP Servlet Jopr plug in provides a facility to view metrics related to the deployed applications, metrics related to the SIP Servlets Server. Additionally, the plugin provides the option to manage the various configuration settings of the SIP Servlets Server such as Congestion and Concurrency control.
The Embedded Jopr (also known as the JBoss Administration Console) is pre-installed as an application deployed in the Mobicents SIP Servlets Server.
Follow the Jopr installation instructions to install the latest version of Jopr.
Stop the Jopr server and agent if they are running.
Get the Mobicents SIP Servlets Jopr Plug in from here : http://repository.jboss.com/maven2/org/mobicents/servlet/sip/jopr-mobicents-sip-servlets-plugin/1.3/jopr-mobicents-sip-servlets-plugin-1.3.jar
Copy the jopr-mobicents-sip-servlets-plugin-1.3.jar just
downloaded to the
jopr-server/jbossas/server/default/deploy/rhq.ear/rhq-downloads/rhq-plugins/
directory
Start the Jopr server then the agent.
Start the Mobicents SIP Servlets Server on JBoss, and ensure the binding address is specified
sh run.sh -b 192.168.0.10
(the Server will
not get recognized on localhost)
Log in to the Jopr console on http://localhost:8080/admin-console and login as admin (user=admin, password=admin).
From the tree on the left side of the screen, under Services , click on
link, then click on the link to view the incoming metrics.Click on the Configuration Tab to tune the Congestion Controls parameters as defined in Section 7.2, “Concurrency and Congestion Control”
Click on the Control Tab to set the Concurrency Control Mode and Congestion Control Policy as defined in Section 7.2, “Concurrency and Congestion Control”
To begin metrics collection, and see them on the monitoring application, you must use an example application (such as location service) so that the SIP Servlets Server processes SIP Messages.
To see metrics for the application, click on the application under the Converged SIP/Web Application (SAR/WAR) link.
Select the Metrics tab to actually see the metrics for the application.
Log in to the Jopr console on http://localhost:7080
From the Dashboard tab, in the Auto Discovery portlet, import your server (for example, deruelle-laptop JBossAS 4.2.3.GA default (192.168.0.12:1099)) from under localhost.
From the Dashboard, in the Recently Added Resources portlet, click on the server.
On the new Monitor view click on the JBossWeb Server link.
Click on the
link to view the incoming metrics.Click on the Configuration tab to tune the Container configuration parameters such as Concurrency and Congestion as defined in Section 7.2, “Concurrency and Congestion Control”
Click on the Control Tab to be able to set the Concurrency Control Mode and Congestion Control Policy as defined in Section 7.2, “Concurrency and Congestion Control”
To begin metrics collection, and see them on the monitoring application, you must use an example application (such as location service) so that the SIP Servlets Server processes SIP Messages.
To see Metrics about your application, click on the Converged SIP/Web Application (SAR/WAR) link.
Click on the application to actually see the metrics for the application.
Click on the Configure link for the Monitor tab to select the metric data to view.
Select the MetaData tab to see the metrics of your application.
This documentation provides information on how to enable the management of Mobicents SIP Load Balancer through Jopr with our custom SIP Load Balancer Jopr plug in.
With the Mobicents SIP Load Balancer Jopr plug in, you can currently see metrics, configure and manage the Mobicents SIP Load Balancer.
Follow the Jopr installation instructions to install the latest version of Jopr.
Stop the Jopr server and agent if they are running.
Get the Mobicents SIP Load Balancer Jopr Plug in from JBoss maven repository at http://repository.jboss.org/maven2/org/mobicents/tools/sip-balancer-jopr-plugin/1.0/sip-balancer-jopr-plugin-1.0.jar
Copy the Mobicents SIP Load Balancer Jopr Plug in jar to the following directory:
jopr-server/jbossas/server/default/deploy/rhq.ear/rhq-downloads/rhq-plugins/
Start the Jopr server then the agent.
Start your Mobicents SIP Load Balancer as explained here (and one node that connect to it to see it appear in the list of nodes).
Log in to the Jopr console from the Dashboard tab, in the Auto Discovery portlet and import your Mobicents SIP Load Balancer (by example Mobicents SIP Load Balancer 1.0-SNAPSHOT) from under localhost.
From the Dashboard, in the Recently Added Resources portlet, click on the Mobicents SIP Load Balancer.
In the new Monitor view, click on the
link.You can now see the metrics coming in.
To configure the Load Balancer and see the list of nodes in the cluster it is connected to, click on the Configure tab.
To start and stop the Load Balancer, click on the Operations tab.