210 likes | 320 Views
Informática UFRGS. Implementation and Bandwidth Consumption Evaluation of SNMP to Web Services Gateways. Ricardo Neisse Ricardo Vianna Lisandro Zambenedetti Granville Maria Janilce Bosquiroli Almeida Liane Margarida Rockenback Tarouco Federal University of Rio Grande do Sul, Brazil.
E N D
Informática UFRGS Implementation and Bandwidth Consumption Evaluation of SNMP to Web Services Gateways Ricardo Neisse Ricardo Vianna Lisandro Zambenedetti Granville Maria Janilce Bosquiroli Almeida Liane Margarida Rockenback Tarouco Federal University of Rio Grande do Sul, Brazil
Outline • Introduction • Web Services based management architecture • Type of gateways • Bandwidth consumption analysis • Conclusions and future work Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Introduction • SNMP x new management challenges • XML applied in network management • NETConf • SNMP to XML gateways • Web Services • … Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Web Services BasedManagement Architecture UDDI Look up WS based network managemend system Publish (WSDL) Network administrator Invoke (SOAP) SNMP to WS gateway WS based network management system SNMP Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Web Services Gateways • Provide access to device information through Web Services • Two types: • Protocol-level • Object-level Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Protocol Level Gateways • Map SNMP operations (Get, GetNext, Set) into Web Service calls • E.g. function Get ($ip, $community, $oid) function GetNext ($ip, $community, $oid) function Set ($ip, $community, $oid, $newvalue) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Object Level Gateways • Map each MIB object to a WS operation • E.g. function GetSysLocation ($ip, $community) function SetSysLocation ($ip, $community, $newvalue) function GetIfAdminStatus ($ip, $community, $index=-1) function SetIfAdminStatus ($ip, $community, $index, $newvalue) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Protocol level: Similar to SNMP Manager is forced to know the MIB structure New MIBs are supported without modifications in the gateway Dynamic creation is not required to protocol level gateways Object level: Operations and bindings are described in WSDL Changes in the MIB reflect in the gateway Gateway dynamic creation Protocol x Object Level Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
System for Gateway Dynamic Creation • Implemented in PHP • Generates object level gateways and WSDL descriptions from SMI MIB definitions • Uses LIBSMI to parse SMI files and NuSOAP to support Web Services Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Gateway Dynamic Creation SNMP to Web Service Gateway: require_once('nusoap.php'); $server = new soap_server(); ... $server->register('ifOutOctets'); function ifOutOctets($ip, $str_com, $index=-1){ if($ip=='' or $str_com=='') return new soap_fault(‘1','client',‘Invalid Parameters'); else { $res = snmpwalk($ip, $str_com, '.1.3.6.1.2.1.2.2.1.16'); if($index>-1) return $res[$index]; else return $res; } } ... $server->service($HTTP_RAW_POST_DATA); Web-based network management station Web server SMIDUMP (LIBSMI) Instrumentation (PHP SAX parser) New gateway (PHP Script) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Bandwidth Consumption Evaluation • SNMP versus WS protocol-level and object-level gateways • Web Service gateways over: • HTTP and HTTPS • With and without Compression (zlib) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Test Scenario Points of measurement SNMP SOAP Web Service based network management system SNMP to WS Gateway Linux (Apache) Linux (NetSNMP) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
SNMP Test Agent • Configure the number of objects to return in wsTableRows • SNMP data: oid.1 (integer 1) oid.2 (integer 2) ... oid.n (integer n) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Results (1): GetNext Operation of Protocol Based Gateway Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Results (2): GetWSColumn Operation of Object Based Gateway Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Results (3): GetNext Operation of Protocol-Level Gateway with Compression Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Results (4): GetWSColumn Operation of Object Based Gateway with Compression Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Conclusions • SNMP to Web Services gateways implementation • Object-level gateways do not require previous knowledge about object definitions • Object-level gateways always perform better than protocol-level gateways and perform better than SNMP when return: Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Future Work • Analysis of performance and memory required by gateways • Web Services Management Architecture • Configuration (NetConf) • Delegation (Script MIB) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Thank you! • Q&A? • Contact information: Ricardo Neisse neisse@inf.ufrgs.br Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil
Web Services Background UDDI Look up Publish SOAP Web Service Client Invoke WSDL described service Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil