Skip to main content
ONTAP MetroCluster

Considerations for automatic drive assignment and ADP systems in ONTAP 9.4 and later

Contributors netapp-aoife netapp-pcarriga netapp-folivia

Beginning with ONTAP 9.4, MetroCluster IP configurations support new installations using ADP (Advanced Drive Partitioning).

You should be aware of the following considerations when using ADP with MetroCluster IP configurations:

  • ONTAP 9.4 and later is required to use ADP with MetroCluster IP configurations.

  • ADPv2 is supported in MetroCluster IP configurations.

  • The root aggregate must be located in Partition 3 for all nodes on both sites.

  • Partitioning and disk assignment are performed automatically during the initial configuration of the MetroCluster sites.

  • Pool 0 disk assignments are done at the factory.

  • The unmirrored root is created at the factory.

  • Data partition assignment is done at the customer site during the setup procedure.

  • In most cases, drive assignment and partitioning is done automatically during the setup procedures.

  • A disk and all of its partitions must be owned by nodes in the same high-availability (HA) pair. Partition or drive ownership within a single drive cannot be mixed between the local HA pair and the disaster recovery (DR) partner or DR auxiliary partner.

    Example of a supported configuration:

    Drive/Partition

    Owner

    Drive:

    ClusterA-Node01

    Partition 1:

    ClusterA-Node01

    Partition 2:

    ClusterA-Node02

    Partition 3:

    ClusterA-Node01

Note When upgrading from ONTAP 9.4 to 9.5, the system recognizes the existing disk assignments.

Automatic partitioning

ADP is performed automatically during initial configuration of the system.

Note Beginning with ONTAP 9.5, automatic assignment of disks must be enabled with the storage disk option modify -autoassign on command.

You must set the ha-config state to mccip before automatic provisioning to make sure that the correct partition sizes are selected to allow for appropriate root volume size. For more information, see Verifying the ha-config state of components.

A maximum of 96 drives can be automatically partitioned during installation. You can add extra drives after the initial installation.

How shelf-by-shelf automatic assignment works

If there are four external shelves per site, each shelf is assigned to a different node and different pool, as shown in the following example:

  • All of the disks on site_A-shelf_1 are automatically assigned to pool 0 of node_A_1

  • All of the disks on site_A-shelf_3 are automatically assigned to pool 0 of node_A_2

  • All of the disks on site_B-shelf_1 are automatically assigned to pool 0 of node_B_1

  • All of the disks on site_B-shelf_3 are automatically assigned to pool 0 of node_B_2

  • All of the disks on site_B-shelf_2 are automatically assigned to pool 1 of node_A_1

  • All of the disks on site_B-shelf_4 are automatically assigned to pool 1 of node_A_2

  • All of the disks on site_A-shelf_2 are automatically assigned to pool 1 of node_B_1

  • All of the disks on site_A-shelf_4 are automatically assigned to pool 1 of node_B_2

How to populate partially-full shelves

If your configuration is using shelves that are not fully populated (have empty drive bays) you must distribute the drives evenly throughout the shelf, depending on the disk assignment policy. The disk assignment policy depends on how many shelves are at each MetroCluster site.

If you are using a single shelf at each site (or just the internal shelf on an AFF A800 system), disks are assigned using a quarter-shelf policy. If the shelf is not fully populated, install the drives equally on all quarters.

The following table shows an example of how to place 24 disks in a 48 drive internal shelf. The ownership for the drives is also shown.

The 48 drive bays are divided into four quarters:

Install six drives in the first six bays in each quarter…​

Quarter 1: Bays 0-11

Bays 0-5

Quarter 2: Bays 12-23

Bays 12-17

Quarter 3: Bays 24-35

Bays 24-29

Quarter 4: Bays 36-47

Bays 36-41

If you are using two shelves at each site, disks are assigned using a half-shelf policy. If the shelves are not fully populated, install the drives equally from either end of the shelf.

