{"action":"created","issue":{"url":"https://api.github.com/repos/domogik/domogik/issues/82","labels_url":"https://api.github.com/repos/domogik/domogik/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/domogik/domogik/issues/82/comments","events_url":"https://api.github.com/repos/domogik/domogik/issues/82/events","html_url":"https://github.com/domogik/domogik/issues/82","id":95594319,"number":82,"title":"Add an agent","user":{"login":"Cereal2nd","id":3715825,"avatar_url":"https://avatars.githubusercontent.com/u/3715825?v=3","gravatar_id":"","url":"https://api.github.com/users/Cereal2nd","html_url":"https://github.com/Cereal2nd","followers_url":"https://api.github.com/users/Cereal2nd/followers","following_url":"https://api.github.com/users/Cereal2nd/following{/other_user}","gists_url":"https://api.github.com/users/Cereal2nd/gists{/gist_id}","starred_url":"https://api.github.com/users/Cereal2nd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cereal2nd/subscriptions","organizations_url":"https://api.github.com/users/Cereal2nd/orgs","repos_url":"https://api.github.com/users/Cereal2nd/repos","events_url":"https://api.github.com/users/Cereal2nd/events{/privacy}","received_events_url":"https://api.github.com/users/Cereal2nd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/domogik/domogik/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/domogik/domogik/milestones/5","html_url":"https://github.com/domogik/domogik/milestones/Multi-Host%20%3E%200.4.1","labels_url":"https://api.github.com/repos/domogik/domogik/milestones/5/labels","id":1212336,"number":5,"title":"Multi-Host > 0.4.1","description":"","creator":{"login":"Cereal2nd","id":3715825,"avatar_url":"https://avatars.githubusercontent.com/u/3715825?v=3","gravatar_id":"","url":"https://api.github.com/users/Cereal2nd","html_url":"https://github.com/Cereal2nd","followers_url":"https://api.github.com/users/Cereal2nd/followers","following_url":"https://api.github.com/users/Cereal2nd/following{/other_user}","gists_url":"https://api.github.com/users/Cereal2nd/gists{/gist_id}","starred_url":"https://api.github.com/users/Cereal2nd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cereal2nd/subscriptions","organizations_url":"https://api.github.com/users/Cereal2nd/orgs","repos_url":"https://api.github.com/users/Cereal2nd/repos","events_url":"https://api.github.com/users/Cereal2nd/events{/privacy}","received_events_url":"https://api.github.com/users/Cereal2nd/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-07-17T06:05:04Z","updated_at":"2015-09-09T07:44:57Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-07-17T06:05:08Z","updated_at":"2015-09-09T07:50:29Z","closed_at":null,"body":"Create a new core component named 'domogik agent' ?\r\nThis agent would be install on all secondary hosts (it will replace the manager roles in 0.2/0.3 for multi host).\r\nthis agent would wait for dedicate MQ messages to :\r\n\r\n    install a package\r\n    send binary data (package icon, products icons) over the MQ when requested (by the UI mainly)\r\n\r\nopen points :\r\n\r\n    can MQ handle small binary data (pictures) ?\r\n    can MQ handle big binary data (zip package). This would allow secondary hosts to not have an internet access and also to launch installations from local zip on the main host\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/domogik/domogik/issues/comments/138815374","html_url":"https://github.com/domogik/domogik/issues/82#issuecomment-138815374","issue_url":"https://api.github.com/repos/domogik/domogik/issues/82","id":138815374,"user":{"login":"fritz-smh","id":4557426,"avatar_url":"https://avatars.githubusercontent.com/u/4557426?v=3","gravatar_id":"","url":"https://api.github.com/users/fritz-smh","html_url":"https://github.com/fritz-smh","followers_url":"https://api.github.com/users/fritz-smh/followers","following_url":"https://api.github.com/users/fritz-smh/following{/other_user}","gists_url":"https://api.github.com/users/fritz-smh/gists{/gist_id}","starred_url":"https://api.github.com/users/fritz-smh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fritz-smh/subscriptions","organizations_url":"https://api.github.com/users/fritz-smh/orgs","repos_url":"https://api.github.com/users/fritz-smh/repos","events_url":"https://api.github.com/users/fritz-smh/events{/privacy}","received_events_url":"https://api.github.com/users/fritz-smh/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T07:50:29Z","updated_at":"2015-09-09T07:50:29Z","body":"This was an old ticket (from me I guess).\r\n\r\nToday I am not sure anymore we should handle it like this.\r\n\r\nMy current point of view : we should go towards a distributed architecture : each host can run on its own. And later on we could see how we could handle the failure of the main host (butler, scenario, dbmgr, mq) and let another host take the master role.\r\n\r\nWaiting for this, we should do this : \r\n- each host have the same domogik sources (and so components) (so, no more additionnal agent component to maintain)\r\n- on each host these components are running : manager, admin\r\n- each host is able to discover the other ones and from 1 admin there will be a way to jump to another admin\r\n- some components are up only one one host : domoweb, butler, scenario, ..."}}