(No Ratings Yet)
Loading...
Installing and Configuring ELK
– Part one(1) – Install OS (OEL 7.2), Tuning
– Part two(2) – Configure KVM, Tuning
– Part three(3) – install elasticsearch, configuration
– Part four(4) – Install logstash, configuration
– Part five(5) – Install Kibana, configuration
– Part six(6) – General platform tips & tricks
This is Part one(1) – Install OS (OEL 7.2), Tuning
System Architecture
Server | VM | Memory | Mem Locked | CPU | Disk | Data-Disk |
Client & Kibana | ||||||
elk1 | elkcl1 | 32Gb | 16Gb | 8 | 25Gb | N/A |
Search Servers | ||||||
elk1 | elkls1 | 8Gb | 8Gb | 6 | 25G | N/A |
elk2 | elkls2 | 8Gb | 8Gb | 6 | 25G | N/A |
Elastic Search Master Nodes | ||||||
elk1 | elkms1 | 32Gb | 20 | 8 | 25Gb | N/A |
elk1 | elkms2 | 32Gb | 20 | 8 | 25Gb | N/A |
elk2 | elkms3 | 32Gb | 20 | 8 | 25Gb | N/A |
Elastic Search Data Nodes | ||||||
elk1 | elkdm1 | 64Gb | 30 | 8 | 25Gb | 5Tb |
elk2 | elkdm2 | 64Gb | 30 | 8 | 25Gb | 5Tb |
elk2 | elkdm3 | 64Gb | 30 | 8 | 25Gb | 5Tb |
Note: Add additional nodes on any layer as needed, for example client, data, or log
Install OEL 7.2 from ISO
Select XFS or Ext4 for the OS
Change swap size to 8Gb
Change /home to only use 25Gb
Install KVM packages
yum -y install qemu-kvm qemu-img virt-manager libvirt libvirt-python python-virtinst libvirt-client virt-install virt-viewer yum -y install kvm libvirt python-virtinst virt-top virt-manager virt-v2v virt-viewer vim pv # Note: Reboot is recommended
Configure Kvm network bridge
Add bridge name br0, will create that soon
cat ifcfg-enp6s0 [..] snip # Add, Remove IP, GW, Netmask, DNS BRIDGE=br0
Now Create the bridge file
DEVICE=br0 TYPE=Bridge BOOTPROTO=static ONBOOT=yes DELAY=0 IPADDR=10.10.3.47 NETMASK=255.255.252.0 GATEWAY=10.10.0.1 DNS1=10.10.3.1 DNS2=10.10.3.1 DOMAIN=domain.com
Enable forwarding
echo "net.ipv4.ip_forward = 1" >>/etc/sysctl.conf sysctl -p /etc/sysctl.conf
Now lets create the bridge
brctl addbr br0 brctl addif br0 enp6s0
Complete services pre-requisite
Disable firewalld & selinux
cat /etc/selinux/config SELINUX=disabled SELINUXTYPE=targeted SETLOCALDEFS=0
Start the proper services
# Disable firewall systemctl stop firewalld systemctl disable firewalld # Start libvirt systemctl systemctl restart libvirtd systemctl enable libvirtd systemctl status libvirtd
Make sure to reboot before starting to configure KVM
0
0
votes
Article Rating