Posts tagged ‘emc’

在VMware vSphere环境中部署EMC UnityVSA(4TB免费版)(二):使用CLI控制台修改UnityVSA管理地址、启用SSH管理等

UnityVSA是SUSE Linux Enterprise Server(SLES,如下) 12 SP1操作系统:

15:38:15 service@VIRT1803SKN5YT-spa spa:/> uname -a
Linux spa 3.12.69-60.64.35.1.NEOKERNEL_SLES12SP1 #2 SMP Thu Oct 5 14:41:40 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
15:38:46 service@VIRT1803SKN5YT-spa spa:/> df      
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda5       10192372 4936072   4715632  52% /
udev             1083360       8   1083352   1% /dev
tmpfs            2249168   84384   2164784   4% /dev/shm
tmpfs            2249168   45372   2203796   3% /run
tmpfs            2249168       0   2249168   0% /sys/fs/cgroup
/dev/ram0          59493    3415     56078   6% /tmp
/dev/sda1         118997    5744    107109   6% /mnt/c4lx-cfg_msata
/dev/sda6        8254392 1047708   6770872  14% /cores
/dev/sdc5       14523992   53188  13744380   1% /EMC/backend/service
/dev/sdb9        1032088  193148    786512  20% /EMC/backend/CEM
/dev/sdb8         253871   51357    189407  22% /nbsnas
/dev/sdb11        665200   17084    614324   3% /EMC/backend/perf_stats
/dev/sdb10       3449100   99412   3174484   4% /EMC/backend/log_shared
/dev/sdb12       3096336  204928   2734124   7% /EMC/backend/metricsluna1
/dev/sdb13        253871   10296    230468   5% /EMC/fastvp

可以通过命令行来实现相关配置,如下图

unityvsacli_05

UnityVSA控制台默认用户名和密码都为service,使用service/service登陆控制台,

spa login:service
Password:
14:08:40 service@VIRT1803SKN5YT-spa spa:~>

unityvsacli_06

1、SSH服务开启设置

完成登陆后开始进行相关配置,首先为了能够使用SSH等相关工具来管理控制台,先开启SSH服务,使用help | more命令查看帮助:

14:11:30 service@VIRT1803SKN5YT-spa spa:~> help | more
The following UnityVSA serviceability commands are available to the service user:
svc_acldb_dump
svc_arrayconfig
svc_banner
svc_boot-control
svc_cache
svc_cava

最后查看到命令为svc_ssh,命令使用方法:

Usage: svc_ssh [options]
Options:
-e, –enable  Enable sshd on the system
-d,—disable Disables sshd on the system
-s,—status  Prints status of sshd
14:15:22 service@VIRT1803SKN5YT-spa spa:~>

使用svc_ssh –s查看目前的SSH状态,状态为disabled,关闭状态

14:16:54 service@VIRT1803SKN5YT-spa spa:~> svc_ssh –s

unityvsacli_04

使用svc_ssh -e命令打开SSH功能:

14:18:33 service@VIRT1803SKN5YT-spa spa:~> svc_ssh –e

unityvsacli_07

完成开启后,开始使用SecureCRT来管理控制台,如下图。

unityvsacli_10

2、管理地址更改设置

首先使用svc_networkcheck –m命令查看当前的管理地址,如下

14:31:58 service@VIRT1803CVH590-spa spa:~> svc_networkcheck -m
=== SP status: Normal Mode, Master SP ===
======================= [spa][Mon Jan 22 14:32:05 UTC 2018] Beginning Run  =======================

Management IPv4 Information
        IP Address:                     192.168.10.59
        Mask/Prefix:                    255.255.255.0
        Gateway:                        192.168.10.253
DNS/NTP Information
        DNS server(s):                  None
        NTP server(s):                  None
Management IPv6 Information
DNS/NTP Information
        DNS server(s):                  None
        NTP server(s):                  None

======================= [spa][Mon Jan 22 14:32:19 UTC 2018] End of Run  =======================

接着,使用svc_initial_config命令修改管理IP地址,如下

14:32:21 service@VIRT1803CVH590-spa spa:~> svc_initial_config

Usage : svc_initial_config [OPTIONS]

Sets up initial system configuration. Configures a management IP address when the
Connection Utility (CU) is not available on the network. Can also be used to change
the management IPv4 and IPv6 configuration mode if an address is set.
                   
Attempts to configure the system with the given friendly name and/or network parameters.
Network parameters are for IPv4 and/or IPv6.

