1 / 15

Grouper Training - Admin - WS - Part 2

Learn about the configuration, logging, high availability, monitoring, and troubleshooting aspects of Grouper Admin WS. This training is conducted by Chris Hyzer from the University of Pennsylvania and is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.

corneliusl
Download Presentation

Grouper Training - Admin - WS - Part 2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Grouper Training - Admin - WS - Part 2 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.

  2. Contents Introduction Configuration Logging High availability Monitoring Troubleshooting

  3. Introduction 3

  4. Configuration • grouper-ws.properties • See file for all options, here are some examples • Control who can access WS by group • If you configure this, you could auto-create the group and auto-assign users in the grouper.properties 4

  5. Configuration (continued) • Which users can act-as which other users 5

  6. Configuration (continued) • Which subject attributes are sent by default (note, client can request more) 6

  7. Logging • Logging is controlled via log4j.properties • Clients can easily proxy (especially in non-SSL test environment) • Errors are generally returned to client • GrouperClient has --debug=true switch to log request and response 7

  8. Logging (continued) • Can log requests and responses on server (2.1.1+) • Should generally not do in production • Edit web.xml • Add log4j debug settings 8

  9. High availability • Can have multiple app servers connected to one registry • Might want session persistence by source IP address • There are many ways to do this, here are two Registry Client Load balancers WS servers 9

  10. High availability (continued) • For improved availability, can deploy in multiple data centers, load balance on client • GrouperClient can do this, or custom client Registry Load balancers One-way replication WS servers Data center 1 Client Readonly Registry Load balancers WS servers Data center 2 10

  11. Monitoring • Monitor like any other web application • Status servlet can check health • Hook up to monitoring software e.g. Nagios Monitoring software e.g. Nagios Registry WS servers 11

  12. Monitoring (continued) • Status servlet will return 200 on success • Can have log4j errors emailed to admins • TODO ADD EXAMPLE 12

  13. Troubleshooting • Generally the client will receive a descriptive error to troubleshoot their own problems • Refer the client to the WS samples / docs • Use the GrouperClient with --debug to show examples of requests / responses • Contact the Grouper-users email list 13

  14. Quiz • Click on the quiz link in the video description to reinforce your knowledge of this topic 14

  15. Thanks! • Further information: • Infosheets, mailing lists, wiki, downloads, etc.:www.internet2.edu/grouper • Grouper demo server:grouperdemo.internet2.edu/ • Grouper Online Training Home:spaces.internet2.edu/x/IIGfAQ This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.

More Related