For example, if you are installing 12 drives in a 24-drive shelf, install drives in bays 0-5 and 18-23.

Manual drive assignment (ONTAP 9.5)

In ONTAP 9.5, manual drive assignment is required on systems with the following shelf configurations:

  • Three external shelves per site.

    Two shelves are assigned automatically using a half-shelf assignment policy, but the third shelf must be assigned manually.

  • More than four shelves per site and the total number of external shelves is not a multiple of four.

    Extra shelves above the nearest multiple of four are left unassigned and the drives must be assigned manually. For example, if there are five external shelves at the site, shelf five must be assigned manually.

You only need to manually assign a single drive on each unassigned shelf. The rest of the drives on the shelf are then automatically assigned.

Manual drive assignment (ONTAP 9.4)

In ONTAP 9.4, manual drive assignment is required on systems with the following shelf configurations:

  • Fewer than four external shelves per site.

    The drives must be assigned manually to ensure symmetrical assignment of the drives, with each pool having an equal number of drives.

  • More than four external shelves per site and the total number of external shelves is not a multiple of four.

    Extra shelves above the nearest multiple of four are left unassigned and the drives must be assigned manually.

When manually assigning drives, you should assign disks symmetrically, with an equal number of drives assigned to each pool. For example, if the configuration has two storage shelves at each site, you would one shelf to the local HA pair and one shelf to the remote HA pair:

  • Assign half of the disks on site_A-shelf_1 to pool 0 of node_A_1.

  • Assign half of the disks on site_A-shelf_1 to pool 0 of node_A_2.

  • Assign half of the disks on site_A-shelf_2 to pool 1 of node_B_1.

  • Assign half of the disks on site_A-shelf_2 to pool 1 of node_B_2.

  • Assign half of the disks on site_B-shelf_1 to pool 0 of node_B_1.

  • Assign half of the disks on site_B-shelf_1 to pool 0 of node_B_2.

  • Assign half of the disks on site_B-shelf_2 to pool 1 of node_A_1.

  • Assign half of the disks on site_B-shelf_2 to pool 1 of node_A_2.

Adding shelves to an existing configuration

Automatic drive assignment supports the symmetrical addition of shelves to an existing configuration.

When new shelves are added, the system applies the same assignment policy to newly added shelves. For example, with a single shelf per site, if an additional shelf is added, the systems applies the quarter-shelf assignment rules to the new shelf.

ADP and disk assignment differences by system in MetroCluster IP configurations

The operation of Advanced Drive Partitioning (ADP) and automatic disk assignment in MetroCluster IP configurations varies depending on the system model.

Note In systems using ADP, aggregates are created using partitions in which each drive is partitioned in to P1, P2 and P3 partitions. The root aggregate is created using P3 partitions.

You must meet the MetroCluster limits for the maximum number of supported drives and other guidelines.

ADP and disk assignment on AFF A320 systems

Guideline

Drives per site

Drive assignment rules

ADP layout for root partition

Minimum recommended drives (per site)

48 drives

The drives on each external shelf are divided into two equal groups (halves). Each half-shelf is automatically assigned to a separate pool.

One shelf is used by the local HA pair. The second shelf is used by the remote HA pair.

Partitions on each shelf are used to create the root aggregate. Each of the two plexes in the root aggregate includes the following partitions
  • Eight partitions for data

  • Two parity partitions

  • Two spare partitions

Minimum supported drives (per site)

24 drives

The drives are divided into four equal groups. Each quarter-shelf is automatically assigned to a separate pool.

Each of the two plexes in the root aggregate includes the following partitions:

  • Three partitions for data

  • Two parity partitions

  • One spare partition

ADP and disk assignment on AFF A150, ASA A150, and AFF A220 systems

Guideline

Drives per site

Drive assignment rules

ADP layout for root partition

Minimum recommended drives (per site)

Internal drives only

