{"id":15914501,"url":"https://github.com/bbengfort/archipelago","last_synced_at":"2025-04-03T03:43:53.619Z","repository":{"id":69222702,"uuid":"86500159","full_name":"bbengfort/archipelago","owner":"bbengfort","description":"Fabric file and environment for managing the archipelago cluster.","archived":false,"fork":false,"pushed_at":"2017-04-25T18:52:45.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T17:45:47.154Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbengfort.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-28T19:41:10.000Z","updated_at":"2017-03-30T03:08:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"da80933b-f0bd-44d2-8fc6-a7b892c80f7b","html_url":"https://github.com/bbengfort/archipelago","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Farchipelago","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Farchipelago/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Farchipelago/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbengfort%2Farchipelago/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbengfort","download_url":"https://codeload.github.com/bbengfort/archipelago/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246933357,"owners_count":20857052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-06T17:03:38.021Z","updated_at":"2025-04-03T03:43:53.599Z","avatar_url":"https://github.com/bbengfort.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Archipelago\n\n**Fabric file and environment for managing the archipelago cluster.**\n\n## Getting Started\n\nThis repository simply hosts a simple fabric file for management commands on remote hosts in the cluster. To use it, install Fabric as follows:\n\n```\n$ pip install fabric\n```\n\nYou can then run commands as follows:\n\n```\n$ fab hostname\n```\n\nAnd they will execute on the entire cluster.\n\n## Basics\n\nRun the deploy command to pull the latest version of the project:\n\n```\n$ fab deploy\n```\n\nThis should run a bunch of commands on all hosts in parallel, pulling the most recent version of the repository and updating the dependencies with `godep`. The servers can all be run simultaneously as follows:\n\n```\n$ fab serve\n```\n\nThis command will run the alia serve command in the background using supervisord. The replicas can then be shutdown using the shutdown command:\n\n```\n$ fab shutdown\n```\n\nFinally the data (the replicated logs) can be ingested to a local directory as follows:\n\n```\n$ fab ingest:path/to/logs\n```\n\nNote that this command will download the logs from every host, saving them with their associated host name.\n\n## Management\n\nThere are a couple of management tasks implemented:\n\n```\n$ fab copyto:local,remote\n```\n\nCopies a file from the local path to the remote path on all hosts. If administrative permissions are required:\n\n```\n$ fab --sudo-password $PASSWORD copyto:local,remote,sudo=True\n```\n\nFinally you can apt-get install packages on all machines with:\n\n```\n$ fab --sudo-password $PASSWORD aptget:pkga,pkgb,pkgc\n```\n\nUse with care though, as this may require input from the user. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbengfort%2Farchipelago","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbengfort%2Farchipelago","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbengfort%2Farchipelago/lists"}