32 Export and Import of Domain Partitions
This chapter provides an overview of exporting and importing Oracle WebLogic Domain Partitions. Oracle WebLogic Server supports WebLogic domain partition functionality. Partition functionality is introduced and supported through WebLogic Server Multitenancy feature. It consolidates applications into fewer domains with partition within domains and maintains secured isolation. It provides increased efficiency and reduced cost. For more information on WebLogic Server Multitenancy, see WebLogic Server Multitenant in the Oracle® Fusion Middleware Using WebLogic Server Multitenant guide. The WebLogic domain partition can be exported and imported between WebLogic Server domains. Export or import is also supported between domains residing on different Enterprise Manager deployments. In particular, this chapter covers the following:
About Exporting and Importing WebLogic Domain Partitions
A domain partition (partition for short) is an administrative and runtime slice of a WebLogic domain. Multi-Tenancy provides shared infrastructure for use by multiple organizations. These organizations are a conceptual grouping of tenants. Multiple tenants are supported in a single domain. It improves density and achieves more efficient use of resources and eliminates the following hurdles involved in sharing multiple applications:
-
Runtime Cross-Application impact
-
Security differences
-
Data Co-Mingling
-
Administrative challenges
A domain partition is an administrative portion of a domain that can be managed independently and can share runtime capacity in a domain, that is, the managed servers and clusters. Each domain partition has its own runtime copy of the applications and resources. It provides application isolation and efficiency. Multiple instances of an application can run in different domain partitions without modifying the application.
Domain partitions use fewer server and domain resources. This enables you to simplify the management of Software As a Service (SaaS) and Platform As a Service (PaaS) applications.
Oracle WebLogic Server supports WebLogic domain partition functionality. A single WebLogic domain can contain several partitions, each capable of having its own set of services like JDBC, JMS, SAF, applications, and security realm. Oracle WebLogic Multitenant Server provides resource isolation within a domain partition which is an administrative and runtime slice of a WebLogic domain. It runs application instances and related resources for a tenant. Domain partitions achieve greater density by allowing application instances and related resources to share the domain, WebLogic Server, Java virtual machine, and operating system While isolating Tenant-Specific application data, configuration, and runtime traffic.
A partition can contain one or more resource groups. These resource groups can be converted to templates. A domain partition can be exported and imported into a new or same domain. This export or import functionality moves the services and applications that are part of the partition. This functionality is primarily used in Enterprise Manager to provision partitions on demand. The key capabilities and limitations of the WebLogic domain partition functionality are:
-
Partition export or import is supported.
-
An empty partition cannot be created.
-
One partition can be exported at a time from a domain.
-
One partition can be imported into one domain at a time.
-
The applications and services running in the domain are cloned along with the partition. They can neither be deleted nor can new ones be added during provisioning.
Exporting WebLogic Domain Partition
Note:
Exporting WebLogic domain partition functionality is supported from WLS version 12.2.1.0.0 onwards.
To export a domain partition, follow these steps:
You can view the profile created in the Middleware Provisioning page. The new profile will be shown in the Profiles table, select the name of the profile to view more details.
Importing WebLogic Domain Partition
Note:
Importing WebLogic domain partition functionality is supported from WLS version 12.2.1.0.0 onwards.
To import a domain partition into an existing WebLogic domain, follow these steps:
Importing WebLogic Domain Partition operation can be performed using EMCLI verb too. Use the following steps.
-
The generic
submit_procedure
EMCLI verb is used to import WebLogic Domain Partition. Launch the import partition user interface from the desired domain target. -
Enter all the required details.
-
Navigate to the next page.
-
Click Save.
-
Enter the unique
SAVED_CONFIG_NAME
. -
Execute the following command:
emcli describe_procedure_input -name=SAVED_CONFIG_NAME > input.properties
-
Un-comment the secret variables like passwords and provide values for them.
-
Submit the procedure by executing the following command:
emcli submit_procedure -name=ProvisionPartition -input_file=data:input.properties [-instance_name=UNIQUE_SUBMISSION_NAME]
Note:
For more details on the verbs, see Deployment Procedure Verbs in the Enterprise Manager Command Line Interface.