The internal drives are divided into four equal groups. Each group is automatically assigned to a separate pool and each pool is assigned to a separate controller in the configuration.

Note Half of the internal drives remain unassigned before MetroCluster is configured.

Two quarters are used by the local HA pair. The other two quarters are used by the remote HA pair.

The root aggregate includes the following partitions in each plex:

  • Three partitions for data

  • Two parity partitions

  • One spare partition

Minimum supported drives (per site)

16 internal drives

The drives are divided into four equal groups. Each quarter-shelf is automatically assigned to a separate pool.

Two quarters on a shelf can have the same pool. The pool is chosen based on the node that owns the quarter:

  • If owned by the local node, pool0 is used.

  • If owned by the remote node, pool1 is used.

For example: a shelf with quarters Q1 through Q4 can have following assignments:

  • Q1: node_A_1 pool0

  • Q2: node_A_2 pool0

  • Q3: node_B_1 pool1

  • Q4:node_B_2 pool1

Note Half of the internal drives remain unassigned before MetroCluster is configured.

Each of the two plexes in the root aggregate includes the following partitions:

  • Two partitions for data

  • Two parity partitions

  • No spares

ADP and disk assignment on AFF C250, AFF A250, ASA A250, ASA C250, and FAS500f systems

Guideline

Drives per site

Drive assignment rules

ADP layout for root partition

Minimum recommended drives (per site)

48 drives

The drives on each external shelf are divided into two equal groups (halves). Each half-shelf is automatically assigned to a separate pool.

One shelf is used by the local HA pair. The second shelf is used by the remote HA pair.

Partitions on each shelf are used to create the root aggregate. The root aggregate includes the following partitions in each plex:

  • Eight partitions for data

  • Two parity partitions

  • Two spare partitions

Minimum supported drives (per site)

16 internal drives

The drives are divided into four equal groups. Each quarter-shelf is automatically assigned to a separate pool.

Each of the two plexes in the root aggregate includes the following partitions:

  • Two partitions for data

  • Two parity partitions

  • No spare partitions

ADP and disk assignment on AFF A300 systems

Guideline

Drives per site

Drive assignment rules

ADP layout for root partition

Minimum recommended drives (per site)

48 drives

The drives on each external shelf are divided into two equal groups (halves). Each half-shelf is automatically assigned to a separate pool.

One shelf is used by the local HA pair. The second shelf is used by the remote HA pair.

Partitions on each shelf are used to create the root aggregate. The root aggregate includes the following partitions in each plex:

  • Eight partitions for data

  • Two parity partitions

  • Two spare partitions

Minimum supported drives (per site)

24 drives

The drives are divided into four equal groups. Each quarter-shelf is automatically assigned to a separate pool.

Each of the two plexes in the root aggregate includes the following partitions:

  • Three partitions for data

  • Two parity partitions

  • One spare partition

ADP and disk assignment on AFF C400, AFF A400, ASA C400, and ASA A400 systems

Guideline

Drives per site

Drive assignment rules

ADP layout for root partition

Minimum recommended drives (per site)

96 drives

Drives are automatically assigned on a shelf-by-shelf basis.

Each of the two plexes in the root aggregate includes:

  • 20 partitions for data

  • Two parity partitions

  • Two spare partitions

Minimum supported drives (per site)

24 drives

The drives are divided into four equal groups (quarters). Each quarter-shelf is automatically assigned to a separate pool.

Each of the two plexes in the root aggregate includes:

  • Three partitions for data

  • Two parity partitions

  • One spare partition

ADP and disk assignment on AFF A700 systems

Guideline

Drives per site

Drive assignment rules

ADP layout for root partition

Minimum recommended drives (per site)

96 drives

Drives are automatically assigned on a shelf-by-shelf basis.

Each of the two plexes in the root aggregate includes:

  • 20 partitions for data

  • Two parity partitions

  • Two spare partitions

Minimum supported drives (per site)

24 drives

