Setup DbServer and Add the Subnet to it ,Allow configure firewall rules((Step - 4)
Setup DbServer and Add the Subnet to it ,Allow configure firewall rules Step 4
Before Setting up the DbServer Lets see the Current State of the Cluster
- DbServer(192.168.1.4)
- App Server(192.168.1.5)
- Client1(192.168.1.6)
- Client2(192.168.1.7)
The above mentioned IP addresses are internal private ip it will only be accessible only inside the Vnet to connect it from outside world you need to use Public Ip address you will get it from the Azure portal
Now Lets Setup Db Server:
Login to DbServer and follow the below steps
- Download and add the repository and then update
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
rpm -ivh mysql-community-release-el7-5.noarch.rpm
yum update
I
Install mysql-server and start , enable
yum install mysql-server -y
systemctl start mysqld
systemctl enable mysqld
mysql_secure_installation
You the values as per need Now lets check if we can access the db server
Finally we are done be setting up the db server but still need to configure so that i could be accessible from appserver and apply some firewall rules we will be doing post configuration in another post
No comments:
Post a Comment