Zabbix is an open-source monitoring software tool for diverse IT components, including networks, servers, virtual machines (VMs), and cloud services. Zabbix is able to monitor a lot of things, also provides a single pane of glass view of your whole IT infrastructure.
Configure the Zabbix repository.
yum install -y centos-release-scl
Install the Zabbix repository configuration package.
MariaDB [(none)]> create database zabbixdb character set utf8 collate utf8_bin;
MariaDB [(none)]> grant all privileges on zabbixdb.* to zabbixuser@localhost identified by '123456';
MariaDB [(none)]> flush privileges;
MariaDB [(none)]> exit
Import initial schema and database.
cd /usr/share/doc/zabbix-server-mysql*/
zcat create.sql.gz | mysql -u zabbixuser -p zabbixdb
Graylog is an open-source log management system. Graylog centrally captures, collects, enhances, stores, and analyzes log data. It is an affordable alternative to Splunk.
Below are a couple of steps to install Graylog on CentOS 7.
Edit interface, change ONBOOT from “no” to “yes”, and restart network service.
Step #1: Update your system and install needed packages.
Ceph is an open-source distributed software solution. It is designed to serve block, file, and object workloads for a cluster system. There are a lot of advantages when using Ceph. Ceph supports distributed object storage on multiple cluster nodes, provides redundancy between cluster nodes and is able to scale out cluster storage nodes with Ceph.
Ceph is able to run on commodity hardware without vendor lock-in. Moreover, Ceph is also a unified storage infrastructure that supports storage clusters that may grow or shrink and allows to add and remove hardware while the Ceph cluster is online.
This lab below is used to deploy three Proxmox nodes on the Ceph clsuter.
Add a new second hard drive on Proxmox1, Proxmox2, and Proxmox3 nodes.
Install Ceph cluster on node 1.
Create an OSD on Proxmox node 1, node 2 and node 3.
Create Ceph Pool on Ceph storage.
Create a new Linux VM on Ceph.
Add this machine to the HA Ceph.
Hard turn off the Proxmox node1.
Linux VM has been migrated to Proxmox node2 with a couple of minutes of downtime.
Doing live migration the VM2 on Proxmox node 2 to node 3.
It is interesting to see there is no downtime when doing live migration VM2 on Proxmox node 2 to node 3 in the Ceph cluster.
Proxmox Virtual Environment is an open-source server virtualization management solution based on QEMU/KVM and LXC. It is an affordable virtualization solution for small businesses
Create a new Linux VM on Virtualbox to install Proxmox. Click the link below to downloadProxmox VE 7.1 ISO Installer, then mount the iso to the VM to install Proxmox.
To enable “Nested VT-x/AMD-V” function on Proxmox, open a terminal console and type the command below.
VBoxManage -nologo list vms
vboxmanage modifyvm "Virtual machine name of Proxmox" –nested-hw-virt on
vboxmanage modifyvm "proxmox1" --nested-hw-virt on
vboxmanage modifyvm "proxmox2" --nested-hw-virt on
vboxmanage modifyvm "proxmox3" --nested-hw-virt on
After installing Proxmox, open any web browser (such as Firefox on LinuxMint), access Proxmox web management interface (https://IPaddressofProxmox:8006).
Upload source installation such as LinuxMint, Windows OS iso files to install Linux and MS Windows VMs.
Create and install a Linux machine on Proxmox server.
Create a new an ocsweb database and assign permissions for user ocs/ocs.
mysql -u root -p
MariaDB [(none)]> create database ocsweb;
CREATE USER 'ocs'@'localhost' IDENTIFIED BY 'ocs';
GRANT ALL PRIVILEGES ON ocsweb. * TO 'ocs'@'localhost' IDENTIFIED BY 'ocs';
flush privileges;
exit;
# Name of database
PerlSetEnv OCS_DB_NAME ocsweb
PerlSetEnv OCS_DB_LOCAL ocsweb
# User allowed to connect to database
PerlSetEnv OCS_DB_USER ocs
# Password for user
PerlSetVar OCS_DB_PWD ocs
Enables and restarts Apache Web Service.
systemctl enable httpd && systemctl start httpd
Enter user/password is admin/admin to log on.
Rename the “install.php” file in the “OCSReports” directory.