KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/22697/root/usr/lib/python2.4/site-packages/sos/plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/22697/root/usr/lib/python2.4/site-packages/sos/plugins/emc.pyo
mò
Ül2Wc@sDdkZdkZdkZdkZdeiifd„ƒYZdS(NtemccBsVtZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
RS(	sREMC related information (PowerPath, Solutions Enabler CLI and Navisphere CLI)
    cCs_|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒdS(	s. EMC Corporation specific information
        sa<center><h1><font size="+4"color="blue">EMC&sup2;</font><font size="-2" color="blue">&reg;</font>sS<br><font size="+1">where information lives</font><font size="-2">&reg;</font></h1>sMEMC Corporation is the world's leading developer and provider of information s\infrastructure technology and solutions that enable organizations of all sizes to transform sDthe way they compete and create value from their information. &nbsp;s>Information about EMC's products and services can be found at s7<a href="http://www.EMC.com/">www.EMC.com</a>.</center>N(tselft
addCustomText(R((t3/usr/lib/python2.4/site-packages/sos/plugins/emc.pyt	about_emcs






cCs†|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|id	ƒ|id
ƒdS(s4 EMC PowerPath specific information - files
        s/sbin/powermt versions/etc/init.d/PowerPaths/etc/powermt.customs/etc/emcp_registrations/etc/emc/mpaa.excludeds/etc/emc/mpaa.lamss/etc/emcp_devicesDB.dats/etc/emcp_devicesDB.idxs/etc/emc/powerkmd.customs/etc/modprobe.conf.ppN(RtcollectExtOutputtaddCopySpec(R((Rtget_pp_files%s









cCs_|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒdS(	s7 EMC PowerPath specific information - commands
        s/sbin/powermt displays/sbin/powermt display dev=alls /sbin/powermt check_registrations/sbin/powermt display optionss/sbin/powermt display portss/sbin/powermt display pathss/sbin/powermt dumpN(RR(R((Rt
get_pp_config4s






cCs+|idƒ|idƒ|idƒdS(sC EMC Solutions Enabler SYMCLI specific information - files
        s/var/symapi/db/symapi_db.bins/var/symapi/config/[a-z]*s/var/symapi/log/[a-z]*N(RR(R((Rtget_symcli_files@s



cCsM|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|id	ƒ|id
ƒ|idƒ|idƒ|id
ƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|id ƒ|id!ƒ|id"ƒ|id#ƒ|id$ƒ|id%ƒ|id&ƒ|id'ƒ|id(ƒ|id)ƒ|id*ƒ|id+ƒ|id,ƒ|id-ƒd.S(/sV EMC Solutions Enabler SYMCLI specific information - Symmetrix/DMX - commands
        s/usr/symcli/bin/symcli -defs/usr/symcli/bin/symdg lists/usr/symcli/bin/symdg -v lists/usr/symcli/bin/symcg lists/usr/symcli/bin/symcg -v lists/usr/symcli/bin/symcfg lists/usr/symcli/bin/symcfg -v lists/usr/symcli/bin/symcfg -dbs'/usr/symcli/bin/symcfg -semaphores lists'/usr/symcli/bin/symcfg -dir all -v lists(/usr/symcli/bin/symcfg -connections lists#/usr/symcli/bin/symcfg -app -v lists)/usr/symcli/bin/symcfg -fa all -port lists)/usr/symcli/bin/symcfg -ra all -port lists)/usr/symcli/bin/symcfg -sa all -port lists!/usr/symcli/bin/symcfg list -locks&/usr/symcli/bin/symcfg list -lockn alls/usr/symcli/bin/syminqs/usr/symcli/bin/syminq -vs/usr/symcli/bin/syminq -symmidss!/usr/symcli/bin/syminq hba -fibres /usr/symcli/bin/syminq hba -scsis$/usr/symcli/bin/symhost show -configs/usr/symcli/bin/stordaemon lists"/usr/symcli/bin/stordaemon -v lists/usr/symcli/bin/sympd lists/usr/symcli/bin/sympd list -vcms/usr/symcli/bin/symdev lists/usr/symcli/bin/symdev -v lists!/usr/symcli/bin/symdev -rdfa lists$/usr/symcli/bin/symdev -rdfa -v lists/usr/symcli/bin/symbcv lists/usr/symcli/bin/symbcv -v lists/usr/symcli/bin/symrdf lists/usr/symcli/bin/symrdf -v lists!/usr/symcli/bin/symrdf -rdfa lists$/usr/symcli/bin/symrdf -rdfa -v lists/usr/symcli/bin/symsnap lists&/usr/symcli/bin/symsnap list -savedevss/usr/symcli/bin/symclone lists/usr/symcli/bin/symevent lists /usr/symcli/bin/symmask list hbas#/usr/symcli/bin/symmask list loginss'/usr/symcli/bin/symmaskdb list databases*/usr/symcli/bin/symmaskdb -v list databaseN(RR(R((Rtget_symcli_configHs^












































cCsE|idƒ|idƒ|idƒ|idƒ|idƒdS(sH EMC Navisphere Host Agent NAVICLI specific information - files
        s/etc/Navisphere/agent.configs/etc/Navisphere/Navimon.cfgs/etc/Navisphere/Quietmode.cfgs/etc/Navisphere/messages/[a-z]*s/etc/Navisphere/log/[a-z]*N(RR(R((Rtget_navicli_configzs




cCsá|id|ƒ|id|ƒ|id|ƒ|id|ƒ|id|ƒ|id|ƒ|id|ƒ|id|ƒ|id	|ƒ|id
|ƒ|id|ƒ|id|ƒ|id
|ƒdS(sV EMC Navisphere Host Agent NAVICLI specific information - CLARiiON - commands
        s(/opt/Navisphere/bin/navicli -h %s getalls0/opt/Navisphere/bin/navicli -h %s getsptime -spas0/opt/Navisphere/bin/navicli -h %s getsptime -spbs(/opt/Navisphere/bin/navicli -h %s getlogs)/opt/Navisphere/bin/navicli -h %s getdisks*/opt/Navisphere/bin/navicli -h %s getcaches(/opt/Navisphere/bin/navicli -h %s getlunsR/opt/Navisphere/bin/navicli -h %s getlun -rg -type -default -owner -crus -capacitys,/opt/Navisphere/bin/navicli -h %s lunmapinfos)/opt/Navisphere/bin/navicli -h %s getcruss1/opt/Navisphere/bin/navicli -h %s port -list -alls4/opt/Navisphere/bin/navicli -h %s storagegroup -lists2/opt/Navisphere/bin/navicli -h %s spportspeed -getN(RRt
SP_address(RR((Rtget_navicli_SP_info„sc
CsSd}tidƒ}|djo+dGHdGH|idƒ|iƒd}ntii	dƒod	GHd
GH|i
ƒntidƒ}|djo5dGHd
GH|idƒ|iƒ|i
ƒd}ntii	dƒoXdGHdGH|idƒ|iƒdGHdGHdGHdGHdGHdGHd}g}d}x†|djoxtdƒ}tid|ƒ\}}	|djo|i|ƒq0|djo
d|GHn|djo
d}q0q0W|iƒx5|D]-}|i|ƒdjo|i|ƒqÇqÇWx9|D]-}|djod|GH|i|ƒqÿqÿWn|djo|iƒndS(Ntnos$/bin/rpm -qa | /bin/grep -i EMCpowertsEMC PowerPath is installed.s' Gathering EMC PowerPath information...sEMC PowerPath is installed.<br>tyess
/proc/emcpsEMC PowerPath is running.s2 Gathering additional EMC PowerPath information...s)/bin/rpm -qa | /bin/grep -i symcli-symclis*EMC Solutions Enabler SYMCLI is installed.s6 Gathering EMC Solutions Enabler SYMCLI information...s'EMC Solutions Enabler is installed.<br>s/opt/Navisphere/bins4The EMC CLARiiON Navisphere Host Agent is installed.s4EMC CLARiiON Navisphere Host Agent is installed.<br>s7 Gathering Navisphere NAVICLI Host Agent information...s< Please enter a CLARiiON SP IP address.  In order to collects5 information for both SPA and SPB as well as multiplesB CLARiiON arrays (if desired) you will be prompted multiple times.s To exit simply press [Enter]tstay_ins+CLARiiON SP IP Address or [Enter] to exit: s+/opt/Navisphere/bin/navicli -h %s getsptimeis@The IP address you entered, %s, is not to an active CLARiiON SP.tget_outis( Gathering NAVICLI information for %s...(t
add_about_emctcommandst	getoutputtemc_pp_installedRRRtostpathtisdirRtemc_symcli_installedR	R
RtCLARiiON_IP_address_listtCLARiiON_IP_loopt	raw_inputtanstgetstatusoutputtstatustoutputtappendtsortRtcounttremoveR
R(
RRR RRRRRRR!((Rtsetup–sr

















	
(t__name__t
__module__t__doc__RRRR	R
RR
R&(((RRs					2	
	(Rtsos.plugintoolstsosRtsystplugintoolst
PluginBaseR(R,RRR+R((Rt?s$

Anon7 - 2021