session 34694 march 16, 2015. it makes migrating both transaction content and application components...
DESCRIPTION
SaNSSaNS Default Data Migration WorkbenchDefault Data Migration Workbench Extended Data Migration WorkbenchExtended Data Migration Workbench Problems, what – ifProblems, what – if Work-aroundsWork-arounds Questions ?Questions ? AgendaTRANSCRIPT
Expanding the Data Migration Workbench
Session 34694March 16, 2015
It makes migrating both transaction content and application components much easier. But not all migrations we want to do are supported - complex components, - components containing sibling records, - workcenters and dashboardsIn this presentation we will show you how you can expand the functionality of DMW and how you can overcome some of its shortcomings.
Data Migration Workbench DMW
• SaNS• Default Data Migration Workbench• Extended Data Migration Workbench• Problems, what – if • Work-arounds• Questions ?
Agenda
• Functional Developer at SaNS Expertise Center, since 2010• Background:
• Teacher Product Information at community college• Technical Developer
• Educational contracts NLD• Internship contracts NLD• Authorisation structure SaNS
Who is Henk Hebbink
What is SaNS• SaNS: ‘Collaboration for a New SIS’ • 4 Universities in the Netherlands:
University of Amsterdam (Research Un.) Hogeschool van Amsterdam (Un. Appl. R.) Leiden University (Research Un.) Tilburg University (Research Un.)
• 120.000 students• 10.000 faculty users• 1000 administrative users• ‘Vanilla SaNS-CS’• Joint maintenance and development
(Expertise Center)
Expertise CenterExpertise Center• Joint effort of the 4 Universities• Responsible for:
Hosting of the InfrastructureTechnical MaintenanceApplication MaintenanceApplication Development and CustomizationServicedesk, support, testing, set up
• Delivers SaNS-CS as a SaaS-Solution• 13 FTE employees; 2 FTE external• (support, technical and functional)• Hosting is outsourced
SaNS: Situation on Oracle• PeopleSoft Campus Solutions 9• Bundle #33• Modules in use:
Campus CommunityStudent RecordsAcademic Advisement(Recruitment and) Admission(Student Finance)
• Student Self Service• Heavily customized application• PeopleTools 8.53.04• Infrastructure and Database• Oracle 11g• 29 CS-environments (each institute 5 / 9 DEV)• 50 Physical servers, no VM
PeopleTools>Lifecycle Tools>Migrate Data>Dataset Designer
Data Migration Workbench
Oracle delivered datasets, examples are:DATASET TYPE DESCRSCC_RE_RULE_DEFINITIONS Generated Rules Engine Rule DefinitionsSCC_RE_RULE_GROUPS Generated Rules Engine Rule GroupsSCC_RE_STATEMENTS Generated Rules Engine Statements
MSG Manual Message Catalog Entries
ACTIVITY_GUIDE_ITEM Manual Activity Guide ItemACTIVITY_GUIDE_LIST Manual Activity Guide ListPTPPB_PAGELET Manual Pagelet Wizard PageletsPTPPB_PAGELET_USER_DATA Manual Pagelet Wizard User DataSCC_ENTITY_PROFILE Manual Entity Registry ProfilesSCC_ENTITY_REGISTRY Manual Entity Registry DefinitionsSCC_ENTITY_VIEWS Manual Entity Registry ViewsWL_GENERIC_TEMPLATES_DEFN Manual Workflow Generic TemplatesWL_NOTIFICATION_TEMPLATES_DEFN Manual Workflow Notification TemplateWL_TEMPLATE_VAR_DEFN Manual Workflow Template Variables
Dataset Designer
Dataset MSG
Contains parent, child and related language records:PSMSGSETDEFN - parentPSMSGSETLANG - language record
PSMSGCATDEFN - childPSMSGCATLANG - language record
Dataset MSG
The records are related to each other by key: MESSAGE_SET_NBR
Dataset MSG
You should be able to use every component to create your own dataset,but there are restrictions;
- The Component does not have any physical records.- Adding / Changing / Saving / Deleting data trigger PeopleCode
events, which has effect on other records.- The data migrated contains database specific strings / paths.
Creating your own dataset
The Component does not have any physical records.
Generating dataset
Dataset for USERMAINT
Dataset for USERMAINT• Records on a Component can be detected by using the
querytool.
Record Type Parent Rec Rellang Rec. Rec DescrRUN_CNTLLDAP 0 Run Control for PT UtilitiesPSUSEROTHER_VW 1PSROLEUSER_VW1 PSROLEDEFN User RolesPSROLEXLATOPRVW 1 Role User ViewPSOPRALIASFIELD 0 Operator Alias FieldnamesPSOPRALIASTYPE0 PSOPRALSTYPLANG Peoplesoft ID TypesPSUSERATTR 0 User Security AttributesPSOPRALIAS 0 Peoplesoft ID ValuesPSOPRDEFN 0 Operator DefinitionPSROLEDEFN 0 PSROLEDEFNLANG Role Definition
Records USERMAINT
Record Type Parent Rec Rellang Rec. Rec DescrPSUSEROTHER_VW 1PSROLEUSER_VW1 PSROLEDEFN User RolesPSROLEXLATOPRVW 1 Role User View
Views can contain other views or records.
Again we can use the query tool to find out what additional records exist on the component.
Views on USERMAINT
Views on USERMAINT
VIEW SQL STATEMENTPSROLEUSER_VW SELECT ROLEUSER , ROLENAME , DYNAMIC_SW
FROM PSROLEUSERPSROLEXLATOPRVW
SELECT OPRID , ROLEUSER , DESCR , EMAILID , FORMID , WORKLIST_USER_SW EMAIL_USER_SW , FORMS_USER_SW , EMPLID , ROLEUSER_ALT , ROLEUSER_SUPR , EFFDT_FROM , EFFDT_TO FROM PS_ROLEXLATOPR
PSUSEROTHER_VW
SELECT MENUNAME , BARNAME , BARITEMNAME , ITEMNAME , DESCR100 , ACTIVE_FLAG FROM PSUSEROTHER WHERE ACTIVE_FLAG = 'Y'
Views on USERMAINT
USERMAINT records
USERMAINT records
USERMAINT component
USERMAINT component
Create dataset manualThe record names begin with USER or OPRID. This suggests the key field is also USER or OPRID.You can check this with the querytool or in Application Designer.
Dataset USERMAINT_OPRID
KEY USERMAINT_OPRID
Dataset USERMAINT_USER
Project Data Migration Workbench
• PeopleTools>Lifecycle Tools>Migrate Data>Data Migration Workbench
• The easiest way to migrate the user information is to make a project containing both datasets.
• Oracle will do some checks by importing the project to make sure all items are present.
Project Data Migration Workbench
Project Data Migration Workbench
Project Data Migration Workbench
Project Data Migration Workbench
• You can use filters to select data for migration on Tab Data Set Content.
• The filter you can use is based upon the key within the dataset.
• Using the button Copy to File starts the Application Engine process for building the xml project.(similar to copy to file using the Application Designer tool)
• The directory where the files are placed is stored by Manage File Locations
DMW Manage File Locations
DMW Processing
Check before import
Check datasets
Create datasets
Load DMW Project
• Import project file using an Application Engine
DMW Processing import
DMW Processing logging
• Everything is okay until the project is imported. PreCopy had one or more validation errors, please see validation report for details. (257,353)End Application Engine Process (257,402)
• The validation report shows:ROLEXLATOPR - Static Prompt Validation –
VALUE: HEUG_copy_student specified for the FIELD: OPRID on the RECORD: ROLEXLATOPR is not found in the PROMPT TABLE: OPERATOR_VW (257,501)While performing a prompt validation, the provided value does not seem to be available on the prompt table. Please address this issue and perform the validations again.
• The Keys do not match; what to do ?
DMW Problems !!
DMW Solutions• The 2 datasets contain a set of data that’s connected to
each other.• The validation is done before all items are stored in the
database.• Splitting the datasets makes it possible to do the migration
in different steps.
DMW Work-aroundExport a project for each dataset
DMW Work-aroundImport a project for each dataset.
DMW Result• The target database contains after the import action a user /
oprid: HEUG_copy_student who is able to sign in with his original password.
Final result
Questions?
• Henk Hebbink• Functional Development• SaNS-Expertise Centrum for
• Tilburg University• Hogeschool van Amsterdam• University of Amsterdam• Leiden University
• E-mail: [email protected]
Contact
Presentations from previous meetings are also available
This presentation and all Alliance 2015 presentations are available for download from the Conference site atwww.alliance-conference.com