Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jaime Pérez Virginia Martín-Rubio TERENA Networking Conference Prague, May 2011.

Similar presentations


Presentation on theme: "Jaime Pérez Virginia Martín-Rubio TERENA Networking Conference Prague, May 2011."— Presentation transcript:

1 Jaime Pérez Virginia Martín-Rubio TERENA Networking Conference Prague, May 2011

2 1.The ability to monitor the status of the Identity and/or Service Providers of our production federation. 2.User centric: provider’s status must be seen as from the point of view of the users. 3.Deploy a complete monitoring platform that allows us to manage alerts, reports, graphs, statistics, and more. Goals

3 1.It must be compatible with our running monitoring infrastructure, based on Nagios: Automated tests executed on demand Follow the Nagios plugins API 2.It must be independent of the underlying technology: SIR federation is a mixture of protocols Users don’t know about technology, just use it Requisites

4 –We started looking for the most suitable tools to fit the requirements. Some software to allow automation of the user’s (and his/her web browser) behaviour. –We made our choice to be Apache JMeter. Mainly used as a benchmarking tool, it’s perfect to simulate web browsers. It lacks support of Javascript, but provides mechanisms to simulate it. Challenge #1: find the appropriate tools

5 Apache JMeter

6 1.First we developed a test plan that simulates a login through our federation, authenticates and returns back to a specially crafted SP. Automating JMeter

7 2.Then we set up a dedicated machine to run the test plan on it by means of the JMeter command line interface. Automating JMeter

8 3.We also considered using a farm of JMeter servers that receive the test plans and run them: better performance and scalability. Automating JMeter

9 –Since it is desirable to have just one test plan for all monitored IdPs, we designed it with macros and variables that we change in runtime to fit the specific details of each IdP. That is: Username Password The names of the input fields of the login form A cookie to bypass the WAYF and go straight to the IdP. Automating JMeter

10 –Once we were able to test individually each IdP, we needed a way to run the tests and get the results in a specific Nagios format. –We developed a shell script that receives as command line parameters the variables mentioned before, modifies the test plan in runtime, runs JMeter with it and evaluates the output to translate to a Nagios service status/performance data. Challenge #2: nagios integration

11 –It is flexible enough to allow us to evaluate the settings of and IdP. For instance, looking for some mandatory attributes and triggering a warning if any of them is missing: adding logic to the Fake Service Provider –It also allows us to perform security tests, like making sure a non-existent user is unable to successfully login to the IdP: testing twice with real and fake users Challenge #2: nagios integration

12 22 IdPs already being monitored and increasing Achievements #1 Private Nagios interface

13 Achievements #2 Manual testing of an IdP

14 Achievements #3 Public web app (the SP itself)

15 Achievements #4 Comprehensive data about IdP status

16 Achievements #5 Monthly reports

17 Achievements #6 Email reports & alerts

18 –User centric federation monitoring: we simulate users and browser behaviour, so if the monitor says an IdP is working, then we can guarantee it really does. –Technology independent: though it is adapted to our running infrastructure, it doesn’t know anything about the underlying technology, and in fact supports several protocols mixed altogether. –Want more info? Look for the extended abstract! Summary

19 http://www.rediris.es/sir sir@rediris.es Thanks for listening!


Download ppt "Jaime Pérez Virginia Martín-Rubio TERENA Networking Conference Prague, May 2011."

Similar presentations


Ads by Google