-
Notifications
You must be signed in to change notification settings - Fork 218
Failover
The failover system is an optional feature that extends the master driver. Similarly configured Volttron instances collect from the same device(s) for easy horizontal scaling. Instances will take turns scraping and publishing data so that each has more free cycles between scrapes. If one dies, those remaining won't be interrupted. It can currently be found in the feature/failover branch.
_____________
| |
________ | Collector 0 | ________
| |----->|_____________|----------->| |
| DEVICE | _____________ | Target |
|________|----->| |----------->|________|
| Collector 1 |
|_____________|
Redundant Volttron instances will have almost identical configurations. The following variables tell the drivers how periodic scrape intervals should be adjusted:
- failover_array_size - The number of collecting instances.
- failover_instance_id - Zero is the first instance.
Below is an example of a master driver's config file using the failover feature. This will be one instance in a pair.
{
"agentid": "master_driver",
"failover_array_size": 2,
"failover_instance_id": 0,
# "failover_instance_id": 1,
"driver_config_list": ["driver1.config", "driver2.config"]
}
- Automatically reschedule collection when an instance fails.
- Dynamically add and remove instances from a collection array. This should be available in VC.
- Platform Agent
- VOLTTRON Central Agent
- Platform Commands
- Platform Configuration
- [Platform Hardening Security Recommendations] (Linux-Platform-Hardening-Recommendations-for-VOLTTRON-users)
- ...
- [Building VOLTTRON] (Building-VOLTTRON)
- Example Agents
- Agent Development
- [Shortcut Scripts] (Scripts)
- [VOLTTRON Conventions] (Conventions)
- [sMAP Test Server] (sMAP-Test-Instance)
- [Design Discussions] (Design Discussions)
- VIP
- VIP - VOLTTRON Interconnect Protocol
- RPC by example
- VIP - Known Identities
- VIP - Authentication
- VIP - Authorization
- Protecting Pub/Sub Topics
- Setup Eclipse for VOLTTRON
- Deployment Walkthrough
- Forward Historian Walkthrough
- [Create New Historian Agent] (Developing-Historian-Agents)
- [Create New Driver Agent] (Develop-Driver-Agent)
- [Developing With Eclipse] (Eclipse)
- Migrations
- [2.x to 3.x Migration](2.x-to 3.x-Migration)
- 1.2 to 2.0 Migration
- [Deployment Recommendations](Recommendations for Deployments)
VOLTTRON Versions and Features
Transactional Network Platform Overview
- Established Topics
- Working with the Actuator Agent
- Logging
- [Multi-Node Communication] (MultiBuildingMessaging)
Information Exchange Standards