198 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
User provisioning for IBM Connections Cloud – You have the choice
Mon, Aug 28th 2017 6
SAML & IBM Connections 5.5 – not a dream team
Fri, Aug 18th 2017 8
IBM Docs – Migration from DB2 –> ORACLE
Fri, Jul 7th 2017 6
IBM Connections – trouble adding additional nodes
Wed, May 31st 2017 5
SNOUG 2017 Presentation – SikaConnect goes External
Thu, Mar 23rd 2017 3
Whiteboard in IBM Sametime Meeting 9.0.1 removed
Fri, Mar 17th 2017 3
Wikis content not accessible…
Thu, Jan 26th 2017 9
Top 10
DB2 Instance autostart does not work on SLES 12 / RHEL 7
Tue, Jul 12th 2016 14
IBM Connections 5.5 – Problem with ibm_upload_module and NFS
Mon, Jul 4th 2016 13
Security Bulletin: Vulnerabilities in Apache Struts affects IBM WebSphere Application Server (CVE-2016-1181 and CVE-2016-1182) (2016.06.28)
Tue, Sep 13th 2016 13
SAML – Enterprise SSO in the WebSphere world
Mon, Jul 20th 2015 11
IBM Connections: Create external Users / Community using rest API
Wed, Mar 25th 2015 10
CCM files editing in IBM Docs 1.0.7 – a tough job
Tue, Apr 21st 2015 10
Automatic modification of WebSphere Plugin (Primary / BackupServers) to maintain two-line concept
Wed, Jul 6th 2016 10
IBM Connections (SDI aka TDI) – Synchronize users based on group membership
Tue, Feb 3rd 2015 9
IBM Connections 5 CR2 – Atom feed changes
Mon, Jun 22nd 2015 9
WebSphere custom TAI – Doing SSO the right way
Tue, Sep 6th 2016 9


Trouble transferring Oracle –> DB2 database IC4.5 – IC5.0
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
Julius Schwarzweller    

Trouble transferring Oracle –> DB2 database IC4.5 – IC5.0

Last week I had trouble transferring an IBM Connections 4.5 oracle database to DB2. The customer decided to “move away” from Oracle and to DB2… But this seems to be a little bit a problem for at least three of the IBM Connections databases (Files, Wikis and Blogs).

As you may know, you can migrate IBM Connections databases using the dbt.jar between all supported DB vendors (DB2, oracle, MSSql).

The procedure how dbt.jar transfer works is the same as WebSphere Portal also transfers databases from derby to DB2 (initial database transfer):

  • Create the target database
  • Remove the constraints (foreign keys of the table)
  • Transfer the data from “old” to “new” database (table by table)
  • Re add the constraints
  • That`s it 😉

In case of the three “bad” databases, I got the following error message when transferring the data:

“SQLCODE=-407, SQLSTATE=23502”

Explanation: SQLSTATE 23502: An insert or update value is null,
but the column cannot contain null values."

hmm… I compared both “createDb.sql” scripts and there I found the problem:

The createDb.sql script for ORACLE

Db_Transfer1_oracle

The createDb.sql script for DB2

Db_Transfer1_db2

Here an example out of the files createDb.sql scripts. Can you see the difference of attribute definition for SUMMARY?
This means, that the transfer task tries to insert null values from Oracle into DB2. But per definition, DB2 permits those inserts of null values.

IBM also identified the problem and provides scripts you can use to “remove” the non-equal NOT NULL definitions from the DB2 createDb.sql script. After migration there is a script to re add those definitions to match the DB2 rules.

You need to create the databases “files, wikis and blogs” with the following createDb.sql files:

oracle-db2-migration-createDb

After migration you need to apply the “Files-, Wikis-, BlogsFixup.sql” file to readd the NOT NULL definitions:

oracle-db2-migration-fixup

That`s it.

