18
Enabling Seamless Data Access for JD Edwards EnterpriseOne © 2013 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording or otherwise) without prior consent of Informatica Corporation. All other company and product names may be trade names or trademarks of their respective owners and/or copyrighted materials of such owners.

Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

Enabling Seamless Data Access for JD EdwardsEnterpriseOne

© 2013 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means(electronic, photocopying, recording or otherwise) without prior consent of Informatica Corporation. All other company andproduct names may be trade names or trademarks of their respective owners and/or copyrighted materials of suchowners.

Page 2: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

AbstractWith seamless data access, you can view both source and archived data together in a single view. This article providesinformation on how to configure Data Archive and JD Edwards EnterpriseOne to enable seamless data access of source andarchived data.

Supported Versions¨ Data Archive 6.1.1

Table of ContentsOverview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 1. Create Tablespace. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Step 2. Create Seamless Access User Roles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Sample Script to Create Combined User Role. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Sample Script to Create Archive User Role. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Step 3: Grant Privileges to User Roles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Sample Script to Grant Privileges to Seamless Access User Role . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Sample Script to Grant Privileges to JDE User. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Step 4. Create a Link Between Source and History Database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Step 5. Modify the tnsnames.ora File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Step 6. Create Tables in the Archive Schema. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Step 7. Create Indexes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Step 8. Create Synonyms and Views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Create Seamless Data Access Job Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Running the Create Seamless Data Access Job. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Step 9. Create Seamless Access Roles in JD Edwards EnterpriseOne. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Step 10. Assign Seamless Access Roles to Environments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

Step 11. Assign Seamless Access Roles to Default User. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Step 12. Assign Seamless Access Roles to Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Step 13. Create Seamless Access Data Sources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Step 14. Assign Data Sources to Environments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

View Combined and Archive-Only Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

OverviewYou can enable seamless access to create a view of source and data archived to the history database. The view of source andarchive data is called the combined view. You can also enable seamless access to create an archive view that contains justarchive data. The associated schemas and roles for each view are referred to as combined and archive.

Complete the following tasks to enable seamless access for JD Edwards EnterpriseOne application data:

1. Create a tablespace.

2. Create user roles for seamless access.

2

Page 3: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

3. Grant privileges to seamless access users.

4. Create a database link to access the archive user.

5. Modify the tnsnames.ora file.

6. Create tables in the archive schema.

7. Create indexes.

8. Create synonyms and views.

9. Create seamless access roles in JD Edwards EnterpriseOne.

10. Assign roles to environments.

11. Assign roles to the default JDE user.

12. Assign roles to applications.

13. Create data sources for combined and archive data.

14. Assign data sources to environments.

Step 1. Create TablespaceCreate the tablespace to allocate space on the repository database.

Customize the following sample script to specify the location and size of the tablespace:

CREATE TABLESPACE "<tablespace name>"NOLOGGINGDATAFILE 'C:\APP\<user>\ORADATA\ORCL\"<tablespace name>".DBF'SIZE 1024M AUTOEXTEND OFFEXTENT MANAGEMENT LOCALONLINESEGMENT SPACE MANAGEMENT AUTO

1. Copy the sample script to a text editor.

2. Replace <tablespace name> with a name of the tablespace.

3. Specify the path to the DBF file.

4. Optionally, change the size of the tablespace. Default is 1,024 MB.

5. Save the DBF file to the \APP\<user>\ORADATA\ORCL\ folder.

6. Run the DBF file.

Step 2. Create Seamless Access User RolesCreate user roles to access either the combined or archive schemas.

Customize the sample scripts in this section to create seamless access user roles. Typical names for the user roles areAMCOMB to view source and archive data together in the combined view, and AMARCHIVE to view only archive data.

Complete the following steps for each role:

1. Copy the sample script to a text editor.

2. Optionally, replace the name of the user role from AMCOMB or AMARCHIVE to names that easily indicate the type ofseamless access view the role has permissions to.

3. Replace <password> with the password.

4. Replace <tablespace name> with the name of the tablespace.

5. Save the script.

6. Run the script.

3

Page 4: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

Sample Script to Create Combined User RoleThe following script is an example used to create the combined user role:

CREATE USER AMCOMBIDENTIFIED BY <password>

DEFAULT TABLESPACE <tablespace name> TEMPORARY TABLESPACE TEMP PROFILE DEFAULT ACCOUNT UNLOCK

Sample Script to Create Archive User RoleThe following script is an example used to create the archive user role:

CREATE USER AMARCHIVEIDENTIFIED BY <password>

DEFAULT TABLESPACE <tablespace name>TEMPORARY TABLESPACE TEMPPROFILE DEFAULTACCOUNT UNLOCK

Step 3: Grant Privileges to User RolesYou must assign privileges to the seamless access user roles and the JD Edwards (JDE) default user.

Customize the sample script in this section to grant privileges to the combined, archive and JD Edwards (JDE) default userroles.

1. Copy the sample script for the seamless access user role to a text editor.

2. Replace <user> with the name of the user role. For example, AMCOMB or AMARCHIVE.

3. Save the script.

4. Run the script.

5. Repeat steps 1 through 4 for each seamless access user role.

6. Copy the sample script for the JDE default user to a text editor.

7. Replace JDE with the user ID of the JDE default user.

8. Save the script.

9. Run the script.

Sample Script to Grant Privileges to Seamless Access User RoleThe following script is an example used to grant privileges to the combined or archive user role:

GRANT CONNECT TO <user>;GRANT EXECUTE_CATALOG_ROLE TO <user>;GRANT EXP_FULL_DATABASE TO <user>;GRANT IMP_FULL_DATABASE TO <user>;GRANT JAVASYSPRIV TO <user>;GRANT JAVA_ADMIN TO <user>;GRANT RESOURCE TO <user>;GRANT SELECT_CATALOG_ROLE TO <user>;ALTER USER <user> DEFAULT ROLE ALL;GRANT ALTER ANY INDEX TO <user>;GRANT ALTER ANY INDEXTYPE TO <user>;GRANT ALTER ANY LIBRARY TO <user>;GRANT ALTER ANY PROCEDURE TO <user>;GRANT ALTER ANY SEQUENCE TO <user>;

4

Page 5: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

GRANT ALTER ANY SNAPSHOT TO <user>;GRANT ALTER ANY TABLE TO <user>;GRANT ALTER ANY TRIGGER TO <user>;GRANT ALTER ANY TYPE TO <user>;GRANT ALTER SESSION TO <user>;GRANT ALTER TABLESPACE TO <user>;GRANT ANALYZE ANY TO <user>;GRANT CREATE ANY INDEX TO <user>;GRANT CREATE ANY INDEXTYPE TO <user>;GRANT CREATE ANY LIBRARY TO <user>;GRANT CREATE ANY PROCEDURE TO <user>;GRANT CREATE ANY SEQUENCE TO <user>;GRANT CREATE ANY SNAPSHOT TO <user>;GRANT CREATE ANY SYNONYM TO <user>;GRANT CREATE ANY TABLE TO <user>;GRANT CREATE ANY TRIGGER TO <user>; GRANT CREATE ANY TYPE TO <user>;GRANT CREATE ANY VIEW TO <user>;GRANT CREATE DATABASE LINK TO <user>;GRANT CREATE INDEXTYPE TO <user>;GRANT CREATE LIBRARY TO <user>;GRANT CREATE PROCEDURE TO <user>;GRANT CREATE SEQUENCE TO <user>;GRANT CREATE SESSION TO <user>;GRANT CREATE SYNONYM TO <user>;GRANT CREATE TABLE TO <user>;GRANT CREATE TABLESPACE TO <user>;GRANT CREATE TRIGGER TO <user>;GRANT CREATE TYPE TO <user>;GRANT CREATE USER TO <user>;GRANT CREATE VIEW TO <user>;GRANT DELETE ANY TABLE TO <user>;GRANT DROP ANY INDEX TO <user>;GRANT DROP ANY INDEXTYPE TO <user>;GRANT DROP ANY LIBRARY TO <user>;GRANT DROP ANY PROCEDURE TO <user>;GRANT DROP ANY SEQUENCE TO <user>;GRANT DROP ANY SNAPSHOT TO <user>;GRANT DROP ANY SYNONYM TO <user>;GRANT DROP ANY TABLE TO <user>;GRANT DROP ANY TRIGGER TO <user>;GRANT DROP ANY TYPE TO <user>;GRANT DROP ANY VIEW TO <user>;GRANT DROP PUBLIC DATABASE LINK TO <user>;GRANT DROP TABLESPACE TO <user>;GRANT EXECUTE ANY INDEXTYPE TO <user>;GRANT EXECUTE ANY LIBRARY TO <user>;GRANT EXECUTE ANY PROCEDURE TO <user>;GRANT EXECUTE ANY TYPE TO <user>;GRANT GLOBAL QUERY REWRITE TO <user>;GRANT INSERT ANY TABLE TO <user>;GRANT QUERY REWRITE TO <user>;GRANT SELECT ANY SEQUENCE TO <user>;GRANT SELECT ANY TABLE TO <user>;GRANT UNLIMITED TABLESPACE TO <user>;GRANT UPDATE ANY TABLE TO <user>;

