DBADMIN=system:manager
DIRLOCATION=machine2:636
ENTADMIN="cn=janeadmin":welcome
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. Because the CASCADE parameter is set to YES, all migrated users' old
database schemas are automatically dropped, including those who own database
objects.
If you set the CASCADE parameter to YES, then Oracle
Caution:
recommends that enterprise user administrators back up the
database or take an export dump of the users being migrated before
running this utility. Then if migrated users want their old database
objects, they can retrieve them from the export dump.
Mapping Users to a Shared Schema Using Different MAPTYPE Options
When MAPSCHEMA is set to SHARED, the mapping type can be set by specifying a
value for the MAPTYPE parameter. This parameter takes two values, which are the
mapping type and the mapping level.
Mapping type can be set at DB, for database, or DOMAIN, for enterprise domain.
When mapping type DB is specified, the mapping is applied only to the database
where the shared schema is stored. When DOMAIN is specified as the mapping type,
then the mapping is applied to the enterprise domain that contains the database
where the shared schema is stored and also applies to all databases in that domain.
Mapping level can be set to ENTRY or SUBTREE. When ENTRY is specified then
users are mapped to the shared schema using their full distinguished name (DN).
This results in one mapping for each user. When SUBTREE is specified then groups
of users who share part of their DNs are mapped together. This results in one
mapping for user groups already grouped under some common root in the
directory tree.
Example G–3
parameter. In this example, users scott1, scott2, and all external database users
are migrated to the directory at c=Users, c=us, while mapping all migrated
users to a new shared schema in the database. In this example, the mapping will
apply to the enterprise domain that contains the database and the mapping will be
performed at the entry level, resulting in a mapping for each user.
shows the syntax to use when using the MAPTYPE
User Migration Utility Usage Examples
Using the User Migration Utility G-23
Need help?
Do you have a question about the Oracle Database B10772-01 and is the answer not in the manual?