Migrating Users And Mapping To A Shared Schema - Oracle Database B10772-01 Administrator's Manual

Database
Table of Contents

Advertisement

parameter, the utility runs phase one using the default value, PRIVATE, so all users'
old database schemas and objects are retained.

Migrating Users and Mapping to a Shared Schema

To migrate users and map them to a new shared schema, dropping their old
database schemas, set the MAPSCHEMA parameter to SHARED. The shared schema
must already exist or the enterprise user administrator must create it before running
the utility with this parameter setting. In the following example, users scott1,
scott2, and all external database users are migrated to the directory at c=Users,
c=us with newly generated database and directory passwords, while mapping all
migrated users to a new shared schema in the database.
Use the syntax shown in
MAPSCHEMA set to SHARED.
Example G–1 Migrating Users with MAPSCHEMA=SHARED
umu PHASE=ONE
umu PHASE=TWO
After phase one completes successfully, the interface table is populated with the
user migration information. Then the administrator can review the table to confirm
its contents. Users scott1, scott2, and the external users are assigned new
randomly generated database and directory passwords. Because no value was
specified for the CASCADE parameter, the utility runs phase one using the default
value, NO, which means that migrating users who own database objects in their old
database schemas will fail and their schemas will not be automatically dropped. To
determine which users have failed, review the log file that is located at $ORACLE_
HOME/network/log/umu.log by default.
DBLOCATION=machine1:1521:ora_sid
DBADMIN=system:manager
USERS=ALL_EXTERNAL:LIST
USERSLIST=scott1:scott2
MAPSCHEMA=SHARED:schema_32
DIRLOCATION=machine2:636
CONTEXT="c=Users, c=us"
ENTADMIN="cn=janeadmin":welcome
DBLOCATION=machine1:1521:ora_sid
DBADMIN=system:manager
DIRLOCATION=machine2:636
ENTADMIN="cn=janeadmin":welcome
Example G–1
to run the migration process with
User Migration Utility Usage Examples
Using the User Migration Utility G-21

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Oracle Database B10772-01 and is the answer not in the manual?

This manual is also suitable for:

Database advanced security 10g release 1

Table of Contents