Sample Script to Grant Privileges to JDE UserThe following script is an example used to grant privileges to the default JDE user:

GRANT ADMINISTER ANY SQL TUNING SET TO JDE;GRANT ADMINISTER DATABASE TRIGGER TO JDE;GRANT ADMINISTER SQL TUNING SET TO JDE;GRANT ADVISOR TO JDE;GRANT ALTER ANY CLUSTER TO JDE;GRANT ALTER ANY DIMENSION TO JDE;GRANT ALTER ANY EVALUATION CONTEXT TO JDE;GRANT ALTER ANY INDEX TO JDE;

5

Page 6: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

GRANT ALTER ANY INDEXTYPE TO JDE;GRANT ALTER ANY LIBRARY TO JDE;GRANT ALTER ANY MATERIALIZED VIEW TO JDE;GRANT ALTER ANY OPERATOR TO JDE;GRANT ALTER ANY OUTLINE TO JDE;GRANT ALTER ANY PROCEDURE TO JDE;GRANT ALTER ANY ROLE TO JDE;GRANT ALTER ANY RULE TO JDE;GRANT ALTER ANY RULE SET TO JDE;GRANT ALTER ANY SEQUENCE TO JDE;GRANT ALTER ANY SQL PROFILE TO JDE;GRANT ALTER ANY TABLE TO JDE;GRANT ALTER ANY TRIGGER TO JDE;GRANT ALTER ANY TYPE TO JDE;GRANT ALTER DATABASE TO JDE;GRANT ALTER PROFILE TO JDE;GRANT ALTER RESOURCE COST TO JDE;GRANT ALTER ROLLBACK SEGMENT TO JDE;GRANT ALTER SESSION TO JDE;GRANT ALTER SYSTEM TO JDE;GRANT ALTER TABLESPACE TO JDE;GRANT ALTER USER TO JDE;GRANT ANALYZE ANY TO JDE;GRANT ANALYZE ANY DICTIONARY TO JDE;GRANT AUDIT ANY TO JDE;GRANT AUDIT SYSTEM TO JDE;GRANT BACKUP ANY TABLE TO JDE;GRANT BECOME USER TO JDE;GRANT CHANGE NOTIFICATION TO JDE;GRANT COMMENT ANY TABLE TO JDE;GRANT CREATE ANY CLUSTER TO JDE;GRANT CREATE ANY CONTEXT TO JDE;GRANT CREATE ANY DIMENSION TO JDE;GRANT CREATE ANY DIRECTORY TO JDE;GRANT CREATE ANY EVALUATION CONTEXT TO JDE;GRANT CREATE ANY INDEX TO JDE;GRANT CREATE ANY INDEXTYPE TO JDE;GRANT CREATE ANY JOB TO JDE;GRANT CREATE ANY LIBRARY TO JDE;GRANT CREATE ANY MATERIALIZED VIEW TO JDE;GRANT CREATE ANY OPERATOR TO JDE;GRANT CREATE ANY OUTLINE TO JDE;GRANT CREATE ANY PROCEDURE TO JDE;GRANT CREATE ANY RULE TO JDE;GRANT CREATE ANY RULE SET TO JDE;GRANT CREATE ANY SEQUENCE TO JDE;GRANT CREATE ANY SQL PROFILE TO JDE;GRANT CREATE ANY SYNONYM TO JDE;GRANT CREATE ANY TABLE TO JDE;GRANT CREATE ANY TRIGGER TO JDE;GRANT CREATE ANY TYPE TO JDE;GRANT CREATE ANY VIEW TO JDE;GRANT CREATE CLUSTER TO JDE;GRANT CREATE DATABASE LINK TO JDE;GRANT CREATE DIMENSION TO JDE;GRANT CREATE EVALUATION CONTEXT TO JDE;GRANT CREATE EXTERNAL JOB TO JDE;GRANT CREATE INDEXTYPE TO JDE;GRANT CREATE JOB TO JDE;GRANT CREATE LIBRARY TO JDE;GRANT CREATE MATERIALIZED VIEW TO JDE;GRANT CREATE OPERATOR TO JDE;GRANT CREATE PROCEDURE TO JDE;GRANT CREATE PROFILE TO JDE;GRANT CREATE PUBLIC DATABASE LINK TO JDE;GRANT CREATE PUBLIC SYNONYM TO JDE;GRANT CREATE ROLE TO JDE;GRANT CREATE ROLLBACK SEGMENT TO JDE;GRANT CREATE RULE TO JDE;GRANT CREATE RULE SET TO JDE;GRANT CREATE SEQUENCE TO JDE;

6

Page 7: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

GRANT CREATE SESSION TO JDE;GRANT CREATE SYNONYM TO JDE;GRANT CREATE TABLE TO JDE;GRANT CREATE TABLESPACE TO JDE;GRANT CREATE TRIGGER TO JDE;GRANT CREATE TYPE TO JDE;GRANT CREATE USER TO JDE;GRANT CREATE VIEW TO JDE;GRANT DEBUG ANY PROCEDURE TO JDE;GRANT DEBUG CONNECT SESSION TO JDE;GRANT DELETE ANY TABLE TO JDE;GRANT DEQUEUE ANY QUEUE TO JDE;GRANT DROP ANY CLUSTER TO JDE;GRANT DROP ANY CONTEXT TO JDE;GRANT DROP ANY DIMENSION TO JDE;GRANT DROP ANY DIRECTORY TO JDE;GRANT DROP ANY EVALUATION CONTEXT TO JDE;GRANT DROP ANY INDEX TO JDE;GRANT DROP ANY INDEXTYPE TO JDE;GRANT DROP ANY LIBRARY TO JDE;GRANT DROP ANY MATERIALIZED VIEW TO JDE;GRANT DROP ANY OPERATOR TO JDE;GRANT DROP ANY OUTLINE TO JDE;GRANT DROP ANY PROCEDURE TO JDE;GRANT DROP ANY ROLE TO JDE;GRANT DROP ANY RULE TO JDE;GRANT DROP ANY RULE SET TO JDE;GRANT DROP ANY SEQUENCE TO JDE;GRANT DROP ANY SQL PROFILE TO JDE;GRANT DROP ANY SYNONYM TO JDE;GRANT DROP ANY TABLE TO JDE;GRANT DROP ANY TRIGGER TO JDE;GRANT DROP ANY TYPE TO JDE;GRANT DROP ANY VIEW TO JDE;GRANT DROP PROFILE TO JDE;GRANT DROP PUBLIC DATABASE LINK TO JDE;GRANT DROP PUBLIC SYNONYM TO JDE;GRANT DROP ROLLBACK SEGMENT TO JDE;GRANT DROP TABLESPACE TO JDE;GRANT DROP USER TO JDE;GRANT ENQUEUE ANY QUEUE TO JDE;GRANT EXECUTE ANY CLASS TO JDE;GRANT EXECUTE ANY EVALUATION CONTEXT TO JDE;GRANT EXECUTE ANY INDEXTYPE TO JDE;GRANT EXECUTE ANY LIBRARY TO JDE;GRANT EXECUTE ANY OPERATOR TO JDE;GRANT EXECUTE ANY PROCEDURE TO JDE;GRANT EXECUTE ANY PROGRAM TO JDE;GRANT EXECUTE ANY RULE TO JDE;GRANT EXECUTE ANY RULE SET TO JDE;GRANT EXECUTE ANY TYPE TO JDE;GRANT EXEMPT ACCESS POLICY TO JDE;GRANT EXEMPT IDENTITY POLICY TO JDE;GRANT EXPORT FULL DATABASE TO JDE;GRANT FLASHBACK ANY TABLE TO JDE;GRANT FORCE ANY TRANSACTION TO JDE;GRANT FORCE TRANSACTION TO JDE;GRANT GLOBAL QUERY REWRITE TO JDE;GRANT GRANT ANY OBJECT PRIVILEGE TO JDE;GRANT GRANT ANY PRIVILEGE TO JDE;GRANT GRANT ANY ROLE TO JDE;GRANT IMPORT FULL DATABASE TO JDE;GRANT INSERT ANY TABLE TO JDE;GRANT LOCK ANY TABLE TO JDE;GRANT MANAGE ANY FILE GROUP TO JDE;GRANT MANAGE ANY QUEUE TO JDE;GRANT MANAGE FILE GROUP TO JDE;GRANT MANAGE SCHEDULER TO JDE;GRANT MANAGE TABLESPACE TO JDE;GRANT MERGE ANY VIEW TO JDE;GRANT ON COMMIT REFRESH TO JDE;

7

Page 8: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

GRANT QUERY REWRITE TO JDE;GRANT READ ANY FILE GROUP TO JDE;GRANT RESTRICTED SESSION TO JDE;GRANT RESUMABLE TO JDE;GRANT SELECT ANY DICTIONARY TO JDE;GRANT SELECT ANY SEQUENCE TO JDE;GRANT SELECT ANY TABLE TO JDE;GRANT SELECT ANY TRANSACTION TO JDE;GRANT UNDER ANY TABLE TO JDE;GRANT UNDER ANY TYPE TO JDE;GRANT UNDER ANY VIEW TO JDE;GRANT UNLIMITED TABLESPACE TO JDE;GRANT UPDATE ANY TABLE TO JDE;

Step 4. Create a Link Between Source and History DatabaseThe history database contains the archive data. You must create a link between the source and history databases. This enablesthe seamless access job to access archive data.

Customize the following script to create the link between the source and the history databases:

CREATE PUBLIC DATABASE LINK HISTLINK CONNECT TO HISTSCHEMANAME IDENTIFIED BY HISTSCHEMANAMEUSING '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<machine name>)(PORT=<port number>))) (CONNECT_DATA=(SERVICE_NAME=SID)))'

1. Copy the sample script to a text editor.

2. Replace the host and port information.

3. Save the script.

4. Run the script.

Step 5. Modify the tnsnames.ora File

Modify the tnsnames.ora file on the server to create aliases for the combined and archive schemas. This is necessary toconfigure the server plan.

Change the host and port information for each schema.

# tnsnames.ora Network Configuration File: E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora# generated by Oracle configuration tools.

JDE900 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = INVR23ILM150)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ORCL) ) )

ARCHIVE = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = INVR23ILM150)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ORCL) ) )

COMBINED = (DESCRIPTION = (ADDRESS_LIST =

8

Page 9: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

(ADDRESS = (PROTOCOL = TCP)(HOST = INVR23ILM150)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ORCL) ) )

Step 6. Create Tables in the Archive SchemaUse the Create Tables job to create tables in the archive schema in the destination repository.

1. Log in to the Informatica Data Archive user interface.

2. Click Jobs > Schedule a Job.

3. Click Schedule Jobs.

4. Enable Standalone Programs and click Add Item.

A list of jobs appears.

5. Select Create Tables and click Select.

The Create Table parameters appear on the Schedule Job page.

9

Page 10: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

6. Choose the source and destination repositories from the drop-down lists.

7. Click Schedule to run the Create Tables job.

A table is created in the archive schema of the destination repository for every table processed by an entity defined inthe product family version of the source repository.

8. Click Jobs > View Current Jobs to monitor the job status.

Wait until this job finishes before proceeding to the next task.

Step 7. Create IndexesRun the Create Indexes job to create indexes for new managed tables and to create indexes that did not exist in the originalapplication version.

1. Log in to the Informatica Data Archive user interface.

2. Click Jobs > Schedule a Job.

3. Click Schedule Jobs.

4. Enable Standalone Programs and click Add Item.

10

Page 11: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

A list of jobs appears.

5. Select Create Indexes and click Select.

The Create Indexes parameters appear on the Schedule Job page.

6. Choose the source and target repositories from the drop-down lists.

7. Click Schedule to run the Create Indexes job.

8. Click Jobs > View Current Jobs to monitor the job status.

Wait until this job finishes before proceeding to the next task.

Step 8. Create Synonyms and ViewsEach schema must be populated with the appropriate views and synonyms. The view for the archive schema selects data fromthe history table via a database link. The view for the combined schema selects data from the history table across a databaselink and the source table. These views are called base level seamless data access views. You can also create archive andcombined schema views that reference these base views. These views are called dependent views.

Use the Create Seamless Data Access job to create the combined and archive schemas, and populate them with theappropriate synonyms and views.

Create Seamless Data Access Job ParametersThe Create Seamless Data Access job includes the following parameters:Source

Database with production data.

Target

Database with history data.

Combined Schema Name

Schema name for seamless access across the two databases.

Combined Schema Password

Schema password for seamless access across the two databases.

Archive Schema Name

Schema name for allowing access to history data.

11

Page 12: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

Archive Schema Password

Schema password for allowing access to history data.

Combined / Archive Schema Location

Specify whether schemas were created at the data source or data target.

Database Link Name/Linked Server Name

Database link name from data source to data target.

Running the Create Seamless Data Access JobUse the Create Seamless Data Access job to create the combined and archive schemas, and populate them with theappropriate synonyms and views.

1. Click Jobs > Schedule a Job.

2. Click Schedule Jobs.

3. Enable Standalone Programs and click Add Item.

A list of jobs appears.

4. Select Create Seamless Data Access and click Select.

The Create Seamless Data Access job parameters appear on the Schedule Job page.

5. Enter or select a values for the parameters.

6. Click Schedule to run the Create Seamless Data Access job.

7. Click Jobs > View Current Jobs to monitor the job status.

Wait until this job finishes before proceeding to the next task.

12

Page 13: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

Step 9. Create Seamless Access Roles in JD EdwardsEnterpriseOneYou must create roles in JD Edwards EnterpriseOne to access the combined schema and the archive schema.

Create a combined role and an archive role.

1. Log in to the JD Edwards EnterpriseOne user interface.

The JD Edwards Solution Explorer window appears.

2. Open System Administration Tools > System Administration Tools > User Management.

3. Double-click User Profiles.

The User Profiles page appears.

13

Page 14: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

4. Enable Roles Only and click Add.

The User Profile Revisions window appears.

5. Enter values for the parameters listed and click OK.

Step 10. Assign Seamless Access Roles to EnvironmentsAssign the combined and archive roles to the appropriate environments.

Complete the following steps for each seamless access role:

1. Open System Administration Tools > System Administration Tools > User Management.

2. Double-click User Profiles.

The User Profiles window appears.

3. Enable Roles Only to view the list of roles.

4. Select a seamless access role and click Environments.

The User Environment Revisions window appears with a list of environments.

14

Page 15: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

5. Select an environment and click OK.

You can select one environment at a time. Repeat this step for each environment that the seamless access rolerequires access to.

Step 11. Assign Seamless Access Roles to Default UserAssign the combined and archive roles to the default JDE user.

Complete the following steps for each seamless access role:

1. Open System Administration Tools > System Administration Tools > User Management.

2. Double-click Role Relationships.

The Work With Role Relationships window appears.

3. Enter the user ID.

4. Open the Available Roles folder.

5. Select a role from the Available Roles folder and click the left arrow to move it to the Assigned Roles folder.

6. Enter an effective date and expiration date.

7. Click OK.

The seamless access role is assigned to the user.

Step 12. Assign Seamless Access Roles to ApplicationsAssign the combined and archive roles to the appropriate applications.

Complete the following steps for each seamless access role:

Note: By default, a role can access all applications until you specify applications that a role can access.

1. Open System Administration Tools > System Administration Tools > Security Maintenance.

2. Double-click Security Workbench.

The Security Workbench window appears.

3. Click Applications from the menu pane on the left of the page.

The Application Security window appears.

4. Click inside the User/Role field.

A search icon appears.

5. Click the search icon.

A list of users appear.

6. Select a user and click Select.

The Application Security window appears with the user name in the User/Role field.

7. Click inside the Application field.

A search icon appears.

8. Click the search icon.

A list of applications appear.

9. Select an application and click Select.

The Application Security window appears with the application name in the Application field.

10. Optionally, add more applications, one at a time.

15

Page 16: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

11. Click Close.

Step 13. Create Seamless Access Data SourcesCreate data sources for combined and archive schemas on each machine data source.

Complete the following steps for each seamless access schema on each machine data source. For example, if there are twomachine data sources, then you must complete this task four times to create the combined and archive data sources on eachmachine data source.

1. Open System Administration Tools > System Administration Tools > Data Source Management.

2. Double-click Database Data Sources.

The Machine Search and Select page appears.

3. Select a machine data source from the list and click Select.

The Work With Data Sources page appears.

4. Click Add to create a new data source.

5. Provide details for the new data source and click OK to save.

Step 14. Assign Data Sources to EnvironmentsAssign the combined and archive data sources to the appropriate environments.

Complete the following steps for each machine data source:

1. Open System Administration Tools > System Administration Tools > Data Source Management.

2. Double-click Object Configuration Manager.

The Object Configuration Manager - Machine Search and Select page appears.

3. Select a machine data source.

The Object Configuration Manager - Object Mapping Revisions page appears.

4. Click the find icon above the Environment Name field.

A list of environments appear.

5. Select an environment and click Select.

6. Click Find and select an environment.

The Object Configuration Manager - Object Mapping Revisions page appears.

7. Enter details for each field and click OK.

The Object Configuration Manager - Work With Object Manager page appears.

8. Change the object status to Active for the combined and archive roles.

9. Click OK.

View Combined and Archive-Only DataLog in to the JD Edwards EnterpriseOne application to access the seamless access combined or archive view.

Log in to JD Edwards EnterpriseOne. Enter your user ID, password, environment, and role.

16

Page 17: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

The following figure shows the JD Edwards EnterpriseOne log in page:

Depending on the seamless access role you entered, you will see either the combined or archive view. If you entered the default*All Sysadmin role, you will see only source data.

The following figure shows the combined view:

The following figure shows the archive view:

17

Page 18: Enabling Seamless Data Access for JD Edwards … Library/1/0505...Abstrac t With seamless data access, you can view both source and archived data together in a single view. This article

The following figure shows only source data:

AuthorsSuresh VankaPeoplesoft Upgrade Specialist

Murali Krishna KrishnamaneniILM Development

18