Ex: svc_initial_config [-f <hostname>] -4 "<IPv4 address> <IPv4 netmask> <IPv4 default gateway>"
     svc_initial_config [-f <hostname>] -6 "<IPv6 address> <prefix length> <IPv6 default gateway>"

Options:
  -h or –help       Prints this usage information.
  -4, –network      IPv4 address, netmask and default gateway for management interface.
                     MUST BE ENCLOSED BY "QUOTES" and given in that exact order:
                     "ip net_mask def_gw".
                     Use "auto" instead of "ip net_mask def_gw" for DHCP.
                     Use "disable" to disable IPv4 configuration.

  -6, –networkv6    IPv6 address, prefix length and default gateway for management interface.
                     MUST BE ENCLOSED BY "QUOTES" and given in that exact order:
                     "ip prefix_len def_gw".
                     Use "auto" instead of "ip prefix_len def_gw" to
                     enable IPv6 autoconfiguration.
                     Use "disable" to disable IPv6 configuration.
                      
  -f, –friendly_name  New friendly_name for the system. Name must contain only letters,
                       numbers, dot(.) or the hyphen(-) character.  Name must not start
                       nor end with a hyphen and be limited to a total length of
                       255 characters.
 
14:34:24 service@VIRT1803CVH590-spa spa:~> svc_initial_config -f unityvsanew -4 "192.168.10.57 255.255.255.0 192.168.10.253"
Attempting to set friendly name to <unityvsanew>
Successfully set friendly name to <unityvsanew>
Validating address 192.168.10.57 format … Pass
Validating address 255.255.255.0 format … Pass
Validating address 192.168.10.253 format … Pass
Validating IP and Gateway subnet with Mask … Pass
Successfully configured network with parameters <static 192.168.10.57 255.255.255.0 192.168.10.253>

完成修改后,会出现Successfully提示,如上,成功后,就能使用新的地址来进行管理。

3、其它命令

所有可用命令可以使用help | more来显示:

14:29:38 service@VIRT1803CVH590-spa spa:~> help | more

The following UnityVSA serviceability commands are available to the service user:
        svc_acldb_dump
        svc_arrayconfig
        svc_banner
        svc_boot_control
        svc_cache
        svc_cava
        svc_cbr
        svc_change_hw_config
        svc_check_hw_config
        svc_cifssupport
        svc_connectemc
        svc_custom_cert
        svc_dac
        svc_dataprotection
        svc_dc
        svc_diag
        svc_elms
        svc_esrs_ve
        svc_event_publishing
        svc_firewall
        svc_help
        svc_initial_config
        svc_inject
        svc_ipmi
        svc_kmip
        svc_lockd
        svc_mount
        svc_nas
        svc_network
        svc_networkcheck
        svc_ntp
        svc_oscheck
        svc_param
        svc_pax
        svc_perfcheck
        svc_purge_logs
        svc_reimage
        svc_reinit
        svc_rescue_state
        svc_restart_service
        svc_scsi_id
        svc_service_password
        svc_service_shell
        svc_shutdown
        svc_ssh
        svc_stig
        svc_storage_integritycheck
        svc_storagecheck
        svc_tcpdump
        svc_udoctor
        svc_vhdx
        svc_vp_hostcheck
For detailed information on the available service commands, refer to the
"UnityVSA Service Commands Technical Notes" document on the EMC Online Support
Site (https://support.emc.com/).

PING命令:

15:31:08 service@VIRT1803SKN5YT-spa spa:~> svc_networkcheck -p 192.168.10.253
=== SP status: Normal Mode, Master SP ===

======================= [spa][Mon Jan 22 15:31:16 UTC 2018] Beginning Run  =======================

PING 192.168.10.253 (192.168.10.253) from 192.168.10.59 : 56(84) bytes of data.
64 bytes from 192.168.10.253: icmp_seq=1 ttl=254 time=7.42 ms
64 bytes from 192.168.10.253: icmp_seq=2 ttl=254 time=2.05 ms
64 bytes from 192.168.10.253: icmp_seq=3 ttl=254 time=2.45 ms
64 bytes from 192.168.10.253: icmp_seq=4 ttl=254 time=1.97 ms

— 192.168.10.253 ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 1.977/3.480/7.429/2.287 ms

======================= [spa][Mon Jan 22 15:31:19 UTC 2018] End of Run  =======================

查看管理地址:

15:31:21 service@VIRT1803SKN5YT-spa spa:~> svc_networkcheck -m              
=== SP status: Normal Mode, Master SP ===

====================== [spa][Mon Jan 22 15:31:26 UTC 2018] Beginning Run  =======================
Management IPv4 Information

        IP Address:                     192.168.10.59
        Mask/Prefix:                    255.255.255.0
        Gateway:                        192.168.10.253

DNS/NTP Information
        DNS server(s):                  None
        NTP server(s):                  None

Management IPv6 Information

DNS/NTP Information
        DNS server(s):                  None
        NTP server(s):                  None

======================= [spa][Mon Jan 22 15:31:40 UTC 2018] End of Run  =======================

在VMware vSphere环境中部署EMC UnityVSA(4TB免费版)(一):安装部署UnityVSA

UnityVSAUnity存储平台均运行同样的Unity操作环境,它可以部署在VMware ESXi虚拟化平台上。EMC UnityVSA (Unity Virtual Storage Appliance)是运行在VMware ESXi平台上的软件定义统一存储。

UnityVSA提供4TB可用空间的社区版,以及10、25、50TB的专业版。如需更高的需求,请购买专业版本。

EMC网站上下载OVA百度云盘下载)文件UnityVSA-4.2.1.9535982.ova,上传至ESXI主机,准备部署

