Social Connections VII - IBM Connections Deep Dive

81
IBM Connec*ons Deep Dive Christoph Stö5ner Fritz & Macziol GmbH

description

Overview on IBM Connections 5 deployment and dependencies Session slide for Social Connections VII in Stockholm November 2014

Transcript of Social Connections VII - IBM Connections Deep Dive

Page 1: Social Connections VII - IBM Connections Deep Dive

IBM  Connec*ons  Deep  Dive  

Christoph  Stö5ner  –  Fritz  &  Macziol  GmbH  

Page 2: Social Connections VII - IBM Connections Deep Dive

2  

Page 3: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

About  me  

•  Christoph  Stö5ner  –  IBM  SoDware  Consultant  at  Fritz  &  Macziol  –  Specialized  in  the  IBM  Connec*ons  and  IBM  Domino  Infrastructure  

–  Bavarian  –  Linux  and  Scrip*ng  Lover,  Blogger  –  Speaker  at:  

3  

Page 4: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Agenda  

•  Components  of  IBM  Connec*ons  •  WebSphere  Applica*on  Server  •  Infrastructure  •  Troubleshoo*ng  •  System  Requirements  

4  

Page 5: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Data  flow  &  Interac*on  -­‐  IBM  Connec*ons  

5  

Browser

IBM HTTP Server

WebSphere Plugins

WebSphere Application

Server

Shared Directory

DB

ProfileDB Applications DBs

Access Files,Uploads, CSS, JAR (provision)

Optional: Access Files and Attachments

Forwards allConnections URLs

Knows URLs forwarded to

WAS Hosts & Ports

LDAP Server Authentication

TDI

Links to files

create, activate & delete Users

read and write

Display page after authentication

(when Profile is available)

Profile changes synchronize member tables through JMS Queue

read user data

Page 6: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Goal  

•  No  fear  of  IBM  Connec*ons  •  Understand  rela*onships  between  the  components    •  Understand  configura*on  seZngs    •  Troubleshoo*ng  Basics  

–  log  files    –  applica*ons    –  Troubleshoo*ng  tools  –  Examples    

6  

Page 7: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Comment  on  paths  

•  all  paths  shown  are  Windows  Path  –  e.g.  D:\IBM\product  

•  Linux  or  AIX  administrators  can  replace  with  –  /opt/IBM/product  

7  

Page 8: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

IBM  CONNECTIONS  

Components  

8  

Page 9: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

System  requirements  

•  h5p://www-­‐01.ibm.com/support/docview.wss?uid=swg27012786  

•  Requirements  should  be  strictly  followed  –  IBM  only  supports  the  versions  of  requirements  documents  

–  Check  regularly  -­‐>  approve  before  installa*on  or  update  –  Check  details  and  notes  

9  

Page 10: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

System  requirements  example  

•  WebSphere  Applica*on  Server    

10  

Page 11: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

System  requirements  example  (2)  

11  

Page 12: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Installa*on  Manager  

•  Use  a  actual  32  bit  install  package  –  integrated  IM  in  Connec*ons,  Forms  oDen  older  –  no  need  to  update  several  *mes  within  one    deployment  

•  Uncheck  automa*c    updates  

12  

Page 13: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Browser  support  •  Official  supported  

–  Internet  Explorer  8.0  –  11.0  –  Mozilla  Firefox  ESR  24,  26  –  Apple  Safari  7.0  –  Google  Chrome  31  (all  OS)  

•  Nextgen  /  gen4  Theme  –  since  Connec*ons  4.5  CR2  –  IE  without  Compa*bility  Mode  

•  h5p://www-­‐969.ibm.com/soDware/reports/compa*bility/clarity-­‐reports/report/html/prereqsForProduct?deliverableId=1351088302698#!    

13  

Page 14: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

IBM  CONNECTIONS  

Deployments  

14  

Page 15: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Overview  •  Small  Deployment  <  1.000  registered  Users  

–  1  Cluster  all  applica*ons  •  Medium  Deployment  1.000  –  10.000  registered  Users  

–  several  Clusters  (Default:  3)  •  Large  Deployment  about  10.000  –  100.000  registered  Users  

–  1  Cluster  for  each  applica*on  –  you  should  use  2  or  more  nodes    

•  Large  Deployment  >  100.000  registered  Users  –  addi*onal  Nodes  –  redundant  database  servers  

15  

Page 16: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

IBM  CONNECTIONS  

Infrastructure  

16  

Page 17: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Minimum  Infrastructure  

17  

-  AD -  Domino -  LDAP v3

Page 18: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Infrastructure  –  advanced  

18  

-  AD -  Domino -  LDAP v3

Page 19: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Infrastructure  –  external  access  

19  

Page 20: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Infrastructure  -­‐  HA  

20  

Page 21: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

WebSphere  Applica*on  Server  -­‐  Basics  

21  

Browser

IBM HTTP Server

WebSphere Plugins

WebSphere Application

Server

Shared Directory

DB

ProfileDB Applications DBs

Access Files,Uploads, CSS, JAR (provision)

Optional: Access Files and Attachments

Forwards allConnections URLs

Knows URLs forwarded to

WAS Hosts & Ports

LDAP Server Authentication

TDI

Links to files

create, activate & delete Users

read and write

Display page after authentication

(when Profile is available)

Profile changes synchronize member tables through JMS Queue

read user data

Page 22: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

IBM  WebSphere  Applica*on  Server  

•  Cell  –  In  a  network  deployment  a  cell  can  have  mul*ple  Nodes  –  SPOA  through  Deployment  Manager  

•  Deployment  Manager  (dmgr)  –  Configura*on  server  of  a  cell  –  manage  the  master  configura*on  

22  

Page 23: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

IBM  WebSphere  Applica*on  Server  

•  Node  –  Group  of  applica*on  servers  –  each  node  is  managed  through  the  NodeAgent  

•  NodeAgent  –  synchronize  configura*on  from  Deployment  Manager  –  copy  new  and  changed  files  to  Node  Config  

23  

Page 24: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

IBM  WebSphere  Applica*on  Server  

•  Applica*on  Server  •  Cluster  –  one  to  n  members  –  Loadbalancing  and  Failover  with  >=  two  members  

