# Create domain partitions

Before you begin

Note: WebLogic Server Multitenant domain partitions, resource groups, resource group templates, and virtual targets are deprecated in WebLogic Server 12.2.1.4.0. The related Console and help pages will be removed in the next release.

Prior to creating a domain partition:

- Create the domain you plan to use.
- Create the security realm for the partition.
- Create one or more virtual targets.
- If you want to use a resource group template with this domain partition, create the resource group template first.

See Configuring Domain Partitions for additional information on prerequisites.

To create a domain partition:

1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
2. In the left pane of the Console, select Domain Partitions.

   The Domain Partitions table displays all of the partitions defined in the domain.

3. Click New.
4. On the Domain Partition Properties page, enter the partition name. The partition name must be unique within the domain.
5. Unless you have a specific reason to not do so, accept the default (set) for the Default Resource Group control. Creating a default resource group saves time later on.
6. If you want the resource group you are creating to be based on (reference) an existing resource group template in the target domain, select the resource group template from the drop-down menu.
   You can create a resource group in two ways:
   - A new resource group. When you finish creating the partition you must then edit this resource group as needed.
   - A new resource group based on a resource group template. The configuration is copied from the template to the new resource group.
7. Click Next.
8. Select one or more existing virtual targets to be available for this domain partition to use. Multiple partitions cannot use the same virtual target. You can use a virtual target only with one partition at any one time.
9. Click Next.
10. Select the targets that resource groups in this partition will use by default. Move the targets from the Available list to the Chosen list.
11. Select the security realm and default target for this partition. The security realm can be unique to this partition, or shared by multiple partitions.
12. Examine the file system root for the partition and change it if needed. You can generally accept the default.
13. The Create on Demand control determines whether the partition file system is created when the partition is first accessed. The Preserved control determines whether the partition file system is preserved if you delete the partition. These controls are set by default. Change these settings if needed.
14. Click Finish.
15. Activate your changes.
16. If this is the first partition you have created in this domain, and the domain is running in production mode, restart the WebLogic Administration Server. This step is needed only for the first partition you create for a domain, and only when the domain is running in production mode.
17. In the left pane of the Console, select Domain Partitions.

    The Domain Partitions table displays all of the partitions defined in the domain.

18. Select the Control page.
19. Select the partition you just created.
20. Click Start to start the partition. Partitions are created in a shutdown state and need to be started for the resources in them to be accessible.
21. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).

After you finish

If you did not create the resource group from a resource group template, edit the resource group as needed. See Configuring Resource Groups for additional information.

If you did create the resource group from a resource group template, see Configuring Resource Overrides for additional information.