emcunityvsa01

右键选择部署OVF模板

emcunityvsa02

emcunityvsa03

选择厚置备置零

emcunityvsa04

emcunityvsa05

emcunityvsa08

emcunityvsa09

完成部署后打开虚拟机电源,安装部署会有些时间,点击下图中的刷新图标,当出现DNS名称和IP地址(本例中为192.168.10.58)就说明已运行完成,可以通过https://192.168.10.58来访问Unisphere。

emcunityvsa10

emcunityvsa11

EMC官方文档

emclogobian

EMC官方下载了一些产品的文档,具体如下:

一、Avamar
1、docu48216_Avamar-7.0-管理指南.pdf
2、docu48219_Avamar-7.0-and-Data-Domain-System-Integration-Guide.pdf
3、docu53936_Avamar-7.1-管理指南.pdf
4、docu59572_Avamar-7.2-Administration-Guide.pdf
5、docu69616_Avamar-7.3-Data-Migration-Enabler-User-Guide.pdf
6、docu69617_Avamar-7.3-Administration-Guide.pdf
7、docu69622_Avamar-7.3-and-Data-Domain-System-Integration-Guide.pdf
8、docu69632_Avamar-7.3-Reports-Guide.pdf
9、docu69640_Avamar-7.3-Technical-Addendum.pdf

二、DMX
1、docu5122_Symmetrix-DMX800-Product-Guide.pdf
2、docu5123_Symmetrix-DMX1000,-DMX2000,-and-DMX3000-Product-Guide.pdf
3、docu51557_SAN-Copy-and-Open-Replicator-Migration-from-IBM-XIV-to-EMC-Storage.pdf
4、docu5297_Symmetrix-DMX-3-Physical-Planning-Guide.pdf
5、docu5333_Symmetrix-DMX-3-Product-Guide.pdf
6、docu5658_Symmetrix-DMX-3-950-Product-Guide.pdf
7、docu6702_Symmetrix-DMX-4-950-Physical-Planning-Guide.pdf
8、docu6761_Symmetrix-DMX-4-950-Product-Guide.pdf
9、docu6762_Symmetrix-DMX-4-Product-Guide.pdf

三、NS960
1、docu10367_EMC-Celerra-NS-960-系统安装指南.pdf
2、docu41464_使用-VNX-多路径文件系统-7.1.pdf
3、docu41471_使用-VNX-Event-Enabler.pdf
4、docu41477_在-VNX-上配置虚拟-Data-Mover.pdf
5、docu42999_Storage-Analytics-2.1-Installation-and-User-Guide.pdf
6、docu7884_Celerra-NX4-System-Dual-Blade-Installation-Guide.pdf

四、NX4、CX
1、docu10361_EMC-Celerra-NX4-双刀片系统安装指南.pdf
2、docu10362_EMC-Celerra-NX4-单刀片系统安装指南.pdf
3、docu5164_CX300,-CX500,-and-CX700-Storage-Systems-Initialization-Guide.pdf
4、docu5648_DAE2P-and-DAE3P-Disk-Array-Enclosures-Hardware-Reference.pdf
5、docu7769_CLARiiON-CX4-960-安装指南.pdf
6、docu7770_CLARiiON-CX4-120-安装指南.pdf
7、docu7771_CLARiiON-CX4-480-Setup-Guide.pdf
8、docu7772_CLARiiON-CX4-240-安装指南.pdf
9、docu8337_CLARiiON-CX4-Series-Enclosures-Hardware-Installation-Guide-for-Telco-Racks.pdf

五、PowerPath
1、docu10579_PowerPath-Migration-Enabler-5.5-(AIX,-Linux,-Solaris,-Windows)-and-5.2-(HP-UX)-User-Guide.pdf
2、docu5646_PowerPath-Product-Guide.pdf
3、docu56478_PowerPath-for-AIX-6.0-安装和管理指南.pdf
4、docu56483_PowerPath-Family-6.x-Product-Guide.pdf
5、docu8165_PowerPath-for-AIX-5.3-Installation-and-Administration-Guide.pdf

六、RecoverPoint
1、docu41535_使用-RecoverPoint-SE-和-VNX-for-File-进行灾难恢复.pdf
2、docu59704_EMC-ProtectPoint-文件系统代理-2.0-安装和管理指南.pdf
3、docu59883_RecoverPoint-for-Virtual-Machines-4.3-安装和部署指南.pdf
4、docu59891_RecoverPoint-for-Virtual-Machines-4.3-Administrator’s-Guide.pdf
5、docu66572_RecoverPoint-for-Virtual-Machines-4.3.1-安装和部署指南.pdf

七、VMAX
1、docu45619_EMC-VMAX-10K-系列定制方案包物理规划指南(序列号为-xxx987xxxx-的系统).pdf
2、docu45690_Symmetrix-Remote-Data-Facility-(SRDF)-产品指南.pdf
3、docu47591_Symmetrix-VMAX-系列产品指南(Symmetrix-VMAX-10K(序列号-xxx987xxxx)、VMAX-20K、VMAX-40K).pdf
4、docu49648_Symmetrix-VMAX-系列物理规划指南(Symmetrix-VMAX-10K(序列号-xxx987xxxx)、VMAX-20K、VMAX-40K).pdf
5、docu67277_配备-HYPERMAX-操作系统的-VMAX-450F、VMAX-450FX、VMAX-850F、VMAX-850FX-的-EMC-VMAX-全闪存站点规划指南.pdf
6、docu67278_VMAX3-系列(VMAX-100K、200K、400K)和-VMAX-全闪存(VMAX-450F-FX、VMAX-850F-FX)阵列的-VMAX-安全套件安装指南.pdf
7、docu67279_VMAX3-系列(VMAX-100K、200K、400K)和-VMAX-全闪存(VMAX-450F-FX、VMAX-850F-FX)阵列的–VMAX-交流电源连接最佳做法指南.pdf
8、docu67280_VMAX3-系列(VMAX-100K、200K、400K)和-VMAX-全闪存(VMAX-450F-FX、VMAX-850F-FX)阵列的-VMAX-打开-关闭电源程序.pdf
9、docu67503_配备-HYPERMAX-操作系统的-VMAX-450F、VMAX-450FX、VMAX-850F、VMAX-850FX-的-EMC-VMAX-全闪存产品指南.pdf
10、docu68851_Unisphere-for-VMAX-8.2.0-Online-Help.pdf
11、docu68889_VMAX-All-Flash-Security-Configuration-Guide.pdf
12、docu70166_2016-年第-1-季度-VMAX-最新公告.pdf
13、docu8473_EMC-交流电源连接最佳做法指南(双-PDP-机架).pdf

八、VNX
1、docu42147_White-Paper–Virtual-Data-Movers-on-EMC-VNX.pdf
2、docu47524_VNX5600-File-Installation-Guide.pdf
3、docu47525_VNX5600-Block-Installation-Guide.pdf
4、docu47526_VNX5600-Unified-Installation-Guide.pdf
5、docu47537_VNX5600-Hardware-Information-Guide.pdf
6、docu48455_Configuring-Standbys-on-VNX-8.1.pdf
7、docu48457_Configuring-and-Managing-CIFS-on-VNX-(VNX1-VNX2).pdf
8、docu48458_Configuring-Virtual-Data-Movers-on-VNX-8.1.pdf
9、docu48491_Security-Configuration-Guide-for-VNX.pdf
10、docu48708_Introduction-to-the-VNX2-Series—A-Detailed-Review.pdf
11、docu59090_VNX-Family-Monitoring-and-Reporting-2.2-User-Guide.pdf
12、docu60927_EMC-Storage-Integrator-4.0-for-Oracle-VM-Product-Guide.pdf
13、h8229-vnx-vmware-tb.pdf

