database access management
play

Database Access Management Giacomo Tenaglia CERN IT/DB HEPiX - PowerPoint PPT Presentation

Database Access Management Giacomo Tenaglia CERN IT/DB HEPiX Spring 2012 CERN IT Department CH-1211 Geneva 23 Switzerland www.cern.ch/ i t Agenda Scenario and requirements DAM: overview Implementation details CERN IT


  1. Database Access Management Giacomo Tenaglia CERN IT/DB HEPiX Spring 2012 CERN IT Department CH-1211 Geneva 23 Switzerland www.cern.ch/ i t

  2. Agenda • Scenario and requirements • DAM: overview • Implementation details CERN IT Department CH-1211 Geneva 23 Database Access Management - G. Tenaglia - HEPiX Spring 2012 Switzerland www.cern.ch/ i t

  3. Scenario • O(100) servers • “Clusters” of 1 to 6 nodes • Access via SSH • High turnover of people – Admins – Users • “Flat” network CERN IT Department CH-1211 Geneva 23 Database Access Management - G. Tenaglia - HEPiX Spring 2012 Switzerland www.cern.ch/ i t

  4. Requirements: DB clusters Database Access Management - G. Tenaglia - HEPiX Spring 2012

  5. Requirements: DB clusters Database Access Management - G. Tenaglia - HEPiX Spring 2012

  6. Requirements: DB clusters Database Access Management - G. Tenaglia - HEPiX Spring 2012

  7. Requirements: Middleware Database Access Management - G. Tenaglia - HEPiX Spring 2012

  8. Requirements: Middleware Database Access Management - G. Tenaglia - HEPiX Spring 2012

  9. Requirements: Middleware Database Access Management - G. Tenaglia - HEPiX Spring 2012

  10. Requirements: Middleware Database Access Management - G. Tenaglia - HEPiX Spring 2012

  11. Requirements: Middleware Database Access Management - G. Tenaglia - HEPiX Spring 2012

  12. Requirements: Middleware Database Access Management - G. Tenaglia - HEPiX Spring 2012

  13. Requirements: Middleware Database Access Management - G. Tenaglia - HEPiX Spring 2012

  14. Requirements • Functional requirements – Group management • Track relationships (“who can access what”) • Membership delegation to group admins • Cluster equivalence – Ease key management – CLI and Web – Use standard CERN IT tools • Security requirements – Revoke access – PKI not shared passwords CERN IT Department CH-1211 Geneva 23 Database Access Management - G. Tenaglia - HEPiX Spring 2012 Switzerland www.cern.ch/ i t

  15. DAM Overview Database Access Management - G. Tenaglia - HEPiX Spring 2012

  16. DAM Overview Database Access Management - G. Tenaglia - HEPiX Spring 2012

  17. DAM Overview Database Access Management - G. Tenaglia - HEPiX Spring 2012

  18. DAM Overview Database Access Management - G. Tenaglia - HEPiX Spring 2012

  19. System Requirements • Database – Currently Oracle, API can be ported • Management Server – Password-less access to managed nodes • LDAP directory with groups (if needed) – Currently e-groups published via LDAP Database Access Management - G. Tenaglia - HEPiX Spring 2012

  20. Interface for Administrators • APEX screenshot Database Access Management - G. Tenaglia - HEPiX Spring 2012

  21. How It Works • APEX screenshot

  22. How It Works • APEX screenshot

  23. Interface for Users • APEX screenshot Database Access Management - G. Tenaglia - HEPiX Spring 2012

  24. How It Works: APEX • APEX screenshot Database Access Management - G. Tenaglia - HEPiX Spring 2012

  25. Interface for Group Admins Database Access Management - G. Tenaglia - HEPiX Spring 2012

  26. How It Works: APEX Database Access Management - G. Tenaglia - HEPiX Spring 2012

  27. Implementation Details • PL/SQL API, Perl, APEX Application • Extensive use of Kerberos – Service keytab on management host • Tested with CERN Security Team – Easier for users than SSH keys • LDAP groups managed by users (“egroups”) Database Access Management - G. Tenaglia - HEPiX Spring 2012

  28. Implementation Details • Parallel “Access refresh” • Source accounts – Generate private keys on the nodes • Managed servers pre-seeding – Integrated in CMS • Revoke public key – Consistency checks upon refresh Database Access Management - G. Tenaglia - HEPiX Spring 2012

  29. How It Works Database Access Management - G. Tenaglia - HEPiX Spring 2012

  30. How It Works Database Access Management - G. Tenaglia - HEPiX Spring 2012

  31. How It Works Database Access Management - G. Tenaglia - HEPiX Spring 2012

  32. How It Works Database Access Management - G. Tenaglia - HEPiX Spring 2012

  33. How It Works Database Access Management - G. Tenaglia - HEPiX Spring 2012

  34. How It Works Database Access Management - G. Tenaglia - HEPiX Spring 2012

  35. How It Works Database Access Management - G. Tenaglia - HEPiX Spring 2012

  36. How It Works Database Access Management - G. Tenaglia - HEPiX Spring 2012

  37. Current usage • 500 servers • 2000 accounts • 5 teams (developers, DBA, sysadmins) • 150 groups CERN IT Department CH-1211 Geneva 23 Database Access Management - G. Tenaglia - HEPiX Spring 2012 Switzerland www.cern.ch/ i t

  38. Summary • DAM helps secure our environment • Key success factor for 11g migration • API and source code could be made available to other sites if interested CERN IT Department CH-1211 Geneva 23 Database Access Management - G. Tenaglia - HEPiX Spring 2012 Switzerland www.cern.ch/ i t

  39. Q&A Thank you! Giacomo.Tenaglia@cern.ch Credits: Alvaro Gonzalez Alvarez Andrea Ieri, Artur Wiecek, Dawid Wojcik Jacek Wojcieszuk CERN IT Department CH-1211 Geneva 23 Database Access Management - G. Tenaglia - HEPiX Spring 2012 Switzerland www.cern.ch/ i t

Recommend


More recommend