smi-s 监控存储

    技术2024-06-10  86

    SMI-S提供程序是用于特定供应商的模块,因此独立的管理软件(例如IBM Systems Director和IBM Tivoli Storage Productivity Center)可以使用标准接口来管理供应商设备。

    SMI-S提供程序负责对托管资源上CIM操作的实际处理。 SMI-S提供程序将CIM格式的请求转换为特定于资源的操作,并将特定于资源的操作转换为CIM格式的请求。SMI-S提供程序提供CIM接口和特定于资源的接口之间的映射,并包含一组针对定义的托管资源的CIM操作的实现。

    图1。

    上图显示了IBM Systems Director如何通过SMI-S提供程序帮助管理不同的存储和交换机。

    需要SMI-S提供程序的存储设备包括:

    IBM SystemStorage®DS6000™设备IBM System Storage N系列N3600设备IBM System StorageDS4000®设备IBM System Storage DS5000设备IBM System Storage DS3000设备Brocade 2G / 4G光纤通道(IBMBladeCenter®机箱和外部)

    从NetApp网站下载NetApp SMI-S提供程序(需要登录)。 该SMI-S提供程序管理IBM System Storage DS5000,DS4000和DS3000存储系统。

    系统要求:

    内存:至少1 GB(首选2 GB)。连接性:以太网(最低100BASE-T)(首选千兆以太网),TCP / IP。端口: TCP端口5988或TCP端口5989,或其他任何可用端口(如果这些端口不可用)。存储阵列密码:设备凭据配置文件需要使用存储阵列密码(共享密钥)来修改操作。 每个存储阵列的共享机密实例将由SMI-S提供程序持续跟踪。 如果未在存储阵列上设置密码,则密码不是强制性的。可伸缩性:一个提供程序实例可以支持多少个存储系统没有严格的限制。 推荐的最大数量为10,每个提供商的存储系统应为中等到完全配置,或总计大约5000个卷。 在大型配置中,您可以在存储网络的不同服务器上部署其他提供程序,以管理每10个左右的存储系统。

    执行以下步骤来安装和配置SMI-S提供程序:

    将文件复制到可以解压缩的任何位置(/ tmp / directory是首选位置)。以root用户身份登录并安装SMI-S提供程序。

    对于Linux

    # rpm -ivh <rpm package name>.rpm

    示例: # rpm -ivh lsi_array2-10.10.G5.02-linux.i386.rpm

    安装后,运行源/root/.bashrc来设置环境变量。

    对于AIX

    #installp -a -X -d <bff package name>.bff

    示例: #installp -a -X -d LSIarray2-AIX-10.19.GG.21.bff (您可以使用smitty选项。)

    在AIX上安装后,需要使用EXPORT命令手动设置以下环境变量,然后再进行下一步。

    PEGASUS_HOME = / opt / lsi / pegasusPEGASUS_ROOT = / opt / lsi / pegasusPATH = $ PATH:/ opt / lsi / pegasus / binLIBPATH = $ LIBPATH:/ opt / lsi / pegasus / libLD_LIBRARY_PATH = $ PEGASUS_HOME / lib:$ LD_LIBRARY_PATH您需要添加至少一个用户才能启用CIM对象管理器(CIMOM)身份验证。 并且该用户应该在系统上。 此过程将重新启动CIM服务器。 /opt/lsi/pegasus/providers/array/userAuthentication.sh # /opt/lsi/pegasus/providers/array/userAuthentication.sh Do you want to enable authentication?y:n y Planned value for the property enableAuthentication is set to "true" in CIMServer. Please enter user storage Enter password maximum 8 characters welcome root User added successfully. Do you want to add another user?y:n n CIM Server stopped. Generic CIM Server 2.9.1 # 将您的存储IP添加到ArrayHosts.txt。 然后重新启动CIM服务器。 # vi /opt/lsi/pegasus/providers/array/ArrayHosts.txt

    配置OpenPegasus CIM服务器

    使用以下命令执行基本的OpenPegasus CIM配置操作。 每个步骤都需要重新启动OpenPegasus CIM服务器。

    设置HTTP端口

    # cimconfig -s httpPort=<port> -p

    例:

    # cimconfig -s httpPort=5988 -p

    在CIM服务器中, httpPort属性的计划值设置为5988 。

    设置HTTPS端口

    # cimconfig -s httpsPort=<port> -p

    例:

    # cimconfig -s httpsPort=5989 -p

    CIM服务器中httpsPort属性的计划值设置为5989 。

    启用或禁用HTTP连接

    # cimconfig -s enableHttpConnection={true | false} -p

    例:

    # cimconfig -s enableHttpConnection=true -p

    在CIM服务器中, enableHttpConnection属性的计划值设置为true 。

    启用或禁用HTTPS连接

    # cimconfig -s enableHttpsConnection={true | false} -p

    例:

    # cimconfig -s enableHttpsConnection=true -p

    在CIM服务器中, enableHttpsConnection属性的计划值设置为true 。

    启用或禁用身份验证

    # cimconfig -s enableAuthentication={false | true} -p

    例:

    # cimconfig -s enableAuthentication=true -p

    在CIM服务器中, enableAuthentication属性的计划值设置为true 。

    新增使用者

    # cimuser -a -u <username> -w <password>

    例:

    # cimuser -a -u storage -w passw0rd User added successfully.

    删除用户

    # cimuser -r -u <username>

    生成经过身份验证的用户列表

    # cimuser -l

    启用或禁用服务位置协议(SLP)

    # cimconfig -s slp={true | false} -p

    您可以在cimserver_current.conf文件中找到所有配置设置。

    #cat /opt/lsi/pegasus/cimserver_current.conf ######################################################################## ## ## ## CIM Server configuration file ## ## ## ######################################################################## ######################################################################## # # # The configuration in this file is loaded by the CIM Server at # # start-up. This file is updated by the CIM Server when the # # configuration changes. # # # # Do not edit this file directly. Instead, use the cimconfig command # # to update the CIM Server configuration. # # # ######################################################################## httpPort=5988 slp=true httpsPort=5989 registerExternalOpenSLP=false enableAuthentication=true enableHttpsConnection=true enableHttpConnection=true #

    查看配置后,您需要再次重新启动CIM服务器。

    # cimserver -s (停止CIM服务器)

    # cimsever (启动SIM-S提供程序)

    设置用于存储和切换的SMI-S提供程序之后,需要使用mkdaresource命令将这些资源导入到Systems Director实例中(如果使用的是Systems Director Storage Manager)。


    翻译自: https://www.ibm.com/developerworks/aix/library/au-aix-configure-SMI-S/index.html

    Processed: 0.024, SQL: 10