-
Notifications
You must be signed in to change notification settings - Fork 218
MultiNodeExample
jhaack edited this page Oct 1, 2014
·
8 revisions
. env/bin/activate
mkdir ~/.platform1
VOLTTRON_HOME=~/.platform1 volttron -vv -l platform1.log&
VOLTTRON_HOME=~/.platform1 volttron-pkg package Agents/MultiBuilding
VOLTTRON_HOME=~/.platform1 volttron-pkg configure /tmp/volttron_wheels/multibuildingagent-0.1-py2-none-any.whl Agents/MultiNodeExample/multicomm.service
VOLTTRON_HOME=~/.platform1 volttron-ctl install multinode=/tmp/volttron_wheels/multibuildingagent-0.1-py2-none-any.whl
VOLTTRON_HOME=~/.platform1 volttron-pkg package Agents/MultiNodeExample
VOLTTRON_HOME=~/.platform1 volttron-pkg configure /tmp/volttron_wheels/greeteragent-0.1-py2-none-any.whl Agents/MultiNodeExample/agent1.config
VOLTTRON_HOME=~/.platform1 volttron-ctl install greeter=/tmp/volttron_wheels/greeteragent-0.1-py2-none-any.whl
mkdir ~/.platform2
VOLTTRON_HOME=~/.platform2 volttron -vv -l platform2.log&
VOLTTRON_HOME=~/.platform2 volttron-pkg package Agents/MultiBuilding
VOLTTRON_HOME=~/.platform2 volttron-pkg configure /tmp/volttron_wheels/multibuildingagent-0.1-py2-none-any.whl Agents/MultiNodeExample/multicomm2.service
VOLTTRON_HOME=~/.platform2 volttron-ctl install multinode=/tmp/volttron_wheels/multibuildingagent-0.1-py2-none-any.whl
VOLTTRON_HOME=~/.platform2 volttron-pkg package Agents/MultiNodeExample
VOLTTRON_HOME=~/.platform2 volttron-pkg configure /tmp/volttron_wheels/greeteragent-0.1-py2-none-any.whl Agents/MultiNodeExample/agent2.config
VOLTTRON_HOME=~/.platform2 volttron-ctl install greeter=/tmp/volttron_wheels/greeteragent-0.1-py2-none-any.whl
VOLTTRON_HOME=~/.platform1 volttron-ctl start --tag multinode
VOLTTRON_HOME=~/.platform1 volttron-ctl start --tag greeter
VOLTTRON_HOME=~/.platform2 volttron-ctl start --tag multinode
VOLTTRON_HOME=~/.platform2 volttron-ctl start --tag greeter
grep Greeter2 platform1.log -a
2014-09-30 17:13:41,840 (greeteragent-0.1 13878) greeter.agent DEBUG: Topic: greetings/hello, Headers: Headers({u'Date': u'2014-10-01 00:13:41.831539Z', u'Cookie': u'Greeter2', u'AgentID': u'Greeter2', u'Content-Type': [u'application/json']}), Message: ['{"message":"HELLO from Greeter2!"}']
grep Greeter1 platform2.log -a
- 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