EMC Symmetrix 系列-比较数据
- 格式:doc
- 大小:53.50 KB
- 文档页数:2
EMC SYMMETRIX VMAX 存储系统EMC® Virtual Matrix Architecture™是一种构建存储系统的新方法,可通过称为 EMC Symmetrix®VMAX™引擎的通用构造块扩展系统资源,从而超越所有现有体系结构的物理约束。
单个 VMAX 引擎即可为高可用性 Symmetrix VMAX 系统奠定完整的基础。
每个 VMAX 引擎包含两个 Symmetrix VMAX 控制器和用于连接到 EMC Virtual Matrix™互连的冗余接口。
每个Symmetrix VMAX 控制器整合了前端、全局内存和后端功能,支持对数据进行直接内存访问以优化 I/O 操作。
VMAX 引擎通过一组(包括多个)提供可扩展性能和高可用性的活动结构互连在一起。
可以无中断地添加 VMAX 引擎,以线性横向扩展 Symmetrix 系统资源。
Virtual Matrix 设计为可扩展到数十个引擎,这些引擎可分散于整个数据中心内,可通过单点管理提供前所未有的基础架构服务级别。
VMAX 引擎最大规格• 四个四核 2.33 GHz Intel® Xeon®处理器• 最高 128 GB 内存• Virtual Matrix 带宽:24 GB/sVMAX 最大系统规格• 八个 VMAX 引擎• 1 TB 内存• Virtual Matrix 带宽:192 GB/sVMAX 互连• 行业标准 RapidIO®结构(Virtual Matrix Architecture 可扩展到其他标准互连。
)连接Symmetrix VMAX 系统可以采用最多支持八个 VMAX 引擎的配置,最多可以包含 128 个前端端口。
优化的硬件逻辑和数据保护编码通过通道自动故障切换确保端到端的数据完整性,最大限度地实现了可用性和负载平衡。
Symmetrix VMAX 系统支持所有常用的硬件和操作系统平台、存储区域网络 (SAN) 和高可用性群集环境。
存储产品:三大系列低端:celerra系列对应容灾产品:Celerra Replicator中端:CLARIION价格十几万到几十万对应容灾产品:mirrorview(磁盘到磁盘的复制,可以做一对多的复制)snapview(基于快照、克隆的数据备份)Mirrorview可以做一个存储到两个备份存储的数据复制高端:symmetrix价格几十万到上百万对应容灾产品:Symmetrix SRDF(类似mirrorview,可做远程和本地的)timefinder(类似snapview)这些容灾功能都是在存储内部本身已经集成的,每个产品对应的各自的系列容灾产品mirrorview、Symmetrix SRDF是存储到存储的数据复制,要求两边的存储要是同一个系列的。
snapview、timefinder是存储到存储内部本身的数据备份备份容灾软件:networker:实现数据集中备份的软件,可以对多种不同数据库进行备份(类似我们的服务器备份)RecoverPoint、RecoverPoint/SE:也是存储到存储的数据复制,其中RecoverPoint/SE是专门针对CLARIION系列存储的这个软件做本地和异地的都可以的,可以一对一,可以一对多,可以本存储到本存储,也可以本存储到另一个存储RecoverPoint是独立的软件,可以针对布什EMC的存储设备去做数据复制Avamar:重复数据删除软件,EMC自己的Homebase:数据恢复和迁移功能的软件容灾备份硬件Data Domain :Data Domain是被EMC收购的公司具有重复数据删除功能的备份存储设备,与上面的三个系列的存储不一样,是专门用来存备份的数据的,其重复数据删除功能与avamar相似Avamar,Data Domain 功能类似,大都与networker想结合使用Data library虚拟带库设备EMC做容灾备份没有单独一个软件就能实现所有功能的,一般都是几个产品组合成一整套的解决方案,价格都是比较高的。
SANSPIRE Inspired by SAN•Home•TechArticles»•Scripting»•About•ContactYou are here: Home > EMC – SYMCLIEMC – SYMCLIby sanaswati on 30/10/2012 in EMCIf I get a dollar for each time I searched for a sym command to achieve something, I would have been a one tenth of a millionaire by now Below is the cheat sheet I compiled to prevent me from becoming that one tenth of a millionaire.===================================================================================== SYMMASKDB=========Initialize the VCMDB (a device masking database)# symmaskdb -sid 1234 init -f vcmdb.dbBackup the VCMDB – backups the VCMDB database to a specified file# symmaskdb -sid 1234 -file <backup_filename> backupRestore the VCMDB – restores a database file# symmaskdb -sid 1234 -file <restore_filename> restoreRefresh the database (This is sometimes needed after masking on DMXs. It refreshes the array configuration and VCMDB)# symmask -sid 1234 refreshCheck whether devices are masked to any host# symmaskdb -sid 1234 -dev 7D5,03A4:03A7 list assignment (DMX)# symaccess -sid 1234 -dev 7D5,03A4:03A7 list assignment (VMAX)Check which devices are masked to given host# symmaskdb –sid 1234 list database# symmaskdb -sid 1234 list capacity -host hostA (DMX)# symmaskdb -sid 1234 list capacity -host hostA -dir 07a -p 1 (DMX)# symmaskdb -sid 1234 list database -wwn 10000000c979bf7e# symmaskdb -sid 1234 list database -wwn 10000000c9598ed5 -dir 07a -p 1# symmaskdb -sid 1234 list devs -wwn 10000000c9598ed5 (shows one line per device and its size, lun number etc)Check which devices are masked to given FA port# symmaskdb -sid 1234 list database -dir 11f -p 0===================================================================================== SYMDEV======List all devices within the array# symdev list# symdev -v list (will take a long time to run because of the sheer amount of output)See the detailed information about given device# symdev -sid 1234 show 0200Find out whether device is MAPPED to any ports (Note: :? indicates it is not mapped to any port; ***:* indicates it is mapped to more than one port)# symdev -sid 1234 show 513 (single device)# symdev -sid 1234 -range 6d0:6d4 list (multiple devices)# symdev -sid 1234 -range 6d0:6d4 list -multiport (multiple devices mapped to multiple ports – works with range only – could specify same device twice in the range if needed for a single device – for example 513:513)List which devices are mapped to FA ports# symdev -sid 1234 list -sa 09c -p 0List which devices (hypers/metas) are not mapped to any ports# symdev -sid 1234 -noport listHow to write disable several devices# cat devs12001201# symdev -sid 1234 write_disable -file devs -SA 8c -p 0# symdev -sid 1234 write_disable -file devs(This will disable devs on all ports)How to write disable only a single device# symdev -sid 1234 write_disable 0123 -SA all# symdev -sid 1234 write_disable 0123 -SA 3A -p 0How to change the status of device to “not_ready”# cat devs12001201# symdev -sid 1234 not_ready -file devs -SA 8c -p 0# symdev -sid 1234 not_ready -file devs (This will disable devs on all ports)# symdev -sid 1234 not_ready 0A2B -SA all (This will disable devs on all ports)# symdev -sid 1234 not_ready 0A2B -SA 3A -p 0 (This will disable devs on 3a:0 ports)================================================================================ SYMCFG======List of FA ports/WWN on given array# symcfg -sid 1234 -FA all list# symcfg -sid 1234 -FA 8C listList detailed information on a FA port# symcfg –sid 1234 -FA 11E list -vFind out the failed director (front end FA and disk DA)# symcfg -sid 1234 list -dir all => get the FA or DA number from here# symcfg -sid 1234 list -fa 5g -v | egrep "Negotiated Speed (GB/Second)" => speed should be a number# symcfg -sid 1234 list -da 5d -v | egrep "Director Status"Display details about array# symcfg –sid 1234 list -vList LUN addresses available on a given FA (and also to see which luns are mapped to which devices)# symcfg –sid 1234 list -address -available -fa 7e –p 0To find out which lun number is used to map a device for given hostOn VMAX # symaccess -sid 1234 show view hostname_vwa (Column “Host Lun” under Storage group name)On DMX # symmasksdb -sid 1234 list devs -wwn 50001234567890 (Column “HOST” under LUN)List which applications (symcfg/stpdaemon etc) are running the commands against given array # symcfg –sid 1234 -application listDisplay details (OS/IP/Hardware/hostname) about hosts that are accessing given array# symcfg –sid 1234 -connections listCheck the consumed capacity of TDEV (space consumed by a TDEV)# symcfg -sid 1234 list -pool poolname -tdev -detail -gb | grep 1C4B# symcfg -sid 1234 list -pool poolname -tdev -range 1A11:1A1B -detail -gb================================================================================ SYMDISK=======Display the summary information about diskgroups on given array# symdisk -sid 1234 list -dskgrp_summary -disk_group all# symdisk -sid 1234 list -dskgrp_summary -disk_group 1# symdisk -sid 1234 list -dskgrp_summaryDisplay details about disks in array separated by disk groups# symdisk -sid 1234 list -by_diskgroupDisplay details about disks in given diskgroup# symdisk -sid 1234 list -disk_group 1Display the list of disks configured as hotspares in the array# symdisk -sid 1234 list -hotspareDisplay the details of all hotspares in the array# symdisk -sid 1234 list -v -spare_infoDisplay the list of failed drives in the array# symdisk -sid 1234 list -failedDisplay list of all disks installed in the array# symdisk -sid 1234 listIdent Symb Int TIDVendor Type Hypr Total Free Actual------ ---- --- --- ---------- ---------- ---- ---------- ---------- ----------DF-5A 05A C 0SATAHGST C02THJK 24 953870 32940 1823565Disk ID would be 5A:C0Display the detailed information such as speed/make/model/diskgroup/hypers on disk# symdisk -sid 1234 show 5A:C0Display the gaps (available space) on given disk# symdisk -sid 1234 show 5A:C0 -gapsDisplay only the gaps (available space) on given disk# symdisk -sid 1234 show 5A:C0 -gaps_onlyHow to find out datadevs in degraded status# symdev -sid 1234 -datadev -service_state notnormal list================================================================================ SYMMASK=======Set or clear the FC ID lockdown# symmask set lockdownSet or clear visibility in masking database so that host should find all devices, even if they are noncontiguous LUNs# symmask set visibilitySet or clear LUN base/offset skip for noncontiguous LUNs# symmask set lunoffsetSet the record in the database to hold information on the host type that may differ than the current setting on the corresponding FA# symmask set heterogeneousDiscover the WWN or iSCSI names of the HBAs on the host and writes the ASCII names to the login history table, if empty# symmask discover hbaDisplay list of devices seen by WWN of given HBA for given host# symmask list hba# symmask list hba -vDisplay WWNs logged into given FA port (displays the login history table contents)# symmask -sid 1234 list logins (for the whole array)# symmask -sid 1234 list logins -dir 3a -p 0 (on given port)# symaccess –sid 1234 list logins –dirport 5e:0 (on VMAX)How to mask the devices to given WWN (Add a device to the list of devices that a WWN can access – only for DMX)# symmask -sid 1234 -dir 8a -p 0 -wwn 100000012345678 add devs 200,200:205# symmask -sid 1234 -dir 9d -p 1 -wwn 100000012345679 add devs 46a:479,4b8 -dynamic_lun (in case dynamic_lun is in use)# symaccess –sid 1234 –name hostname_sga –type storage add devs 200,200:205 –lun 2c (on VMAX – to map from lun number 2c onwards)How to unmask the devices from given WWN (Remove a device from the list of devices that a WWN can access)# symmask -sid 1234 -dir 8a -p 0 -wwn 100000012345678 remove devs 20c,201:203# symaccess –sid 1234 –name hostname_sga –type storage remove devs 200,200:205 –unmap (on VMAX – removing and unmapping)Delete the login entries for a host on FA port# symmask -sid 1234 -wwn 100000012345678 delete -dir 8a -p 0 -loginHow to assign an alias name to a wwn logged into a FA port# symmask -sid 1234 -dir 8a -p 0 -wwn 10000001234567 rename hostname/hba1 (DMX)# symaccess -sid 1234 rename -wwn 10000001234567 -alias hostname/hba1 (VMAX)How to refresh masking database after masking the new luns to a WWN or removing the luns from a WWN (refresh WWN related memory tables with the contents of VCMDB)# symmask -sid 1234 refreshTurn on the flag for different OSs (D for Solaris; C,SC3,OS2007,SPC2 for Windows/VMWare, SPC2 for linux)On DMX# symmask -sid 1234 set hba_flags on D –enable -wwn 10000001234567 -dir 8C -p 1 (DMX) # symmask –sid 1234 refreshOn VMAX# symaccess –sid 1234 –type init show hostname_ig -detail# symaccess -sid 1234 set hba_flags on C,SC3,OS2007,SPC2 -enable –wwn 100000000123456 # symaccess -sid 1234 set hba_flags on C,SC3,OS2007,SPC2 -enable –name hostname_ig –type initGlobally on FA portset port 1d:0 SCSI_3=enable,SPC2_Protocol_Version=enable,SCSI_Support1=enable;================================================================================ SYMCONFIGURE============Verify that the changes can be made to the array# symconfigure -sid <sid> -f <filename> verifyConfirm that the syntax is correct# symconfigure -sid <sid> -f <filename> previewConfirm that the change is correct# symconfigure -sid <sid> -f <filename> prepareCommit the changes to the database# symconfigure -sid <sid> -f <filename> commitCreate IO Fencing devices for cluster# symconfigure -sid 1234 -cmd "create dev count=24, size=2184 cyl, emulation=FBA,config=2-Way-Mir disk_group=3;" prepareCreate gatekeepers# symconfigure -sid 1234 -cmd "create dev count=24, size=6 cyl, emulation=FBA,config=2-Way-Mir disk_group=3;" prepareCreate raid5 (7+1) thick device (when emulation mode is disabled number of cylinders should be halved to achieve the same size)# symconfigure -sid 1234 -cmd "create dev count=64, size=49604 cyl,emulation=FBA, data_member_count=7, config=raid-5 disk_group=3;" prepare# symconfigure -sid 1234 -cmd "create dev count=64, size=24802 cyl,emulation=FBA, data_member_count=7, config=raid-5 disk_group=3;" prepareCreate new replicated tdevs on local and remote arrays, bind them to pool, srdf pairing relationship between them# symconfigure -sid 1234 -cmd "create dev count=64, size=24802, emulation=FBA,config=RDF1+TDEV, dynamic_capability=dyn_rdf, remote_config=RDF2+TDEV, ra_group=1, binding to pool=source_rep_pool, remote_pool=target_rep_pool;" prepareModify FA Port settings# symconfigure -sid 1234 –cmd ‘set port1C:1 volume_set_addressing=enabled;’ prepare (this is a setting for HP systems)How to create metas from hypers# symconfigure -sid 1234 –cmd ‘form meta from dev 001 config=striped, stripe_size=1920; add dev 002:004 to meta 001;’ prepareHow to dissolve hypers from meta# symconfigure -sid 1234 –cmd ‘dissolve meta dev 04BE;‘ prepareHow to map the devices to FA port (if devices are not contiguous, then you would need a new line for each device –you can’t use commas to separate them)# cat map_devsmap dev 0200:0202 to dir 08b:0, starting lun=06e;map dev 0200:0202 to dir 09b:1, starting lun=06e;ORmap dev 0200 to dir 08b:0, lun=06e;map dev 0200 to dir 09b:1, lun=06e;map dev 0201 to dir 08b:0, lun=06f;map dev 0201 to dir 09b:1, lun=06f;# symconfigure -sid 1234 -file map_devs prepareRule of pair mapping (rule of 17):On DMXs – Ports are [3,4,7,8,9,10,13,14][a-d]. a to d, b to c with rule of 17 and ports opposed. So 3a:0 will be partnered with 14d:1. 4b:1 will be paired with 13c:0.On VMAXs – Ports are [5-12][e-h]. e to e, f to f, g to g, h to h with rule of 17. so 5f:0 will be 12f:0, 8g:0 will be 9g:0 and so on.How to unmap devices from FA ports (if devices are not contiguous, then you would need a new line for each device –you can’t use commas to separate them)# cat unmap_devsunmap dev 0200:0204 from dir 07B:1;unmap dev 0200:0204 from dir 04B:0;unmap dev 0206 from dir all:all;# symconfigure -sid 1234 -file unmap_devs prepareHow to set device attribute dyn_rdf on/off# symconfigure -sid 1234 -cmd 'set dev 1001:1004 attribute=dyn_rdf;' prepareHow to set SCSI3-Persistent Reserve# symconfigure -sid 1234 -cmd ‘set dev 2500:2502 attribute=SCSI3_persist_reserv;’ prepareHow to reclaim wasted space from a TDEV (Zero Space Reclaim)# symconfigure -sid 1234 -cmd 'free tdev 1A1B start_cyl=0 end_cyl=last_cyl type=zero;' prepare================================================================================ SYMDG/SYMLD===========Create a device group# symdg create testdgDelete a device group# symdg delete testdg -force (if it has members, use -force)Display the list of device groups# symdg list <-sid 1234>Show the details of a particular device group# symdg show testdgDisplay all the devices in a device group# symld -g testdg listAdd the devices to a device group# symld -sid 1234 addall -range 0200:0205 -g testdg (bulk)# symld -sid 1234 add dev 0200 -g testdg(individual)Remove the devices from a device group# symld -sid 1234 rmall -range 0200:0205 -g testdg (bulk)# symld remove dev DEV001 -g testdg (individual – must be logical name)How to write_disable disks in a device group# symld -sid 1234 -g testdg -sa ALL write_disable (disables devices in DG on all FAs) # symld -sid 1234 -g testdg -sa 9c -p 0 write_disable DEV001 (device number must be DEVXXX and can be obtained by symld -g testdg list)================================================================================VMAX====Bind TDEV to pool with preallocated storage# symconfigure -sid 1234 -cmd 'bind tdev 1001 to pool fast_pool preallocate size = 24802 CYL;' prepare# symconfigure -sid 1234 -cmd 'start allocate on tdev 1001 start_cyl=0 end_cyl=<last_cyl>;' prepare (in case above command fails or to allocate the storage later)Set the maximum subscription of a pool# symconfigure -sid 1234 -cmd "set pool fast_pool, type=thin, max_subs_percent=100;" prepareHow to list the views created on the array# symaccess -sid 1234 list view [–v]How to display details of a view created# symaccess -sid 1234 show view hostname_vwa -detailHow to list the groups created on the array# symaccess -sid 1234 list -type storage|port|initiatorHow to display the details of a group created# symaccess –sid 1234 show hostname_sga -type storage# symaccess –sid 1234 show hostname_iga -type initiator# symaccess –sid 1234 show arrayname_5e0_pga -type portHow to create initiator group# symaccess -sid 1234 create -name hostname_iga -type initiator (just create)# symaccess -sid 1234 create -name hostname_iga -type initiator -wwn 100000000000001How to add (or remove) a WWN from a Initiator group# symaccess -sid 1234 add -name hostname_iga -type initiator -wwn 100000000000001# symaccess -sid 1234 remove -name hostname_iga -type initiator -wwn 100000000000001How to create Storage Group and add devs at the same time# symaccess -sid 1234 create -name hostname_sga -type storage (just create)# symaccess -sid 1234 create -name hostname_sga -type storage devs 1001:1005How to add (or remove) devices to storage group# symaccess -sid 1234 add -name hostname_sga -type storage dev 1001# symaccess -sid 1234 remove -name hostname_sga -type storage dev 1001 -unmapHow to create a port group# symaccess -sid 1234 create -name arrayname_5e0_pga -type port (just create)# symaccess -sid 1234 create -name arrayname_5e0_pga -type port -dirport 5E:0How to add (or remove) director ports to a port group# symaccess -sid 1234 add -name arrayname_5e0_pga -type port -dirport 5E:0# symaccess -sid 1234 remove -name arrayname_5e0_pga -type port -dirport 5E:0How to create a view# symaccess -sid 1234 create view -name hostname_vwa -sg hostname_sga –ig hostname_iga -pg arrayname_5e0_pgaHow to rename a group# symaccess -sid 1234 rename -name hostname_sga -type storage -new_name newhost_sgaHow to rename a view# symaccess -sid 1234 rename view -name hostname_vwa -new_name newviewname_vwaHow to delete a view (unmapping the devs at the same time)# symaccess -sid 1234 delete view -name hostname_vwa -unmapHow to delete a initiator group# symaccess -sid 1234 delete -name hostname_iga -type initiatorError: Cannot perform the requested operation because the group is not empty# symaccess -sid 1234 delete -name hostname_iga -type initiator -nop -forceHow to delete a storage group# symaccess -sid 1234 delete -name hostname_sga -type storageError: Cannot perform the requested operation because the group is not empty# symaccess -sid 1234 delete -name hostname_sga -type storage -nop -forceHow to replace a wwn in a initiator group# symaccess -sid 1234 replace -wwn 100000000000001 -new_wwn 2000000000000002How to rename (alias) for a given WWN# symaccess -sid 1234 rename -wwn 100000000000001 -alias hostname/hba_a (this can be done from local symcli server only)How to check which storage group a device belongs to# symaccess –sid 1234 list -type storage –dev 1001How to check which initiator group a wwn belongs to# symaccess –sid 1234 list -type initiator -wwn 100000000000001How to check which port group a FA port belongs to# symaccess –sid 1234 list -type port -dirport 7f:1How to list all tdevs defined on the array# symdev -sid 1234 -tdev listHow to check the consumed capacity of a given tdev# symcfg -sid 1234 list -pool poolname -tdev -detail -gb | grep 1C4B# symcfg -sid 1234 list -pool poolname -tdev -range 1A11:1A1B -detail -gbHow to list all datadevs defined on the array# symdev –sid 1234 –datadev listHow to list all tdevs not bound to any pool# symdev -sid 1234 -tdev list -unboundHow to list all tdevs bound to given pool# symcfg -sid 1234 -tdev -pool testpoolHow to list all tdevs not assigned to any host# symdev -sid 1234 -tdev list -noport -unbound# symdev -sid 1234 -tdev list -noport -boundHow to see details of a pool (or list all tdevs bound to a pool or list all datadevs constituting the pool)# symcfg -sid 1234 show -pool fast_pool -thin -detailHow to unbind a tdev from pool# symconfigure -sid 1234 -cmd 'unbind tdev 1001 from pool fast_pool;' prepare# symconfigure -sid 1234 -cmd 'unbind tdev 1001:1004 fr om pool fast_pool;’ prepareHow to check the status of device being unbound# symcfg -sid 1234 show -pool fast_pool -thin -detail | grep UnbindHow to create TDEVs# symconfigure -sid 1234 -cmd "create dev count=1000, size=32GB, config=TDEV, emulation=fba, dynamic_capability=dyn_rdf, binding to pool=poolname;" prepareHow to create VDEVs# symconfigure -sid 1234 -cmd "create dev count=24, size=24802, emulation=FBA, config=VDEV;" prepareHow to create metas from TDEVs (TDEVS should not have been bound to any pool)# symconfigure -sid 1234 -cmd 'form meta from dev 1000, config=STRIPED, stripe_size=1920; add dev 1001:100F to meta 1000;' prepareHow to list the pools created on the array# symcfg -sid 1234 list -pool -thin -GBHow to rebalance the pool after adding extra datadevs# symconfigure -sid 1234 -cmd "start balancing on pool fast_pool type=thin;" prepare# symconfigure -sid 1234 -cmd "stop balancing on pool fast_pool type=thin;" prepare===================================================================================== SYMLMF========Display the array based license# symlmf –sid 1234 list -type emclmDisplay the host based license# symlmf list –type hostDisplay host based and array based licenses that apply to Symm array# symlmf –sid 1234 list –type symDisplay the state and usage number for all activated licenses on Symm 1234# symlmf –sid 1234 query –type emclmInstall the array based license# symlmf –sid 1234 add –type emclm –file <filename> -vInstall the host based license# symlmf add –type se –license LicenseNumberDelete the license# symlmf delete –type se –license <licensename> where <licensename> is FAST, SRDF, SRDf/Async etc===================================================================================== SYMINQ & SYMPD==============To see the status of all paths# syminq -fibre hbaList the devs that the host can access from an array (to be run on the target host) # sympd list# sympd listList device ids and symmetrix serial number of devices server can see# sympinq -pdevfile===================================================================================== SYMSTAT=======To get the stats for disks# symstat -sid 1234 -type disk -disk all -i 5 -c 1To get the stats for FAs – IOPS and KBPS# symstat -sid 1234 -type port -dir all -i 5 -c 1# symstat -sid 1234 -type port -dir 5f -i 5 -c 1===================================================================================== STORDAEMON==========To see the status of daemons# stordaemon list -allTo show details of a daemon# stordaemon show <name_of_daemon>To start a daemon# stordaemon start <name_of_daemon>To stop a daemon# stordaemon shutdown <name_of_daemon>=====================================================================================cheat sheet, emc, sym commands, symcliAbout sanaswatiView all posts by sanaswati →← BASH – If statement and comparison operatorsEMC –VLUN Migration →•View Comments (2)•Submit A Comment2 Responses to “EMC –SYMCLI”1.aashok 05/06/2013 at 5:44 pm # Replysyminq -fiber hbashould besyminq -fibre hbaoKetan Patel 12/06/2013 at 2:56 am # ReplyCorrect English vs Incorrect English Changed to what syminq think is correctSANSPIRE © 2014. All Rights Reserved.。
EMC Symmetrix 巡检系列巡检操作手册文档资料信息服务名称: EMC Symmetrix 巡检系列巡检操作手册客户服务代表: 文档版本号: 2.0 服务阶段: 文档版本日期:准备者: 准备日期:审定者: 审定日期:文档适用范围EMC Symmetrix DMX800/1000/2000/3000版本历史版本号: 版本日期: 修订者: 描述: 文件名:注意事项目录一、 EMC Symmetrix产品介绍(highsource维保产品) (4)1.1 DMX 800简单图示 (5)1.2 DMX1000简单图示 (11)1.3 DMX2000简单图示 (14)1.4 DMX3000简单图示 (18)二、 EMC Symmetrix巡检 (18)2.1 使用CE账号登陆SymmWin (19)2.2 key2success自检程序 (19)2.3 使用inline命令行进行查看 (22)2.4 Environmentals检测 (22)2.5 观察指示灯 (23)三、常见故障处理 (24)3.1 硬盘故障处理 (24)3.1.1 硬盘故障确认及定位 (24)3.1.2 在disk map中查看故障硬盘大小及转速 (26)3.1.3 更换故障硬盘 (27)3.2 DMX 800 SPS故障处理 (32)EMC Symmetrix 巡检系列巡检操作手册一、EMC Symmetrix产品介绍(highsource维保产品)1.1DMX 800简单图示RMS Definition of Terms•Storage Processor Enclosure (SPE ) – Symmetrix component of system with DMX director and memory boards•DAE – Disk Array Enclosure; designed by Clariion and holds 15 Fibre Channel drives•Katana – Clariion code name for DAE•FEBE – Front End / Back End board; combination of back adapters and DMX ECM/CCM•SPS – Standby Power Supply; equivalent to Symm6 battery•LCC – Link Control Card; equivalent to Symm6 PBCDMX800 is shown here with two SPE (Storage Processor Enclosure) each containing 4 directors, 2 memory boards, 2 FEBE (front-end/back-end) boards, Two 12V power supplies (PS1 & PS2) One fan module .KVM - Keyboard, View Screen & Mouse is an optional extra, management of DMX800 will normally be via CE laptop to a 1u server.DAE (Disk Array Enclosure) Contains 15 Fibre disk drives, 2 power supplies, 2 LCC (Link Control Card)1 SPS enclosure (2 SPS) (Standby Power Supply ) provides battery backup to SPE (battery on for only 90 seconds) SPS uses RS232 communication. 1 SPS enclosure (2 SPS) are provided per 2 DAE .DMX800 Storage Processor EnclosureDMX-800 - SPE Enclosure1.2DMX1000简单图示1.3DMX2000简单图示1.4DMX3000简单图示二、 EMC Symmetrix巡检2.1 使用CE账号登陆SymmWin点击login(登陆按钮),弹出loginscreen窗口,User type选择CE,Name随便输入,Password输入:sade (不区分大小写),点击登陆系统。
EMC SYMMETRIX VMAX 10KEMC ® Symmetrix ® VMAX ® 10K 与 Enginuity™ 操作环境相结合,为企业提供真正的第 1 层多控制器、具备整合能力和高效率的横向扩展体系结构。
VMAX 10K 采用了与 VMAX 20K 和 VMAX 40K 系统相同的革命性的 EMC Virtual Matrix Architecture 。
规格体系结构Virtual Matrix Architecture 使 IT 部门能够构建超越竞争对手阵列体系结构物理限制的存储系统。
这种体系结构允许通过被称为 VMAX 10K 引擎的通用且完全冗余的构造块来扩展系统资源。
单个 VMAX 10K 引擎即可为高可用性存储阵列奠定完整的基础。
每个引擎包含两个 VMAX 10K 控制器和多个用于实现与 EMC Virtual Matrix 互连的冗余接口。
每个控制器整合了前端、全局内存和后端功能,支持对数据进行直接内存访问以优化 I/O 操作。
多达四个 VMAX 10K 引擎,可通过一组提供可扩展的性能和高可用性的活动连接结构(包括多个)互连在一起。
可以无中断地添加 VMAX 10K 引擎,以横向扩展系统资源性能。
VMAX 10K 系统支持使用 2.5 英寸驱动器、3.5 英寸驱动器或在阵列中混合使用这两种类型的驱动器。
单个系统机架承载一个引擎和最多 10 个 3.5 英寸或混合配置磁盘阵列存储模块 (DAE),或者最多 12 个 2.5 英寸配置 DAE 。
可选存储机架(用于 3.5 英寸和混合配置阵列)承载最多 12 个 DAE 。
单引擎 VMAX 10K 最初可以只配置 24 个驱动器,以后可以纵向扩展到支持 1,560 个驱动器的四个引擎,达到 1.5 PB 的最大可用容量。
一个四引擎阵列可提供最多 512 GB 的缓存(每个引擎 128 GB )和最多 64 个主机或复制网络端口,包括光纤通道 (FC)、iSCSI 、FCoE 和 SRDF (端口最大数量因连接类型而异)。
SANSPIRE Inspired by SAN•Home•TechArticles»•Scripting»•About•ContactYou are here: Home > EMC – SYMCLIEMC – SYMCLIby sanaswati on 30/10/2012 in EMCIf I get a dollar for each time I searched for a sym command to achieve something, I would have been a one tenth of a millionaire by now Below is the cheat sheet I compiled to prevent me from becoming that one tenth of a millionaire.===================================================================================== SYMMASKDB=========Initialize the VCMDB (a device masking database)# symmaskdb -sid 1234 init -f vcmdb.dbBackup the VCMDB – backups the VCMDB database to a specified file# symmaskdb -sid 1234 -file <backup_filename> backupRestore the VCMDB – restores a database file# symmaskdb -sid 1234 -file <restore_filename> restoreRefresh the database (This is sometimes needed after masking on DMXs. It refreshes the array configuration and VCMDB)# symmask -sid 1234 refreshCheck whether devices are masked to any host# symmaskdb -sid 1234 -dev 7D5,03A4:03A7 list assignment (DMX)# symaccess -sid 1234 -dev 7D5,03A4:03A7 list assignment (VMAX)Check which devices are masked to given host# symmaskdb –sid 1234 list database# symmaskdb -sid 1234 list capacity -host hostA (DMX)# symmaskdb -sid 1234 list capacity -host hostA -dir 07a -p 1 (DMX)# symmaskdb -sid 1234 list database -wwn 10000000c979bf7e# symmaskdb -sid 1234 list database -wwn 10000000c9598ed5 -dir 07a -p 1# symmaskdb -sid 1234 list devs -wwn 10000000c9598ed5 (shows one line per device and its size, lun number etc)Check which devices are masked to given FA port# symmaskdb -sid 1234 list database -dir 11f -p 0===================================================================================== SYMDEV======List all devices within the array# symdev list# symdev -v list (will take a long time to run because of the sheer amount of output)See the detailed information about given device# symdev -sid 1234 show 0200Find out whether device is MAPPED to any ports (Note: ???:? indicates it is not mapped to any port; ***:* indicates it is mapped to more than one port)# symdev -sid 1234 show 513 (single device)# symdev -sid 1234 -range 6d0:6d4 list (multiple devices)# symdev -sid 1234 -range 6d0:6d4 list -multiport (multiple devices mapped to multiple ports – works with range only – could specify same device twice in the range if needed for a single device – for example 513:513)List which devices are mapped to FA ports# symdev -sid 1234 list -sa 09c -p 0List which devices (hypers/metas) are not mapped to any ports# symdev -sid 1234 -noport listHow to write disable several devices# cat devs12001201# symdev -sid 1234 write_disable -file devs -SA 8c -p 0# symdev -sid 1234 write_disable -file devs(This will disable devs on all ports)How to write disable only a single device# symdev -sid 1234 write_disable 0123 -SA all# symdev -sid 1234 write_disable 0123 -SA 3A -p 0How to change the status of device to “not_ready”# cat devs12001201# symdev -sid 1234 not_ready -file devs -SA 8c -p 0# symdev -sid 1234 not_ready -file devs (This will disable devs on all ports)# symdev -sid 1234 not_ready 0A2B -SA all (This will disable devs on all ports)# symdev -sid 1234 not_ready 0A2B -SA 3A -p 0 (This will disable devs on 3a:0 ports)================================================================================ SYMCFG======List of FA ports/WWN on given array# symcfg -sid 1234 -FA all list# symcfg -sid 1234 -FA 8C listList detailed information on a FA port# symcfg –sid 1234 -FA 11E list -vFind out the failed director (front end FA and disk DA)# symcfg -sid 1234 list -dir all => get the FA or DA number from here# symcfg -sid 1234 list -fa 5g -v | egrep "Negotiated Speed (GB/Second)" => speed should be a number# symcfg -sid 1234 list -da 5d -v | egrep "Director Status"Display details about array# symcfg –sid 1234 list -vList LUN addresses available on a given FA (and also to see which luns are mapped to which devices)# symcfg –sid 1234 list -address -available -fa 7e –p 0To find out which lun number is used to map a device for given hostOn VMAX # symaccess -sid 1234 show view hostname_vwa (Column “Host Lun” under Storage group name)On DMX # symmasksdb -sid 1234 list devs -wwn 50001234567890 (Column “HOST” under LUN)List which applications (symcfg/stpdaemon etc) are running the commands against given array # symcfg –sid 1234 -application listDisplay details (OS/IP/Hardware/hostname) about hosts that are accessing given array# symcfg –sid 1234 -connections listCheck the consumed capacity of TDEV (space consumed by a TDEV)# symcfg -sid 1234 list -pool poolname -tdev -detail -gb | grep 1C4B# symcfg -sid 1234 list -pool poolname -tdev -range 1A11:1A1B -detail -gb================================================================================ SYMDISK=======Display the summary information about diskgroups on given array# symdisk -sid 1234 list -dskgrp_summary -disk_group all# symdisk -sid 1234 list -dskgrp_summary -disk_group 1# symdisk -sid 1234 list -dskgrp_summaryDisplay details about disks in array separated by disk groups# symdisk -sid 1234 list -by_diskgroupDisplay details about disks in given diskgroup# symdisk -sid 1234 list -disk_group 1Display the list of disks configured as hotspares in the array# symdisk -sid 1234 list -hotspareDisplay the details of all hotspares in the array# symdisk -sid 1234 list -v -spare_infoDisplay the list of failed drives in the array# symdisk -sid 1234 list -failedDisplay list of all disks installed in the array# symdisk -sid 1234 listIdent Symb Int TIDVendor Type Hypr Total Free Actual------ ---- --- --- ---------- ---------- ---- ---------- ---------- ----------DF-5A 05A C 0SATAHGST C02THJK 24 953870 32940 1823565Disk ID would be 5A:C0Display the detailed information such as speed/make/model/diskgroup/hypers on disk# symdisk -sid 1234 show 5A:C0Display the gaps (available space) on given disk# symdisk -sid 1234 show 5A:C0 -gapsDisplay only the gaps (available space) on given disk# symdisk -sid 1234 show 5A:C0 -gaps_onlyHow to find out datadevs in degraded status# symdev -sid 1234 -datadev -service_state notnormal list================================================================================ SYMMASK=======Set or clear the FC ID lockdown# symmask set lockdownSet or clear visibility in masking database so that host should find all devices, even if they are noncontiguous LUNs# symmask set visibilitySet or clear LUN base/offset skip for noncontiguous LUNs# symmask set lunoffsetSet the record in the database to hold information on the host type that may differ than the current setting on the corresponding FA# symmask set heterogeneousDiscover the WWN or iSCSI names of the HBAs on the host and writes the ASCII names to the login history table, if empty# symmask discover hbaDisplay list of devices seen by WWN of given HBA for given host# symmask list hba# symmask list hba -vDisplay WWNs logged into given FA port (displays the login history table contents)# symmask -sid 1234 list logins (for the whole array)# symmask -sid 1234 list logins -dir 3a -p 0 (on given port)# symaccess –sid 1234 list logins –dirport 5e:0 (on VMAX)How to mask the devices to given WWN (Add a device to the list of devices that a WWN can access – only for DMX)# symmask -sid 1234 -dir 8a -p 0 -wwn 100000012345678 add devs 200,200:205# symmask -sid 1234 -dir 9d -p 1 -wwn 100000012345679 add devs 46a:479,4b8 -dynamic_lun (in case dynamic_lun is in use)# symaccess –sid 1234 –name hostname_sga –type storage add devs 200,200:205 –lun 2c (on VMAX – to map from lun number 2c onwards)How to unmask the devices from given WWN (Remove a device from the list of devices that a WWN can access)# symmask -sid 1234 -dir 8a -p 0 -wwn 100000012345678 remove devs 20c,201:203# symaccess –sid 1234 –name hostname_sga –type storage remove devs 200,200:205 –unmap (on VMAX – removing and unmapping)Delete the login entries for a host on FA port# symmask -sid 1234 -wwn 100000012345678 delete -dir 8a -p 0 -loginHow to assign an alias name to a wwn logged into a FA port# symmask -sid 1234 -dir 8a -p 0 -wwn 10000001234567 rename hostname/hba1 (DMX)# symaccess -sid 1234 rename -wwn 10000001234567 -alias hostname/hba1 (VMAX)How to refresh masking database after masking the new luns to a WWN or removing the luns from a WWN (refresh WWN related memory tables with the contents of VCMDB)# symmask -sid 1234 refreshTurn on the flag for different OSs (D for Solaris; C,SC3,OS2007,SPC2 for Windows/VMWare, SPC2 for linux)On DMX# symmask -sid 1234 set hba_flags on D –enable -wwn 10000001234567 -dir 8C -p 1 (DMX) # symmask –sid 1234 refreshOn VMAX# symaccess –sid 1234 –type init show hostname_ig -detail# symaccess -sid 1234 set hba_flags on C,SC3,OS2007,SPC2 -enable –wwn 100000000123456 # symaccess -sid 1234 set hba_flags on C,SC3,OS2007,SPC2 -enable –name hostname_ig –type initGlobally on FA portset port 1d:0 SCSI_3=enable,SPC2_Protocol_Version=enable,SCSI_Support1=enable;================================================================================ SYMCONFIGURE============Verify that the changes can be made to the array# symconfigure -sid <sid> -f <filename> verifyConfirm that the syntax is correct# symconfigure -sid <sid> -f <filename> previewConfirm that the change is correct# symconfigure -sid <sid> -f <filename> prepareCommit the changes to the database# symconfigure -sid <sid> -f <filename> commitCreate IO Fencing devices for cluster# symconfigure -sid 1234 -cmd "create dev count=24, size=2184 cyl, emulation=FBA,config=2-Way-Mir disk_group=3;" prepareCreate gatekeepers# symconfigure -sid 1234 -cmd "create dev count=24, size=6 cyl, emulation=FBA,config=2-Way-Mir disk_group=3;" prepareCreate raid5 (7+1) thick device (when emulation mode is disabled number of cylinders should be halved to achieve the same size)# symconfigure -sid 1234 -cmd "create dev count=64, size=49604 cyl,emulation=FBA, data_member_count=7, config=raid-5 disk_group=3;" prepare# symconfigure -sid 1234 -cmd "create dev count=64, size=24802 cyl,emulation=FBA, data_member_count=7, config=raid-5 disk_group=3;" prepareCreate new replicated tdevs on local and remote arrays, bind them to pool, srdf pairing relationship between them# symconfigure -sid 1234 -cmd "create dev count=64, size=24802, emulation=FBA,config=RDF1+TDEV, dynamic_capability=dyn_rdf, remote_config=RDF2+TDEV, ra_group=1, binding to pool=source_rep_pool, remote_pool=target_rep_pool;" prepareModify FA Port settings# symconfigure -sid 1234 –cmd ‘set port1C:1 volume_set_addressing=enabled;’ prepare (this is a setting for HP systems)How to create metas from hypers# symconfigure -sid 1234 –cmd ‘form meta from dev 001 config=striped, stripe_size=1920; add dev 002:004 to meta 001;’ prepareHow to dissolve hypers from meta# symconfigure -sid 1234 –cmd ‘dissolve meta dev 04BE;‘ prepareHow to map the devices to FA port (if devices are not contiguous, then you would need a new line for each device –you can’t use commas to separate them)# cat map_devsmap dev 0200:0202 to dir 08b:0, starting lun=06e;map dev 0200:0202 to dir 09b:1, starting lun=06e;ORmap dev 0200 to dir 08b:0, lun=06e;map dev 0200 to dir 09b:1, lun=06e;map dev 0201 to dir 08b:0, lun=06f;map dev 0201 to dir 09b:1, lun=06f;# symconfigure -sid 1234 -file map_devs prepareRule of pair mapping (rule of 17):On DMXs – Ports are [3,4,7,8,9,10,13,14][a-d]. a to d, b to c with rule of 17 and ports opposed. So 3a:0 will be partnered with 14d:1. 4b:1 will be paired with 13c:0.On VMAXs – Ports are [5-12][e-h]. e to e, f to f, g to g, h to h with rule of 17. so 5f:0 will be 12f:0, 8g:0 will be 9g:0 and so on.How to unmap devices from FA ports (if devices are not contiguous, then you would need a new line for each device –you can’t use commas to separate them)# cat unmap_devsunmap dev 0200:0204 from dir 07B:1;unmap dev 0200:0204 from dir 04B:0;unmap dev 0206 from dir all:all;# symconfigure -sid 1234 -file unmap_devs prepareHow to set device attribute dyn_rdf on/off# symconfigure -sid 1234 -cmd 'set dev 1001:1004 attribute=dyn_rdf;' prepareHow to set SCSI3-Persistent Reserve# symconfigure -sid 1234 -cmd ‘set dev 2500:2502 attribute=SCSI3_persist_reserv;’ prepareHow to reclaim wasted space from a TDEV (Zero Space Reclaim)# symconfigure -sid 1234 -cmd 'free tdev 1A1B start_cyl=0 end_cyl=last_cyl type=zero;' prepare================================================================================ SYMDG/SYMLD===========Create a device group# symdg create testdgDelete a device group# symdg delete testdg -force (if it has members, use -force)Display the list of device groups# symdg list <-sid 1234>Show the details of a particular device group# symdg show testdgDisplay all the devices in a device group# symld -g testdg listAdd the devices to a device group# symld -sid 1234 addall -range 0200:0205 -g testdg (bulk)# symld -sid 1234 add dev 0200 -g testdg(individual)Remove the devices from a device group# symld -sid 1234 rmall -range 0200:0205 -g testdg (bulk)# symld remove dev DEV001 -g testdg (individual – must be logical name)How to write_disable disks in a device group# symld -sid 1234 -g testdg -sa ALL write_disable (disables devices in DG on all FAs) # symld -sid 1234 -g testdg -sa 9c -p 0 write_disable DEV001 (device number must be DEVXXX and can be obtained by symld -g testdg list)================================================================================VMAX====Bind TDEV to pool with preallocated storage# symconfigure -sid 1234 -cmd 'bind tdev 1001 to pool fast_pool preallocate size = 24802 CYL;' prepare# symconfigure -sid 1234 -cmd 'start allocate on tdev 1001 start_cyl=0 end_cyl=<last_cyl>;' prepare (in case above command fails or to allocate the storage later)Set the maximum subscription of a pool# symconfigure -sid 1234 -cmd "set pool fast_pool, type=thin, max_subs_percent=100;" prepareHow to list the views created on the array# symaccess -sid 1234 list view [–v]How to display details of a view created# symaccess -sid 1234 show view hostname_vwa -detailHow to list the groups created on the array# symaccess -sid 1234 list -type storage|port|initiatorHow to display the details of a group created# symaccess –sid 1234 show hostname_sga -type storage# symaccess –sid 1234 show hostname_iga -type initiator# symaccess –sid 1234 show arrayname_5e0_pga -type portHow to create initiator group# symaccess -sid 1234 create -name hostname_iga -type initiator (just create)# symaccess -sid 1234 create -name hostname_iga -type initiator -wwn 100000000000001How to add (or remove) a WWN from a Initiator group# symaccess -sid 1234 add -name hostname_iga -type initiator -wwn 100000000000001# symaccess -sid 1234 remove -name hostname_iga -type initiator -wwn 100000000000001How to create Storage Group and add devs at the same time# symaccess -sid 1234 create -name hostname_sga -type storage (just create)# symaccess -sid 1234 create -name hostname_sga -type storage devs 1001:1005How to add (or remove) devices to storage group# symaccess -sid 1234 add -name hostname_sga -type storage dev 1001# symaccess -sid 1234 remove -name hostname_sga -type storage dev 1001 -unmapHow to create a port group# symaccess -sid 1234 create -name arrayname_5e0_pga -type port (just create)# symaccess -sid 1234 create -name arrayname_5e0_pga -type port -dirport 5E:0How to add (or remove) director ports to a port group# symaccess -sid 1234 add -name arrayname_5e0_pga -type port -dirport 5E:0# symaccess -sid 1234 remove -name arrayname_5e0_pga -type port -dirport 5E:0How to create a view# symaccess -sid 1234 create view -name hostname_vwa -sg hostname_sga –ig hostname_iga -pg arrayname_5e0_pgaHow to rename a group# symaccess -sid 1234 rename -name hostname_sga -type storage -new_name newhost_sgaHow to rename a view# symaccess -sid 1234 rename view -name hostname_vwa -new_name newviewname_vwaHow to delete a view (unmapping the devs at the same time)# symaccess -sid 1234 delete view -name hostname_vwa -unmapHow to delete a initiator group# symaccess -sid 1234 delete -name hostname_iga -type initiatorError: Cannot perform the requested operation because the group is not empty# symaccess -sid 1234 delete -name hostname_iga -type initiator -nop -forceHow to delete a storage group# symaccess -sid 1234 delete -name hostname_sga -type storageError: Cannot perform the requested operation because the group is not empty# symaccess -sid 1234 delete -name hostname_sga -type storage -nop -forceHow to replace a wwn in a initiator group# symaccess -sid 1234 replace -wwn 100000000000001 -new_wwn 2000000000000002How to rename (alias) for a given WWN# symaccess -sid 1234 rename -wwn 100000000000001 -alias hostname/hba_a (this can be done from local symcli server only)How to check which storage group a device belongs to# symaccess –sid 1234 list -type storage –dev 1001How to check which initiator group a wwn belongs to# symaccess –sid 1234 list -type initiator -wwn 100000000000001How to check which port group a FA port belongs to# symaccess –sid 1234 list -type port -dirport 7f:1How to list all tdevs defined on the array# symdev -sid 1234 -tdev listHow to check the consumed capacity of a given tdev# symcfg -sid 1234 list -pool poolname -tdev -detail -gb | grep 1C4B# symcfg -sid 1234 list -pool poolname -tdev -range 1A11:1A1B -detail -gbHow to list all datadevs defined on the array# symdev –sid 1234 –datadev listHow to list all tdevs not bound to any pool# symdev -sid 1234 -tdev list -unboundHow to list all tdevs bound to given pool# symcfg -sid 1234 -tdev -pool testpoolHow to list all tdevs not assigned to any host# symdev -sid 1234 -tdev list -noport -unbound# symdev -sid 1234 -tdev list -noport -boundHow to see details of a pool (or list all tdevs bound to a pool or list all datadevs constituting the pool)# symcfg -sid 1234 show -pool fast_pool -thin -detailHow to unbind a tdev from pool# symconfigure -sid 1234 -cmd 'unbind tdev 1001 from pool fast_pool;' prepare# symconfigure -sid 1234 -cmd 'unbind tdev 1001:1004 from pool fast_pool;’ prepareHow to check the status of device being unbound# symcfg -sid 1234 show -pool fast_pool -thin -detail | grep UnbindHow to create TDEVs# symconfigure -sid 1234 -cmd "create dev count=1000, size=32GB, config=TDEV, emulation=fba, dynamic_capability=dyn_rdf, binding to pool=poolname;" prepareHow to create VDEVs# symconfigure -sid 1234 -cmd "create dev count=24, size=24802, emulation=FBA, config=VDEV;" prepareHow to create metas from TDEVs (TDEVS should not have been bound to any pool)# symconfigure -sid 1234 -cmd 'form meta from dev 1000, config=STRIPED, stripe_size=1920; add dev 1001:100F to meta 1000;' prepareHow to list the pools created on the array# symcfg -sid 1234 list -pool -thin -GBHow to rebalance the pool after adding extra datadevs# symconfigure -sid 1234 -cmd "start balancing on pool fast_pool type=thin;" prepare# symconfigure -sid 1234 -cmd "stop balancing on pool fast_pool type=thin;" prepare===================================================================================== SYMLMF========Display the array based license# symlmf –sid 1234 list -type emclmDisplay the host based license# symlmf list –type hostDisplay host based and array based licenses that apply to Symm array# symlmf –sid 1234 list –type symDisplay the state and usage number for all activated licenses on Symm 1234# symlmf –sid 1234 query –type emclmInstall the array based license# symlmf –sid 1234 add –type emclm –file <filename> -vInstall the host based license# symlmf add –type se –license LicenseNumberDelete the license# symlmf delete –type se –license <licensename> where <licensename> is FAST, SRDF, SRDf/Async etc===================================================================================== SYMINQ & SYMPD==============To see the status of all paths# syminq -fibre hbaList the devs that the host can access from an array (to be run on the target host) # sympd list# sympd listList device ids and symmetrix serial number of devices server can see# sympinq -pdevfile===================================================================================== SYMSTAT=======To get the stats for disks# symstat -sid 1234 -type disk -disk all -i 5 -c 1To get the stats for FAs – IOPS and KBPS# symstat -sid 1234 -type port -dir all -i 5 -c 1# symstat -sid 1234 -type port -dir 5f -i 5 -c 1===================================================================================== STORDAEMON==========To see the status of daemons# stordaemon list -allTo show details of a daemon# stordaemon show <name_of_daemon>To start a daemon# stordaemon start <name_of_daemon>To stop a daemon# stordaemon shutdown <name_of_daemon>=====================================================================================cheat sheet, emc, sym commands, symcliAbout sanaswatiView all posts by sanaswati →← BASH – If statement and comparison operators EMC – VLUN Migration →• View Comments (2)• Submit A Comment 2 Responses to “EMC – SYMCLI”1. aashok 05/06/2013 at 5:44 pm # Reply syminq -fiber hbashould besyminq -fibre hbao Ketan Patel 12/06/2013 at 2:56 am # Reply Correct English vs Incorrect EnglishChanged to what syminq think is correctSANSPIRE © 2014. All Rights Reserved.。
映射磁盘管理系列(一)Symmetrix磁盘映射工作原理介绍原文出处:EMC中文支持论坛Symmetrix映射磁盘设备管理系列主要介绍配置主机访问Symmetrix阵列的方法。
本系列共分10个章节:(一)磁盘映射工作原理(二)磁盘映射控制概述(三)磁盘映射拓扑结构(四)配置磁盘映射(五)显示主机HBA(六)添加映射磁盘设备(七)维护磁盘设备数据库(八)查看VCMDB(九)主机总线适配器(HBA)管理(十)光纤通道与主机的接口管理更多信息磁盘映射概述:SYMCLI可以用关联一个或者多个磁盘设备到Symmetrix阵列的FA前端口和主机的HBA的方式,对主机与磁盘设备映射的访问进行进行控制和分配。
VCMDB数据库作为主要存放磁盘映射信息的载体,它会对于每个Symmetrix阵列维护一个访问控制记录,从而防止多个主机对同一个磁盘设备进行读写。
这种做法叫做定义Masked Channel。
磁盘映射命令还能被用来配置多个主机访问一个FA前端口,这种方式在多类型主机的情况下很有用。
然而,用户也可以通过使用光纤ID锁定的方式来对WWN欺骗进行保护。
磁盘映射的工作原理:有些情况下,如果用户定义了Masked Channel,允许多台主机连接到某个Symmetrix的Director 上,会有潜在冲突使得多个主机同时访问和使用一同组磁盘设备。
为了避免这种情况,用户可以使用磁盘映射功能,在VCMDB中维护一组记录,来控制和维护阵列中的磁盘设备与主机之间的访问关系。
VCMDB中的记录内容包括主机的HBA标识(HBA端口和WWN),它与FA前端口和映射到FA前端口的磁盘设备关联,从而保证只有特定的HBA可以看到。
一旦用户创建了VCMDB记录然后激活配置,Symmetrix阵列,VCMDB 表明这些磁盘设备是可以通过相关的FA端口被主机的Initiator的WWN访问。
VCMDB中,每个Director 控制最多256个不同的WWN或者512个iSCSI(从Enginuity微码版本5771开始)。
EMC高端存储方案介绍第1章高端存储产品介绍1.1EMC VMAX 10K存储阵列1.1.1 SYMMETRIX VMAX简介目前,企业正在寻求方法降低成本,同时为其客户提供更高级别的服务。
服务器虚拟化正在推动向更高效数据中心的转变。
这些虚拟环境都要求更低的成本、简化的管理、更高的可扩展性、更大的灵活性,以及横向扩展存储的能力。
EMC以悠久的创新历史(包括500多项专利)为基础,通过采用Enginuity的全新Symmetrix VMAX系列推动了Symmetrix 平台的发展。
无怪乎世界各地各种规模的企业纷纷选购Symmetrix,使其在高端存储市场中的份额位居第一。
Symmetrix VMAX 系列是仅有的专为虚拟数据中心构建的存储系统,支持企业:•通过横向扩展和存储分层降低成本•为关键应用程序提供更高级别的服务•利用前所未有的性能和规模•实现无与伦比的应用程序可用性•依靠安全的信息基础架构•实现最高级别的安全性当今虚拟数据中心的存储要求Symmetrix 是元老级的存储平台,它曾让存储行业发生了革命性的变化,其非凡的表现已向世人证明,它是当之无愧的高端存储黄金标准。
它将继续领导本行业,为世界上最关键的应用程序提供高可用性、高性能的存储。
今天,Symmetrix 凭借其创新性已创建了多种行业级存储类别,如外部存储阵列、企业存储,以及本地和远程复制。
Symmetrix 还实现了多项业界第一,其中包括“机箱内”分层存储、高级多站点复制、在单个阵列中支持高达PB级的可用容量、支持第1层超高性能要求的本机企业级闪存驱动器,以及最近的子LUN针对虚拟池的全自动存储分层(FAST VP,可针对动态工作负载环境持续优化性能)。
IT 环境正在经历从物理环境到虚拟环境的过渡。
虚拟化正在数据中心中加速发展。
大多数IT企业已在归其IT 所有的应用程序(如测试、开发以及较小型数据库和应用程序)中成功部署虚拟化。
他们的下一步便是虚拟化其业务生产和第1 层应用程序,如ERP、电子邮件和客户支持应用程序。
CX/AX系列磁盘阵列每系统最大容量每个阵列的HA 主机数最大逻辑单元数每个阵列的主机端口数系统缓存每个阵列的驱动器数磁盘类型软件主机支持EMC CLARiiON CX3 机型80 237 TB 256 2048 8 FC 16 GB 480 光纤通道和SATA IINavisphere 管理套件、Navisphere Quality of ServiceManager、SnapView、MirrorView、SAN Copy、Replication Manager/SE、RecoverPoint/SE、PowerPath、VisualSRMWindows、Linux、Solaris、HP-UX、AIX、VMwareEMC CLARiiON CX3机型40 119 TB 128 2048 8 FC 或4FC 和8 IP8 GB 240 光纤通道和SATA IINavisphere 管理套件、Navisphere Quality of ServiceManager、SnapView、MirrorView、SAN Copy、Replication Manager/SE、RecoverPoint/SE、PowerPath、VisualSRMWindows*、Linux*、Solaris、HP—UX、AIX、VMwareEMC CLARiiON CX3机型20 59 TB 128 1024 12 FC 或4FC 和8 IP4 GB 120 光纤通道和SATA IINavisphere 管理套件、Navisphere Quality of ServiceManager、SnapView、MirrorView、SAN Copy、Replication Manager/SE、RecoverPoint/SE、PowerPath、Windows*、Linux*、Solaris、HP—UX、AIX、VMwareVisualSRMEMC CLARiiON CX3机型1027 TB 4 FC 或4 IP 2GB 60 光纤通道和SATASnapView™、MirrorView™、RecoverPoint/SE、在线升级、Navisphere® Manager、Navisphere Analyzer、NavisphereQuality of Service Manager、CLARalert™、SAN Copy™、VisualSAN®/VisualSRM™:、Replication Manager 系列EMC CLARiiON CX300/CX300i 27 TB 64 512 4 FC 或4 IP 2 GB 60 光纤通道和SATANavisphere 管理套件、Navisphere Quality of ServiceManager、SnapView、SANCopy/E(仅用于CX300)、Replication Manager/SE、RecoverPoint/SE、FullTimeRepliStor、PowerPath、VisualSAN、VisualSRMWindows*、Linux*、NetWare、Solaris、HP-UX、AIX、Tru64、VMwareEMC CLARiiON AX150/AX150i 6 TB 10 256 4 FC 或4 IP 1 GB 12 串行ATA II(SATA II)AX150 集成软件套件、Navisphere Manager、SANCopy/E(仅用于AX150)、VisualSRM、ReplistorWindows*、Linux*、NetWare、Solaris、VMwareEMC CLARiiON AX100/AX100i 6 TB 10 256 4 FC 或4 IP 1 GB 12 串行ATA I(SATA I)AX150 集成软件套件、Navisphere Manager、SANCopy/E(仅用于AX150)、VisualSRM、ReplistorWindows*、Linux*、NetWare、Solaris、VMware*iSCSI 连接性SnapView™:提供无中断备份和克隆的信息的时间点视图MirrorView™:通过远程同步复制提供灾难防护RecoverPoint/SE:通过远程异步复制提供灾难防护在线升级:在线升级存储软件和FLARE 操作系统Navisphere® Manager:提供全面的配置、管理和事件通知功能Navisphere Analyzer:提供全面的性能、管理和趋势分析Navisphere Quality of Service Manager:应用程序服务级别监视和管理CLARalert™:提供持续的系统监控、呼叫总部通知和远程诊断功能PowerPath®:提供路径故障切换以实现连续数据存取,并提供动态负载平衡SAN Copy™:允许在不同的阵列(如CLARiiON、Symmetrix®、HP StorageWorks)之间进行本地或远距离数据移动VisualSAN®/VisualSRM™:提供数据保护、共享存储存取、SAN 管理功能Replication Manager 系列:管理复制过程(主机和复制软件)以集成SnapView 和MirrorView 操作VMware®:用CLARiiON 存储实现服务器整合EMC Symmetrix 高端网络存储系统最大驱动器数量最大容量主机端口数内存控制器系统缓存连通性可扩展240/240 1054 T 8/64 x 2 Gb 光纤通道2-8 256 GB 64 x 4 Gb FC64 x 2 Gb FC64 x ESCON48 x 2 Gb FICON8 x GigE SRDF48 x iSCSI集成576 230 TB 64 x 2 Gb 光纤通道4—8 256 GB 64 x 2 Gb FC64 x ESCON32 x 2 Gb FICON8 x GigE SRDF32 x iSCSI可扩展32/360 180 TB 8/16 x 2Gb光纤通道 2 64 GB 16 x 4 Gb FC16 x 2 Gb FC8 x GigE SRDF10 x GigE iSCSI集成288 118 TB 32/64 x 2 Gb光纤通道4-8 256 GB 64 x 2 Gb FC64 x ESCON48 x 2 Gb FICON8 x GigE SRDF48 x iSCSI集成144 60 TB 16/32 x 2 Gb光纤通道2—4 128 GB 48 x 2 Gb FC48 x ESCON24 x 2 Gb FICON8 x GigE SRDF24 x iSCSI可扩展60/120 29/58 TB 8/16 x 2 Gb光纤通道 2 64 GB 8/16 x 2 Gb FC4 x 2 Gb FICON4 x GigE SRDF4 x GigE iSCSI*上述端口类型的混配取决于配置。
高大上的EMC Symmetrix系列(DMX/VMAX)承担了众多的客户关键业务,但在做存储系统维护时总是提到一个动态密码或者口令的东西,外行人员对这个充满了疑惑,对采取这种动态密码机制不理解,甚至有些偏激,认为厂商设置了一些服务障碍。
本文将对动态密码(Service Credential)进行一些说明和解释,消除大家对该机制的误解。
什么是Symmetrix产品系列?很多客户听说过EMC 的DMX和VMAX产品,但是没有听说过Symmetrix,也不清楚Symmetrix和DMX以及VMAX的关系。
Symmetrix是EMC的高端存储整列统一名称,该产品系列包含不同的产品型号,如大家耳熟能详的DMX3,DMX4以及VMAX等。
类似于中端系列VNX,包含不同的产品型号,如VNX5100,5200,5400等等。
Symmetrix产品系列运行在一个叫做Enginuity的操作系统之上,不同的产品型号运行不同的Enginuity 操作系统版本,EMC叫做code。
如DMX3和4,目前的target主版本是5773,VMAX1和2代在5876,刚刚发布的VMAX3代是5977。
在主版本上,有不同的小版本。
理解了Symmetrix以及Enginuity code后,我们再来看动态密码。
什么是动态密码(Service Credential)?EMC Symmetrix的动态密码(Service Credential)是从Symmetrix 5772版本以后引入的新功能,采用RSA安全加密机制。
大家知道,RSA是目前民用的最高加密算法,基本上要破解RSA加密不太可能。
该动态密码用来防止非授权人员登录Symmetrix产品的维护工具(SymmWin),而不是我们过去的很多误解,认为是用来阻止用户对Symmetrix存储系统的访问。
SymmWin是EMC开发的专门针对Symmetrix 存储系统的维护工具,该工具为EMC专利保护,并只能由EMC的授权人员使用,并没有作为一个软件产品卖给客户。
EMC Symmetrix DMX 日常监控方法客户操作及代码说明EMC客户服务支持团队1/8/2010本文档仅供EMC客户使用,未经EMC公司授权,不得复制、转载、出版和传播EMC公司推荐客户使用EMC 远程监控及支持系统(包括call home,Webex、ESRS等多种模式),客户也可以通过本文中提及的方法,实现对EMC Symmetrix DMX系列产品的监控。
一、在主机上建立或更新存储设备信息:这个操作在监控主机上执行一次后,将会在监控主机上建立存储设备信息的数据库,以后只有在存储设备配置变更后,才需要重新执行,用来更新存储配置信息。
登录到安装有Solutions Enabler的主机,执行以下命令(需要一至二分钟):symcfg discoverSolutions Enabler安装目录UNIX: /usr/symcli/binWindows: C:\Program Files\EMC\SYMCLI\bin二、使用以下命令列出该主机所连接的存储信息:symcfg list列出主机所连接的存储,包括local和remote,输出示例如下:S Y M M E T R I XMcode Cache Num Phys Num Symm SymmID Attachment Model Version Size (MB) Devices Devices000290xxxx26 Local DMX4 5773 65536 0 1042000290xxxx82 Remote DMX4 5773 65536 0 353三、查看存储设备的日志信息:symevent -sid <sn> -v list -start <start date> [-end <end date>]收集序列号为SN的盘阵在start date到end date之间的日志信息。
例如:symevent -sid 19 list -start 12/20/2009此命令为收集序列号尾数为19的盘阵在2009年12月20日以来的日志信息。
EMC Symmetrix DMX 日常监控方法客户操作及代码说明一、在主机上建立或更新存储设备信息:这个操作在监控主机上执行一次后,将会在监控主机上建立存储设备信息的数据库,以后只有在存储设备配置变更后,才需要重新执行,用来更新存储配置信息。
登录到安装有Solutions Enabler的主机,执行以下命令(需要一至二分钟):symcfg discoverSolutions Enabler安装目录UNIX: /usr/symcli/binWindows: C:\Program Files\EMC\SYMCLI\bin二、使用以下命令列出该主机所连接的存储信息:symcfg list列出主机所连接的存储,包括local和remote,输出示例如下:S Y M M E T R I XMcode Cache Num Phys Num Symm SymmID Attachment Model Version Size (MB) Devices Devices000290xxxx26 Local DMX4 5773 65536 0 1042000290xxxx82 Remote DMX4 5773 65536 0 353三、查看存储设备的日志信息:symevent -sid <sn> -v list -start <start date> [-end <end date>]收集序列号为SN的盘阵在start date到end date之间的日志信息。
例如:symevent -sid 19 list -start 12/20/2009此命令为收集序列号尾数为19的盘阵在2009年12月20日以来的日志信息。
如果仅有以下输出:Symmetrix ID: 000290xxxx19则表明存储系统在此期间没有Event出现。
如果输出示例如下:Symmetrix ID: 000290xxxx19Time Zone : GMT Standard TimeEvent at Tue Feb 24 08:20:18 2009:Reporting Director : DF-1ASource : Service ProcessorCategory : EnvironmentSeverity : ErrorNumeric Code : 0x006aEvent Code Symbol : SYMAPI_SEVT_DAE_PSB_FAULTEDDescription : Environmental Error: Power Supply B faulted需要关注以下几项:Detection time : 日志时间,为存储设备时间,可能与本地实际时间不同。
EMC Symmetrix 系列:比较数据高端网络存储系统
Symmetrix
V-Max 规格表Symmetrix V-Max
SE
规格表
DMX-4
规格表
DMX-4
950
规格表
最
大
驱
动
器
数
2400 360 2400 360
原
始
容
量
2.36 PB 354 TB 1.05 PB 180 TB
可
用
容
量
2.06 PB 303 TB < 1 PB 64 GB
最
大
集
成
控
制
器
数
16 2 暂缺暂缺
连接类型FC、FICON、GbE、
iSCSI
FC、FICON、GbE、
iSCSI
FC、ESCON、FICON、
GbE、iSCSI
FC、GbE、
iSCSI
最大连接能力最多 128 个端口
(取决于连接类
型)
最多 16 个端口
(取决于连接类
型)
最多 64 个端口
(取决于连接类
型)
最多 16
个端口
(取决于
连接类
型)
最大SRD F 端口数32 个 FC 或 GbE
SRDF 端口
4 个 FC 或 GbE
SRDF 端口
8 个 GbE SRDF 端
口
8 个 GbE
SRDF 端
口
注意:* 上述端口类型的混合组合取决于配置。
要了解具体的配置支持,请参阅“EMC 支持列表”或与您当地的EMC 代表联系。