Lotus Connections Administration - von der Befehlszeile zur grafischen Oberfläche

Embed Size (px)

DESCRIPTION

Die Administration von Lotus Connections besteht aus dem Editieren von XML Dateien und dem Absetzen von case-sensitiven (!) "wsadmin" Befehlen, dem Standard Command Line Interface des WebSphere Application Servers. Viele Lotus Connections Administratoren aber kommen aus der Lotus Domino Welt und sind den Domino Administrator gewöhnt, nicht jedoch daran, erst in einem Terminalfenster wsadmin zu starten, ein Pythonscript zu laden, Selektionsbefehle in temporäre Variable zu speichern und Hash Werte in Vector umzuwandeln - nur um dann am Ende einen User zu einer Community hinzufügen zu können. Dieser Ansatz für die Administration eines Systems wie Connections kann als unnötig komplex und wenig komfortabel empfunden werden.In dieser Session wird exemplarisch die Connections Administration auf der Basis von wsadmin und im Vergleich dazu mit dem Lotus Connections Administration Toolkit (CAT) demonstriert. Es wird gezeigt, wie mit dem Lotus Connections Administration Toolkit die Komplexität der Connections Administration und der Aufwand für die Systempflege reduziert werden können.CAT ist eine einfach zu installierende und leicht zu bedienende Applikation für die Konfiguration und Administration von Lotus Connections, mit kontextsensitiver Hilfe und ausführlichem Logging einschließlich Kommentarfunktion. Administrative Tasks, die in wsadmin aus einer Serie von aufeinanderfolgenden Einzelbefehlen bestehen, können in CAT per Click erledigt werden. Die Connections Administration wird wesentlich vereinfacht und auch für Administratoren ohne WebSphere Background zugänglich.

Text of Lotus Connections Administration - von der Befehlszeile zur grafischen Oberfläche

  • 1.BP114 Lotus ConnectionsAdministration from thecommand line to a graphical UIFelix Binsack | General Manager | TIMETOACTOtto Foerg | Collaboration Solutions Architect | edcom 2011 IBM Corporation

