From b9275c153b3dd730bd288b8f8ce52c7f8d2e93f7 Mon Sep 17 00:00:00 2001 From: sarabadanie Date: Tue, 30 Aug 2016 13:22:21 +0200 Subject: [PATCH 1/7] Create 2016-08-30-PostgreSQL-Cluster-Azure.md --- _posts/2016-08-30-PostgreSQL-Cluster-Azure.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 _posts/2016-08-30-PostgreSQL-Cluster-Azure.md diff --git a/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md b/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md new file mode 100644 index 0000000..e965047 --- /dev/null +++ b/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md @@ -0,0 +1 @@ +Hello From ab4412724b897e7075d594397f55be5c9ae5e579 Mon Sep 17 00:00:00 2001 From: sarabadanie Date: Tue, 30 Aug 2016 14:14:48 +0200 Subject: [PATCH 2/7] Update 2016-08-30-PostgreSQL-Cluster-Azure.md --- _posts/2016-08-30-PostgreSQL-Cluster-Azure.md | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md b/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md index e965047..e26e5c4 100644 --- a/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md +++ b/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md @@ -1 +1,22 @@ -Hello +# Building a Highly-Available PostgreSQL Cluster on Azure + +The possibility to create a PostgreSQL cluster on your Azure subscription is now only few clicks away. The use of PostgreSQL database (a.k.a the most advanced open-source database) has increased in different software development projects in Haufe and setting it up in a cluster on Azure in an easy and convenient way (preferably as-a-Service) was always a wish for developers. + +We would like to announce that with our new Azure template it is now possible to automate the creation of a highly-available PostgreSQL cluster on your Azure subscription. +It uses Ubuntu 14.04 LTS machines with 128 GB SSD data disks for high performance. A [Zookeeper] ensemble of three machines is used to orchestrate the behavior of the postgres cluster. For automated PostgreSQL server management and leader election the open source solution [Patroni] (developed by zalando) is used and installed side by side with PostgreSQL 9.5 on the machines. + +To use this template simply click [here] and you will be redirected to the Azure login page where you can log in and provide values for the following parameters: + + - ClusterName: The name of the cluster to create. Avoid spaces and special characters in this name + - InstanceCount: The number of postgreSQL servers to create. Minimum: 2, Maximum: 5 + - AdminUsername: Name for user account with root privileges. Can be used to connect to the machines using ssh + - AdminPassword: Password for admin user account + +After deployment, you can connect to clusterName.regionName.cloudapp.azure.com on postgreSQL default port 5432 using username "admin" and the password you set as a parameter value in the template. +In order to connect to the postgreSQL instances, use any ssh client on port 10110 for instance postgres0, 10111 for postgres1 and etc. + +We hope this brings some joy and of course convenience on your journey to cloud. + + [Zookeeper]: + [Patroni]: + [here]: From 5e94c14dcf15e059d02fc8314a663585f426e8b8 Mon Sep 17 00:00:00 2001 From: Esmaeil Sarabadani Date: Tue, 30 Aug 2016 14:53:06 +0200 Subject: [PATCH 3/7] Update authors.yml --- _data/authors.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_data/authors.yml b/_data/authors.yml index 8bfa808..60f2e92 100644 --- a/_data/authors.yml +++ b/_data/authors.yml @@ -68,3 +68,8 @@ scott_speights: email: scott.speights@haufe-lexware.com github: SSpeights twitter: ScottSpeights +esmaeil_sarabadani: + name: Esmaeil Sarabadani + email: esmaeil.sarabadani@haufe-lexware.com + github: sarabadanie + twitter: esmaeils From 3ac4bfe9057c5cecab3177998a03045dd83e8fc7 Mon Sep 17 00:00:00 2001 From: Esmaeil Sarabadani Date: Tue, 30 Aug 2016 14:54:09 +0200 Subject: [PATCH 4/7] Update authors.yml --- _data/authors.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/_data/authors.yml b/_data/authors.yml index 60f2e92..dc17119 100644 --- a/_data/authors.yml +++ b/_data/authors.yml @@ -71,5 +71,4 @@ scott_speights: esmaeil_sarabadani: name: Esmaeil Sarabadani email: esmaeil.sarabadani@haufe-lexware.com - github: sarabadanie twitter: esmaeils From 6bc0ddf5424f499895bcc8d2d073fae49f82dc3a Mon Sep 17 00:00:00 2001 From: Esmaeil Sarabadani Date: Tue, 30 Aug 2016 14:57:05 +0200 Subject: [PATCH 5/7] Update 2016-08-30-PostgreSQL-Cluster-Azure.md --- _posts/2016-08-30-PostgreSQL-Cluster-Azure.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md b/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md index e26e5c4..2fd3a99 100644 --- a/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md +++ b/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md @@ -1,4 +1,12 @@ -# Building a Highly-Available PostgreSQL Cluster on Azure +--- +layout: post +title: Building a Highly-Available PostgreSQL Cluster on Azure +subtitle: +category: general +tags: [cto, cloud, automation] +author: melania_andrisan +author_email: esmaeil.sarabadani@haufe-lexware.com +--- The possibility to create a PostgreSQL cluster on your Azure subscription is now only few clicks away. The use of PostgreSQL database (a.k.a the most advanced open-source database) has increased in different software development projects in Haufe and setting it up in a cluster on Azure in an easy and convenient way (preferably as-a-Service) was always a wish for developers. From 74b5405a48f9bd5ba0a0929071cfb22819808456 Mon Sep 17 00:00:00 2001 From: Esmaeil Sarabadani Date: Tue, 30 Aug 2016 14:57:50 +0200 Subject: [PATCH 6/7] Update 2016-08-30-PostgreSQL-Cluster-Azure.md --- _posts/2016-08-30-PostgreSQL-Cluster-Azure.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md b/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md index 2fd3a99..f083aae 100644 --- a/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md +++ b/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md @@ -4,7 +4,7 @@ title: Building a Highly-Available PostgreSQL Cluster on Azure subtitle: category: general tags: [cto, cloud, automation] -author: melania_andrisan +author: esmaeil_sarabadani author_email: esmaeil.sarabadani@haufe-lexware.com --- From 4edf6d40194fce3222ab38b5f92365e14ef9733f Mon Sep 17 00:00:00 2001 From: Esmaeil Sarabadani Date: Tue, 30 Aug 2016 15:05:22 +0200 Subject: [PATCH 7/7] Update 2016-08-30-PostgreSQL-Cluster-Azure.md --- _posts/2016-08-30-PostgreSQL-Cluster-Azure.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md b/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md index f083aae..95f9e3b 100644 --- a/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md +++ b/_posts/2016-08-30-PostgreSQL-Cluster-Azure.md @@ -2,10 +2,11 @@ layout: post title: Building a Highly-Available PostgreSQL Cluster on Azure subtitle: -category: general +category: howto tags: [cto, cloud, automation] author: esmaeil_sarabadani author_email: esmaeil.sarabadani@haufe-lexware.com +header-img: "images/bg-post.jpg" --- The possibility to create a PostgreSQL cluster on your Azure subscription is now only few clicks away. The use of PostgreSQL database (a.k.a the most advanced open-source database) has increased in different software development projects in Haufe and setting it up in a cluster on Azure in an easy and convenient way (preferably as-a-Service) was always a wish for developers.