DépliantSommarioCisco Configuration Engine 2.0 Overview1Agenda2Cisco Configuration Engine (CCE)?3Source of Network Failures4Product Feature-by-Feature Benefits5CNS-CE Architecture6Zero-Touch Initial Deployment7Pre-deployment8Sample Bootstrap – FastEthernet9Zero Touch Deployment Illustration10Zero Touch Flow with Autoinstall to load bootstrap11Post Deployment Management12On Going Changes And Network Updates13Image Services14Hierarchical Group for any Taxonomy15Grouping Illustration16Web GUI17Hierarchical View18Device Search/Dynamic Creation Of Groups19Device Inventory20Configuration Services21Image Services22Web Services23Web Services Overview24Web Service Programmatic API - Architecture25Web Service Programmatic API - Example26Device Module Development Toolkit27What is Device Module Development Toolkit?28How to use Device Module Development Toolkit?29Velocity Templates30Velocity Templates31Velocity Templates - Example32Velocity Templates - Example33Configuration Engine Hardware34Reference Customer - Cisco IT-ECT Deployment: 13,000+ users expanding to 30,000+35More Details36Dimensioni: 1,12 MBPagine: 37Language: EnglishApri il manuale
Guida Alla Risoluzione Dei ProblemiSommarioChecking the Version Number of Cisco Configuration Engine1Troubleshooting Logging and Connection Issues2System Login Problem2System Cannot Connect to the Network3Cannot Connect to the System Using a Web Browser4Problems Connecting to the System with Secure Shell4Cannot Connect to the System Using Telnet5Troubleshooting Installation Checks5Root User Check5Check for OS, CPU, RAM, and Disk space6Checks for dependent and CE Packages6Check for Dependent OS Packages7Installation Checks Performed by CE Check Script7Check for OS Dependent Package Files Missing7Troubleshooting the OpenLDAP and BDB8OpenLDAP Server Not Responding8BDB Using Excessive Disk Space8Troubleshooting the Cisco CE Services9Cisco CE Not Working Properly9No Response Received for the XML Request9Troubleshooting the Web Services10Cisco CE GUI Not Displaying10Undeploying Services10Timeout Error Message for Cisco Networking Services Agents11Troubleshooting the Initial Configuration11Problem with Initial Configuration11Monitor Event Traffic and Cisco CE Process Status13Troubleshooting a Configuration Update13CNS-Enabled Device Unable to Connect with Cisco CE13CNS-Enabled Device Configuration Update Failed15Configuration Update Stuck in Queue After Data Migration17Configuration Update Stuck in Queue After Data Backup and Restore18Troubleshooting an Image Update19Information About Log Files19Cannot Activate Image19Activation Failed Due to Device Error19Image Update Stopped20In Progress Job Fails21Troubleshooting IMGW21Obtaining Detailed Debugging Information21Troubleshooting the Router22Enabling Debugging on the Router22General Troubleshooting22Error Message: Failed to Create the Device on Remote Database22CNS-listen Command Failed to Execute23Configuring the CNS Event Backup with SSL.23HTTPD is Down When Crypto is Enabled24Web Service Deployment Error When Crypto is Enabled24Backup and Restore Fails25Device Status25Backup Job Fails26Event Gateway Problem26Device Status in Red27Configure Device with Ports27Config Initial Status27Device with Same Configuration27Cisco CE Server Crashes on Linux Server28GUI Display Problem in Internet Explorer 6.028Accessing Cisco CE GUI28Device Configuration Problem28Dimensioni: 326 KBPagine: 30Language: EnglishApri il manuale
Guida Dello SviluppatoreSommarioCisco Configuration Engine Software Development Kit API Reference and Programmer Guide 3.5.31Contents3About This Guide17Objective17Who Should Use This Book17Related Documentation18Conventions18Cisco Developer Support Program18Product Overview21Operating Modes22Administration and Setup22Administrative Steps for Internal Directory Mode23Administrative Steps for External Directory Mode23Loading the Device Schema23SDK Directories24Event Service and IMGW25Event Service Overview25Event Services Structure27Event Service Features28Detection of lost sessions28Reliable delivery of messages28Subject-based addressing28Advisory messages28Deployment configuration28Intelligent Modular Gateway29Event Bus Interface30Device Interface30Event Bus Interface30IMGW Device Information Database33Data Structures33Examples34Supported Device Types34Hopinfo Examples35Depreciated IMGW API37Simulated Agents37End User Interface39Configuration Service41Configuration Service Overview41Template File Manager42Usage42Configuration Engine File Management DTD42Template File XML Response Messages44Limitations47Error Codes47Examples48Client Examples48XML Request Examples51XML Response Example53Template Features53Dynamic Template and Object54Preparation54URL to Connect to Configuration Engine55Example55Error Handling55Restrictions56Namespace Mapping Service57Namespace Mapper57Namespace Mapper Operation58Namespace Mapper (NSM) Client API59Namespace Mapper Client Modes60Namespace Mapper Server61Object Model61GroupItem62Device62Group62Application Namespace62Event63Schema Description63Device63Group63Application Namespace64Event Object64Mapping Algorithm66Subscriber Logic66Publisher Logic67Default Namespace config67Administration and Setup67NSM API Usage68NSM SDK Contents70Constants70Supported CPP Compilers71Solaris71Solaris C++71Java71NSM Client API Reference71class NSMClient71Public Functions72NSMClient()72create()72attach()72detach()72resolve()73resolve()73resolve()74class NSMResolveRequest75Public Functions75NSMResolveRequest()75NSMResolveRequest()75get_dev_id()75get_event()76get_action()76get_element()76set_dev_id()76set_event()77set_action()77set_element()77class NSMResult77Public Functions78NSMResult()78get_num_items()78class NSMResultIterator78Public Functions78NSMResultIterator()78advance()78value()79isEnd()79Web Services: Admin, Config, Image, Exec, NSM81Web Services Model81Configuration Engine Web Services Overview82Managed vs. Un-managed Objects82Aggregate Objects83Error-Handling83The Definitions of Service Codes84Definitions of Status Codes and Their Root Causes84Common Semantics87Security87Example Scenarios & Sample Code88Scenario 1: Send Configuration to Non-agent-enabled Device (using un-managed objects)88Prepare ConfigService Client Stub with Username and Password88Prepare Parameters89Complete Code90Scenario 2: Create Agent-enabled Device in Default Group (managed object)93Prepare Admin Service with Username and Password93Prepare Parameters94Prepare CNSDevice Object94Prepare Attributes94Prepare Token Object94Complete Code94Notes96Setting Credentials into an org.apache.axis.client.Stub96JSSE & Keytool Guide97JSSE97Troubleshooting Tips98Keystores and Truststores98Configuration Requirements (JSSE Sample Code)99Creating Simple Keystore and Truststore (Unix)99Java Utility keytool99OpenSSL100Web Services Testing Tool100Depreciated Image Web Service100End User Interface101Exception Handling101Operational Methods102getImageInventoryReport102submitJob102evaluateJob103listJobIds104getJobStatus104getJobDetailStatus105stopJob105restartJob105cancelJob106Administrative Methods106deleteDevice106deleteGroup107deleteImage107Import Template107Export Template108bulkUpload109Types109Notes110Example Scenarios110Background111Data Management111Objects111Scenario One111Objective111Assumptions111Preconditions111Steps111Notes113Scenario Two113Objective113Assumptions113Preconditions113Steps114Sample Bulkupload Files114Image Web Service WSDL117Spreadsheet Bulk Upload133Namespace Administration, Group Administration, and Notification APIs135Namespace Administration API135Class NamespaceAdminFactory135Constructor136Create136Delete136Class NamespaceAdmin137Add Namespace137Namespace Deletion137Clone Namespace138List All Namespaces139List Selected Namespaces140Add Subject in Namespace140Delete Subject in Namespace141List All Subjects in Namespace142List Selected Subjects in a Namespace142Add Mapping for Given Subject Into Namespace143Deleting Mapping from Namespace144List Subject Mapping145Get Mapping Resolution Mode146Set Notification147Group Administration API148Grouping rules148Class GroupAdminFactory149Constructor149create150Delete150GroupMember151Class GroupAdmin - Group Administration API151Add Members151Delete Members153Delete All Members154Move Members155List Members157List Groups158Clone Members159Clone All Members161Clone Groups162Rename Group162isMember164List Parents164Set Notification165Partial-complete Operation Upon Failure166Notification API167Class GroupChangeNotification167GroupChangeNotification167startNotification167stopNotification168Class NamespaceChangeNotification168NamespaceChangeNotification168startNotification168stopNotification169Class NotificationHandler169Class DataChangeInfo170Class GroupChangeInfo170Class NamespaceChangeInfo173Dynamic Grouping of Devices173Synchronization Between Publishers and Subscribers174NSM Clients in Cisco Configuration Engine174Event Gateway174Intelligent Modular Gateway174Configuration Server174NSM Support for Hierarchical Groups175Model Change175Advantages175Disadvantage175Schema Changes175Mapping Scenarios176Example176Terminology176NSM Mapping Rules177Mapping Scenarios177Algorithmic Mode177Non-algorithmic Mode179C++ Error Codes180ErrorInfo183MemberElementInfo184ReturnObject184Namespace Administration API Reference185C++ Version185Java Version187Properties Supported190Group Administration API Reference191C++ Version191Java Version192Properties Supported195Notification API Reference196C++ Version196Java Version198Device Administration Interface API201Setup201Solaris Java Environment201Solaris C++ environment201Software Architecture202Sequence of Operations202Remote Implementation202End User Interface203Status of Operations203Thread Safety204Class Transport204Get Transport Type204Get Transport Identifier204Class CNSAgentTransport204Constructor204Class AgentProxyTransport205Constructor205Set Gateway ID205Get Gateway ID205Set Hop Info206Get Hop Info206Class HopInfo206Constructor206Set Hop Type207Set IP Address207Set Port207Set Username207Set Password208Get Hop Type208Get IP Address208Get Port208Get Username208Get Password209Class AgentProxyConfiguration209Add Error Pattern209Delete Error Pattern209Get Error Pattern210Add Ignore Pattern210Delete Ignore Pattern210Get Ignore Pattern210Class DeviceServiceAttribute211Get Service Type211Register Service211Unregister Service211Set Service Transport212Get Service Transport212Set Device Identifier212Get Device Identifier213Set Device Password213Get Device Password213Class ConfigurationAttributes214Set Template214Add Template214Get Template214Delete Template215Class CNSDevice215Constructor215Get Device Type215Get Device Identifier216Get Device Name216Class PIXDevice216Constructor216Set Password216Get Password216Set Configuration Action217Get Configuration Action217Set Error Action217Get Error Action217Class ASADevice218Constructor218Set Password218Get Password218Set Configuration Action218Get Configuration Action218Set Error Action219Get Error Action219Class LineCardDevice219Constructor219Class DeviceAdminFactory219Constructor220Create CNSDeviceManager Object220Delete CNSDeviceManager Object220Create LineCardManager Object220Delete LineCardManager Object221Create DeviceServiceAttr Object221Delete DeviceServiceAttr Object221Create AgentProxyConfiguration Object221Delete AgentProxyConfiguration Object221Class CNSDeviceManager222CreateDevice222CreateDevice222CreateDevice222CreateDevice223Rename Device223Get Device Type223Set Event ID224Get Event ID224Set Device Attributes224Get Device Attribute225Delete Device Attribute225Delete Device Object225List Device Objects226List Device Objects Based on Condition226List All Device Attribute Names227Get All Registered Services227Class LineCardManager228Associate Subdevice228Disassociate Subdevice228List Subdevices228Get Line Card Type229Get Parent Device229Class ResultAttribute229Get Attribute Name229Get Attribute Values230Class ResultObject230Get Attributes230Get Name230Class ResultSetIterator231Get Next Object231Get Next n Objects231Configuration and Restrictions231Security232C++ Version of Device Interface API232API Definition232Return Codes240Java Version of Device Interface API241API Signature241Exceptions247Creating Provisioning Solution251Creating Provisioning Solutions251Partial Configuration Using Cisco Configuration Engine251Configuration ID and Event ID252Pull and Push Modes252Sequence of Operations in Pull Mode252Sequence of Operations in Push Mode255Two-stage Commit257Sequence of Operations in Two-stage Commit257Creating Application Using SDK for Agent Enabled Devices259Creating Provisioning Application for Non-Agent Enabled Devices260DTDs for Cisco IOS Devices261Event Gateway Communications261config_id261Event DTDs and Sample XML262cisco.mgmt.cns.config.load262Push Message262DTD for a Push Message262Sample XML for a Push Message263Completion Messages for a Push Message263Pull Message264DTD for a Pull Message264Sample XML for a Pull Message265Completion Messages for a Pull Message265Write Message265DTD for a Write Message265Sample XML for a Write Message266Completion Messages for a Write Message266cisco.mgmt.cns.config.complete266DTD for a Complete Message266Sample XML for a Complete Event266cisco.mgmt.cns.config.failure267DTD for a Failure Event267Sample XML for a Failure Event267cisco.mgmt.cns.config.warning267DTD for a Warning Message267Sample XML for a Warning Message268cisco.mgmt.cns.config.sync-status268DTD for a Sync-complete Message268Sample XML for a Sync-complete Message269DTD for a Sync-failure Message269Sample XML for a Sync-failure Message269DTD for a Sync-warning Message269Sample XML for a Sync-warning Message270cisco.mgmt.cns.event.boot270cisco.mgmt.cns.device.connect270DTD for a Connect Message270Sample XML for a Device Connect Message271cisco.mgmt.cns.device.disconnect271DTD for a Disconnect Message271Sample XML for a Device Disconnect Event271cisco.mgmt.cns.exec.cmd272DTD for an Exec Event272Sample XML for an Exec Message273cisco.mgmt.cns.exec.rsp273DTD for an Exec Response Message273Sample XML for an Successful Exec Response Event273Sample XML for an Failure Exec Response Event273cisco.mgmt.cns.inventory.get274cisco.mgmt.cns.inventory.device-details274DTD for an Inventory Response Message274Sample XML for an Inventory Response Message275cisco.mgmt.cns.event.id-changed277DTD for an Event ID Changed Message277Sample XML for an Event ID Changed Event277cisco.mgmt.cns.config.id-changed278DTD for an Config ID Changed Event278Sample XML for an Config ID Changed Event278cisco.mgmt.cns.config-changed278DTD for a Config-changed Event278Sample XML for a config-changed event278Sample DTD for Config-changed Event279Sample XML279Sample XML for Lost-changes Event280cisco.mgmt.cns.snmp.rqst280DTD for a non-granular snmp request message281cisco.mgmt.cns.snmp.resp281DTD for a non-granular snmp response message281cisco.mgmt.cns.snmp.trap281DTD for a non-granular snmp response message281cisco.mgmt.cns.mibaccess.request282DTD for a granular mibaccess request message282cisco.mgmt.cns.mibaccess.response283DTD for a granular mibaccess response message283cisco.mgmt.cns.mibaccess.notification284DTD for a granular mibaccess notification message284IMGW API Reference287IMGWDevice API287package com.cisco.cns.imgw287public class IMGWDevice287Public Data Structures and Types287static final int IMAGE_AGENT287static final int CONFIG_AGENT287Public Methods287setDebug()287IMGWDevice()288addErrorPattern()288deleteErrorPattern()288getErrorPattern()289addIgnorePattern()289deleteIgnorePattern()289getIgnorePattern()290listAllDevices()290listAllDevices()290listAllDevices()291listAllDevices()291createDevice()292createDevice()292getDeviceType()293addDeviceHop()293getDeviceHop()293deleteDevice()294modifyDeviceHop()294modifyDeviceHop()295getGatewayId()295getSimulatedAgents()296HopInfo API297package com.cisco.cns.imgw297public class HopInfo297Public Methods297HopInfo()297HopInfo()297setHopType()297setIPAddr()298setPort()298setUserName()298setPassword()298getHopType()299getIPAddr()299getPort()299getUserName()299getPassword()300Exceptions300package com.cisco.cns.imgw300public class OperationFailedException extends Exception300Public Methods300OperationFailedException()300OperationFailedException()300public class DeviceNotFoundException extends Exception300DeviceNotFoundException()301DeviceNotFoundException()301public class InvalidHopException extends InvalidParameterException301InvalidHopException()301InvalidHopException()301public class InvalidParameterException extends Exception302InvalidParameterException()302InvalidParameterException()302public class NetworkException extends Exception302NetworkException()302NetworkException()302public class NoSuchHopException extends Exception303NoSuchHopException()303NoSuchHopException()303public class DeviceAlreadyExistsException extends Exception303DeviceAlreadyExistsException()303DeviceAlreadyExistsException()303Code Samples305Using the Event API and the Namespace Mapper API305C++305Makefiles319Java320Common Files332IMGW API Test Code332testDriver.Java332Sample Schema335Parameter Descriptions335IMGW Error Codes & Sample Source337IMGW Error Code Messages337Code Sample for IMGW Device Information API339Dimensioni: 6,85 MBPagine: 348Language: EnglishApri il manuale