Moving Oracle SOA Suite to an Existing Production Environment

Moving from a Test to a Production Environment 21-53 d. Grant connect and resource privileges to the user and exit from SQLPlus: grant connect,resource to prefix_DISCUSSIONS; exit; e. Import the Discussion Forum data into the production database. You import the file that you exported from the test database in Task 2 . ORACLE_HOME is the Oracle home for the production database. ORACLE_HOMEbinimp syspasswordconnect_id as sysdba FROMUSER=testprefix_DISCUSSIONS TOUSER=prod_prefix_DISCUSSIONS FILE=filename statistics=none 3. Import the WebCenter Spaces application by using the following WLST commands: connectusername,password,t3:hostname:port importWebCenterApplicationappName=appName, fileName=fileName Refer to Exporting and Importing Custom WebCenter Applications for Data Migration in the Oracle Fusion Middleware Administrators Guide for Oracle WebCenter for details. 4. Import Portlet customization, personalizations, and metadata to the production environment, using the following command: importPortletClientMetadataappName=app_name, fileName=filename For detailed syntax, see importPortletClientMetadata in the Oracle Fusion Middleware WebLogic Scripting Tool Command Reference. Task 5 Import Custom WebCenter Framework Applications to the Production Environment To import custom WebCenter Framework applications to the production environment: 1. Import Portlet customizations and metadata from file you exported in Task 3 to the production environment, using the following WLST command: importPortletClientMetadataappName=app_name,fileName=filename 2. Import the data from the database, using the following commands ORACLE_ HOME is the Oracle home for the Oracle Database: ORACLE_HOMEbinsqlplus syspassword as sysdba create or replace directory directory as path; grant read,write on DIRECTORY directory to user; Note: If you are using the embedded Oracle WebLogic Server LDAP identity store, see Managing Security in the Oracle Fusion Middleware Administrators Guide for Oracle WebCenter. Although secure, the embedded LDAP identity store is not a production-class store and should be replaced with an external LDAP-based identity store, such as Oracle Internet Directory, for enterprise production environments. See Also: Exporting and Importing WebCenter Portal Applications for Data Migration in the Oracle Fusion Middleware Administrators Guide for Oracle WebCenter for more information 21-54 Oracle Fusion Middleware Administrators Guide exit; ORACLE_HOMEbinimpdp syspasswordconnect_id as sysdba REMAP_SCHEMA=test_prefix_WEBCENTER:prod_prefix_WEBCENTER DIRECTORY=directory dumpfile=filename TABLE_EXISTS_ACTION=REPLACE 3. Import Content Server, if you have not already done so in Task 4 , Step 1. 4. Import the Discussion Forum, if you have not already done so in Task 4 , Step 2. Task 6 Enable SSL and Create Custom Keystores During the pasteConfig operation, SSL is disabled. In addition, custom keystores are not created in the production environment. Take the following steps: 1. Enable SSL, as described in Section 6.5 . 2. Create custom keystores, as described in Section 8.3.3.1 .

21.4.3.2 Moving Oracle WebCenter to an Existing Production Environment

In this scenario, you have a working production environment with Oracle WebCenter installed and configured and you want to test changes in your applications or configuration before rolling those changes into the production environment. For example, you have modified a WebCenter Spaces application, you want to deploy a newer version of a WebCenter Framework application, or you have modified existing security policies or configuration. To move the changes to an existing production environment, perform the following tasks: ■ Task 1, Export Oracle WebCenter Spaces Data from the Test Environment ■ Task 2, Import Group Spaces Data to the Production Environment ■ Task 3, Export WebCenter Group Space Template from the Test Environment ■ Task 4, Import WebCenter Group Space Template from the Test Environment Task 1 Export Oracle WebCenter Spaces Data from the Test Environment To export Oracle WebCenter Spaces data from the test environment: 1. Export Oracle WebCenter Spaces data from Discussion Forum, using the Oracle Database export utility: ORACLE_HOMEbinexport syspasswordconnect_id as sysdba discussions_schemadiscussions_password file=discussions_forumid.dmp log=jive_forumid.log TABLES=jiveforum,jiveThread,jivemessage,jiveForumProp,jiveQuestion,jiveAnswer, jiveGateway rows=y STATISTICS=None QUERY=\WHERE forumid \= forumid\ 2. Export the Oracle WebCenter Spaces data from Wiki, using the owc_wiki_ export.sql script. The script is located in the following directory: ORACLE_HOMEwikiserverowc-wikiWEB-INFclasses Use the following commands: ORACLE_HOMEbinsqlplus syspassword as sysdba create or replace directory WC_PUMP_DIR as path; grant read,write on DIRECTORY WC_PUMP_DIR to user; owc_wiki_export.sql Moving from a Test to a Production Environment 21-55 3. Export the Group Space from the test environment: a. Login to WebCenter Spaces with administrative privileges. b. Click the Administration link at the top of the application. c. Click the Group Spaces tab. d. Click the Group Spaces subtab. e. Select the group space required by highlighting the row in the table. f. From the Change State drop down, select Offline. g. Click Save. h. Click Export in the toolbar. Task 2 Import Group Spaces Data to the Production Environment To import Group Spaces data to the production environment: 1. Import Group Space data into the Discussion Forum data into the production database. You import the file that you exported from the test database in Task 1 . ORACLE_HOME is the Oracle home for the production database. ORACLE_HOMEbinimpdp syspasswordconnect_id as sysdba file=filename log=df_category.log ignore=y STATISTICS=None FROMUSER=test_prefix_DISCUSSIONS TOUSER=prod_prefix_DISCUSSIONS imp syspasswddbhost file=T2PTEST_category.dmp log=df_category.log ignore=y STATISTICS=None FROMUSER=TEST_DISCUSSIONS TOUSER=PROD_DISCUSSIONS imp syspasswddbhost file=T2PTEST_forumid.dmp log=df_forumid.log ignore=y STATISTICS=None FROMUSER=TEST_DISCUSSIONS TOUSER=PROD_DISCUSSIONS imp syspasswddbhost file=T2PTEST_forumid_perm.dmp log=df_forumid_perm.log ignore=y STATISTICS=None FROMUSER=TEST_DISCUSSIONS TOUSER=PROD_DISCUSSIONS 2. Import Group Space data into Wiki using the owc_wiki_import.sql script. Edit the script, adding the following line before the line DBMS_DATAPUMP.start_ jobdp_handle: DBMS_DATAPUMP.METADATA_REMAPdp_handle,REMAP_SCHEMA,source,target; 3. Create the directory WC_PUMP_DIR in the production environment. 4. Copy the file that you generated when you exported the data from the database in Task 1 , to the WC_PUMP_DIR in the production environment. 5. Run the script: ORACLE_HOMEbinsqlplus syspassword as sysdba owc_wiki_import.sql 6. Import the Group Space to the production environment: a. Login to WebCenter Spaces with administrative privileges. b. Click the Administration link at the top of the application. c. Click the Group Spaces tab. d. Click the Group Spaces subtab. e. Select the group space required by highlighting the row in the table. 21-56 Oracle Fusion Middleware Administrators Guide f. From the Change State drop down, select Offline. g. Click Save. h. Click Import in the toolbar and select the exported archive. 7. Import Group Space data from the Content Server, by using WebDAV to drag the folders under the Group Spaces in the test environment to Group Spaces in the production environment. Task 3 Export WebCenter Group Space Template from the Test Environment To export the Group Space template from the test environment: 1. Login to WebCenter Spaces with administrative privileges. 2. Click the Administration link at the top of the application. 3. Click the Group Spaces tab. 4. From the Group Spaces tab, select Templates. 5. Click Export in the toolbar. Task 4 Import WebCenter Group Space Template from the Test Environment To import the Group Space template to the production environment: 1. Login to WebCenter Spaces with administrative privileges. 2. Click the Administration link at the top of the application. 3. Click the Group Spaces tab. 4. From the Group Spaces tab, select Templates. 5. Click Import in the toolbar, and select the exported archive.

21.4.4 Moving Oracle Hyperion Enterprise Performance Management System to a Production Environment

The section describes how to move Oracle Hyperion Enterprise Performance Management System components to a production environment. In this scenario, you have performed the following in the test environment: ■ Installed a database to be used for required schemas. ■ Created needed schemas using RCU. See the Oracle Fusion Middleware Repository Creation Utility Users Guide. ■ Installed Oracle WebLogic Server and created the Middleware home. ■ Installed and configured Oracle Hyperion Enterprise Performance Management components. To move Oracle Hyperion Enterprise Performance Management to a production environment, perform the following tasks: ■ Task 1, Move the Database, Middleware Home, and Perform the Initial Configuration ■ Task 2, Move Oracle Essbase to a Production Environment ■ Task 3, Move Oracle Hyperion Calculation Manager to a Production Environment ■ Task 4, Move Oracle Hyperion Financial Reporting to a Production Environment