The drives are divided into four equal groups (quarters). Each quarter-shelf is automatically assigned to a separate pool.

Each of the two plexes in the root aggregate includes:

  • Three partitions for data

  • Two parity partitions

  • One spare partition

ADP and disk assignment on AFF C800, ASA C800, ASA A800, and AFF A800 systems

Guideline

Drives per site

Drive assignment rules

ADP layout for root aggregate

Minimum recommended drives (per site)

Internal drives and 96 external drives

The internal partitions are divided into four equal groups (quarters). Each quarter is automatically assigned to a separate pool. The drives on the external shelves are automatically assigned on a shelf-by-shelf basis, with all of the drives on each shelf assigned to one of the four nodes in the MetroCluster configuration.

The root aggregate is created with 12 root partitions on the internal shelf.

Each of the two plexes in the root aggregate includes:

  • Eight partitions for data

  • Two parity partitions

  • Two spare partitions

Minimum supported drives (per site)

24 internal drives

The internal partitions are divided into four equal groups (quarters). Each quarter is automatically assigned to a separate pool.

The root aggregate is created with 12 root partitions on the internal shelf.

Each of the two plexes in the root aggregate includes:

  • Three partitions for data

  • Two parity partitions

  • One spare partitions

ADP and disk assignment on AFF A900 and ASA A900 systems

Guideline

Shelves per site

Drive assignment rules

ADP layout for root partition

Minimum recommended drives (per site)

96 drives

Drives are automatically assigned on a shelf-by-shelf basis.

Each of the two plexes in the root aggregate includes:

  • 20 partitions for data

  • Two parity partitions

  • Two spare partitions

Minimum supported drives (per site)

24 drives

The drives are divided into four equal groups (quarters). Each quarter-shelf is automatically assigned to a separate pool.

Each of the two plexes in the root aggregate includes:

  • Three partitions for data

  • Two parity partitions

  • One spare partition

Disk assignment on FAS2750 systems

Guideline

Drives per site

Drive assignment rules

ADP layout for root partition

Minimum recommended drives (per site)

24 internal drives and 24 external drives

The internal and external shelves are divided into two equal halves. Each half is automatically assigned to different pool

Not applicable

Minimum supported drives (per site) (active/passive HA configuration)

Internal drives only

Manual assignment required

Not applicable

Disk assignment on FAS8200 systems

Guideline

Drives per site

Drive assignment rules

ADP layout for root partition

Minimum recommended drives (per site)

48 drives

The drives on the external shelves are divided into two equal groups (halves). Each half-shelf is automatically assigned to a separate pool.

Not applicable

Minimum supported drives (per site) (active/passive HA configuration)

24 drives

Manual assignment required.

Not applicable

Disk assignment on FAS500f systems

The same disk assignment guidelines and rules for AFF C250 and AFF A250 systems apply to FAS500f systems. For disk assignment on FAS500f systems, refer to the ADP and disk assignment on AFF C250, AFF A250, ASA A250, ASA C250, and FAS500f systems table.

Disk assignment on FAS9000 systems

Guideline

Drives per site

Drive assignment rules

ADP layout for root partition

Minimum recommended drives (per site)

96 drives

Drives are automatically assigned on a shelf-by-shelf basis.

Not applicable

Minimum supported drives (per site)

48 drives

The drives on the shelves are divided into two equal groups (halves). Each half-shelf is automatically assigned to a separate pool.

Minimum supported drives (per site) (active/passive HA configuration)

Disk assignment on FAS9500 systems

Guideline

Shelves per site

Drive assignment rules

ADP layout for root partition

Minimum recommended drives (per site)

96 drives

Drives are automatically assigned on a shelf-by-shelf basis.

Not applicable

Minimum supported drives (per site)

24 drives

The drives are divided into four equal groups (quarters). Each quarter-shelf is automatically assigned to a separate pool.

Minimum supported drives (per site) (active/passive HA configuration)