Create raid group
Storage Setup and Management Overview
This section shows how you might configure and monitor a storage
system using CLI commands. It shows commands with UNIX®
device names. The Windows device names would be drive letters.
The storage system is a CX-Series or FC4700-Series-type system, in
which each SP is a host. With unshared storage, the server connects
directly (not through a switch) to the storage system. For an overview
showing shared storage (switches), see Chapter 3.
1. Create four RAID Groups.
navicli -h ss1_spa createrg 0 0_0_0 0_0_1
0_0_2 0_0_3 0_0_4 ↵
Creates RAID Group 0 from disks 0 through 4 in the DPE
enclosure. A new RAID Group has no RAID type until it is
bound.
navicli -h ss1_spa createrg 1 0_0_5 0_0_6 ↵
Creates RAID Group 1 from disks 5 and 6 in the DPE enclosure.
navicli -h ss1_spa createrg 2 0_0_7 0_0_8 ↵
Creates RAID Group 2 from disks 7 and 8 in the DPE enclosure.
navicli -h ss1_spa createrg 2 0_0_7 0_0_8 ↵
Creates RAID Group 2 from disks 7 and 8 in the DPE enclosure.
navicli -h ss1_spa createrg 3 0_0_9 ↵
Creates RAID Group 3 from disk 9 in the DPE enclosure.
2. Bind a LUN on each RAID Group.
navicli -h ss1_spa bind r5 0 -rg 0 ↵
This command binds a LUN of type RAID 5 with LUN ID 0 on
RAID Group 0. The LUN occupies all space on RAID Group 0,
since the bind command did not include the -cap switch. By
default, read and write caching are enabled on the new LUN.
navicli -h ss1_spa bind r1 1 -rg 1 ↵
Binds a LUN of type RAID 1 (mirrored pair) with LUN ID 1 on
RAID Group 1. The LUN occupies all space on RAID Group 1 and
caching is enabled by default.
Storage Setup and Management Overview 2-11
Basic Commands
navicli -h ss1_spa bind r1 2 -rg 2 ↵
Binds a LUN of type RAID 1 (mirrored pair) with LUN ID 2 on
RAID Group 2. The LUN occupies all space on RAID Group 2,
and caching is enabled by default.
navicli -h ss1_spa bind hs -rg 3 ↵
Binds a hot spare on RAID Group 2. The hot space has not LUN
ID (it is not really a LUN) and occupies all space on RAID Group
3. Get SP memory information to prepare to set up the storage
system cache.
navicli -h ss1_spa getsp -mem ↵
Memory Size For The SP: 930
Each SP has the same amount of memory, so you need not issue
this command for SP B.
4. Set up storage system caching with 70% memory for write
caching and 30% for read caching.
navicli -h ss1_spa setcache -wcza 650 -wc 1 -p 8
-rcza 280 -rczb 280 -rc 1 ↵
This command sets the write cache for SP A (applies to both SPs)
to 650 Mbytes, enables write caching, sets a write cache page size
of 8 Kbytes, sets a read cache size for each SP of 280 Mbytes, and
enables read caching.
For easy identification in the future, name the storage system.
navicli -h ss1_spa arrayname users11 ↵
Change the arrayname from xxx to users11? (y/n) y
↵
This command changees the name of the storage system to
users11.
At this point, you can create file systems on the LUNs from the
operating system and store data on them. You can then learn the LUN
device names using the getagent command and check status
periodically using the getsp, getdisk, and/or getlun commands
From Access logix manual
Thursday, 7 August 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment