About Clever Devices CleverCAD Plugin
The Clever Devices CleverCAD Plugin is an add-on to Neverfail Continuity Engine, which provides protection for Clever Devices CleverCAD. It configures Neverfail Continuity Engine to protect both the configuration, data and service items used by Clever Devices CleverCAD application, and also monitors aspects of the application and its environment that could affect availability.
What's New
- Plugin defined tasks for enable/disable CleverDevices_CADStore scheduled task depending if active or passive node.
Discovery | Control | Monitoring
Clever Devices CleverCAD Plugin discovery, control, monitoring and replication consists of the following:
- Service Availability Monitoring
- Application Monitoring
- Performance and Application Health Monitoring
Service Availability Control and Monitoring
Neverfail Engine monitors services specified by the plug-ins to ensure application availability. In the event that a specified service stops or fails, Neverfail Engine can take up to three pre-configured actions to remedy the issue. The user may configure these reactions via the Continuity Engine Management Service User Interface.
When the plug-in is installed, it scans all services to see if they are in the automatic or the started state. When the plug-in is installed, all protected services will be set to manual (unless otherwise stated).
List of all Clever Devices CleverCAD services protected by this plug-in:
- CAD.DCCGateway (DCCGateway)
- CAD.MessageServer (CAD.MessageServer)
- CAD.Mobile (available in CAD v9.9)
- CAD.REALTIMESCHEDULING (available in CAD v9.9; removed in v10)
- CAD.ProcessController (CAD.ProcessController)
- CAD.TTSService (CAD.TTSService)
- CAD.TTSService 32bit (CAD.TTSService32bit)
IIS and SQL database instances protection
- Microsoft SQL Server databases is protected by separate/dedicated plugin solution: – SQL Server Plugin.
- Microsoft IIS Server is protected by separate/dedicated plugin solution: – IIS Server Plugin.
Application Discovery and Monitoring
Clever Devices CleverCAD Plugin automatically discovers the application's installed database instances, configuration files, registries and data storage paths, assuring protection and real-time replication for both application’s discovered data and detected services. The application protected items changes are dynamically discovered and applied through a set of dedicated tasks executed periodically.
The following 'Tasks' are installed by Clever Devices CleverCAD Plugin:
- Periodic
- Protected Services Discovery
- File Filter Discovery
Pre-install requirement:
NeverfailProtected registry key created in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Clever Devices, with CADClientUpdateInstallDir and CADDatabaseInstallDir string values defined (e.g. E:\Program Files (x86)\CleverDevices\CAD.ClientUpdate, C:\Program Files (x86)\CleverDevices\CAD.Database)
- Registry Filter Discovery
- DisableCADSToreScheduledTaskOnPassive
- periodic 1-minute task checking if passive node and disabling task if passive node
- Post Start
- executed after applications start (i.e. when applications are started, when Engine start as active, when user hits start applications, at switchover as part of stat applications plan)
- Enables CleverDevices_CADStore scheduled task
- Pre Stop
- executed before applications stop (i.e. when applications are stopped, when user hits stop applications, at switchover as part of stop applications plan)
- Disables CleverDevices_CADStore scheduled task
- Rule Action
- RestartRTS: when executed, it launches "%ProgramData%\Neverfail-Protected\CADScripts\RestartRTS.bat" script
- RestartCADMobile: when executed, it launches "%ProgramData%\Neverfail-Protected\CADScripts\RestartCADMobile.bat" script
To configure/modify Periodic 'Tasks', follow the steps below:
- Using the Neverfail Advanced Management Client, click on Application -> Tasks .
- Select the desired 'Task'.
- Click on the Edit button at the top of the 'Tasks' pane.
- Configure/modify the 'Interval' field.
Note: 'Interval' is the only field available for configuration/modification and is measured in seconds.
- Click OK to save the changes.
Note: This dialog is also used to Enable/Disable the selected 'Task'.
Rules – The following 'Rules' are installed by Clever Devices CleverCAD Plugin:
- CAD RTS Availability
- RTS - Dynamic Scheduling availability
- RTS - Multi-Variation Headway availability
- RTS - On Time Performance API availability
- RTS - Operations Modification API Service availability
- CAD Mobile Availability
- CAD Mobile - WCF services availability
Configuring the rules
By default, Clever Devices CleverCAD Plug-in rules and rule action tasks are installed with:
- state: disabled
- URL defined using localhost
- failure actions: Log Warning
- %ProgramData%\Neverfail-Protected\CADScripts\RestartRTS.bat and %ProgramData%\Neverfail-Protected\CADScripts\RestartCADMobile.bat rule action scripts created when the plugin is being installed areconfigured by default with Transit Domain ID: 1.
Recommended configuration – each rule and rule action script should be edited as follows:
- review / edit %ProgramData%\Neverfail-Protected\CADScripts\RestartRTS.bat script with correct Transit Domain ID
- review / edit %ProgramData%\Neverfail-Protected\CADScripts\RestartCADMobile.bat script with correct Transit Domain ID
- Note: assure %ProgramData%\Neverfail-Protected\CADScripts\ folder is part of the replication set. Add a user defined file filter if needed. (Starting with System plugin 401.5.7 %ProgramData%\Neverfail-Protected\** will be replicated by default)
- enable rule
- review / edit URL by replacing localhost with correct IP address or hostname
- edit RTS Availability rules failure actions:
- On First Failure: CleverDevicesCleverCAD\RestartRTS
- On Second Failure: CleverDevicesCleverCAD\RestartRTS
- On Third Failure: Switchover
- edit RTS Availability rules failure actions:
- On First Failure: CleverDevicesCleverCAD\RestartCADMobile
- On Second Failure: CleverDevicesCleverCAD\RestartCADMobile
- On Third Failure: Switchover
Install/Uninstall the Plug-in
Recommended/Automated - Install Plug-in Via Continuity Engine Management Service (EMS)
Procedure:
- Install the latest GA version of Continuity Engine Management Service.
- Login to EMS WebUI then install Continuity Engine on the target Clever Devices CleverCAD servers
Manual - Install Plug-in Via the Neverfail Advanced Management Client
The Clever Devices CleverCAD Plugin can be installed either via the Neverfail CE deployment process or by using Application -> Plugins in the Neverfail Advanced Management Client using the procedure below. Neverfail recommends that for initial deployments of Clever Devices CleverCAD Plugin, installation should be performed using Engine Management Service.
Procedure:
- Unzip the Clever Devices CleverCAD Plugin to the desired location.
- Launch the Neverfail Advanced Management Client.
- Navigate to Application -> Plugins .
- Click on the Install
- Click the Browse button and navigate to the location of the <plug-in name>.dll
- Click OK to complete the installation.
- Repeat this process for each individual plug-in.
To remove/uninstall the Clever Devices CleverCAD Plugin, follow the steps below:
- Launch the Neverfail Advanced Management Client.
- Navigate to Application -> Plugins .
- Select the desired plug-in to be removed/uninstalled.
- Click on the Uninstall button in the 'Plugins' pane.
- When the plug-in is uninstalled, the files are not removed. This is by design for future functionality and therefore the following workaround is provided:
- Copy the contents of the r2\plugins\<sponsor>\<version> folder to a different location (e.g. C:\temp).
- Delete the contents of the r2\plugins\<sponsor>\<version>
- To reinstall the plug-in, when prompted for the location of the plug-in files, navigate to the new folder location (e.g. C:\temp).
Note: As an alternative, reinstallation can be accomplished by using the downloaded files from the original download location after removing the plug-in.
Applies To
Clever
Devices CleverCAD Plugin 201.5.2