Description Syntax Example deleteMetadataPartition

8-2 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

8.1.1 createMetadataPartition

Command Category: Repository Management Use with WLST: Online

8.1.1.1 Description

A metadata repository is used as a common repository for managing metadata of different applications. Many applications use the MDS repository to manage their metadata. Each deployed application uses a logical partition in metadata repository. This logical partition also helps in maintaining the metadata lifecycle. Before deploying a application, you create a partition for it in MDS repository. This command creates a partition with the given name in the specified repository.

8.1.1.2 Syntax

createMetadataPartitionrepository, partition

8.1.1.3 Example

The following example creates the metadata partition partition1 in the repository mds-myrepos: wls:weblogicserverConfig createMetadataPartitionrepository=mds-myrepos, partition=partition1 Executing operation: createMetadataPartition Metadata partition created: partition1 partition1

8.1.2 deleteMetadataPartition

Command Category: Repository Management Use with WLST: Online

8.1.2.1 Description

Deletes a metadata partition in the specified repository. When you delete a repository partition, all of the metadata in that partition is lost.

8.1.2.2 Syntax

deleteMetadataPartitionrepository, partition Table 8–2 Repository Management Commands Use this command... To... Use with WLST... createMetadataPartition Create a metadata repository partition. Online deleteMetadataPartition Delete a metadata repository partition. Online deregisterMetadataDBRepository Deregister a database-based MDS repository. Online registerMetadataDBRepository Register a database-based MDS repository. Online Argument Definition repository The name of the repository where the partition will be created. partition The name of the partition to create in the repository. Metadata Services MDS Custom WLST Commands 8-3

8.1.2.3 Example

The following example deletes the metadata partition partition1 from the repository mds-myrepos: wls:weblogicserverConfig deleteMetadataPartitionrepository=mds-myrepos, partition=partition1 Executing operation: deleteMetadataPartition Metadata partition deleted: partition1

8.1.3 deregisterMetadataDBRepository