Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 536.4K On-Premises Infrastructure
- 138.3K Analytics Software
- 38.6K Application Development Software
- 5.8K Cloud Platform
- 109.5K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.3K Integration
- 41.6K Security Software
Get the current metadata partition name

Is there a way to get the current partition name that an EAR is currently deployed onto using wlst? Please let me asap, thanks in advance.
Answers
-
Hello,
You can use Fusion Middleware control to get partition name information.
Please check below link.
Managing the Metadata Repository - 11g Release 1 (11.1.1)
ou can use the System MBean operations listPartitions, listRepositories, and listRepositoryDetails to get a list of partitions in the repository, a list of repositories, and details of the repository registered with the domain:
- In Fusion Middleware Control, from the navigation pane, navigate to the domain and select it. From the WebLogic Domain menu, choose System MBean Browser.The System MBean Browser page is displayed.
- In the page's navigation pane, expand Application Defined MBeans, then expand oracle.mds.lcm. Expand the domain, thenMDSDomainRuntime, and then select MDSDomainRuntime.
- In the Application Defined MBeans pane, select the Operations tab.
- Click one of the operations, such as listPartitions, listRepositories, and listRepositoryDetails.The Operations page is displayed.
- Click Invoke.The information is displayed in the Return Value table
Please don't hesitate to mark it helpful or correct if you think for other purpose.
Thanks,
Amey
-
But is there a way to get it from wlst via script?
-
Hello,
You can find the wlst for create,delete,register and deregister partition.
Metadata Services (MDS) Custom WLST Commands - 11g Release 1 (10.3.6)
Thanks,
Amey
-
But the documentation does not contain a way for getting the name of the currently used partition.
-
-
I know that in the EM console, its easy to get the partition name, but what i am asking is that is there a script which will help me get the current partition name?
-
Nope.. But please try listMetadataLabels wlst. Please check the below reference. You can try to create the custom but is it any specific testcase?
Metadata Services (MDS) Custom WLST Commands - 11g Release 1 (10.3.6)
Thanks,
Amey
-
Thanks for the info. Now i am able to get the list of all the partitions. But here is the thing, how do i find out the partition which my EAR is using before i undeploy it, any ideas?