2. Agenda IBM Lotus Connections 3.0 Administration Overview Edit Lotus Connections Configuration Settings Using wsadmin Using Lotus Connections Administration Tool (CAT) Activities Member Management Using wsadmin Using CAT Lotus Connections User Management Architecture Using wsadmin Using CAT Overview of CAT Services Q&A 2011 IBM Corporation 2 3. Lotus Connections 3.0 Administration Overview Configuration settings Common configuration properties Feature configuration Administrative Tasks include Member management Trash management Cache management Synchronization with LDAP Application management Widgets management Libraries & policies Metrics & statistics Scheduled jobs ... Lotus Connections administration is based on IBM Websphere administration ! 2011 IBM Corporation 3 4. WebSphere Distributed System ManagementFrom Redbook WebSphere Application Server V7 Administration and Configuration Guide 2011 IBM Corporation 5. Lotus Connections 3.0 Administration Interfaces wsadmin (command line interface) + XML congura9on les Lotus Connec9ons ---------------------------------------------------user interface Communica*on se.ngs, No*ca*ons congura*on,------------------------ Language selector, Metrics & sta*s*cs, Blogs, Homepage Scheduled tasks, Life-cycle events User management --------------------------------------------------- Congura*on & administra*on for - Ac*vi*es, Bookmarks, Communi*es, Files - Forums, Proles, Wikis, Search & NewsWebSphere Applica9on Server Integrated Solu9ons Console------------------------WAS services and processes, Access control, Node synchroniza*on, Data sources, Security, JVM se.ngs, SMTP, IBM HTTP Server, ... 2011 IBM Corporation 5 6. Administration in the Connections User InterfaceBlogs Configuration parameters Moderation Approval for entries and comments Flagged entries and comments 2011 IBM Corporation 6 7. Administration in the Connections User InterfaceHome Page Widgets administrationFor other Connections featuresadministration fromuser interface not available 2011 IBM Corporation 7 8. IBM WebSphere Integrated Solutions Console Configuration of WAS services and processes Security JVM settings (heap size) Virtual hosts SMTP Management of WAS processes and related servers Start & stop of servers & clusters Node synchronization Management of IBM HTTP server Lotus Connections specific aspects Access control Data sources Configuration and administration of Connections features not available 2011 IBM Corporation 8 9. wsadmin Used to Example: Change configuration settings Display Activities Configuration: Perform administrative tasks Background Standard Websphere ApplicationServer command line interface Uses Jython scripts Communicates with Websphereprocesses via MBeans Usage Case-sensitive Complex multilevel commands Skills Good understanding of WebSpherearchitecture and administrationuseful 2011 IBM Corporation 9 10. Connections XML Configuration Repository Used for configuration of Lotus Connections general Lotus Connections features Check-out / check-in procedure required Why ? You should not work in configuration files during runtime Syntax check during check-in is very useful Backup copies of XML files in runtime directories are not useful Configuration flow Check-out XML file on Deployment Manager Edit file Check-in Synchronize changed files with Connections nodes Restart applications or clusters / servers (in most but not all cases) 2011 IBM Corporation 10 11. Connections 3.0 XML Configuration Files communities-config.xml news-config.xml communities-policy.xml notification-config.xml contentreview-config.xml oa-config.xml dogear-config-cell.xml profiles-config.xml events-config.xml profiles-policy.xml files-config.xml proxy-config.tpl forum-config.xml proxy-search-config.tpl forum-policy.xml search-config.xml gettingstarted-config.xml uiextensions-config.xml LotusConnections-config.xml widgets-config.xml mime-files-config.xml wikis-config.xml mime-wikis-config.xml 2011 IBM Corporation 11 12. Example 1: Change Communication Settings (1) Configure URLs to access a feature from your HTTP server: Non-SSL SSL InterService navigation 2011 IBM Corporation 12 13. Example 1: Change Communication Settings (2)1) Change to Deployment Manager bin Directory: bin2) Start wsadmin session: wsadmin -lang jython -user -password -port 88793) Load Connections-wide configuration script: execfile("connectionsConfig.py")4) Check-out Connections-wide configuration file: LCConfigService.checkOutConfig ("D:/WebSphere/lcc","Connections3Cell01")5) Edit configuration file6) Check-in Connections-wide configuration file: LCConfigService.checkInConfig ("D:/WebSphere/lcc","Connections3Cell01")7) Synchronize all WebSphere nodes8) Restart all servers / clusters 2011 IBM Corporation 13 14. Example 1:Complete wsadmin Session for ChangingCommunication Settings Beware of typos nearly everything is case-sensitive ! 2011 IBM Corporation 14 15. Is there an alternative to command lineprocessing and XML file editing ? 2011 IBM Corporation 15 16. Connections Administration Toolkit (CAT) Graphical user interface for configuration & administration of Lotus Connections Supersedes command line Edit configuration properties without accessing XML files Perform simple and complex Lotus Connections administration tasks withoutbeing a WebSphere Application Server administration expert 2011 IBM Corporation 16 17. Connections Administration Toolkit (CAT)Technical background Developed as a Java Enterprise Edition (JEE) application User interface developed with Google Web Toolkit Running on a WebSphere Application Server of yourLotus Connections installation Installed within a few minutes using standard WebSphereapplication deployment techniques Accessed with your browser 2011 IBM Corporation 17 18. Lotus Connections 3.0 Administration Interfaces Connec&ons Administra&on Toolkit (CAT) Lotus Connec&ons --------------------------------------------------- user interface Communica*on se.ngs, No*ca*ons congura*on, ------------------------ Language selector, Metrics & sta*s*cs,Blogs, Homepage Scheduled tasks, Life-cycle events User management --------------------------------------------------- Congura*on & administra*on for - Ac*vi*es, Bookmarks, Communi*es, Files - Forums, Proles, Wikis, Search & NewsWebSphere Applica&on Server Integrated Solu&ons Console------------------------WAS services and processes, Access control, Node synchroniza*on, Data sources, Security, JVM se.ngs, SMTP, IBM HTTP Server, ... 2011 IBM Corporation 18 19. Demo 1: Change Communication Settings withConnections Administration Toolkit (CAT) 2011 IBM Corporation 19 20. Lotus Connections Configuration with CAT:What we have seen Configure Lotus Connections with your browser from everywhere No need for a wsadmin session No check-out / check-in of XML files required No editing of XML files Connections Administration Toolkit (CAT) displayes the current communicationsettings Change communication settings for one, multiple or all Lotus Connectionsfeatures with one click 2011 IBM Corporation 20 21. And how about administration ?Can I as administrator add new members to Activities ? 2011 IBM Corporation 21 22. Steps for Activities Member Management Select user Select activity Perform task 2011 IBM Corporation 22 23. Example 2:Add an Additional Member to an Activity (1)1) Change to Deployment Manager bin Directory: bin2) Start wsadmin session: wsadmin -lang jython -user -password -port 88793) Load Activities configuration script: execfile("activitiesAdmin.py")4) We have to define the new member and store it in a temporary variable:newMember=ActivitiesMemberService.fetchMemberByName(Olga Belousova)5) We have to select the activity and store it in a temporary variable: act=ActivityService.fetchActivityById ("FFFGc66a55370a2c423eafa5bd0a4b443a70") 2011 IBM Corporation 23 24. Example 2:Add an Additional Member to an Activity (2)6) Unfortunately our variables are of type hash, but the method for adding members to an activity expects vector, so we have to convert them:from java.util import Vector newMemberVec = Vector() newMemberVec.add(newMember) actVec = Vector() actVec.add(act)7) Finally we can add the new member to the activity: AccessControlService.setMembersAccess (actVec,newMemberVec) 2011 IBM Corporation 24 25. Difference Between Hash and Vector ? A vector is a list (aka array) of hash values 2011 IBM Corporation 25 26. Example 2:Complete wsadmin Session for Adding a NewMember to an Activity Beware of typos nearly everything is case-sensitive ! 2011 IBM Corporation 26 27. Demo 2: Add a New Memberto an Activity withConnections Administration Toolkit (CAT) 2011 IBM Corporation 27 28. Activities Member Management with CAT:What we have seen Filter activities by any combination of criteria: Activity type (all, completed, deleted) Activity name User (creator, member, owner) Activity ID (UUID) Date Display properties for selected activity Perform tasks on one or multiple activities: Delete Restore Purge Add / remove authors, reader and owner 2011 IBM Corporation 28 29. 2011 IBM Corporation 29 30. Connections User Management ArchitectureWe have several repositories containing user data: Corporate directory (LDAP) Source for Profiles database Contains a field which acts as primary key between directory and Connections Must be unique and may never change ! Contains the allowed login items used for Connections authentication email, uid, loginId These must be unique ! Profiles database Gets initially populated from and periodically synced with corporate directory The External ID (ExtId) is the key Application databases One d