EMCVPLEX日常操作维护易安信电脑系统(中国)有限公司技术解决方案部版本创建/修改日期创建/修改人备注1.02012-06-21陈洪星新创建CONTENTS1.状态检查及报修...............................................................................................................................................41.1VPLEX状态检查步骤...........................................................................................................................41.2Witness状态检查步骤........................................................................................................................51.3报修步骤...................................................................................................................................................52.信息收集.............................................................................................................................................................52.1配置和日志信息收集...........................................................................................................................52.2性能日志信息收集................................................................................................................................63.开关机步骤........................................................................................................................................................63.1关机步骤...................................................................................................................................................63.2开机步骤...................................................................................................................................................84.日常操作..........................................................................................................................................................104.1分配新的存储空间给VPLEX.........................................................................................................104.1.1VPLEX扫描识别新的storagevolume.............................................................................104.1.2Claim新的storagevolume...................................................................................................114.1.3配置extent、Device................................................................................................................144.1.4配置virtualvolume.................................................................................................................264.2分配VPLEXvirtualvolume给主机............................................................................................264.2.1分配virtualvolume给原有主机........................................................................................264.2.2分配virtualvolume给新的主机........................................................................................271.状态检查及报修VPLEX的各个重要部件均为冗余设计在某个部件出现故障时VPLEX仍然会持续工作,连接的主机或应用感知不到故障的发生,如果故障不能被及时的发现和维护在冗余的部件出现故障时可能就会导致应用宕机。VPLEX的日常状态检查是管理员的一项重要工作需要定期或定时进行检查,建议每天至少一次状态检查。另外EMC建议用户配置ESRS,在设备出现故障时ESRS能够及时通知到EMC支持中心,支持中心的工程师根据VPLEX日志来决定下一步安排如联系本地工程师到现场进行故障部件的更换或维护并通知到用户。状态检查包括VPLEX状态和Witness(用在VPLEX-Metro和GEO环境)状态检查。1.1VPLEX状态检查步骤图形管理界面方式选择SectionHovermenus中的SystemStatus,可以看到Vplex的状态。点击ViewStatusDetails查看详细信息命令行方式VPlexcli:/health-check1.2WITNESS状态检查步骤图形管理界面方式待续命令行方式待续1.3报修步骤A.准备好VPLEX序列号如何获取VPLEX序列号序列号在安装时实施工程师提供(要求签的安装报告中会有)VPLEX设备上会有序列号标签通过命令或图形管理界面列出序列号B.拨打报修电话报修报修电话800-819-0009/400-670-00092.信息收集2.1配置和日志信息收集在报修后EMC支持工程师会要求用户工程师收集VPLEX的配置和日志信息,收集步骤如下:命令行收集方法:VPlexcli:/collect-diagnostics--minimum注意:在Metro环境下,两边的managementserver上都要执行此命令以获取完整信息,但是不要在两边同时执行此命令,即使指定参数local-only。2.2性能日志信息收集如果碰到性能问题,需要收集性能信息日志。收集步骤如下:命令行收集方法:VPlexcli:/collect-diagnostics--nocores--noheap--notrace3.开关机步骤3.1关机步骤VPLEX关机需要满足如下条件:连接VPLEX的所有主机的应用正确的shutdown连接VPLEX的所有主机挂载的文件系统正确的umount和VG正确的varyoff(如果可以主机最好能够shutdown)关机步骤:软shutdown命令行方式1.登陆到cluster-1的managementserver上,进入VPlexcli,username:service,password:Mi@Dim7T2.登陆到cluster-2的managementserver上,进入VPlexcli,username:service,password:Mi@Dim7T3.修改transfer-size小于等于128KVPlexcli:/distributed-storage/distributed-devicesset*::transfer-size128K4.检查当前的datamigration的状态VPlexcli:/rebuildstatus任何数据迁移的工作在clustershutdown期间都将暂停,并将在cluster重启后恢复5.停止主机端所有使用VplexVolumes的I/O,包括cluster-1、cluster-26.检查VPlex健康状态VPlexcli:/health-check7.收集配置信息及LOG日志VPlexcli:/collect-diagnostics--minimum8.在cluster-1、cluster-2上检查batteryconditioningVPlexcli:/battery-conditioningsummary确认没有SPSunit正处于conditioning状态确认在下一步disablebatteryconditioning之前,没有SPSunit计划将进行conditioning9.在cluster-1、cluster-2上禁用batteryconditioningVPlexcli:/battery-conditioningdisable-s/engines/*/stand-by-power-supplies/*10.禁用call-homeVPlexcli:/cd/notifications/call-homeVPlexcli:/setenabledfalse--force11.禁用VplexWitnessVPlexcli:/cd/cluster-witnessVPlexcli:/cluster-witnessdisable–-force12.在cluster-1、cluster-2上关闭VPlexfirmwareVPlexcli:/clusters/cluster-1clustershutdown13.在cluster-1上关闭VplexdirectorsVPlexcli:/exitservice@vplex-1:~ssh-lroot128.221.252.35director-1-1-a:~#shutdown-PnowTable1sshcommandstoconnecttodirectorsClustersizeDirectorsshcommandCheckboxSingle-engineDual-engineQuad-engine1-1-Ass