• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Provissioning storage
 

Provissioning storage

on

  • 605 views

 

Statistics

Views

Total Views
605
Views on SlideShare
604
Embed Views
1

Actions

Likes
0
Downloads
51
Comments
0

1 Embed 1

http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Provissioning storage Provissioning storage Presentation Transcript

    • Storage Allocation On Symmetrix SystemsLUNs creation, mapping, LUN masking, etc Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Assessing host (hpux)#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 Pathc38t1d5 0AB 50 vg63 (M)3 de 16,96c38t2d1 0B7 50 vg63 (M)3 de 16,96c59t6d3 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,96c59t7d2 0AB 50 vg63 (M)3 de 16,96 2 Pathc59t7d6 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” box, In the following steps. 1098” Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Search for devices. Click on “Find” tab and in the search box, type the string (LUN in this case) you are looking for. Gastón Bénétrix.Implementation Specialist – EMC Corporation.
    • Selecting Hyper. Select hyper, click properties and check all the parameters before and after assignment. Gastón Bénétrix.Implementation Specialist – EMC Corporation.
    • Selecting Meta devices. Once found the “LUN” (it mostly will be a Hyper, as we are talking in Symmetrix language), we will be able to view its contents. In this particular case, we are loking at a Meta, with 3 Hypers: One is the Meta head, the other two are meta devices. Note the M, as Meta head is marked with (M) and accompanied with the number of meta devices in it. Also, have in mind that Hypers are normally of two sizes (per standardization) 16.96 and 56.9966 Gygabytes. On the right hand, we can see the LUN properties. Listed is the Meta head, ID 087, 16.96GB, allocated, and within its total Meta device size, 50.87 (3 LUNS in total). Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Meta Devices (cont.) Here the example is repeated, but with more LUNS or Hypers. Here we can see Meta head 5F4, with its 7 devices attached to it, making it a (M)7 of 135.64Gb total. Gastón Bénétrix.Implementation Specialist – EMC Corporation.
    • Create meta devices from CLI. # symconfigure -sid 1098 -f makemetas commit Execute a symconfigure operation for symmetrix 1098 (y/[n]) ? y (y/[n]) A Configuration Change operation is in progress. Please wait... Establishing a configuration change session...............Established. session...............Established. Processing symmetrix xxxxxxxx01098 Performing Access checks..................................Allowed. checks..................................Allowed. Checking Device Reservations..............................Allowed. Reservations..............................Allowed.• “makemetas” 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 mekametas PREPARE requesting required resources.....................Obtained. resources.....................Obtained. form meta from dev 10E8 config=Striped; 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; 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; 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; 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. Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • LUN To see the diference, we have listed a LUN here. You can appreciate that LUN B4A, has 5.62GB Size, and summarizes with the other LUNS, 11.24GB. LUNs are not the common standard for Symmetrix, as they do not use the disk completely as Hypers. Hypers use the cylinders of the disks, using even the lastest cylinder of the disks, avoiding to leave MBs in disuse as is usual in LUNs. That is why the 16.96 and 59.9966 sizes are so intrincanted. Gastón Bénétrix.Implementation Specialist – EMC Corporation.
    • Selecting new Hypers to be allocated In this spreadsheet we have the free / unmapped Hypers, filtered by size, device, etc. Documentation is always a must, as it will guide us for future configurations, as for systems recovery. Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Mapping Devices. Select Hyper “729”, right click, go to configure and SDR Device Mapping. SDR Stands for “Symmetrix Data “ If you need to add more than one disk, select the disks with “ctrl” key and follow the same steps. Gastón Bénétrix.Implementation Specialist – EMC Corporation.
    • Selecting host ports.Hosts In this case, ports 8C:1 & 9C:0, are the last octets from BACKUPSRV HBA ports. Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Mapping devices (cont.)Select the device on the left and the HBA ports onthe right. Hold control to select more than one.Alert messages will be displayed for each of theHBAs to which we are adding the device (hyper).To check availability of addresses into this ports, run:symcfg list -sid 1098 -fa 08c -p 1 -addresses -availablesymcfg list -sid 1098 -fa 09c -p 0 -addresses -available Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Mapping devices (cont.)Here is a preview of how thedevices (Hyper) will be presented(allocated) to the selected storageHBA port.You can change the Addresspresented to the host, for betteradministration. (some systems donot like hexa values.)Select the addresses with * fromthe list gathered before, from OS. Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Mapping devices (cont.)System will ask if you are sure to execute this. Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Mapping devices from CLI. # more mapint07.cmd It can be necessary to add the LUNmap dev F31 to dir 8A:1; number for the host. This is obtainedmap dev F31 to dir 9A:1; from command “symcfg -sid XX list -map dev F35 to dir 8A:1; address -fa Xx -p x -available”; formap dev F35 to dir 9A:1; HPUX, the values “VBUS TID LUN”map dev F37 to dir 8A:1; give a number between the three ofmap dev F37 to dir 9A:1; them (0 00 001=001), for the rest ofmap dev F3A to dir 8A:1; OSs, the value under “LUN” column, is the final LUN address for the host inmap dev F3A to dir 9A:1; HEXA, that must be converted to DECmap dev 1730 to dir 8A:1; for the system administrator.map dev 1730 to dir 9A:1;map dev 173F to dir 8A:1;map dev 173F to dir 9A:1; # Symconfigure –sid XX –f mapint07.cmd Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Mapping devices from CLI. # more unmapint07.cmdunmap dev 03DB from dir 8A:1;unmap dev 03DE from dir 8A:1;unmap dev 03E1 from dir 8A:1;unmap dev 03E4 from dir 8A:1; The process is similar to map. Theunmap dev 03E7 from dir 8A:1; only changes is the unmap/mapunmap dev 03EA from dir 8A:1;unmap dev 03ED from dir 8A:1; modificator inside the file.unmap dev 03F0 from dir 8A:1;unmap dev 03F3 from dir 8A:1;unmap dev 03F6 from dir 8A:1;unmap dev 03DB from dir 9A:1;unmap dev 03DE from dir 9A:1;unmap dev 03E1 from dir 9A:1;unmap dev 03E4 from dir 9A:1;unmap dev 03E7 from dir 9A:1;unmap dev 03EA from dir 9A:1;unmap dev 03ED from dir 9A:1;unmap dev 03F0 from dir 9A:1;unmap dev 03F3 from dir 9A:1;unmap dev 03F6 from dir 9A:1; #symconfigure –sid XX –f unmapint07.cmd commit Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Masking. To make the storage visible to the host, you must complete the LUN Masking steps. To do so, go to “Hosts” section in left pannel, right click on the desired host (host to which allocate the storage) and select “Masking > Modify Masking Configurations”. This will take you to the following screen. This can be also done from CLI, with the “symmaskdb” command. Gastón Bénétrix.Implementation Specialist – EMC Corporation.
    • Masking. (cont.)In this screen we will provide all the dataneeded to complete the masking.First select the ports (HBA ports) of theserver to which attach the devices. Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Masking.Select both HBA’s WWPN on upper left box, choosestorae array, and select type of device as desired.Finally, select the storage port to be assigned to.In bottom list, check the devices you will be adding,in pairs (as they are seen once per HBA port.) Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Masking. The is the completed list of tasks. Once we have this, click on “Grant” to execute the tasks. Gastón Bénétrix.Implementation Specialist – EMC Corporation.
    • Masking: disks that were previously allocated to a host. Note the differences between the marked devices: This is telling us that the disks were previously assigned to another host/s, but they maybe still allocated or not. Please it is very important for you to validate that you are not assigning a device for second time to the same or another host. The thin line represents one previous assignment, the thick line represents more than one previous assignment. The disks you normally will be assigning/allocating, should not have this “underscore” mark on the devices list. This list is an example, as you can also see that there are some devices with granted permissions to a host. Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Validate Masking OK.Verify in the detail that all the operations have been completed as desired. Gastón Bénétrix.Implementation Specialist – EMC Corporation.
    • Masking from CLI. symmask -sid XX -wwn wwnxxx -dir Xx -p x add dev “xxx” –noprompt xxx” symmaskdb -sid XX -wwn wwnxxx list database Here we masked device “xxx” Symmetrix ID : 666 to wwn “wwnxxx” by mapped port “Xx:x”. Then, we verifiedDatabase Type : Type6Last updated at : 11:14:56 AM on Thu Jun 24,2010 the configuration. This process is repeated for all devicesDirector Identification : FA-Xx FA-Director Port :x needing to be masked to a wwn by a port, normally two User-generated User-Identifier Type Node Name Port Name Devices ports and two wwn for---------------- ----- ------------------ --------------- --------- resilience.10000000c9816180 Fibre 10000000c9816180 10000000c9816180 0F31 0F35 When working with Celerra 0F37 systems, replace “–noprompt” 0F3A 1730 with “–celerra” 173A:173C 173F Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Verify on host (HPUX).1. insf –eC disk2. ioscan –fnC disk3. inq –nodots | grep “device” device”Verify on host with ioscan –fnC disk and insf –C disk, that the Hyper (or LUN) has beencorrectly assigned and visible to the Operating System.If this does not work, use ioscan as it, and the insf –C.For basic troubleshooting, use:symmaskdb -sid 1098 list assignment -dev 10E8symdev -sid 1098 show 10E8 | moreTo show how the device is mapped to the host and were could be a communication loss. Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Verify on host (W2k). From diskmgmt.msc, you will see new LUNs as “unallocated” devices. Check the LUN number provided by diskmgmt.msc, unallocated” storage administrator and initialize or format it, as corresponding. corresponding. Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Verify on host (Solaris). # find / -name inq/usr/lpp/EMC/Symmetrix/bin/inq # /usr/lpp/EMC/Symmetrix/bin/inq -nodots /usr/lpp/EMC/Symmetrix/bin/inqInquiry utility, Version V7.3-915 (Rev 0.0) (SIL Version V7.0.0.0 (Edit Lev V7.3-el 915)Copyright (C) by EMC Corporation, all rights reserved.For help type inq -h.------------------------------------------------------------------------------------------------------------------------------------------------DEVICE :VEND :PROD :REV :SER NUM :CAP(kb) :CAP(kb)------------------------------------------------------------------------------------------------------------------------------------------------/dev/rhdisk0 :EMC :SYMMETRIX :5671 :5300000000 : 11520/dev/rhdisk1 :EMC :SYMMETRIX :5671 :5300695000 : 2880/dev/rhdisk2 :EMC :SYMMETRIX :5671 :5300696000 : 2880/dev/rhdisk3 :EMC :SYMMETRIX :5671 :5300697000 : 2880/dev/rhdisk6 :EMC :SYMMETRIX :5671 :5300698000 : 2880/dev/rhdisk7 :EMC :SYMMETRIX :5671 :5300674000 : 2880/dev/rhdisk12 :EMC :SYMMETRIX :5671 :5300699000 : 2880/dev/rhdisk13 :EMC :SYMMETRIX :5671 :5300686000 : 2880/dev/rhdisk14 :EMC :SYMMETRIX :5773 :6600062000 : 2880/dev/rhdisk15 :EMC :SYMMETRIX :5773 :660185e008 : 5760/dev/rhdisk16 :EMC :SYMMETRIX :5773 :660185f008 : 5760/dev/rhdisk17 :EMC :SYMMETRIX :5773 :6601860008 : 5760/dev/rhdisk18 :EMC :SYMMETRIX :5773 :6601883008 : 5760/dev/rhdisk19 :EMC :SYMMETRIX :5773 :6601884008 : 5760/dev/rhdisk20 :EMC :SYMMETRIX :5773 :6601885008 : 5760/dev/rhdisk21 :EMC :SYMMETRIX :5671 :5300694000 : 2880/dev/rhdisk22 :EMC :SYMMETRIX :5671 :53005b2000 : 82494720/dev/rhdisk23 :EMC :SYMMETRIX :5671 :53005c2000 : 70709760/dev/rhdisk24 :EMC :SYMMETRIX :5671 :530069a000 : 2880/dev/rhdisk25 :EMC :SYMMETRIX :5671 :530069b000 : 2880 Cfgadm –al ; cfgadm –c cx ; devfsadm ; vxdctl enable Gastón Bénétrix. Implementation Specialist – EMC Corporation.
    • Verify on host (AIX). # find / -name inq/usr/lpp/EMC/Symmetrix/bin/inq # /usr/lpp/EMC/Symmetrix/bin/inq -nodots /usr/lpp/EMC/Symmetrix/bin/inqInquiry utility, Version V7.3-915 (Rev 0.0) (SIL Version V7.0.0.0 (Edit Lev V7.3-el 915) The inq command, submits SCSICopyright (C) by EMC Corporation, all rights reserved.For help type inq -h. commands to inquire the Storage------------------------------------------------------------------------------------------------------------------------------------------------DEVICE :VEND :PROD :REV :SER NUM :CAP(kb) :CAP(kb) device, hence it is independent------------------------------------------------------------------------------------------------------------------------------------------------/dev/rhdisk0 :EMC :SYMMETRIX :5671 :5300000000 : 11520 from OS. I will query and retrive/dev/rhdisk1 :EMC :SYMMETRIX :5671 :5300695000 : 2880/dev/rhdisk2 :EMC :SYMMETRIX :5671 :5300696000 : 2880 all LUNS that are mapped and/dev/rhdisk3 :EMC :SYMMETRIX :5671 :5300697000 : 2880/dev/rhdisk6 :EMC :SYMMETRIX :5671 :5300698000 : 2880 masked to corresponding systems/dev/rhdisk7 :EMC :SYMMETRIX :5671 :5300674000 : 2880/dev/rhdisk12 :EMC :SYMMETRIX :5671 :5300699000 : 2880 and devices. If you see the LUN/dev/rhdisk13 :EMC :SYMMETRIX :5671 :5300686000 : 2880/dev/rhdisk14 :EMC :SYMMETRIX :5773 :6600062000 : 2880 ID here, you should be able to/dev/rhdisk15 :EMC :SYMMETRIX :5773 :660185e008 : 5760/dev/rhdisk16 :EMC :SYMMETRIX :5773 :660185f008 : 5760 configure it on the system. If it is/dev/rhdisk17 :EMC :SYMMETRIX :5773 :6601860008 : 5760/dev/rhdisk18 :EMC :SYMMETRIX :5773 :6601883008 : 5760 not possible, check OS/dev/rhdisk19 :EMC :SYMMETRIX :5773 :6601884008 : 5760/dev/rhdisk20 :EMC :SYMMETRIX :5773 :6601885008 : 5760 parameters or reboot./dev/rhdisk21 :EMC :SYMMETRIX :5671 :5300694000 : 2880/dev/rhdisk22 :EMC :SYMMETRIX :5671 :53005b2000 : 82494720/dev/rhdisk23 :EMC :SYMMETRIX :5671 :53005c2000 : 70709760/dev/rhdisk24 :EMC :SYMMETRIX :5671 :530069a000 : 2880/dev/rhdisk25 :EMC :SYMMETRIX :5671 :530069b000 : 2880 Cfgmgr ; lspv ; mk2fs Gastón Bénétrix. Implementation Specialist – EMC Corporation.