10월, 2019의 게시물 표시

Linux HA using keepalived

이미지
HA Configuration keepalived is a package that can configure HA of 2 servers using virtual IP. Keepalived allows you to easily duplicate your web server, application server, etc. Web Server, Application Server. These services respond to requests from external users. Articles on HA configurations for these inbound services are easy to find. A simple service configuration is as follows Keepalived Install From now on, I'll use IP " 192.168.126.91 " for the first node, " 192.168.126.92 " for the second node.And " 192.168.126.90 " will be the virtual IP. Both computer 192.168.126.91, 192.168.126.92 must be the same OS.(I'm using CentOS 7) First install keepalived package and enable the service on both computers. shell>yum install keepalived shell>systemctl enable keepalived Basic Keepalived Configuration Next configure both computers' keepalived.conf(/etc/keepalived/keepalived.conf). Node 1 (192.168.126.91) ...

CentOS 6 - Yum offline install

Sometimes you need to install a package in an environment where you cannot use the Internet. Note:  This article is intended for CentOS 6. If you are using CentOS8, please refer to the following article. Prepare another computer First, prepare a computer with an OS installed, such as the offline computer. In this case, use yum to install the package you want to install on another computer with Internet. Creating a virtual machine using VMWare or VirtualBox simplifies your work. Be careful : Both computers' OS must be same. I will prepare as a virtual machine. If you don't know the OS version, run this command. [ root@localhost ~ ] # cat /etc/*release* CentOS release 6.7 ( Final ) LSB_VERSION = base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch cat: /etc/lsb-release.d: Is a directory CentOS release 6.7 ( Final ) CentOS release 6.7 ( Final ) cpe:/o:centos:linux:6:GA Inst...