Archive for the ‘Linux’ Category

EFK: Free Alternative to Splunk Using Fluentd

Here is an updated version of the instructions given at Free Alternative to Splunk Using Fluentd. The installation was performed in CentOS 6.5. 1. Install ElasticSearch mkdir /opt/src cd /opt/src wget rpm -ivh elasticsearch-1.2.1.noarch.rpm /sbin/chkconfig –add elasticsearch service elasticsearch start # Move default file locations if required mkdir /data/elasticsearch mkdir /data/elasticsearch/data mkdir /data/elasticsearch/tmp mkdir /data/elasticsearch/logs […]

Installing Fluentd Using Ruby Gem

Here’s just a little update of the process found here, Installing Fluentd using Ruby Gem on OpenSuSE 12.1 ?View Code BASHzypper install ruby zypper install ruby-devel gem install fluentd –no-ri –no-rdoc cd /etc fluentd1.9 –setup ./fluent vi /etc/fluent/fluent.conf # config file, there’s some forwarding server configured here that you may want to alter or remove […]

CentOS: clvmd startup timed out

I received the following error, on CentOS 6.5, when configuring a High Availability cluster. This also cause the computer to freeze on the os boot. clvmd startup timed out The fix was found here and involved an edit of /etc/lvm/lvm.conf. This required a minor change to the library_dir line as the location of these libraries […]

Adding ISCSI volumes to the nodes

This post is part of a series that will deal with setting up a MySQL shared storage cluster using VirtualBox & FreeNAS. In this post we deal with the setup of an iscsi volume on two nodes. The text in bold below represent commands to be executed in the shell. yum install iscsi-initiator-utils iscsiadm -m […]

Linux Cluster Node Configuration

Linux Node1 In VirtualBox, Node1 > Settings > Network. Adapters 1, 2 & 3 should be enabled and set to “Bridged Adapter”. Start the Linux VM to boot CentOS. Login as root. Execute the below command… ?View Code BASHifconfig -a | grep eth[0-9] You should see interfaces eth0, eth1 & eth2. Run the command system-config-network-tui […]