《5393192105vPlex实施方案.doc》由会员分享,可在线阅读,更多相关《5393192105vPlex实施方案.doc(32页珍藏版)》请在三一办公上搜索。
1、VPLEX实施方案 EMC公司VPLEX LOCAL实施方案2011-12-07目 录1项目背景32现有环境42.1目前拓扑结构42.2设备信息42.2.1主机信息42.2.2SAN交换机42.2.3存储系统53VPLEX LOCAL方案设计63.1总体规划63.2环境准备及要求63.2.1VPLEX物理要求63.2.2生产主机63.2.3存储设备63.2.4SAN交换机73.3VPLEX规划73.3.1IP规划73.3.2VPLEX端口规划73.4生产主机73.5SAN交换机83.5.1PORT规划83.5.2ZONE规划93.6存储阵列103.6.1VNX5300 LUN规划104实施步骤
2、114.1配置VPLEX LOCAL114.2配置VPLEX后端口zone204.3配置VNX5300214.4创建Metavolume214.5VPLEX封装LUN234.6创建Loggingvolume244.7升级主机PowerPath254.8配置VPLEX前端口zone254.9创建Storage-view254.10验证数据的完整性264.11安全回退264.12恢复VPLEX架构275附:285.1VPLEX管理方法285.2物理架构301 项目背景随着业务不断扩大,信息系统显得更加重要。目前有TRIBON系统、文件服务器、SQL server数据库等应用系统。操作系统均为win
3、downs2003。通过两台光线交换机与CX500、VNX5300连接。CX500存储原来的老数据,现应用系统数据已经全部迁移到VNX5300。本项目中EMC提供存储虚拟化VPLEX LOCAL,通过在现有的SAN环境加入VPLEX设备,来实现对VNX5300的统一管理,以便将来扩展存储,进一步实现存储间的数据迁移、存储间的Mirror。2 现有环境2.1 目前拓扑结构2.2 设备信息经过前期信息调研,设备信息统计如下:2.2.1 主机信息Tribon serverFile ServerOSWindows2003Windows2003IP10.1.1.9210.1.1.6Loadbalance
4、PowerPath5.0.0.94PowerPath5.0.0.94HBA1_ wwn21:00:00:24:ff:04:43:f621:00:00:24:ff:04:43:b2HBA2_ wwn21:00:00:24:ff:04:43:2421:00:00:24:ff:04:94:1aclusterN/AN/A2.2.2 SAN交换机switchnameDS_200BDS_300BModelEMC DS200BEMC DS300BFirmwarev5.2.1v6.3.1aIP10.1.1.17210.1.1.12Available Ports910speed4GB8GB2.2.3 存储系统S
5、torageVNX5300ModelEMC VNX5300Code31IP10.1.1.25Available Cap.2TB3 VPLEX LOCAL方案设计3.1 总体规划本项目VPLEX配置为两个引擎,硬件版本VS2,软件版本5.01。最终实现用户原有存储VNX5300被VPLEX统一管理,但需要保证用户可以安全退回无VPLEX架构。所以在创建device时需要采用1:1方式,以便用户可以安全回退到主机与存储通过交换机的直连架构,保证数据完整可用。3.2 环境准备及要求3.2.1 VPLEX物理要求 准备两路220-240V、32A航空电源插头供VPLEX机柜使用 光纤延时不得超过2ms
6、 准备一根网线用于VPLEX管理 准备一个IP地址用于VPLEX管理 准备8根光纤线用于VPLEX Engine1、Engine2前端口连接DS200B、DS300B交换机 准备8根光纤线用于VPLEX Engine1、Engine2后端口连接DS200B、DS300B交换机3.2.2 生产主机 多路径管理软件为Powerpath5.0需要升级powerpath5.3或以上3.2.3 存储设备 准备一跟光纤跳线用于VNX5300到DS200B连接 需要划分4*80GB Lun做为meta-volume 需要划分1*10GB Lun做为logging-volume以备将来使用3.2.4 SAN交
7、换机 两台SAN交换机分别需要为VPLEX预留6个端口,其中4个为后端口,2个前端口 需要增加VPLEX后端口与存储的zone,均为WWN zone 需要增加VPLEX前端口与主机的zone,均为WWN zone 两台冗余交换机分别为200B(4GB)与300B(8GB),需要将300B交换机降至4GB3.3 VPLEX规划3.3.1 IP规划VPLEXHostnameBHIP10.1.1.18 Netmask255.0.0.0Gateway 10.1.1.150usernameservicepasswordMiDim7T3.3.2 VPLEX端口规划ENGINEDirectorFrontPo
8、rtBackPort1A00,2B00,22A00,2B00,23.4 生产主机在配置VPLEX时需要为生产主机申请停机时间,以便停止业务后通过VPLEX重新认盘ApplicationTribon serverFile ServerhostnameBhms5tribondataIP10.1.1.9210.1.1.6loadbalancepowerpath5.3SP1powerpath5.3SP1HBA1_wwn21:00:00:24:ff:04:43:f621:00:00:24:ff:04:43:b2HBA2_wwn21:00:00:24:ff:04:43:2421:00:00:24:ff:0
9、4:94:1a3.5 SAN交换机3.5.1 PORT规划Switch NameDS200BSwitch Domain ID1Switch IP10.1.1.172Switch FirmwareV6.3.1aSwitch LicenseConnectionWWPNSwitch PortCX50050:06:01:68:30:21:23:e11,01,1Bhms321:00:00:e0:8b:91:7a:ee1,21,3CX50050:06:01:60:30:21:23:e11,4Ksprint21:00:00:e0:8b:91:61:5c1,51,6Bhms521:00:00:24:ff:04
10、:43:241,7tribondata21:00:00:24:ff:04:94:1a1,8VPLEX_E1BF050:00:14:42:70:73:26:001,9VPLEX_E2AB350:00:14:42:60:77:6d:121,10VPLEX_E1AB350:00:14:42:60:73:26:121,11VNX530050:06:01:68:3e:a0:0f:391,12VPLEX_E2BF050:00:14:42:70:77:6d:001,13VPLEX_E2BB350:00:14:42:70:77:6d:121,14VPLEX_E1BB350:00:14:42:70:73:26:
11、121,15Switch NameDS300BSwitch Domain ID1Switch IP10.1.1.12Switch FirmwareV6.3.1aSwitch LicenseConnectionWWPNSwitch Port1,0带库50:03:08:c3:8b:5b:20:051,1I4021:00:00:1b:32:10:90:cd1,2VNX530050:06:01:60:3e:a0:0f:391,3Bhms521:00:00:24:ff:04:43:f61,4triondata21:00:00:24:ff:04:43:b21,51,61,71,8VPLEX_E1AF050
12、:00:14:42:60:73:26:001,9VPLEX_E2AB050:00:14:42:60:77:6d:101,10VPLEX_E1AB050:00:14:42:60:73:26:101,111,12VPLEX_E2AF050:00:14:42:60:77:6d:001,13VPLEX_E2BB050:00:14:42:70:77:6d:101,14VPLEX_E1BB050:00:14:42:70:73:26:101,153.5.2 ZONE规划SwitchnameDS200BZonenamealiasportWwnE1AB3_vnx2E1AB31,1150:00:14:42:60:
13、73:26:12vnx21,1250:06:01:68:3e:a0:0f:39E1BB3_vnx2E1BB31,1550:00:14:42:70:73:26:12vnx21,1250:06:01:68:3e:a0:0f:39E2AB3_vnx2E2AB31,1050:00:14:42:60:77:6d:12vnx21,1250:06:01:68:3e:a0:0f:39E2BB3_vnx2E2BB31,1450:00:14:42:70:77:6d:12vnx21,1250:06:01:68:3e:a0:0f:39tribondata_E1BF0E1BF01,950:00:14:42:70:73:
14、26:00tribondata1,821:00:00:24:ff:04:94:1atriibondata_E2BF0E2BF01,1350:00:14:42:70:77:6d:00tribondata1,821:00:00:24:ff:04:94:1abhms5_E1BF0E1BF01,950:00:14:42:70:73:26:00bhms51,721:00:00:24:ff:04:43:24bhms5_E2BF0 E2BF01,1350:00:14:42:70:77:6d:00bhms51,721:00:00:24:ff:04:43:24filezoneCX5001,050:06:01:6
15、8:30:21:23:e1CX5001,450:06:01:60:30:21:23:e1tribondata1,821:00:00:24:ff:04:94:1aBhms5zoneCx5001,050:06:01:68:30:21:23:e1Bhms51,721:00:00:24:ff:04:43:24Cx5001,450:06:01:60:30:21:23:e1SwitchnameDS300BZonenamealiasportWwnE1AB1_vnx1E1AB11,1150:00:14:42:60:73:26:10vnx11,050:06:01:60:3e:a0:0f:39E1BB1_vnx1
16、E1BB11,1550:00:14:42:70:73:26:10vnx11,050:06:01:60:3e:a0:0f:39E2AB1_vnx1E2AB11,1050:00:14:42:60:77:6d:10vnx11,050:06:01:60:3e:a0:0f:39E2BB1_vnx1E2BB11,1450:00:14:42:70:77:6d:10vnx11,050:06:01:60:3e:a0:0f:39i40_quantum1,150:03:08:c3:8b:5b:20:051,221:00:00:1b:32:10:90:cdtrondata_E1AF0trondata1,521:00:
17、00:24:ff:04:43:b2E1AF01,950:00:14:42:60:73:26:00trondata_E2AF0trondata1,521:00:00:24:ff:04:43:b2E2AF01,1350:00:14:42:60:77:6d:00bhms5_E1AF0bhms51,421:00:00:24:ff:04:43:f6E1AF01,950:00:14:42:60:73:26:00bhms5_E2AF0 bhms51,421:00:00:24:ff:04:43:f6E2AF01,1350:00:14:42:60:77:6d:003.6 存储阵列3.6.1 VNX5300 LU
18、N规划主机应用大小(GB)数量Lun IDRAIDMeta Volume8048,9,10,115Logging Volume101125Bhms54818115tribondata2300125tribondata500135tribondata500145tribondata1500155tribondata1247165tribondata9121754 实施步骤实施前确保存储上所有数据均做全备份。4.1 配置VPLEX LOCAL1. 将VPLEX两个引擎的前后端口连入DS200B、DS300B交换机,需要8根光纤线2. 将笔记本IP设置成为128.221.252.3,netmask2
19、55.255.255.248然后SSH到128.221.252.2配置VPLEX。用户名:service口令:MiDim7T3. 更改管理IP及hostnameserviceManagementServer: sudo /opt/emc/VPlex/tools/ipconfig/changehostname.py -n BHserviceManagementServer: vplexcliTrying 127.0.0.1.Connected to localhost.Escape character is .username: service password: creating logfil
20、e:/var/log/VPlex/cli/session.log_service_localhost_T29452_20111102080052VPlexcli:/ management-server set-ip -i 10.1.1.18:255.0.0.0 -g 10.1.1.150 eth3 4. 使用VPLEX管理IP,重新连接并登录5. 检查VPLEX健康情况serviceBH: VPlexPlatformHealthCheckSystem Information- dual engine(medium config)system detectedManagement Server
21、IP Connectivity Check- Port Plugged : OK IP interfaces : OK IP Connectivity to Directors Check : OKLocal-com FC Connectivity Check- FC Switch to Director Connectivity Check : OKManagement Server System Check- Process Check : OK Check Partitions : OK CPU Check : OK Baseboard Management Control Check
22、: OKDirector (engine-1-1 director 1A 128.221.252.35) Health Check- Process Check: OK CPU Check: OK SSD Check: OK Partition Check: OK RPM Check: OK flashDir Check: OK WWN Seed Check: OK Health Check: OK Hardware Module Check: OKDirector (engine-1-1 director 1B 128.221.252.36) Health Check- Process Ch
23、eck: OK CPU Check: OK SSD Check: OK Partition Check: OK RPM Check: OK flashDir Check: OK WWN Seed Check: OK Health Check: OK Hardware Module Check: OKDirector (engine-1-2 director 2A 128.221.252.37) Health Check- Process Check: OK CPU Check: OK SSD Check: OK Partition Check: OK RPM Check: OK flashDi
24、r Check: OK WWN Seed Check: OK Health Check: OK Hardware Module Check: OKDirector (engine-1-2 director 2B 128.221.252.38) Health Check- Process Check: OK CPU Check: OK SSD Check: OK Partition Check: OK RPM Check: OK flashDir Check: OK WWN Seed Check: OK Health Check: OK Hardware Module Check: OK6. 配
25、置VPLEX 注:过程中涉及到的口令均为:MiDim7T;验证码:strongswanVPlexcli:/management-server/ports configuration system-setup Verifying the pre-requisites for EZ-Setup.Verification of the pre-requisites for EZ-Setup successfulInitializing CST.cstadmin: Object PAM VPLEX-PAM-Authority configured.CST initialization complete
26、 Welcome to the VPLEX EZ-Setup Wizard The Setup Wizard collects information about your configuration and uses it to set up your VPLEX implementation. Type exit at any prompt to stop. Your answers will be saved so you can restart the process if needed. Before starting, please read the VPLEX Installat
27、ion and Setup Guide and the Release Notes. Continue? (yes/no) yes: Select a Configuration Option What would you like to configure? 1. Configure a VPLEX Local (single cluster). 2. Configure a VPLEX Metro (synchronous, 2 clusters). 3. Configure a VPLEX Geo (asynchronous, 2 clusters). Select your confi
28、guration choice. (1-3): 1 You have selected to configure the only cluster of a VPLEX Local. If you want to configure a VPLEX Metro or Geo, please select option 2 or 3. Are you sure you want to configure a VPLEX Local? (yes/no): yes Configure Authentication Service Provider (Optional) You may select
29、to use your existing LDAP or Active Directory as a directory service to authenticate VPLEX users. To configure this, you will need the authentication service provider server information, and the security information to map the users. Or, you may choose not to configure an authentication service prov
30、ider at this time. You may configure an authentication service provider for authentication at any time, using VPLEX CLI commands. Would you like to configure an authentication service provider to authenticate VPLEX users? (yes/no) no: Select EMC Notification Options By configuring EMC Event Notifica
31、tions, EMC will be able to better serve you. Would you like to configure this cluster to send event notifications to EMC? (yes/no) yes: no By sending EMC System Reports, EMC can proactively communicate known configuration risks to you. Any newly discovered information that can optimize or reduce ris
32、ks to your system can also be communicated. Would you like to configure this cluster to send system reports to EMC? (yes/no) yes: no Configure SNMP to Collect Performance Statistics The system can be configured to collect VPLEX performance statistics via the SNMP protocol. Statistics such as I/O ope
33、rations and latencies as well as director memory statistics can be collected by issuing SNMP GET, GET-NEXT or GET-BULK messages to the SNMP agent. Additional details on the values collected can be found in the VPLEX Installation and Setup Guide. Before you get started you will need the community str
34、ing for SNMP GET,GET-NEXT and GET-BULK messages. The default authorization level is read-only. Would you like to configure the cluster to run the SNMP Agent Service? (yes/no) no: Specify Certificate Configuration A Certificate Authority is needed to create a digital Host Certificate for the manageme
35、nt server. For security reasons, this certificate must expire in 5 years or less. For more information, see the VPLEX Security Configuration Guide. A Host Certificate will be created to configure the web server. It also secures communication between management servers for VPLEX Geo configurations. F
36、or security reasons, this certificate must expire in 2 years or less. For more information, see the VPLEX Security configuration Guide. In addition to specifying certificate expirations, you will need to create certificate passphrases. These passphrases will be needed later in the setup process, so
37、please make a note of it. How many years should the CA certificate remain valid before expiring? EMC recommends 5 years (maximum is 5 years). 5: How many years should the host certificate remain valid before expiring? EMC recommends 2 years (maximum is 2 years). 2: Review and Finish Review the confi
38、guration information below. If correct, enter yes (or simply accept the default and press Enter) to start the setup process. If the values are not correct, enter no to go back and make changes or to exit the setup. Cluster Information This is the only cluster in a VPLEX Local. Authentication Service
39、 Provider Information An Authentication Service Provider will not be configured on this cluster. Performance Statistics The performance statistics will not be configured. Security Certificate Information The Certificate Authority will expire in 5 years. The Host Certificate will expire in 2 years. Would you like to run the setup process now? (yes/no): yes Setting up environment for certificate creation.Certificate creation startedConnecting to direc