Configure database mappings
You can pre-configure the mapping of a database in your source environment to a database in your target environment so that you can deploy your assets faster.
About this task
Pre-configured database mappings streamline common scenarios, such as development to production environment mappings. The mappings are stored for each target environment not for each user. You must have permission to view assets in a database in the source and target environments to set up the database mappings.
Note: You can map multiple databases in the source environment to one database in the target
environment. However, you can't map a database in the source environment to multiple databases in
the target environment.
- If you deploy assets from a source database to a target database that doesn't exist and you have set up a database mapping, the mapping is used to set the database in the target environment so that you don't need to select it manually.
- If you deploy assets from a source database to a target database that exists and this contradicts the database mappings, the mapping is ignored and the assets are migrated as specified.
- If you migrate assets from a source database to a target database that doesn't exist and doesn't have a mapping set up, the database must be selected manually.
Procedure
- Click the Mappings tab of the Lifecycle management home page.
- Click the Target tenant for which you want to create mappings.
- Click Add on the mappings pane.
- Click a Select a database under Database in <source tenant>. Select the database on the source that you want to map to the target tenant.
- Click a Select a database under Database in <target tenant>. Select the database on the tenant to which you want the source database to map.
- Repeat steps 3 through 5 for all mappings you want to establish.