You are on page 1of 22

Storage Allocation

Using ControlCenter and


Solutions Enabler
On Symmetrix Systems

LUNs creation, mapping, LUN masking,


etc

June 2009 Gastón Bénétrix – EMC Argentina


Assessing host

#bdf | grep –i arc (gets info from file system needed to be enlarged)
/dev/vg63/lvol1 196608000 9507968 185641832 5% /f11iprodARCHIVE
/f11iprodARCHIVE

# emc | grep vg63 (lists info of the volume group)


c38t0d6 096 50 vg63 (M)3 de 16,96 (16.96 x 3=50.88)
3=50.88)
c38t0d7 099 50 vg63 (M)3 de 16,96 1 Path
c38t1d5 0AB 50 vg63 (M)3 de 16,96
c38t2d1 0B7 50 vg63 (M)3 de 16,96

c59t6d3 096 50 vg63 (M)3 de 16,96 (16.96 x 3=50.88)


3=50.88)
c59t6d4 099 50 vg63 (M)3 de 16,96
c59t7d2 0AB 50 vg63 (M)3 de 16,96 2 Path
c59t7d6 0B7 50 vg63 (M)3 de 16,96

#symdev -sid 1098 show 045 | more (provides info of device 045)

This is the data to validate against control center, for DMX3 “1098”
1098” box, In the following steps.

June 2009 Gastón Bénétrix – EMC Argentina


Search for devices.

June 2009 Gastón Bénétrix – EMC Argentina


Selecting Hyper.

June 2009 Gastón Bénétrix – EMC Argentina


Selecting Meta devices.

June 2009 Gastón Bénétrix – EMC Argentina


Meta Devices (cont.)

June 2009 Gastón Bénétrix – EMC Argentina


Create meta devices from CLI.

# symconfigure -sid 1098 -f hacermetas commit

Execute a symconfigure operation for symmetrix '000290101098' (y/[n])


(y/[n]) ? y

A Configuration Change operation is in progress. Please wait...

Establishing a configuration change session...............Established.


session...............Established.
Processing symmetrix 000290101098
Performing Access checks..................................Allowed.
checks..................................Allowed.
Checking Device Reservations..............................Allowed.
Reservations..............................Allowed.
• “hacermetas” Configuration File: Submitting configuration changes..........................Submitted
changes..........................Submitted
Locking devices...........................................Locked.
devices...........................................Locked.
Validating configuration changes..........................Validated.
changes..........................Validated.
Initiating PREPARE of configuration changes...............Queued.
changes...............Queued.
# cat hacermetas PREPARE requesting required resources.....................Obtained.
resources.....................Obtained.
form meta from dev 10E8 config=Striped; Local: PREPARE...........................................Done.
PREPARE...........................................Done.
Initiating COMMIT of configuration changes................Queued.
changes................Queued.
add dev 10E9 to meta 10E8; COMMIT requesting required resources...................... Obtained. Obtained.
add dev 110E to meta 10E8; Step 018 of 120 steps.....................................Executing.
steps.....................................Executing.
Step 023 of 120 steps.....................................Executing.
steps.....................................Executing.
form meta from dev 111A config=Striped; Step 023 of 120 steps.....................................Executing.
steps.....................................Executing.
add dev 111B to meta 111A; Step 023 of 120 steps.....................................Executing.
steps.....................................Executing.
Step 023 of 120 steps.....................................Executing.
steps.....................................Executing.
add dev 111C to meta 111A; Step 048 of 120 steps.....................................Executing.
steps.....................................Executing.
form meta from dev 111D config=Striped; Step 049 of 120 steps.....................................Executing.
steps.....................................Executing.
Step 063 of 154 steps.....................................Executing.
steps.....................................Executing.
add dev 111E to meta 111D; Step 071 of 154 steps.....................................Executing.
steps.....................................Executing.
add dev 111F to meta 111D; Step 071 of 154 steps.....................................Executing.
steps.....................................Executing.
Step 081 of 154 steps.....................................Executing.
steps.....................................Executing.
form meta from dev F3B config=Striped; Step 095 of 154 steps.....................................Executing.
steps.....................................Executing.
add dev F3C to meta F3B; Step 097 of 154 steps.....................................Executing.
steps.....................................Executing.
Step 102 of 154 steps.....................................Executing.
steps.....................................Executing.
add dev F3D to meta F3B; Step 103 of 154 steps.....................................Executing.
steps.....................................Executing.
Step 103 of 154 steps.....................................Executing.
steps.....................................Executing.
Step 104 of 154 steps.....................................Executing.
steps.....................................Executing.
Step 104 of 154 steps.....................................Executing.
steps.....................................Executing.
Step 105 of 154 steps.....................................Executing.
steps.....................................Executing.
Step 106 of 154 steps.....................................Executing.
steps.....................................Executing.
Step 106 of 154 steps.....................................Executing.
steps.....................................Executing.
Step 111 of 154 steps.....................................Executing.
steps.....................................Executing.
Local: COMMIT............................................Done.
COMMIT............................................Done.
Terminating the configuration change session..............Done.
session..............Done.

The configuration change session has successfully completed.

June 2009 Gastón Bénétrix – EMC Argentina


LUN

June 2009 Gastón Bénétrix – EMC Argentina


Selecting new Hypers to be allocated

June 2009 Gastón Bénétrix – EMC Argentina


Mapping Devices.

June 2009 Gastón Bénétrix – EMC Argentina


Selecting host ports.

June 2009 Gastón Bénétrix – EMC Argentina


Mapping devices (cont.)

June 2009 Gastón Bénétrix – EMC Argentina


Mapping devices (cont.)

June 2009 Gastón Bénétrix – EMC Argentina


Mapping devices (cont.)

June 2009 Gastón Bénétrix – EMC Argentina


Mapping devices from CLI.

 4. Map meta volume to front-


front-end directors
# cat mapfile.cmd
map dev 4A4 to dir 4b:1 target=0, lun=5;
map dev 4A4 to dir 13a:1 target=0, lun=5;

 5. preview, prepare and commit the changes


# symconfigure -f mapfile.cmd preview -nop
# symconfigure -f mapfile.cmd prepare -nop
# symconfigure -f mapfile.cmd commit –nop

Check the configuration


# symdev -sa 4b -p 1 -fibre list
# symdev -sa 13a -p 1 -fibre list

 6. Mask the meta volume


# symmask -wwn <WWPN> -dir 13a -p 1 add devs 4A4
# symmask -wwn <WWPN> -dir 4a -p 1 add devs 4A4

Note: the wwn are the WWPN's of the host HBA's which you obtain from the server.

June 2009 Gastón Bénétrix – EMC Argentina


Masking.

June 2009 Gastón Bénétrix – EMC Argentina


Masking. (cont.)

June 2009 Gastón Bénétrix – EMC Argentina


Masking.

June 2009 Gastón Bénétrix – EMC Argentina


Masking.

June 2009 Gastón Bénétrix – EMC Argentina


Masking: disks that were previously allocated to a host.

June 2009 Gastón Bénétrix – EMC Argentina


Validate Masking OK.

June 2009 Gastón Bénétrix – EMC Argentina


Verify on host (HPUX).

1. insf –eC disk

2. ioscan –fnC disk

3. inq –nodots | grep “device”


device”

June 2009 Gastón Bénétrix – EMC Argentina