Storage Policy
A Storage Policy configures local disk layout on UCS servers: RAID drive groups, virtual drives, and M.2 boot drive configuration. It is applied to servers via a Server Profile Template and determines how physical drives are presented as storage volumes.
Location in Intersight GUI:
Policies » Storage
Diagram
Section titled “Diagram”Classes
Section titled “Classes”policies (compute.intersight.organizations)
Section titled “policies (compute.intersight.organizations)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| storage | List | [storage] | No |
storage (compute.intersight.organizations.policies)
Section titled “storage (compute.intersight.organizations.policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| description | String | No | ||
| managed | Boolean | true, false | No | true |
| tags | List | [tags] | No | |
| unused_disks_state | Choice | NoChange, UnconfiguredGood, Jbod | No | NoChange |
| use_jbod_for_vd_creation | Boolean | true, false | No | false |
| global_hot_spares | String | No | ||
| m2_virtual_drive | Class | [m2_virtual_drive] | No | |
| drive_groups | List | [drive_groups] | No |
tags (compute.intersight.organizations.policies.storage)
Section titled “tags (compute.intersight.organizations.policies.storage)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| key | String | Yes | ||
| value | String | Yes |
m2_virtual_drive (compute.intersight.organizations.policies.storage)
Section titled “m2_virtual_drive (compute.intersight.organizations.policies.storage)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| enabled | Boolean | true, false | No | |
| controller_slot | Choice | MSTOR-RAID-1, MSTOR-RAID-2, MSTOR-RAID-1,MSTOR-RAID-2 | No | |
| name | String | No |
drive_groups (compute.intersight.organizations.policies.storage)
Section titled “drive_groups (compute.intersight.organizations.policies.storage)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| raid_level | Choice | Raid0, Raid1, Raid5, Raid6, Raid10, Raid50, Raid60 | No | Raid1 |
| secure | Boolean | true, false | No | |
| manual_drive_group | Class | [manual_drive_group] | No | |
| virtual_drives | List | [virtual_drives] | No |
manual_drive_group (compute.intersight.organizations.policies.storage.drive_groups)
Section titled “manual_drive_group (compute.intersight.organizations.policies.storage.drive_groups)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| dedicated_hot_spares | String | No | ||
| drive_array_spans | List | String | Yes |
virtual_drives (compute.intersight.organizations.policies.storage.drive_groups)
Section titled “virtual_drives (compute.intersight.organizations.policies.storage.drive_groups)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_-]{1,15}$ | Yes | |
| size | Integer | min: 1 | No | |
| boot_drive | Boolean | true, false | No | false |
| expand_to_available | Boolean | true, false | No | false |
| access_policy | Choice | Default, ReadWrite, ReadOnly, Blocked | No | Default |
| drive_cache | Choice | Default, NoChange, Enable, Disable | No | Default |
| read_policy | Choice | Default, ReadAhead, NoReadAhead | No | Default |
| write_policy | Choice | Default, WriteThrough, WriteBackGoodBbu, AlwaysWriteBack | No | Default |
| strip_size | Choice | 64, 128, 256, 512, 1024 | No | 64 |
Examples
Section titled “Examples”Example-1: The example below demonstrates a storage policy that creates an M.2 boot drive and a RAID-5 data volume from drives in slots 1–5.
compute: intersight: organizations: - name: MyOrganization policies: storage: - name: web-storage description: Storage policy for web servers unused_disks_state: UnconfiguredGood m2_virtual_drive: enabled: true controller_slot: MSTOR-RAID-1 name: BootVd drive_groups: - name: dg-data raid_level: Raid5 manual_drive_group: drive_array_spans: - "1,2,3,4,5" virtual_drives: - name: data expand_to_available: true read_policy: ReadAhead write_policy: WriteBackGoodBbu tags: - key: env value: prodExample-2: The example below demonstrates a RAID-10 policy with two spans and a dedicated boot virtual drive.
compute: intersight: organizations: - name: MyOrganization policies: storage: - name: db-storage description: Storage policy for database servers drive_groups: - name: dg-os raid_level: Raid1 manual_drive_group: drive_array_spans: - "1,2" virtual_drives: - name: os size: 102400 boot_drive: true
- name: dg-data raid_level: Raid10 manual_drive_group: drive_array_spans: - "3,4" - "5,6" virtual_drives: - name: data expand_to_available: true strip_size: 256 write_policy: WriteBackGoodBbu