{"_id":"556d98e442dd610d00a3cfde","version":{"_id":"54fa0050f63cf9210041c3c1","__v":5,"project":"54fa004ff63cf9210041c3be","createdAt":"2015-03-06T19:30:24.258Z","releaseDate":"2015-03-06T19:30:24.258Z","categories":["54fa0050f63cf9210041c3c2","54fa42b3961fea210092068e","54facefd5c41173700ecf296","54fad9d5f63cf9210041c669","54fae9ed5c41173700ecf2ad"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"__v":2,"category":{"_id":"54fa42b3961fea210092068e","pages":["54fada9b5c41173700ecf29e","54fadb625c41173700ecf2a0","54fae365019b2537006d00bc","5500a5712e8c48170076d163","551a876868da7f0d00f58cbc","5521351e29a3dc0d00fae453","5522b5af85fa041700623976","556d98e442dd610d00a3cfde"],"version":"54fa0050f63cf9210041c3c1","__v":8,"project":"54fa004ff63cf9210041c3be","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-03-07T00:13:39.405Z","from_sync":false,"order":0,"slug":"getting-started","title":"Getting Started"},"project":"54fa004ff63cf9210041c3be","user":"54fa0018e7a0ba2f00306211","githubsync":"","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-06-02T11:52:04.124Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":999,"body":"Paz works fine on a bare metal install, but there is no installation script available for it yet.\n\nYou need to create your cluster, then add the contents of [`bare_metal/user-data`](https://github.com/paz-sh/paz/blob/master/bare_metal/user-data) to your cloud config, and finally submit the unit files.\n\n1. Create your cluster.\n2. Paste the contents of bare_metal/user-data into your cloud config file. Be sure to alter the networking information to match your setup.\n3. Go to `http://discovery.etcd.io/new` and copy the URL that it prints in the browser, pasting it into the userdata text area instead of the one that is already there.\n4. Install Paz:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ ssh-add ~/.ssh/id_rsa\\n$ FLEETCTL_TUNNEL=<MACHINE_IP> fleetctl -strict-host-key-checking=false start unitfiles/1/*\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n...where `<MACHINE_IP>` is an IP address of any node in your cluster.\nYou can wait for all units to be active/running like so:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ FLEETCTL_TUNNEL=<MACHINE_IP> watch -n 5 fleetctl -strict-host-key-checking=false list-units\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nOnce they're up you can install the final services:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ FLEETCTL_TUNNEL=<MACHINE_IP> fleetctl -strict-host-key-checking=false start unitfiles/2/*\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"installing-paz-on-bare-metal","type":"basic","title":"Installing Paz on Bare Metal"}

Installing Paz on Bare Metal


Paz works fine on a bare metal install, but there is no installation script available for it yet. You need to create your cluster, then add the contents of [`bare_metal/user-data`](https://github.com/paz-sh/paz/blob/master/bare_metal/user-data) to your cloud config, and finally submit the unit files. 1. Create your cluster. 2. Paste the contents of bare_metal/user-data into your cloud config file. Be sure to alter the networking information to match your setup. 3. Go to `http://discovery.etcd.io/new` and copy the URL that it prints in the browser, pasting it into the userdata text area instead of the one that is already there. 4. Install Paz: [block:code] { "codes": [ { "code": "$ ssh-add ~/.ssh/id_rsa\n$ FLEETCTL_TUNNEL=<MACHINE_IP> fleetctl -strict-host-key-checking=false start unitfiles/1/*", "language": "shell" } ] } [/block] ...where `<MACHINE_IP>` is an IP address of any node in your cluster. You can wait for all units to be active/running like so: [block:code] { "codes": [ { "code": "$ FLEETCTL_TUNNEL=<MACHINE_IP> watch -n 5 fleetctl -strict-host-key-checking=false list-units", "language": "shell" } ] } [/block] Once they're up you can install the final services: [block:code] { "codes": [ { "code": "$ FLEETCTL_TUNNEL=<MACHINE_IP> fleetctl -strict-host-key-checking=false start unitfiles/2/*", "language": "shell" } ] } [/block]