{"id":2239,"date":"2013-05-02T07:25:20","date_gmt":"2013-05-02T07:25:20","guid":{"rendered":"http:\/\/www.cloudcomp.ch\/?p=2239"},"modified":"2013-05-02T07:25:20","modified_gmt":"2013-05-02T07:25:20","slug":"drbd-test-environment-for-vagrant-available","status":"publish","type":"post","link":"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/","title":{"rendered":"DRBD-Test environment for Vagrant available"},"content":{"rendered":"<p>There is always room to test different HA technologies in a simulated VM environment. At ICCLab we have created such a <a title=\"DRBD\" href=\"http:\/\/www.drbd.org\/\" target=\"_blank\">DRBD<\/a> test environment for <a href=\"http:\/\/www.postgresql.org\/\">PostgreSQL<\/a> databases. This environment is now available on <a href=\"https:\/\/github.com\/kobe6661\/dependability_test_fw.git\">Github<\/a>.<\/p>\n<p>The test environment installation uses <a href=\"http:\/\/www.vagrantup.com\/\" target=\"_blank\">Vagrant<\/a> as tool to install VMs, <a href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\">Virtualbox<\/a> as VM runtime environment and <a href=\"https:\/\/puppetlabs.com\/\" target=\"_blank\">Puppet<\/a> as VM configurator. It includes a Vagrant installation script (usually called a &#8220;Vagrantfile&#8221;) which sets up two virtual machines which run a clustered highly available PostgreSQL database.<\/p>\n<p>In order to use the environment, you have to download it and then run the Vagrant installation script. The Vagrant installation script of the test environment essentially does the following things:<\/p>\n<ul>\n<li>It creates two virtual machines with 1 GB RAM, one 80 GB harddrive and an extra 5 GB harddrive (which is used as DRBD device).<\/li>\n<li>It creates an SSH tunnel between the two VM nodes which is used for DRBD synchronization.<\/li>\n<li>It installs, configures and runs the DRBD device on both machines.<\/li>\n<li>It installs, configures and runs Corosync and Pacemaker on both machines.<\/li>\n<li>It creates a distributed PostgreSQL\u00a0 database which runs on the DRBD device and which is managed by the Corosync\/Pacemaker software.<\/li>\n<\/ul>\n<p>This environment can easily be installed and then be used for testing of the DRBD technology. It can be downloaded from the following Github repository:<\/p>\n<p><a title=\"Github Repository\" href=\"https:\/\/github.com\/kobe6661\/dependability_test_fw.git\" target=\"_blank\">https:\/\/github.com\/kobe6661\/dependability_test_fw.git<\/a><\/p>\n<p>Installation instructions can be found <a href=\"https:\/\/github.com\/kobe6661\/dependability_test_fw\/blob\/master\/README.md\" target=\"_blank\">here<\/a>.<\/p>\n<div class=\"pt-sm\">Schlagw\u00f6rter: <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/drbd\/\">DRBD<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/github\/\">Github<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/high-availability\/\">High Availability<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/postgresql\/\">PostgreSQL<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/puppet\/\">puppet<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/testing\/\">testing<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/vagrant\/\">vagrant<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/virtualbox\/\">Virtualbox<\/a><br><\/div>","protected":false},"excerpt":{"rendered":"<p>There is always room to test different HA technologies in a simulated VM environment. At ICCLab we have created such a DRBD test environment for PostgreSQL databases. This environment is now available on Github. The test environment installation uses Vagrant as tool to install VMs, Virtualbox as VM runtime environment and Puppet as VM configurator. [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[19,20],"tags":[117,161,179,261,271,330,339,343],"features":[],"class_list":["post-2239","post","type-post","status-publish","format-standard","hentry","category-news","category-open-source","tag-drbd","tag-github","tag-high-availability","tag-postgresql","tag-puppet","tag-testing","tag-vagrant","tag-virtualbox"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>DRBD-Test environment for Vagrant available - Service Engineering (ICCLab &amp; SPLab)<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DRBD-Test environment for Vagrant available\" \/>\n<meta property=\"og:description\" content=\"There is always room to test different HA technologies in a simulated VM environment. At ICCLab we have created such a DRBD test environment for PostgreSQL databases. This environment is now available on Github. The test environment installation uses Vagrant as tool to install VMs, Virtualbox as VM runtime environment and Puppet as VM configurator. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Engineering (ICCLab &amp; SPLab)\" \/>\n<meta property=\"article:published_time\" content=\"2013-05-02T07:25:20+00:00\" \/>\n<meta name=\"author\" content=\"benn\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"benn\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/\"},\"author\":{\"name\":\"benn\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/7f2dc402a572b3fc950027b8b809c0d6\"},\"headline\":\"DRBD-Test environment for Vagrant available\",\"datePublished\":\"2013-05-02T07:25:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/\"},\"wordCount\":235,\"commentCount\":0,\"keywords\":[\"DRBD\",\"Github\",\"High Availability\",\"PostgreSQL\",\"puppet\",\"testing\",\"vagrant\",\"Virtualbox\"],\"articleSection\":[\"News\",\"Open Source\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/\",\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/\",\"name\":\"DRBD-Test environment for Vagrant available - Service Engineering (ICCLab &amp; SPLab)\",\"isPartOf\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#website\"},\"datePublished\":\"2013-05-02T07:25:20+00:00\",\"author\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/7f2dc402a572b3fc950027b8b809c0d6\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\/\/blog.zhaw.ch\/icclab\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DRBD-Test environment for Vagrant available\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#website\",\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/\",\"name\":\"Service Engineering (ICCLab &amp; SPLab)\",\"description\":\"A Blog of the ZHAW Zurich University of Applied Sciences\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.zhaw.ch\/icclab\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/7f2dc402a572b3fc950027b8b809c0d6\",\"name\":\"benn\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/432dd9c93af6d79a7b97feaee8c4bb7b88d9a3106b571ecc81ea2e7fecb0caf1?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/432dd9c93af6d79a7b97feaee8c4bb7b88d9a3106b571ecc81ea2e7fecb0caf1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/432dd9c93af6d79a7b97feaee8c4bb7b88d9a3106b571ecc81ea2e7fecb0caf1?s=96&d=mm&r=g\",\"caption\":\"benn\"},\"sameAs\":[\"http:\/\/blog.zhaw.ch\/icclab\"],\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/author\/benn\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"DRBD-Test environment for Vagrant available - Service Engineering (ICCLab &amp; SPLab)","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/","og_locale":"en_US","og_type":"article","og_title":"DRBD-Test environment for Vagrant available","og_description":"There is always room to test different HA technologies in a simulated VM environment. At ICCLab we have created such a DRBD test environment for PostgreSQL databases. This environment is now available on Github. The test environment installation uses Vagrant as tool to install VMs, Virtualbox as VM runtime environment and Puppet as VM configurator. [&hellip;]","og_url":"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/","og_site_name":"Service Engineering (ICCLab &amp; SPLab)","article_published_time":"2013-05-02T07:25:20+00:00","author":"benn","twitter_card":"summary_large_image","twitter_misc":{"Written by":"benn","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/#article","isPartOf":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/"},"author":{"name":"benn","@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/7f2dc402a572b3fc950027b8b809c0d6"},"headline":"DRBD-Test environment for Vagrant available","datePublished":"2013-05-02T07:25:20+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/"},"wordCount":235,"commentCount":0,"keywords":["DRBD","Github","High Availability","PostgreSQL","puppet","testing","vagrant","Virtualbox"],"articleSection":["News","Open Source"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/","url":"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/","name":"DRBD-Test environment for Vagrant available - Service Engineering (ICCLab &amp; SPLab)","isPartOf":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/#website"},"datePublished":"2013-05-02T07:25:20+00:00","author":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/7f2dc402a572b3fc950027b8b809c0d6"},"breadcrumb":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.zhaw.ch\/icclab\/drbd-test-environment-for-vagrant-available\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/blog.zhaw.ch\/icclab\/"},{"@type":"ListItem","position":2,"name":"DRBD-Test environment for Vagrant available"}]},{"@type":"WebSite","@id":"https:\/\/blog.zhaw.ch\/icclab\/#website","url":"https:\/\/blog.zhaw.ch\/icclab\/","name":"Service Engineering (ICCLab &amp; SPLab)","description":"A Blog of the ZHAW Zurich University of Applied Sciences","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.zhaw.ch\/icclab\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/7f2dc402a572b3fc950027b8b809c0d6","name":"benn","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/432dd9c93af6d79a7b97feaee8c4bb7b88d9a3106b571ecc81ea2e7fecb0caf1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/432dd9c93af6d79a7b97feaee8c4bb7b88d9a3106b571ecc81ea2e7fecb0caf1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/432dd9c93af6d79a7b97feaee8c4bb7b88d9a3106b571ecc81ea2e7fecb0caf1?s=96&d=mm&r=g","caption":"benn"},"sameAs":["http:\/\/blog.zhaw.ch\/icclab"],"url":"https:\/\/blog.zhaw.ch\/icclab\/author\/benn\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/2239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/comments?post=2239"}],"version-history":[{"count":0,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/2239\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/media?parent=2239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/categories?post=2239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/tags?post=2239"},{"taxonomy":"features","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/features?post=2239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}