C H A P T E R  5

Configuring Storage

This chapter introduces you to Sun StorEdge 6920 system configuration concepts. It includes the following sections:


Before You Begin

Your system is shipped with a default configuration that simplifies storage provisioning. The central point of configuration and management makes it easy to create volumes.

Before you begin to configure your system, you must have already planned your storage requirements and mapped out your configuration. The Best Practices for the Sun StorEdge 6920 System can help you plan and configure storage so that you avoid potential configuration problems.

You can use the default configuration that is shipped with the system, with only one storage domain, or divide the system into multiple smaller but fully functional private, secure storage domains.


Storage Configuration Concepts

The Sun StorEdge 6920 system consists of both physical and logical storage components.

Physical Storage Components

Physical components include storage arrays, storage trays, disks, host/initiators, and optionally, external storage devices. TABLE 5-1 describes the physical components of the system.

 


TABLE 5-1 Sun StorEdge 6920 System Physical Components

Physical Component

Description

Storage array

A storage array is made up of multiple disk drives that function as a single storage device. A high-availability array configuration includes two RAID controllers (also referred to as a controller pair) to provide redundancy and failover capabilities.

Storage tray

A storage tray is an enclosure that contains 7 or 14 disk drives. A storage tray with a RAID controller is a controller tray, and a storage without a controller is an expansion tray.

Disk

A disk is a non-volatile, rewriteable data storage device located within a storage tray. Physical disks are managed as a pool of storage space for creating volumes.

Initiator

An initiator is a system component that initiates an I/O operation over a Fibre Channel (FC) network. Each initiator known to the system is identified by its world wide name (WWN). If a host is connected to the system by two host bus adapters (HBAs), the host is identified as two physically, different initiators. However, with the use of multipathing functionality, the host appears logically as a single device. FC array logical unity number (LUN) masking and mapping uses initiator port identifiers to authenticate hosts.

External storage

An external storage device is a storage array that is connected physically to the system's service panel and located outside the system base or expansion cabinet. An external storage device is located outside the management path and presented to the system as LUNs. Because the storage is outside the management path, you must use the vendor's management software to configure the LUNs. You can:

  • Preserve the data on an external device by creating a legacy volume, and use the legacy volume as if it were any other volume on the system.
  • Increase storage capacity of the system. The external device is added to the system as a single volume.
  • Migrate data from an external storage device to the system's internal storage by using data mirroring.

FIGURE 5-1 shows the physical storage components of the system.


FIGURE 5-1 Physical Storage Components

Drawing of the lower front portion of the base cabinet showing the storage array, storage trays, and disks.


Logical Storage Components

Logical components include storage domains, storage pools, virtual disks, volumes, and replication sets.

TABLE 5-2 describes the logical components of the system.

 


TABLE 5-2 Sun StorEdge 6920 System Logical Components

Logical Component

Description

Storage domain

A storage domain can be thought of as a secure container that holds a subset of the system's total storage resources. You can create multiple storage domains to securely partition the system's total set of storage resources. This allows you to organize multiple departments or applications into a single storage management infrastructure.

Storage pool

A storage pool is a container that groups physical disk capacity (abstracted as virtual disks in the browser interface) into a logical pool of available storage capacity. A storage pool's characteristics are defined by a storage profile. You can create multiple storage pools to segregate storage capacity for use in various types of applications (for example, high throughput and online transaction-processing applications).

Storage profile

A storage profile defines storage performance characteristics such as the RAID level, segment size, dedicated hot spare, and virtualization strategy. You can choose a predefined profile suitable for the application that is using the storage, or you can create a custom profile.

Virtual disk

A virtual disk is a collection of physical disks or a set of contiguous disk blocks that are grouped according to a RAID level. You can have a maximum of two virtual disks per internal storage tray.

Volume

A volume is a container into which applications, databases, and file systems store data. Volumes are created from storage pools and presented to hosts as LUNs. A volume can be created from a virtual disk supplied by a storage pool, or from an external LUN supplied by a storage pool.

Replication sets

Replication sets are pairs of volumes that exist on separate Sun StorEdge 6920 systems and that share identical copies of data. Replication sets provide the ability to implement disaster recovery and business continuance strategies.


FIGURE 5-2 shows the relationships of the logical components.


FIGURE 5-2 Relationships of Logical Storage Components

Illutration showing the relationships of the system's logical storage components.[ D ]


Storage Configuration Considerations

As you review your options and determine how to allocate storage appropriately for your site, consider the following:


Using the Default Configuration

Your system has a default configuration which you can use as is or change. Even if you use the default configuration, you must create volumes. This section describes the default configuration options and tells you how to create volumes.

Default Configuration Options

TABLE 5-3 describes the default configuration and provides options for configuring storage at your site.


TABLE 5-3 Default Storage Configuration and Configuration Options

Logical Component

Default Configuration

Configuration Options

Storage domains

All storage elements are initially located in one storage domain (DEFAULT), which can be accessed by all hosts (initiators).

This storage domain contains the Default storage pool with its associated disks and virtual disks.

You can choose either of the following options:

  • Use the existing default configuration (as is).
  • Create a custom storage domain.

Storage profiles

The default storage domain uses the Default profile to specify its storage parameters. The default storage profile is:

RAID level: RAID-5

Segment size: 64 Kbyte

Read-ahead mode: On

Number of drives: Variable

Array type: Best Available Match: Bandwidth

Number of disks: Variable

Dedicated hot spare: No

Virtualization strategy: Stripe

Stripe size: 1 Mbyte

You can choose any of the following options:

  • Use the existing default configuration (as is).
  • Select one of the predefined storage profiles shipped with the system to create a new storage pool.
  • Create a custom storage profile.

 

Note: You cannot delete any of the predefined profiles, including the Default profile. Additionally, you cannot delete or modify a profile that is in use and already associated with a storage pool.

Storage pools

All virtual disks are initially in one storage pool (Default).

You can choose either of the following options:

  • Use the existing default configuration (as is).
  • Create a new storage pool and reassign some of the virtual disks to the new storage pool.

Virtual disks

Virtual disks are preconfigured based on the number of drives ordered for your system.

The virtual disks are configured as
RAID-5. If an array has 7 drives per tray, all 7 drives are configured as a single RAID-5 virtual disk. If an array has 14 drives, the tray is configured as two RAID-5 virtual disks.

You can choose any of the following options:

  • Use the existing default configuration (as is).
  • Move an existing, unused virtual disk to a different storage pool that has similar attributes.
  • Delete an existing RAID-5 virtual disk and reconfigure the disks into a new virtual disk in another storage pool with a different storage profile.

If you decide not to use the system defaults, refer to Changing the Default Configuration.

Creating Volumes

If you decide to use the default configuration, you must create volumes within the Default storage pool and then assign each initiator in your environment to one of the volumes.

The New Volume wizard guides you through the steps to create and map a new volume. The New Volume wizard prompts you to:

If you decide not to map the volume to a host initiator now, you can map a volume later using the Map Volume wizard from the Volume Detail page. For more information about creating volumes and mapping them to hosts, see the online help.

Before you start to create volumes, be sure you understand the system storage concepts described in Storage Configuration Concepts.

To create a volume:

1. Log in to the system as a storage administrator from the Java Web Console login page:

user name: storage password:!storage

2. Click Sun StorEdge 6920 Configuration Services.

The system displays the Volume Summary Page.

3. Click New.

The system displays the New Volume wizard.


Screen capture of the New Volume wizard for specifying the name, description, storage domain, and volume type of the volume you want to create.

4. Specify a name and a description for the new volume.

Click the Help tab for a list of valid characters you can use when naming a new volume name and specifying a description.

5. Select the DEFAULT storage domain or another storage domain in which you want to place the volume.

6. Specify the type of volume you want to create, single or mirrored volume, and click Next.

The wizard prompts you to select a storage pool.


Screen capture of the available storage pools from which the volume can be created.

7. Select a storage pool from which you want to create the volume, and click Next.

The storage profile of the pool you select determines the volume's storage characteristics.

The wizard prompts you to enter the capacity and striping configuration for this volume.


Screen capture of the wizard page you use to specify the volume capacity and striping configuration.

8. Specify the volume capacity, whether to enable striping, and click Next.

The wizard prompts you to allocate snapshot reserve space for this volume.


Screen capture of the wizard page you use to specify how to allocate snapshot reserve space.

9. If needed, allocate space for snapshots for the new volume. Click Next.

The snapshot reserve space is determined by the number of snapshots and the write activity. Specify the number of snapshots (1 to 32) and the percentage of expected write activity (10%, 40%, 50%, 75%, or 100%). Specify the storage pool in which you want to reserve the space and the policy. For more information about allocating snapshot reserve space, see the online help and Best Practices for the Sun StorEdge 6920 System.

The Select Initiators page is displayed.


Screen capture of the wizard page you use to map the volume to initiators. [ D ]

10. Select any initiators that you want to have mapped to the volume and select the LUN number and permissions for each mapping, and then click Next.

The system uses the LUN mapping storage management technique to selectively configure an area of storage so that it is available to a specific Fibre Channel (FC) device. LUN mapping matches FC targets or initiators inside the Sun StorEdge 6920 system to particular LUNs attached to the system, either directly attached or attached to a SAN. This technique makes a given LUN visible to a FC target or initiator while at the same time removing its visibility (or masking it) from another FC target or initiator.

11. Review your selections for the new volume and click Finish.

The system creates the new volume and adds it to the system configuration. The new volume is displayed in the list on the Volume Summary page.

For more information about creating volumes, go to the online help system by clicking the Help button. Click the Search tab and enter creating a volume.


Changing the Default Configuration

If you decide the default configuration does not meet your storage needs, you can:

Creating Storage Domains

If you determine that one storage domain does not meet the needs of your site, you can create additional storage domains. Each system supports from 1 to 64 storage domains. These storage domains create separate private, secure domains that can support multiple clients within one system.

