Well, its been nearly 3 weeks of attempting migrations, and I think we nearly have all the bugs worked out. We are moving from HP-UX to Solaris, and from LPIII to LPIV, so it is not always cut and dry. We also wanted to move from Oracle 9i to 10g.
The first error we got was:
ERROR The error code is 17041
ERROR The Sql Error Code is 17041
ERROR Error encountered while executing Sql Statement INSERT INTO gt_user(USER_ID,DATE_CREATED,USER_ROLE,GT_STATUS,DISPLAY_NAME,EMAIL_ADDRESS)VALUES(?,?,?,?,?,?)
java.sql.SQLException: Missing IN or OUT parameter at index:: 6
We were first advised to edit the migrator script and add the compliant=true statement to all MainRDBTransformer lines:
"${JAVA}" -Doracle.jdbc.J2EE13Compliant=true com.sct.pipeline.migration.rdb.MainRDBTransformer
That didn't help. Same error.
We next tried putting some updated RDB files (a_mig-1.2.jar) in our WEB-INF directory that SCT gave us. Didn't help.
We next tried using various different versions of the JDBC driver. Didn't help.
We were next advised to try migrating from 9i to 9i, instead of 9i to 10g. Didn't help.
Finally, we were told to try this:
Before you do the migration make sure and only pass this to the migration import.
migration.mode=import
migration.subsystem=platform
migration.dataroot=/mnt/dmp/LPIII/LPIII_data
And that worked. I guess there is a bug in the import properties file. Before that suggestion, I had all our database connection information in the import properties file. I guess that that makes the process buggy.
Next we got this error:
/mnt/dmp/LPIII/LPIII_data/gen-Jul1207-142129/pds-before-import.ldif for export: 13 (Permission denied)
migrator encountered an error: operation ImportAG encountered an error
As it turns out, you have to be running the migration as the luminis administrator account, NOT as root. It was also suggested to us to umask 022 when running the migration.
And as of today, we've hit this error:
INFO: executing modifications to restored directory entries...
ldap_modify: No such object
ldap_modify: matched: o=cp
migrator encountered an error: operation ImportPds encountered an error
Apparently it has to do with the ldap path to the uid=calmaster entry being wrong in the tfm-pds-changes.ldif file, and SCT is writing a patch for us to fix this issue.
In the meantime, I'm going to manually add a uid=calmaster entry to the new LDAP in the place that the change ldif is directing its ldap mod commands.
------------------------
July 20th additions:
------------------------
We were able to run the migration script from start to finish, although the system wasn't allowing logins properly when it was done.
I'm waiting for a detailed list of what changes SCT made, but as I understand it now, there were several problems that needed to be overcome. In addition to what was listed above, the following caused problems:
going from port 389 to port 636 on the ldap server (require additional property=remove values in the migration-config.properties file located in CP_WEBINF/config).
using a different cpadmin name (migration-config.properties additions again).
I'll update the exact changes when I get them.
Comments
RE: Fun WIth LuminisIV Migration
Jason,
Are you using LuminisIV.0.0.0?
We have hit an import error as you did, but the error occurred in the gt_news table with a length error:
................ERROR The Sql Error Code is 17157
ERROR The source and target table names are gt_news and gt_news
java.sql.SQLException: setString can only process strings of less than 32766 chararacters
In our case we were trying to move the W2003SQL Luminis/uPortal data to Oracle. Also we were told the migration must be done on LuminisIV.0.0.0, not 4.0.1.0.
Is your cs.admin.id different in Luminis III than calmaster?
I added the LuminisIII cs.admin.id to the LDAP using an LDAP browser and also changed the CalMasterID in the LDAP entry.
The addition I made was to
o=appstate
ou=People
uid=calmaster
uid=admin30
I exported the uid=calmaster ldap entry in this top level area, made the change, and imported the updated file as an add. The two entries look the same except for the change of the calmaster name.
I changed the CalMasterID with:
configman -s CalMasterID admin30
I think two places for the change.
Also when I applied the LuminisIV.01 patch, the patch blew up with a complaint that CalMasterID must be calmaster. This was on the Resource machine. SO I changed the CalMasterID entry back to calmaster, applied the patch, then changed the CalMasterID back to admin30.
Please post any other thigs you see...
T Combs
IV.0.0 yes
yes, we are using the baseline Luminis IV. No patches.
It is odd that you mention you were told to use the baseline Lum IV, migrate, then upgrade later. I was just told about 25 minutes ago by sct support to upgrade to the 0.1 patch released today, then try the migration....
I'll keep this blog updated with any new errors/solutions I find. We never got any gt_news issues, probably because we have very light group news use to begin with. I'm also doing my migration test with data from our LPIII test system, not our production, so the overall data set is way smaller.
new Luminis IV patch
Where are you finding the new Luminis IV patch? All I can find on the support site is the version that was put up on July 6.