Board logo

标题: 为存储配置 SMI-S 提供(Provider)程序 [打印本页]

作者: look_w    时间: 2018-1-10 10:27     标题: 为存储配置 SMI-S 提供(Provider)程序

SMI-S 提供程序是一个特定于供应商的模块,通过使用该程序,IBM Systems Director 和 IBM Tivoli Storage Productivity Center 等独立管理软件可使用一个标准接口来管理供应商设备。
图 1. 上图展示了 IBM Systems Director 如何通过 SMI-S 提供程序帮助管理不同的存储和交换机。
需要 SMI-S 提供程序的存储设备包括:
您可以从  下载 NetApp SMI-S 提供程序(需要登录)。这个 SMI-S 提供程序管理 IBM System Storage DS5000、DS4000 和 DS3000 存储系统。
系统需求:
执行以下步骤来安装和配置 SMI-S 提供程序:
配置 OpenPegasus CIM 服务器使用以下命令执行基本的 OpenPegasus CIM 配置操作。其中每个步骤都要求您重新启动 OpenPegasus CIM 服务器。
设置一个 HTTP 端口
# cimconfig -s httpPort=<port> -p
示例:
1
# cimconfig -s httpPort=5988 -p




在 CIM 服务器中,将计划使用的 httpPort 属性值设置为 5988。
设置一个 HTTPS 端口
# cimconfig -s httpsPort=<port> -p
示例:
1
# cimconfig -s httpsPort=5989 -p




在 CIM 服务器中,将计划使用的 httpsPort 属性值设置为 5989。
启用或禁用 HTTP 连接
# cimconfig -s enableHttpConnection={true | false} -p
示例:
1
# cimconfig -s enableHttpConnection=true -p




在 CIM 服务器中,将计划使用的 enableHttpConnection 属性值设置为 true。
启用或禁用 HTTPS 连接
# cimconfig -s enableHttpsConnection={true | false} -p
示例:
1
# cimconfig -s enableHttpsConnection=true -p




在 CIM 服务器中,将计划使用的 enableHttpsConnection 属性值设置为 true。
启用或禁用身份验证
# cimconfig -s enableAuthentication={false | true} -p
示例:
1
# cimconfig -s enableAuthentication=true -p




在 CIM 服务器中,将计划使用的 enableAuthentication 属性值设置为 true。
添加一个用户
# cimuser -a -u <username> -w <password>
示例:
1
2
# 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 文件中可以找到所有配置设置。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
    #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)。




欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0