Friday, 3 August 2012

IBM Connections 3 - Manually populating the Profiles database - who needs wizards anyway ?

With apologies to JRR Tolkien and JK Rowling

Having previously unpacked the Connections Wizards TAR file ( IBM_Connection301_Wzd_zLinux_CZVR1ML.tar ), I wanted to quickly set up the IBM Tivoli Directory Integrator (ITDI) Assembly Line needed to populate the Profiles database, without running the Wizard.

The main reason for this is that there's always a time when you can't run a GUI, especially if your client only provides you with a SSH terminal session.

I'd already installed ITDI as mentioned previously, into /opt/IBM/TDI/V7.0, so the rest was relatively easy: -

Create the tdisol directory by copying it from the unTAR'd Wizard

$ cd /opt/IBM/TDI/V7.0/
$ mkdir tdisol_BLUEPAGES
$ cd tdisol_BLUEPAGES/
$ cp -R /tmp/Wizards/Wizards/TDIPopulation/TDISOL/linux .

Backup and update the file

$ cd linux
$ vi 

with the following changes: -



Note that I'm using IBM's internal BluePages corporate directory as my LDAP, rather than installing a local copy of Domino, Tivoli Directory Server, Active Directory etc.

Also note that the two passwords are marked for encoding via the {protect} attribute, as described in a previous post here. Therefore, next time I check the file, I should find: -


PS Alex Lang has written an excellent article on using BluePages with WebSphere Portal 7 here.

Create and populate the collect.dns file

$ cd /opt/IBM/TDI/V7.0/tdisol_BLUEPAGES/linux
$ vi collect.dns


Populate the Profiles database

cd /opt/IBM/TDI/V7.0/tdisol_BLUEPAGES/linux

CTGDKD024I Remote API successfully started on port:1099, bound to:'SessionFactory'. SSL and Client Authentication are enabled.
Platform: 'Generic'
CLFRN0027I: After iteration, success records is 1, duplicate records 0, failure records is 0, last successful entry is uid=user87272h,c=gb,ou=bluepages,

And, bang, the job is done :-)

With thanks to the IC301 Wiki article - Manually populating the Profiles database - for inspiration.

No comments:

TIL - read-only variables in Linux

 A co-worker was seeing an exception: -  line 8: TMOUT: readonly variable when trying to SCP a file from a remote Linux box. I did some digg...