@@ -10,7 +10,7 @@ PowerGSLB is a simple DNS based Global Server Load Balancing (GSLB) solution.
10
10
* [ Class diagram] ( #class-diagram )
11
11
* [ Web based administration interface] ( #web-based-administration-interface )
12
12
* [ Installation on CentOS 7] ( #installation-on-centos-7 )
13
- * [ Setup PowerGSLB, PowerDNS and stunnel ] ( #setup-powergslb-powerdns- and-stunnel )
13
+ * [ Setup PowerGSLB and PowerDNS ] ( #setup-powergslb-and-powerdns )
14
14
* [ Setup MariaDB] ( #setup-mariadb )
15
15
* [ Start services] ( #start-services )
16
16
* [ Test PowerGSLB] ( #test-powergslb )
@@ -26,7 +26,7 @@ PowerGSLB is a simple DNS based Global Server Load Balancing (GSLB) solution.
26
26
* Written in Python 2.7
27
27
* Built as PowerDNS Authoritative Server [ Remote Backend] ( https://doc.powerdns.com/3/authoritative/backend-remote/ )
28
28
* Web based administration interface using [ w2ui] ( http://w2ui.com/ )
29
- * HTTPS support for the webserver using [ stunnel ] ( https://www.stunnel.org/ )
29
+ * HTTPS support for the web server
30
30
* DNS GSLB configuration stored in a MySQL / MariaDB database
31
31
* Master-Slave DNS GSLB using native MySQL / MariaDB [ replication] ( https://dev.mysql.com/doc/refman/5.5/en/replication.html )
32
32
* Multi-Master DNS GSLB using native MySQL / MariaDB [ Galera Cluster] ( http://galeracluster.com/ )
@@ -71,21 +71,20 @@ Add new record
71
71
72
72
## Installation on CentOS 7
73
73
74
- ### Setup PowerGSLB, PowerDNS and stunnel
74
+ ### Setup PowerGSLB and PowerDNS
75
75
76
76
``` shell
77
- yum -y update
78
77
yum -y install epel-release
79
- yum -y install python2-pip python2-subprocess32
78
+ yum -y update
79
+ yum -y install python2-pip
80
80
81
81
pip install pyping
82
82
83
- VERSION=1.6.6
83
+ VERSION=1.7.0
84
84
yum -y --setopt=tsflags= install \
85
85
" https://github.com/AlekseyChudov/powergslb/releases/download/$VERSION /powergslb-$VERSION -1.el7.noarch.rpm" \
86
86
" https://github.com/AlekseyChudov/powergslb/releases/download/$VERSION /powergslb-admin-$VERSION -1.el7.noarch.rpm" \
87
- " https://github.com/AlekseyChudov/powergslb/releases/download/$VERSION /powergslb-pdns-$VERSION -1.el7.noarch.rpm" \
88
- " https://github.com/AlekseyChudov/powergslb/releases/download/$VERSION /powergslb-stunnel-$VERSION -1.el7.noarch.rpm"
87
+ " https://github.com/AlekseyChudov/powergslb/releases/download/$VERSION /powergslb-pdns-$VERSION -1.el7.noarch.rpm"
89
88
90
89
sed -i ' s/^password = .*/password = your-database-password-here/g' /etc/powergslb/powergslb.conf
91
90
@@ -106,7 +105,7 @@ systemctl status mariadb.service
106
105
107
106
mysql_secure_installation
108
107
109
- VERSION=1.6.6
108
+ VERSION=1.7.0
110
109
mysql -p << EOF
111
110
CREATE DATABASE powergslb;
112
111
GRANT ALL ON powergslb.* TO powergslb@localhost IDENTIFIED BY 'your-database-password-here';
119
118
### Start services
120
119
121
120
``` shell
122
- systemctl enable powergslb.service pdns.service stunnel@powergslb
123
- systemctl start powergslb.service pdns.service stunnel@powergslb
124
- systemctl status powergslb.service pdns.service stunnel@powergslb
121
+ systemctl enable powergslb.service pdns.service
122
+ systemctl start powergslb.service pdns.service
123
+ systemctl status powergslb.service pdns.service
125
124
```
126
125
127
126
### Test PowerGSLB
@@ -152,17 +151,16 @@ Please read [How to create an RPM package](https://fedoraproject.org/wiki/How_to
152
151
yum -y update
153
152
yum -y install @Development\ Tools
154
153
155
- VERSION=1.6.6
154
+ VERSION=1.7.0
156
155
curl " https://codeload.github.com/AlekseyChudov/powergslb/tar.gz/$VERSION " > " powergslb-$VERSION .tar.gz"
157
156
rpmbuild -tb --define " version $VERSION " " powergslb-$VERSION .tar.gz"
158
157
```
159
158
160
- Upon successful completion you will have four packages
159
+ Upon successful completion you will have three packages
161
160
```
162
161
~/rpmbuild/RPMS/noarch/powergslb-$VERSION-1.el7.noarch.rpm
163
162
~/rpmbuild/RPMS/noarch/powergslb-admin-$VERSION-1.el7.noarch.rpm
164
163
~/rpmbuild/RPMS/noarch/powergslb-pdns-$VERSION-1.el7.noarch.rpm
165
- ~/rpmbuild/RPMS/noarch/powergslb-stunnel-$VERSION-1.el7.noarch.rpm
166
164
```
167
165
168
166
@@ -171,7 +169,7 @@ Upon successful completion you will have four packages
171
169
For quick setup, you can pull all-in-one Docker image from docker.io.
172
170
173
171
```
174
- VERSION=1.6.6
172
+ VERSION=1.7.0
175
173
176
174
docker pull docker.io/alekseychudov/powergslb:"$VERSION"
177
175
@@ -195,7 +193,7 @@ semanage boolean --modify --on container_manage_cgroup
195
193
To create an all-in-one Docker image.
196
194
197
195
```
198
- VERSION=1.6.6
196
+ VERSION=1.7.0
199
197
200
198
docker build -f docker/Dockerfile --build-arg VERSION="$VERSION" \
201
199
--force-rm --no-cache -t powergslb:"$VERSION" https://github.com/AlekseyChudov/powergslb.git
0 commit comments