{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]},"settings":""},"next":{"description":"","pages":[]},"title":"Installing Paz on Bare Metal","type":"basic","slug":"installing-paz-on-bare-metal","excerpt":"","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]","updates":[],"order":999,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"556d98e442dd610d00a3cfde","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["54fa0050f63cf9210041c3c2","54fa42b3961fea210092068e","54facefd5c41173700ecf296","54fad9d5f63cf9210041c669","54fae9ed5c41173700ecf2ad"],"_id":"54fa0050f63cf9210041c3c1","__v":5,"createdAt":"2015-03-06T19:30:24.258Z","project":"54fa004ff63cf9210041c3be","releaseDate":"2015-03-06T19:30:24.258Z"},"createdAt":"2015-06-02T11:52:04.124Z","__v":2,"category":{"sync":{"isSync":false,"url":""},"pages":["54fada9b5c41173700ecf29e","54fadb625c41173700ecf2a0","54fae365019b2537006d00bc","5500a5712e8c48170076d163","551a876868da7f0d00f58cbc","5521351e29a3dc0d00fae453","5522b5af85fa041700623976","556d98e442dd610d00a3cfde"],"title":"Getting Started","slug":"getting-started","order":0,"from_sync":false,"reference":false,"_id":"54fa42b3961fea210092068e","version":"54fa0050f63cf9210041c3c1","__v":8,"createdAt":"2015-03-07T00:13:39.405Z","project":"54fa004ff63cf9210041c3be"},"project":"54fa004ff63cf9210041c3be","user":"54fa0018e7a0ba2f00306211","githubsync":""}

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]