On Sat, Jun 21, 2014 at 03:12:32AM -0700, Luoyuan Luo wrote:
> thank you very much,Gris.
> if i want to monitor DS4300,is that the same as EMC device? And is a WBEM
> communication like 'wbemexec -u guest -w guest request.xml'?
> thanks again.
>
> thaks.
>
Hi Luoyuan Luo,
First of all. The following information is fully based on search result
provided by Google. They have nothing to do with Red Hat, IBM, NetApp, LSI
official announcements.
IBM DS4300 is OEM-rebranded LSI Engenio which was bought by NetApp and
renamed to NetApp-E Series.
NetApp-E is using proxy SMI-S provider.
Base on instruction of this link[1], you should download the SMI-S
provider from NetApp site:
http://support.netapp.com/apbu/oemcp/protcd/ (Need register)
Please contact your IBM support to help you install and configure the
SMI-S provider.
Tips if you install the SMI-S provider on Linux (RHEL 6 x86_64):
====
yum install netapp_array-*-linux.x86_64.rpm
passwd pegasus # If you want to use root account, skip this one
echo IP_OF_NETAPP_E >> /opt/netapp/pegasus/providers/array/ArrayHosts.txt
export PEGASUS_HOME=/opt/netapp/pegasus
export PEGASUS_ROOT=/opt/netapp/pegasus
export PATH=/opt/netapp/pegasus/bin:$PATH
export LD_LIBRARY_PATH="/opt/netapp/pegasus/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="/opt/netapp/openssl/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="/opt/netapp/openslp/lib:$LD_LIBRARY_PATH"
cimserver
====
To use the SMI-S, these commands might help:
Python(with pywbem package installed):
====
import pywbem
conn = pywbem.WBEMConnection('
http://e-smi:5988',
('pegasus', 'pegasus'), 'root/lsiarray13')
# Change the password if you use other account.
cim_syss = conn.EnumerateInstances('CIM_ComputerSystem')
for cim_sys in cim_syss:
print cim_sys.items()
====
CLI (with sblim-wbemcli package installed):
===
wbemcli -noverify ei \
'http://pegasus:pegasus@e-smi:5988/root/lsiarray13:CIM_ComputerSystem'
===
NetApp-E SMI-S provider support "Multiple Computer System" profile. You
need to use CIM_RegisteredProfile of interop to get the top level(root)
CIM_ComputerSystem.
If LGPL copyright is acceptable for your project, you can try this open
source project:
http://sourceforge.net/p/libstoragemgmt/
The SMI-S code are:
http://sourceforge.net/p/libstoragemgmt/code/ci/master/tree/plugin/smispy/smis.py
and
http://sourceforge.net/p/libstoragemgmt/code/ci/master/tree/plugin/smispy/eseries.py
If LGPL copyright is not acceptable, you can check my wiki page to build
your own code.
https://sourceforge.net/p/libstoragemgmt/wiki/HowDoWeUseSMIS/
Hope these helps.
Best regards.
[1]
http://pic.dhe.ibm.com/infocenter/director/pubs/topic/com.ibm.director.storage.helps.doc/fqm0_c_sm_where_to_obtain_proxy_providers.html
--
Gris Ge