You create a storage domain using the New Storage Domain wizard. You can specify the initiators that you want to assign to the storage domain, or you can map initiators later using the Map Volume wizard on the Volume Detail page.

To create a storage domain:

1. Log in to the system as a storage administrator from the Java Web Console login page:

user name: storage password:!storage

2. Click Sun StorEdge 6920 Configuration Service.

The system displays the Volume Summary page.

3. Click Logical Storage > Domains.

The Storage Domain Summary page is displayed.

4. Click New.

The Create Storage Domain wizard is displayed.


Screen capture of the wizard page you use to specify the name and description of the storage domain.

5. Enter a name and description for the new domain, and click Next.

The wizard prompts you to select initiators that you want to assign to this storage domain.


Screen capture showing the available initiators that you can assign to the storage domain.

6. Select the initiators that you want to assign to the storage domain, and click Next.

7. Review the summary and click Finish.

The system creates the new storage domain and adds it to the system configuration. The new storage domain is displayed on the Storage Domain Summary page.

Selecting a Storage Profile

The system provides several storage profiles that meet most storage configuration requirements. If the Default storage profile does not meet the performance needs of your application, you can select one of several other predefined profiles, or you can create a custom profile.

To view the predefined storage profiles:

1. Click Logical Storage > Profiles.

The Storage Profile Summary page is displayed.

TABLE 5-4 describes the characteristics of the predefined storage profiles.


TABLE 5-4 Predefined Storage Profiles

Name

RAID Level

Segment Size

Read-Ahead Mode

Virtualization Strategy

Default

RAID-5

64 KB

Enabled

Stripe

HPC (High Performance Computing)

RAID-5

64 KB

Enabled

Concatenate

Legacy

N/A

N/A

N/A

Legacy

MailSpooling

RAID-1

64 KB

Enabled

Stripe

NFS_Mirror

RAID-1

64 KB

Enabled

Stripe

NFS_Stripe

RAID-5

64 KB

Enabled

Stripe

Oracle_DSS

RAID-5

64 KB

Enabled

Stripe

Oracle_OLTP

RAID-5

32 KB

Enabled

Stripe

Oracle_OLTP_HA

RAID-1

32 KB

Enabled

Stripe

Random1

RAID-1

64 KB

Enabled

Stripe

Random5

RAID-5

64 KB

Enabled

Stripe

Sequential

RAID-5

64 KB

Enabled

Concatenate

Sybase_DSS

RAID-5

64 KB

Enabled

Stripe

Sybase_ OLTP

RAID-5

32 KB

Enabled

Stripe

Sybase_OLTP_HA

RAID-1

32 KB

Enabled

Stripe


The virtualization strategy is defined by the storage profile. For information about striped and concatenated virtualization strategies, see the online help.

2. Select a profile that matches your storage requirements.

If you select a RAID-1 profile, you must first delete one or both default RAID-5 virtual disks, as described in Deleting Virtual Disks.

You will need the name of the storage profile later, when you create a storage pool.



Note - If you want to create a custom profile, click New on the Storage Profile Summary page. The New Storage Profile wizard guides you through the steps to create a new storage profile.



Deleting Virtual Disks

When you delete a virtual disk, its disk drives become available for the construction of new virtual disks within a new storage pool.



Note - You cannot delete virtual disks that are in use.



You can delete a virtual disk in one of two ways:

1. Click Logical Storage > Virtual Disks.

The Virtual Disk Summary page is displayed.

2. Select the virtual disks that you want to delete, and click Delete.

or

1. Click Logical Storage > Virtual Disks.

The Virtual Disk Summary page is displayed.

2. Click the virtual disk name that you want to delete.

The Virtual Disk Details page for the selected virtual disk is displayed.

3. Click the Delete button.

Moving Default Virtual Disks

To move the default RAID-5 virtual disk to a new storage pool:

1. Click Logical Storage > Virtual Disks.

The Virtual Disk Summary page is displayed.

2. Click the virtual disk you want to move.

The Virtual Disk Details page is displayed.

3. Select an alternate storage pool from the pull-down list.

Storage pool choices are limited to storage pools that have compatible profiles. For example, you cannot move a RAID-5 virtual disk to a storage pool that was created with a RAID-1 storage profile.

4. Click Save.

The Virtual Disk Summary page displays the name of the storage pool in which the virtual disk resides.

Creating a Storage Pool

The default configuration uses the Default storage pool, which consists of all the disks in the system. When you create a new storage pool, you assign specific disks to it, and then you create volumes.

To create a new storage pool:

1. Click Logical Storage > Pools.

The Storage Pool Summary page is displayed.

2. Click New.

The New Storage Pool wizard is displayed.


Screen capture of the wizard page you use to select the storage domain and storage pool association.

3. Select the storage domain with which you want to associate the storage pool, and click Next.

4. Specify a name and description for the storage pool and click Next.

5. Select a storage profile with which you want to associate the storage pool, and click Next.

6. Review the summary and click Finish.

The new storage pool is added to the Storage Pool Summary page.