Friday, February 15, 2013

SPNEGO and Connections 4 CR1 or CR2 - remember this!!

From Connections 4.0.0 to 4.0.1 or 4.0.2, the SPNEGO the Filter-criteria has changed.

So if your Connections SSO solution does not work after upgrading your 4.0.0 environment, check the filter.

The values are now:

request-url!=noSPNEGO;request-url!=/mobile;request-url!=/nav;request-url!=/bundles/js;request-url!=/static;request-url!=/activities/oauth;request-url!=/blogs/oauth;request-url!=/dogear/oauth;request-url!=/communities/calendar/oauth;request-url!=/communities/service/atom/oauth;request-url!=/communities/service/opensocial/oauth/;request-url!=/communities/recomm/oauth;request-url!=/connections/opensocial/oauth;request-url!=/connections/opensocial/anonymous/rest;request-url!=/connections/opensocial/common;request-url!=/connections/opensocial/gadgets;request-url!=/connections/opensocial/ic;request-url!=/connections/opensocial/rpc;request-url!=/connections/opensocial/social;request-url!=/connections/opensocial/xrds;request-url!=/connections/opensocial/xpc;request-url!=/connections/resources/web;request-url!=/connections/resources/ic;request-url!=/files/oauth;request-url!=/forums/oauth;request-url!=/homepage/oauth;request-url!=/metrics/service/oauth;request-url!=/moderation/oauth;request-url!=/news/oauth;request-url!=/news/follow/oauth;request-url!=/profiles/oauth;request-url!=/wikis/oauth;request-url!=/search/oauth;request-url!=/connections/core/oauth/;request-url!=/resources;request-url!=/oauth2/endpoint/

Se here for more info:
http://www-10.lotus.com/ldd/lcwiki.nsf/xpDocViewer.xsp?lookupName=IBM+Connections+4.0+documentation#action=openDocument&res_title=Configuring_SPNEGO_on_WebSphere_Application_Server_ic40&content=pdcontent

Thursday, February 7, 2013

IBM Connections 4 CR2 - updating using the Silent Updater

I love using the silentinstaller to upgrade Connections. But in Connections 4 CR2, the fixes for all of the apps has the same LO number; LO72170. (Pluss, the Common app has LO73212 on top of that)

How to use the Silent Updater is described here:
http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Installing_interim_fixes_ic40

Following the description on how to use the silent updater means that the command:

updateSilent.bat -fix -installDir c:\ibm\connections -fixDir C:\IBM_SW\cr2 -install -fixes LO72170 LO73212 -wasUserId xxxxxx -wasPassword xxxxxx -featureCustomizationBackedUp yes -homepageDBSchemaUpdatesHaveBeenCompleted yes
Does not work....

You will first and foremost get an error complaining about that the LO73212 requires LO72170 to be installed first as a prereq.
 (Text version:
Install prerequisite errors:
[0]: A fix prerequisite relationship was not satisfied.
[1]: The fix LO73212 has the fix LO72170-IC4000-CR02-Common as a prerequisite, but that fix is not currently installed, and is not selected for installation.)

Then, of course, I tried omitting the LO73212 with this command:

updateSilent.bat -fix -installDir c:\ibm\connections -fixDir C:\IBM_SW\cr2 -install -fixes LO72170 -wasUserId xxxxxx -wasPassword xxxxxx -featureCustomizationBackedUp yes  -homepageDBSchemaUpdatesHaveBeenCompleted yes

But then I got this error:
Text version:
Fixes were specified which do not exist:
   LO72170

So.... how do I specify that I would like to install every Applications CR2 when only having a single LO number to work from?

I then found the solution:
When you run the first command, as described above, to install the LO72170 and the LO73212, you will get a listing of the efix ID´s in the Command Prompt window:

I then copied out the efix ID´s and inserted them into the updateSilent.bat command:
updateSilent.bat -fix -installDir c:\ibm\connections -fixDir C:\IBM_SW\cr2 -install -fixes LO72170-IC4000-CR02-Common LO72170-IC4000-CR02-Activities LO72170-IC4000-CR02-Blogs LO72170-IC4000-CR02-Bookmarks LO72170-IC4000-CR02-Communities LO72170-IC4000-CR02-Container LO72170-IC4000-CR02-Files LO72170-IC4000-CR02-Forums LO72170-IC4000-CR02-Homepage LO72170-IC4000-CR02-Metrics LO72170-IC4000-CR02-Mobile LO72170-IC4000-CR02-MobileAdmin LO72170-IC4000-CR02-Moderation LO72170-IC4000-CR02-News LO72170-IC4000-CR02-Profiles LO72170-IC4000-CR02-Search LO72170-IC4000-CR02-Wikis -wasUserId xxxxxx -wasPassword xxxxxx -featureCustomizationBackedUp yes -homepageDBSchemaUpdatesHaveBeenCompleted yes
And then the CR2 update worked!
As you can see, I omitted the LO73212 in the command. After this command was done, I then ran the LO73212 command:
updateSilent.bat -fix -installDir c:\ibm\connections -fixDir C:\IBM_SW\cr2 -install -fixes LO73212 -wasUserId xxxxxx -wasPassword xxxxxx -featureCustomizationBackedUp yes -homepageDBSchemaUpdatesHaveBeenCompleted yes

And there you have it. CR2 is installed!