Question
Capgemini
ES
Last activity: 1 Jun 2017 8:00 EDT
Getting error while upgrading from 6.2 to 7.2.2
As a first part of upgrade process while migrating rules from source schema to temp directory getting error.
Can anyone help me out?
Please find the attached error screen shot.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
PEG
GB
The attached screen shot only shows the end of the SQL that failed. Do you still have this? If so could you post the top of the SQL so that we can see the table name?
Also, it would probably help to correlate this if you could let us know the following settings from your migrateSystem.properties file: -
pega.source.rules.schema
pega.source.data.schema
pega.target.rules.schema
pega.target.data.schema
As well as the last section of migrateSystem.properties, beginning from "######## The operations to be run by the utility"
Pegasystems Inc.
AU
Hi Sumant,
Can you verify the user has required grants on the source schema and permissions on the temp folder?
Regards,
Basavaraj
Capgemini
ES
@ LaurenceB_GCS :- Every time i'm getting the same error for PR4_BASE,it says table or view does not exist.
And also please find the below details that had updated in the migrate.properties file
Source Schema details(Driver class,jar,type,url,username,password)
Target Schema details(Driver class,jar,type,url,username,password)
pega.source.rules.schema is set to blank
pega.source.data.schema is set to blank
pega.target.rules.schema is set to blank
pega.target.data.schema is set to blank
pega.bulkmover.directory=C:\PEGA_POC_722_Setup\PRPC_Temp\Migrate
pega.migrate.temp.directory=C:\PEGA_POC_722_Setup\PRPC_Temp\Migrate
pega.bulkmover.unload.db=true
pega.clone.apply.ddl=true
pega.clone.create.ddl=true
pega.clone.generate.xml=true
@ LaurenceB_GCS :- Every time i'm getting the same error for PR4_BASE,it says table or view does not exist.
And also please find the below details that had updated in the migrate.properties file
Source Schema details(Driver class,jar,type,url,username,password)
Target Schema details(Driver class,jar,type,url,username,password)
pega.source.rules.schema is set to blank
pega.source.data.schema is set to blank
pega.target.rules.schema is set to blank
pega.target.data.schema is set to blank
pega.bulkmover.directory=C:\PEGA_POC_722_Setup\PRPC_Temp\Migrate
pega.migrate.temp.directory=C:\PEGA_POC_722_Setup\PRPC_Temp\Migrate
pega.bulkmover.unload.db=true
pega.clone.apply.ddl=true
pega.clone.create.ddl=true
pega.clone.generate.xml=true
pega.move.admin.table=true
pega.bulkmover.load.db=true
pega.rules.objects.generate=false
pega.rules.objects.apply=false
i have also attached the error details screen shot.Could you please help me out regarding this.
Citicorp Services India Private Limited
IN
Hi Suman,
I could see that the following properties are blank in the migrate system.properties
pega.source.rules.schema is set to blank
pega.source.data.schema is set to blank
pega.target.rules.schema is set to blank
pega.target.data.schema is set to blank
I hope you are performing single to split schema upgrade, If that is the case, first we need to migrate the rules related tables and objects to a new schema (This schema would be called the rules schema). You need to fill out the above mentioned four properties.
Source Schema details(Driver class,jar,type,url,username,password)
Target Schema details(Driver class,jar,type,url,username,password)
Hi Suman,
I could see that the following properties are blank in the migrate system.properties
pega.source.rules.schema is set to blank
pega.source.data.schema is set to blank
pega.target.rules.schema is set to blank
pega.target.data.schema is set to blank
I hope you are performing single to split schema upgrade, If that is the case, first we need to migrate the rules related tables and objects to a new schema (This schema would be called the rules schema). You need to fill out the above mentioned four properties.
Source Schema details(Driver class,jar,type,url,username,password)
Target Schema details(Driver class,jar,type,url,username,password)
Here Source schema and target schema details should be the same. The username configured here should have access to the 62(Single schema) Schema and newly created Rules schema, to which the rules related tables and objects would be migrated to.
pega.source.rules.schema should be set to 62(Single schema) schema.
pega.source.data.schema should be set to 62(Single schema) schema.
pega.target.rules.schema should be set to newly created Rules schema.
pega.target.data.schema is set to blank
Could you please do the necessary modifications to migrate.properties file and do the migration and let us know the results.
Thanks,
Gowrishankar.
Capgemini
ES
From the above comment i'm bit confused with this part
Here Source schema and target schema details should be the same.
As from the pdn tutorial i have understand that in the source schema the details will be for 6.2(Considering Old as 6.2) and in the target schema the details will be for the temporary empty schema.Please find the attached screenshot where i had taken the reference.
Kindly help.
Citicorp Services India Private Limited
IN
Hi Suman,
Sorry I have confused you a bit. It is Source DB details and Target DB details should be same. and also pega.source.data.schema should be blank. Since we are going to seperate out only the rules from unified schema. Hope it is clear, please let me know if you are not clear.
Thanks,
Gowrishankar.
Capgemini
ES
Hi Gowrishankar,
Please correct me if i'm wrong.So you mean to say whatever details i had given for source DB details and Destination DB details that is correct.i.e.
Source Schema details(Driver class,jar,type,url,username,password) :- 6.2 details (considering my old one as 6.2)
Target Schema details(Driver class,jar,type,url,username,password) :- Temporary empty schema details
pega.source.rules.schema :- 6.2(Single schema)
pega.source.data.schema :- 6.2(Single schema)
pega.target.rules.schema :- Newly created rule schema(What should be the value here as i had created only temporary empty schema).
pega.target.data.schema :- It will be blank.
Hi Gowrishankar,
Please correct me if i'm wrong.So you mean to say whatever details i had given for source DB details and Destination DB details that is correct.i.e.
Source Schema details(Driver class,jar,type,url,username,password) :- 6.2 details (considering my old one as 6.2)
Target Schema details(Driver class,jar,type,url,username,password) :- Temporary empty schema details
pega.source.rules.schema :- 6.2(Single schema)
pega.source.data.schema :- 6.2(Single schema)
pega.target.rules.schema :- Newly created rule schema(What should be the value here as i had created only temporary empty schema).
pega.target.data.schema :- It will be blank.
Your help is much appreciated.
Thanks
Capgemini
ES
@BASAVARAJ_GCS- yes Basavaraj as i'm having the administrator access of the machine where it is getting installed,so i have the required access for temp folder.
I'm not sure with the grant of the source schema.Could you explain.
Pegasystems Inc.
AU
Hi Sumanto,
Grants for the schema user on all_synonyms and all_objects.
Regards,
Basavaraj
Pegasystems Inc.
US
The privileges needed by the deployment user are defined in the upgrade guide as well as the settings needed for the properties file.
https://docs-previous.pega.com/pega-722-platform-upgrade-guide