九、Vplex
1、docu31803_VPLEX-and-GeoSynchrony-5.0—5.4.x-Simple-Support-Matrix.pdf
2、docu33757_白皮书:EMC-VPLEX-5.0-体系结构指南.pdf
3、docu33970_VPLEX-Hardware-Installation-Guide.pdf
4、docu40001_VPLEX-Administration-Guide.pdf
5、docu40004_VPLEX-Product-Guide.pdf
6、docu47973_VPLEX-Administration-Guide.pdf
7、docu47974_VPLEX-Product-Guide.pdf
8、docu5126_Host-Connectivity-Guide-for-IBM-AIX.pdf
9、docu5127_Host-Connectivity-Guide-for-HP-UX.pdf
10、docu5128_Host-Connectivity-Guide-for-Linux.pdf
11、docu5132_Host-Connectivity-Guide-for-Oracle-Solaris.pdf
12、docu5134_Host-Connectivity-Guide-for-Windows.pdf
13、docu5265_Host-Connectivity-Guide-for-VMWare-ESX-Server.pdf
14、docu62911_Uptime-Bulletin–EMC-VPLEX-Edition-Volume-20,-December-2015.pdf
15、docu69606_Uptime-Bulletin–VPLEX-Edition-Volume-21,-March-2016.pdf

从设备上查看光衰减

光纤交换机在远距离传输时对于光衰减有一定要求,当光纤衰减过大,两端的接口将不能UP。一般在-5dbm至+5db之间。如下图,以Cisco MDS 9124光纤交换机为例

dbm1

进入设备的CONSOLE控制台,使用show interface fc x/x transceiver details命令可以查看某个端口的光衰减信息,以1/24为例,如下:

san-emc-01(config-if)# show interface fc 1/24 transceiver details 
fc1/24 sfp is present
    Name is OEM            
    Manufacturer’s part number is SFP-4G-ZX      
    Revision is 1.1
    Serial number is JUT102702FR    
    FC Transmitter type is long wave laser
    FC Transmitter supports long distance link length
    Transmission medium is single mode (SM) laser
    Supported speeds are – Min speed: 1000 Mb/s, Max speed: 4000 Mb/s
    Nominal bit rate is 4300 Mb/s
    Link length supported for 9/125mm fiber is 40.255 km
    Cisco extended id is unknown (0x0)

    No tx fault, no rx loss, in sync state, diagnostic monitoring type is 0x58
    SFP Diagnostics Information:
—————————————————————————-
                                     Alarms                  Warnings
                                High        Low         High          Low
—————————————————————————-
  Temperature  22.98 C        100.00 C    -45.00 C     95.00 C      -40.00 C
  Voltage       3.32 V          3.60 V      3.00 V      3.50 V        3.10 V
  Current      26.00 mA        80.00 mA    12.00 mA    75.00 mA      10.00 mA
  Tx Power     2.48 dBm        6.00 dBm   -5.00 dBm    5.00 dBm     -4.00 dBm
  Rx Power     -4.54 dBm       -1.00 dBm  -21.02 dBm   -2.00 dBm    -20.00 dBm
  Transmit Fault Count = 0
—————————————————————————-
  Note: ++  high-alarm; +  high-warning; –  low-alarm; -  low-warning

从上表中可以看出,Tx方向的衰减为2.48dBm,Rx的衰减为-4.54dBm,属于正常范围内。

 

以太网交换机也可以通过命令来查看光模块上的衰减,如H3C交换机,通过命令dis transceiver diagnosis interface G x/x/x来查看,如下:

[waiwang-center-h3c7510] dis transceiver diagnosis interface GigabitEthernet 0/0/6
GigabitEthernet0/0/6 transceiver diagnostic information:
  Current diagnostic parameters:
    Temp(°C)  Voltage(V)  Bias(mA)  RX power(dBm)  TX power(dBm)
    43              3.49            8.11          -5.18                 -4.71

华为交换机通过如下命令查看:

display transce inter g 1/0/23 version

 

 

华三交换机也可以通过以下命令查看光模块是否为真货,

[waiwang-center-h3c7510]dis transceiver manuinfo interface g0/0/30
GigabitEthernet0/0/30 transceiver manufacture information:
  Manu. Serial Number : 210231a562x08b009229
  Manufacturing Date  : 2008-11-22
  Vendor Name         : H3C

Vendor Name为H3C,即为真货。也可以去http://channel.h3c.com/channel/system/SearchTrueCode.jsp,输入上面显示的序列号,这里为210231a562x08b009229,来查询是否为真货。