•  Administra*on  –  Integrated  Solu*on  Console  (h5p://was_host:9060/admin)  –  wsadmin.bat|sh  (start  within  <Dmgr-­‐profile>/bin  

24  

Page 25: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Java  Virtual  Machine  •  Seperate  JVM  

–  dmgr  –  nodeagent  –  applica*on  server  

•  each  JVM  has  seperate  seZngs  for  –  logs  –  Java  Heap  Size  –  Java  Generic  –  Garbage  Collector  

25  

Page 26: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Compare  WebSphere  &  Domino  IBM  WebSphere  AppServer  •  Cell  •  Node  •  NodeAgent  •  Deployment  Manager  •  Applica*on  Server    

IBM  Domino  •  Domino  Domain  •  Domino  Server  (par**oned)  •  Replicator  task  •  Administra*on  Server  

26  

Page 27: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Paths  

•  WAS_HOME  –  D:\IBM\WebSphere\AppServer  –  /opt/IBM/WebSphere/AppServer  

•  Profiles  –  %WAS_HOME%\profiles  |  $WAS_HOME/profiles  

•  Dmgr01  (Default  Deployment  Manager)  •  AppSrv01  (Default  1.  Node)  •  AppSrv02  (op*onal)  

27  

Page 28: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Log  Files  •  Midsize  Deployment  

–  $WAS_HOME/profiles/AppSrv01/logs  •  InfraCluster_server1/SystemOut.log  •  Cluster1_server1/SystemOut.log  •  Cluster2_server1/SystemOut.log  

•  Large  –  $WAS_HOME/profiles/AppSrv01/logs  

•  Ac*vi*esCluster_server1/SystemOut.log  •  BlogsCluster_server1/SystemOut.log  •  ...  

28  

Page 29: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

WebSphere  Applica*on  Server  -­‐  Basics  

29  

Browser

IBM HTTP Server

WebSphere Plugins

WebSphere Application

Server

Shared Directory

DB

ProfileDB Applications DBs

Access Files,Uploads, CSS, JAR (provision)

Optional: Access Files and Attachments

Forwards allConnections URLs

Knows URLs forwarded to

WAS Hosts & Ports

LDAP Server Authentication

TDI

Links to files

create, activate & delete Users

read and write

Display page after authentication

(when Profile is available)

Profile changes synchronize member tables through JMS Queue

read user data

Page 30: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

HTTP  Server,  Plugins  &  WebSphere  AppSrv  •  Interac*on  •  IHS_ROOT  

–  D:\IBM\HTTPServer  –  /opt/IBM/HTTPServer  

•  WAS_PLG_ROOT  –  D:\IBM\WebSphere\Plugins  –  /opt/IBM/WebSphere/Plugins  

•  Keystore  –  Check  SSL  Key  validity  

30  

IBM HTTP Server

WebSphere Plugins

WebSphere Application

Server

IHS_ROOT/index.html

http(s)://connections-url

/homepage/profiles

https://was_host:9444/homepagehttps://was_host:9445/profiles

{ }

Page 31: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Paths  HTTP  Server  •  Configura*on  

–  %IHS_ROOT%\conf\  •  h5pd.conf  

•  Logs  –  %IHS_ROOT%\logs\  

•  access.log  •  error.log  

WebSphere  Plugins  •  Configura*on  

–  %WAS_PLG_ROOT\config\  •  webserver1  (Bsp.)  

•  Logs  –  %WAS_PLG_ROOT%\logs\  

•  webserver1  (Bsp.)  

31  

Page 32: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

WebSphere  Plugins  

•  Handle  HTTP(S)  requests  from  IHS  to  WebSphere  Server    •  Path:  

–  changed  from  Version  7  to  8!!    •  ISC  (even  8.5.5)  set  the  old  path  as  default,  when  adding  a  webserver  

–  Version  7:  •  D:\IBM\HTTPServer\Plugins\logs\cnxwebserver1  

–  Version  8:  •  D:\IBM\WebSphere\Plugins\logs\cnxwebserver1

32  

Page 33: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

WebSphere  Plugins  (2)  

33  

Page 34: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

WebSphere  Plugins  (3)  •  Configura*on  directory  contains  

–  Plugin-­‐cfg.xml  •  Plugin  configura*on  •  Ports,  hostnames  from  WebSphere  

–  Plugin-­‐key.kdb  •  Keystore  from  WebSphere  keys  •  Contains  Root  Cer*fier  from  WebSphere  

–  Plugin-­‐key.sth  •  Stashfile  Keystore  •  Password  for  Keystore  

•  Important:  do  not  use  plugin-­‐key.kdb  for  IHS  SSL  Keys  

34  

Page 35: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

plugin-­‐cfg.xml  

35  

Page 36: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

plugin-­‐cfg.xml  (2)  

•  Ports  •  Urls  •  Route  to  Applica*on  Servers  

36  

Page 37: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Tivoli  Directoy  Integrator  

37  

Browser

IBM HTTP Server

WebSphere Plugins

WebSphere Application

Server

Shared Directory

DB

ProfileDB Applications DBs

Access Files,Uploads, CSS, JAR (provision)

Optional: Access Files and Attachments

Forwards allConnections URLs

Knows URLs forwarded to

WAS Hosts & Ports

LDAP Server Authentication

TDI

Links to files

create, activate & delete Users

read and write

Display page after authentication

(when Profile is available)

Profile changes synchronize member tables through JMS Queue

read user data

Page 38: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Tivoli  Directory  Integrator  •  TDI_ROOT  

–  D:\IBM\TDI\V7.1.1  •  TDISOL    

(do  not  use  TDIPopula*on  from  Wizards,  copy  Connec*ons\TDISOL)  –  D:\IBM\tdisol  

•  Logs  –  %TDISOL%\logs\ibmdi.log  

•  Employee.*  –  .error  –  .update  –  .skip  

38  

Page 39: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

map_dbrepos_from_source.proper*es  •  Configura*on  LDAP  /  Database  mapping  •  Important  (must  be  unambiguous)  

–  email  –  uid  –  guid  

•  Connec*ons  shows  CN,  when  a  User  creates  something  –  givenname  surname  

•  Be  careful  with  mapping  (disable  edit  within  profiles)  –  descrip*on  –  about  

39  

Page 40: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

profiles_tdi.proper*es  •  LDAP  

–  Bind  User  •  source_ldap_user_login=cn=Bind  LDAP,ou=users,o=stoeps  

–  Bind  Passwort  {protect}-­‐parameter  will  be  encrypted  aDer  star*ng  sync_all_dns.bat  •   {protect}-­‐source_ldap_user_password={encr}RU/IYGikSAnf/DDYN1hW6  

–  LDAP  Host  •  source_ldap_url=ldap://mail.stoeps.local:389  

–  Base  DN  •  source_ldap_search_base=o=stoeps  

–  Search  Filter  (User  filter  for  synchronisa*on)  •  source_ldap_search_filter=(&(uid=*)(mail=*))  

40  

Page 41: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

profiles_tdi.proper*es  (2)  •  Database  

–  Host,  Port,  DB  (dbrepos_jdbc_url=jdbc:db2://cnxwin.stoeps.local:50000/PEOPLEDB)  

–  Password  ({protect}-­‐dbrepos_password={encr}Ua1BTSYdmu9ZDo662geoLc8C0=)  

•  Hash  –  sync_updates_hash_field=uid  (uid,  email  or  guid)  –  is  used  to  find  matching  entries  between  DB  and  LDAP  

•  important  to  sync  e.g.  renamed  users  •  uid  &  email  get  changed  when  Domino  renames  a  User  •  GUID  (Doc  ID)  change,  when  you  copy  and  paste  person  documents  

•  debug_*=false|true  or  etc/log4j.proper*es  41  

Page 42: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Create,  update  &  delete  User  

•  User  Synchroniza*on  •  sync_all_dns.bat|sh  –  create  &  update  –  delete  or  inac*vate  –  sync_all_dns.lck  –  run  regularly  

42  

Page 43: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Create,  update  &  delete  User  (2)  

•  collect_dns.bat    –  create  a  list  of  users  with  defined  search  filter  –  write  to  collect.dns  

•  populate_from_dn_file.bat  –  create  &  update  users  listed  in  collect.dns  –  no  delete  or  inac*vate  –  always  use  uid  to  find  matching  entries  between  LDAP  &  database  

43  

Page 44: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

fill_*.bat  

•  Following  fields  are  not  directly  shown  in  Profiles  –  countryCode  –  deptNumber  –  organiza*on  –  workLoca*onCode  

•  TDISOL/samples    –  example  csv  

44  

Page 45: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Possible  errors  

•  New  users  does  not  appear  in  Profiles  –  sync_all_dns.lck  wasn't  deleted  –  run  collect_dns.bat  

•  check  if  user  is  listed  –  LDAP  Search  –  employee.error,  employee.skip  –  check  Log-­‐File  (aDer  ac*va*ng  debug)  

•  find  possible  valida*on  errors  

45  

Page 46: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

IBM  CONNECTIONS  

User  management  

46  

Page 47: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

GUID,  UID,  UUID  •  UID  

–  LDAP  a5ribute  –  Shortname  in  Domino  –  sAMAccountName  in  AD  

•  GUID  –  LDAP  a5ribute  –  SSID  in  AD,  DocID  in  Domino  

•  UUID  –  unambigous  ID  of  users  or  objects  in  Connec*ons  databases  

47  

Page 48: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Connec*ons  Users  •  each  user  need  a  profile  in  peopleDB  •  loginItems  must  be  unambigous  

–  uid  –  E-­‐Mail  –  CN  (if  defined)  

•  deac*vate  User  –  do  not  edit  the  database  directly  –  execfile("profilesAdmin.py")  

ProfilesService.inac*vateUser("[email protected]")  –  resync  with  sync_all_dns.bat  

48  

Page 49: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Returning  User  |  UID  recycle  

•  When  you  delete  a  user  in  LDAP,  the  user  is  deac*vated  or  deleted  on  next  sync_all_dns  

•  UID  reused  or  User  comes  back  –  depends  on  sync_updates_hash_field  –  UID  

•  all  profile  fields  updated  to  new  values  •  old  documents  are  reassigned  to  User  with  UID  •  bad  if  it  is  an  other  User  

49  

Page 50: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Returning  User  |  UID  recycle  (2)  

–  GUID  •  new  User  will  not  be  created,  because  GUID  changed  •  duplicate  UID  errors  appear  in  the  log  •  returning  user:  

–  populate_from_dn_file  (hash  to  uid)  

•  UID  recycle  –  you  have  to  rename  the  uid  of  the  old  user  (ProfilesService)!  –  Synchronisa*on  is  possible  aDer  this  

50  

Page 51: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Returning  User  |  UID  recycle  (3)  

•  User  returns  with  different  UID  •  Remap  old  documents  

ProfilesService.swapUserAccessByUserId(„oldGUID“,“newGUID“) ProfilesService.publishUserDataByUserId(„newGUID“)

51  

Page 52: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Database  Server  

52  

Browser

IBM HTTP Server

WebSphere Plugins

WebSphere Application

Server

Shared Directory

DB

ProfileDB Applications DBs

Access Files,Uploads, CSS, JAR (provision)

Optional: Access Files and Attachments

Forwards allConnections URLs

Knows URLs forwarded to

WAS Hosts & Ports

LDAP Server Authentication

TDI

Links to files

create, activate & delete Users

read and write

Display page after authentication

(when Profile is available)

Profile changes synchronize member tables through JMS Queue

read user data

Page 53: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

DB2  

•  License  included  with  IBM  Connec*ons  •  Tables  –  not  documented  –  no  Support  aDer  direct  edit  the  databases  

•  Troubleshoo*ng  –  db2diag.log  

53  

Page 54: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Shared  Directory  

54  

Browser

IBM HTTP Server

WebSphere Plugins

WebSphere Application

Server

Shared Directory

DB

ProfileDB Applications DBs

Access Files,Uploads, CSS, JAR (provision)

Optional: Access Files and Attachments

Forwards allConnections URLs

Knows URLs forwarded to

WAS Hosts & Ports

LDAP Server Authentication

TDI

Links to files

create, activate & delete Users

read and write

Display page after authentication

(when Profile is available)

Profile changes synchronize member tables through JMS Queue

read user data

Page 55: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Shared  Directory  •  Do  not  use  local  file  paths  

–  when  adding  2.  Node  you  need  a  network  share  •  all  Nodes  must  use  the  same  path  or  URI  

–  /opt/icshared  –  f:  –  \\san-­‐host\connec*ons  

–  path  must  have  a  high  availability  •  Connec*ons  must  be  restarted,  when  network  connec*on  drops  •  NFS  SMB  •  you  should  disable  virus  scanning  in  Shared  Directory  

•  MicrosoD  Windows  Service:  Local  System  has  no  network  access  

55  

Page 56: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

IBM  CONNECTIONS  

Configura*on  

56  

Page 57: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Connec*ons  XML  Configura*ons  •  hold  configura*on  of  

–  IBM  Connec*ons  general  –  Connec*ons  features  

•  Configura*on  Change  –  Check  Out  XML  to  temporary  folder  –  Change  config  –  Check  In  

•  Do  not  edit  the  configura*on  directly  •  Syntax  valida*on  on  Check  In  

–  Synchronize  Nodes  –  Restart  Connec*ons  or  App  (depends  on  change)  

57  

Page 58: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Configura*on  backup  

•  Do  not  create  backups  in  the  config  folder  •  WebSphere  reads  all  files  in  these  folders  •  Troubleshoo*ng  more  complicated  •  You  can  use  WAS_ROOT\bin\backupConfig.bat  

58  

Page 59: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

IBM  CONNECTIONS  

Search  

59  

Page 60: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Search  serverStatus  

•  h5p://your_connec*ons_server/search/serverStatus  –  J2EE  Rolle  Admin  in  Search  App  is  needed  –  feeds  and  seedlists  valida*on  –  last  log  messages  –  general  search  configura*on  

•  When  you  install  CCM  and  do  not  configure  it  –  Search  will  never  finish  

60  

Page 61: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Configura*on  

•  File  Extrac*on  binaries  should  be  started  local  –  oDen  problems  when  started  from  network  

•  Dic*onaries  –  good  idea  –  weird  search  results  /  not  consistent  search  

61  

Page 62: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

TROUBLESHOOTING  

Network  

62  

Page 63: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Name  Lookup  •  Check  if  all  hosts  can  lookup  each  other  •  Connec*ons  use  only  one  hostname  

–  e.g.  connec*ons.example.com  –  even  when  you  use  mul*ple  webservers,  the  virtual  host  name  must  

be  the  same  –  configured  in  LotusConnec*ons-­‐config.xml  

•  Tools  –  nslookup  –  dig  –  host  

63  

Page 64: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Changing  Hostname    

•  oDen  complicated,  always  check  possibili*es  in  the  product  documenta*on  – WebSphere  Applica*on  Server  –  DB2  

•  Easier  –  Connec*ons  URL  

64  

Page 65: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Change  Connec*ons  URL  

•  Problems  –  Homepage  (Ac*vityStream)  –  Blogs  

•  Change  –  DNS  –  h5pd.conf  (virtualhost  for  new  name,  RewriteRule  for  old  name)  

65  

Page 66: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Change  Connec*ons  URL  (2)  

•  Change  –  New  SSL  Key  (or  wildcard  key)  –  import  new  key  to  WebSphere  Truststore  –  URLs  

•  Blogs  –  change  old  URLs  through  wsadmin  

•  News  –  Entries  dissappear  aDer  some  days  

66  

Page 67: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

TROUBLESHOOTING  

General  

67  

Page 68: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Possible  Errors  –  Internal  Server  Error  

•  Browser  displays          

•  Error  message  in  IHS_ROOT/logs/error.log:  error  500  –  A  generic  error  message  

68  

Page 69: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Possible  reasons  

•  Applica*on  Server  or  Applica*on  not  started  –  Check  with  ISC  

•  SSL  Root  Cer*ficate  not  imported  in  WAS  Truststore  –  Import  Root  Cer*ficate  –  some*mes  seen  only  host  keys  imported,  aDer  key  rollover  not  longer  valid  

69  

Page 70: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Possible  reasons  (2)  

•  SSL  Key  expired  –  IHSROOT/logs/error.log  

•  GSK_ERROR_BAD_CERT  –  PLUGIN_ROOT/logs/webserver1/h5p_plugin.log  

•  SSL0221E:  SSL  Handshake  Failed,  Either  the  cer*ficate  has  expired  or  the  system  clock  is  incorrect  

70  

Page 71: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

App  not  available  

•  Error  in  files-­‐config.xml  (in  this  case)  –  wouldn't  happen  when  use  Check  Out/In  

71  

Page 72: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Error  on  all  /  some  apps  

•  Error  in  *-­‐config.xml  –  validate  through  Check  In/Out  

•  User  synchronista*on  aDer  rename  not  complete  –  Applica*onMemberService.syncAllMembersByExtId  

•  Profile  not  created  through  TDI  

72  

Page 73: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Applica*on  not  accesible  

•  Applica*on  not  mapped  to  webserver  •  Generate  plugin-­‐config  and  copy  to  webserver  •  Restart  Webserver  

73  

Page 74: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

RESSOURCES  

74  

Page 75: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Documenta*on  /  System  Requirements  •  Wiki  un*l  Connec*ons  4.5  

–  h5p://www-­‐10.lotus.com/ldd/lcwiki.nsf/xpViewCategories.xsp?lookupName=Product%20Documenta*on  

•  IBM  Knowledge  Center  (since  mid  2014)  –  h5p://www-­‐01.ibm.com/support/knowledgecenter/SSYGQH_5.0.0/welcome/welcome_admin.html?lang=en    

•  System  Requirements  Connec*ons  5  –  h5p://www-­‐969.ibm.com/soDware/reports/compa*bility/clarity-­‐reports/report/html/prereqsForProduct?deliverableId=1351088302698#!    

75  

Page 76: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Tools:  (intercept)  Proxy  •  examine  communica*on  between  Browser  and  server  •  Fiddler  

–  h5p://www.telerik.com/fiddler  –  Windows  

•  Burpsuite  –  h5p://portswigger.net/burp/  –  Linux,  Windows  &  Mac  OS  X  –  depends  on  Java  –  Intercept  mode  

76  

Page 77: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Tools:  DB  Client  

•  un*l  DB2  9.7:  db2cc  •  all  versions:  DB2  Data  Studio  –  View  and  Edit  table  entries  –  No  support  when  you  edit!  –  Good  to  check  entries  of  Users  

•  Generic  JDBC  CLient  –  dbeaver  

77  

Page 78: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Tools:  Browser  Plugins  •  CipherFox  Secure  

–  Display  current  SSL  cipher  •  CookieWatcher  or  Cookies  Manager  •  Empty  Cache  Bu5on  •  Firebug  

–  Check  load  *me  –  Source  Code  –  Error  Console  

•  Firesizer  •  Javascript  Debugger  •  Live  HTTP  headers  •  User  Agent  Switcher  

78  

Page 79: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Tools:  Editor,  Tail  

•  Configura*on  Changes  – Windows:  notepad++,  Ultraedit,  Atom  –  Linux:  vim,  geany,  atom  

•  Log  Files  – Windows:  baretail.exe,  mtail,  LogExpert  –  Linux:  tail  –f,  mul*tail  

79  

Page 80: Social Connections VII - IBM Connections Deep Dive

Christoph  Stö5ner  -­‐  a stoeps  

Tools:  LDAP  /  Network  •  LDAP  Browser  

–  Apache  Directory  Studio  –  SoDerra  LDAP  Browser  –  SoDerra  LDAP  Admin  –  Jxplorer  –  ldapsearch  

•  Not  enough?  –  Wireshark  –  tcpdump  

80  

Page 81: Social Connections VII - IBM Connections Deep Dive

81  

Christoph  Stö5ner  IBM  SoDware  Consultant  Fritz  &  Macziol  GmbH  www.fum.de  [email protected]  

christophstoe5ner  www.stoeps.de  scrip*ng101.org  github.com/stoeps13  [email protected]  twi5er.com/stoeps  facebook.com/christoph.stoe5ner  www.stoeps.de/+  slideshare.net/ChristophStoe5ner  linkedin.com/pub/christoph-­‐stoe5ner/13/30a/2b3/  xing.com/profile/Christoph_Stoe5ner  about.me/stoeps  

y y ab c8jl