Still there is a big question mark how to transfer the Filenet databases from oracle to DB2. Let`s see what a solution we can find here 😉



---------------------
http://techblog.gis-ag.info/2015/08/26/trouble-transferring-oracle-db2-database-ic4-5-ic5-0/
Aug 26, 2015
5 hits



Recent Blog Posts
6
User provisioning for IBM Connections Cloud – You have the choice
Mon, Aug 28th 2017 1:42p   GIS Techblog
User provisioning for IBM Connections Cloud – You have the choice Customers who use IBM Cloud for Connections, Sametime or other applications face the problem to manage their cloud accounts. For some single users you can use the Web frontend to add or change user accounts or to assign subscriptions and licenses to users. But in real world scenarios it is not possible to manage thousands of users manually or to keep them synchronized with an on-prem user repository or LDAP. This can be handled
8
SAML & IBM Connections 5.5 – not a dream team
Fri, Aug 18th 2017 7:45a   GIS Techblog
Hi all, last week we had to fight with an activation of SAML on a IC 5.5 CR3 environment. The setup was: IBM Connections 5.5 CR3 as test instance ADFS Server 3.0 (I know… it is only tested with ADFS 2.0 – but works with 3.0 too) We followed the instructions from the IBM Connections Knowledge Center. Smooth setup everything standard procedure. When testing this setup, the redirect to the IdP was initiated. After logging into the IdP the browser was redirected to IBM Connections ACS
6
IBM Docs – Migration from DB2 –> ORACLE
Fri, Jul 7th 2017 9:52a   GIS Techblog
IBM Docs – Migration from DB2 –> ORACLE Hi, within our last big project, we had the challenge to transfer the IBM Docs database from DB2 to ORACLE. Within this database comments and other document related data is stored. Officially there is no script available to perform this move using DBT (remove constraints / transfer / reapply constraints). We looked into the database and figured out how to perform this task using DBT – so we are not dependent on any other products. We m
5
IBM Connections – trouble adding additional nodes
Wed, May 31st 2017 2:52p   GIS Techblog
IBM Connections – trouble adding additional nodes Hi all, we are currently involved in a project where we installed a 1 node IBM Connections 6 Cluster and later added a second node to the cell. So far so good… Everything that needs to be done after adding the second node is described here … Everything? Yes, mainly… but not in the mandatory details as I think! Missing custom properties and other settings might result in non-functional nodes. Especially not setting httpSess
3
SNOUG 2017 Presentation – SikaConnect goes External
Thu, Mar 23rd 2017 1:06p   GIS Techblog
SNOUG 2017 Presentation – SikaConnect goes External Hi all, yesterday I was at SNouG in Zurich. I had a great time there – good speakers and a overall perfectly organized event (would we expect sth. else from Switzerland? ) Raymond Weber from SIKA Informationssysteme AG and I did a session about the SIKA Extranet Feature:
3
Whiteboard in IBM Sametime Meeting 9.0.1 removed
Fri, Mar 17th 2017 10:43a   GIS Techblog
Whiteboard in IBM Sametime Meeting 9.0.1 removed IBM implemented in Sametime Meeting 9.0.1 a whiteboard function as technical preview. Ben described in his articel how to enable this feature: https://collaborationben.com/2016/05/20/whiteboard-in-sametime-9-0-1/ With the current cumulative Fix 901-ST-General-FP-SMOL-AK4G43  for the Meeting Server IBM has removed this function. The response on my PMR was: “I can confirm The Meetings Whiteboard feature release is being put on hold indefinitely.
9
Wikis content not accessible…
Thu, Jan 26th 2017 10:54a   GIS Techblog
Wikis content not accessible… Hi, it`s been quite a long time; many projects at the moment so that blogging needs to wait Last week we had a very interesting problem at one customer’s environment. When accessing a Wiki, the page was displayed blank – no content was available. Browsing to older versions of this wikis worked. The error in the log: Parsing error… Wikis content (the body) gets store in the filesystem as xml files. If you access a Wiki there is a XML parser
8
Automatic WebSphere plugin modification II – PowerShell for Windows
Thu, Dec 1st 2016 6:54p   GIS Techblog
Automatic WebSphere plugin modification II – PowerShell for Windows Hi, some months ago I published a shell script to automatically modify the Primary / BackupServer definition in a WebSphere plugin-cfg.xml file. As we have several Windows customers we decided to transfer this script to PowerShell so that it is also useable for a Windows Cluster installation. My colleague Jan Bruns did a great job implementing this script. It basically works the same way as the Linux script: modifywasplug
8
IBM Connections Docs – file preview not possible for some CCM pdf files
Thu, Nov 17th 2016 2:15p   GIS Techblog
IBM Connections Docs – file preview not possible for some CCM pdf files Hi all, last week we had trouble in a customer environment using the file preview functionality for some pdf files (only those that were uploaded using CCM). Instead of a preview the message was displayed: At the same time we saw the following warning in the log: The mime-type was set to “image/pcl” instead of “application/pdf”… this mime-type is not supported by IBM Docs File viewer. We had to dig deep into th
3
IBM Connections 5.5 CR2 released
Thu, Nov 10th 2016 8:13a   GIS Techblog
IBM Connections 5.5 CR2 released Hi all, IBM released CR2 for IBM Connections 5.5: The Fix list Download the CR Database updates are mandatory (Activities, Files, Homepage, Mobile, Wikis) Filenet updates are mandatory Updates for Community Surveys (Fixes the TLS 1.2 issues) A prerequisite for CR2 is at least WAS 8.5.5 FP9 (let`s see when FP10 will be officially supported) A general step-by-step guide installing CR2 is provided by IBM. A new CR2 version of the Cognos wizard can be downloaded (y




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition