Anda di halaman 1dari 5

MIGRATION

PROJECT MIGRATION:
As a PSDBA, I am Migrating Project from one environment to another environment Like Production to development, development to testing department. For Migrating the Project I m using Application Designer. In project Migration only project definition is copied into the target environment. After Migration we have to log on into the target environment & we have to build the project or record then only Table structure is created.

DATA MIGRATION
Migrating data from one environment to another environment is known as data Migration. After Migrating the project, we have to we have to migrate the data (Table contents). For data (table) migration we use data mover. We cannot perform data Migration on Bootstrap Mode.

PRE-REQUISITES FRO MIGRATION:


The two servers must be in the network. DB must be up & running on the both the servers. Listener must be up & running on both the Servers. Tnsnames.ora file must contain entries of the two databases.

PROCEDURE:
Step1: Create Pre-Compare Report. Step2: Check the existence of Project. Step3: If Project is already migrated then take backup of project. Step4: If Project is not migrated then we have to migrate definition of Projects. Step5: Perform post-compare report to check success of migrations. Step6: Execute once again SQL query to check the existence of new project.

Step1: Perform Pre-Compare Report:


1- Log on to Application Designer using PS/PS. 2- Open Project: FileOpenProject_name

3- Select Tool Compare & Report To databaseok 4- Enter Target Environment Credential

Database Name: User Id : Password : 5- Click on option Button Select Compare_Option Tab Compare Type ------------------Project Database HRMS & CS 9.0 Compare Language: English 6- Click on Report Filter Tab 7- Click on Select All Then uncheck Unchanged Unchanged 8- Click on Compare Report Target Orientation ------------------------Vanilla Keep Customization

Step2 : Check the existence of the project


Sql> select project name,lastupddtm,lastupdoprid,descrlong from psprojectdefn where projectname=---------------------

Step 3: If project is already migrated, then table backup of project by select:


ToolCopy Project To file (backup) Else Perform project definition migration.

Step 4:Perform Project definition migration.


1- Fileopenproject_name 2- Double click on field Double click on Record Here upgrade----->checked Action -------------->Copy Done---------------->unchecked Done -> unchecked, it also ensures that till now project is not migrated in any environment.

3- Select Tool option Tool-->Copy Project --->To database-->ok Select Target Environment Credential Database Name: HRPRD User ID Password 4- Click on Copy Button Reset Done flag Copy project Definition Click on copy button. Now, you will notice : Done -------->Checked It means project is migrated. While you check from sql prompt of target side. Sql> desc project_name Error It means that just project definition migrate not structure for this Log on Application designer of target environment & open project 1- File-->open-->project_name 2- Select Build Menu Create Table Execute &build Script BUILD : PS : PS OK

CLOSE

Now check in sql prompt Sql> Desc project_name o/p Name

------------ENO ENAME SQL>select * from ps_prj_emp o/p No rows selected Because we not migrated data, we migrated only project till now. To migrate data, we have to do data migration using data mover.

DATA MIGRATION
To Migrate data ,we have to log on to Data Mover, using user id & Password. In boot strap mode data migration is not possible. In Source: 1- Log on to Data Mover using PS/PS Database Name : HRPRD User ID : PS Password : PS SET LOG C:\TEMP\EXPORT_EMP.LOG; SET OUTPUT C:\TEMP\EXPORT_EMP.DAT EXPORT EMP; In Target Log on to Data Mover using PS/PS Database Name : HRDEV User ID : PS Password : PS SET LOG C:\TEMP\IMPORT_EMP.LOG; SET OUTPUT C:\TEMP\EXPORT_EMP.DAT IMPORT EMP; Now, check on sql prompt Select * from ps_emp_prj;

Step 5: Perform post_compare report similer to pre-compare report. Step 6: Again check the existence of project or not by using sql command
Sql> select project name,lastupddtm,lastupdoprid,descrlong from psprojectdefn where projectname=-------------------- ----------------------------------------------------------------end---------------------------------------------------------------------

STATUS OF COMPARE REPORT


123456-

SAME: The compare definitions are defined the same in both DB, that are compare, such definitions & need
not to migrated to the other DB.

ABSENT: This status has shown where the definition is present in one of the DB but not in the other. If the
target DB does not have the definition, it may have to be migrated.

UNKNOWN: This is the default status for the all non- comparison definitions. They may have to be compared
manually or using a non-PeopleSoft utilities.

CHANGED: This status states that there is a change in the definitions that are being compared, across the
database. This also states that the changes were carried out by PeopleSoft.

*CHANGED: This status states that there is a changed in the definitions that are being compared, across the
database. But unlike the previous status (changed). In this case the change was carried out NOT by PeopleSoft.

UNCHANGED: There are changed found in this case as well but the data-time stamp on such definitions is
prior to the release date- time stamp on the compared database. It also states that the change was carried out by PS.

7-

* UNCHANGED: This status is similar in the meaning to the above status (unchanged) except that the
changes to the object in this case were out NOT by PeopleSoft.

CHANGED:
Customer Changed to object after installing The last release. The definition has been compared, its LASTUPDOPRID Value is greater than the date/time stamp of the Comparison release database, in other words the Peoplesoft modified the definitions since the Comparison released.

UNCHANGED:
The definition has compared, its LASTUPDOPRID values is PPLSOFT & its LASTUPDDTM value is less than or equal to date/time stamp of the comparison release database in other words the peoplesoft last modified the definitions prior to the comparison release.

Anda mungkin juga menyukai