Linux Cluster Management Console (LCMC) — by Abdul Jabbar
What is Linux Cluster Management Console (LCMC).. ? The Linux Cluster Management Console (LCMC) was initially developed by Linbit as DRBD GUI/MC. Linbit stopped it’s development in 2011. Since then the main developer Rasto Levrinc is continuing the work as fork as “LCMC”. The java-based GUI offer graphical installation and configuration of high availability Linux clusters. It supports configuration of the following software-components:
Pacemaker, Corosync , Heartbeat, DRBD, KVM, Xen, LVM, LCMC communicates via SSH with the servers. The used commands are visible on a Java SSH console. This allows to see what the GUI actually does.
Base installation\ creating the basic platform for LCMC .
Operating System Details:
Node01: 2.6.18-92.el5 | Node02: 2.6.18-92.el5
Node01: eth0: 192.168.1.10 /24 eth1: 10.10.10.1 /24 | Node02: eth0: 192.168.1.11 /24 eth1: 10.10.10.2 /24
Installation of Time Server:
[[email protected] ~]# yum install -y ntp | [[email protected] ~]# yum install -y ntp
Installation of Apache Server :
[[email protected] ~]# yum install -y httpd | [[email protected] ~]# yum install -y httpd
Verify the package is installed:
[[email protected] ~]# rpm -qa httpd | httpd-2.2.3-87.el5.centos
Starting up httpd daemon on both Nodes: –
service httpd start | chkconfig httpd on
Setting up Apache server health page for DRBD testing:
[[email protected] ~]# vi /etc/httpd/conf/httpd.conf
Deny from all
Allow from 127.0.0.1
Service restart after editing….
[[email protected] ~]# service httpd restart
[[email protected] ~]# wget http://127.0.0.1/server-status –02:36:24– http://127.0.0.1/server-status Connecting to 127.0.0.1:80… connected. HTTP request sent, awaiting response… 200 OK Length: 1737 (1.7K) [text/html] Saving to: `server-status.2′ 100% ========================================================>] 1,737 –.-K/s in 0s 02:36:24 (92.0 MB/s) – `server-status.2′ saved [1737/1737]
Download LCMC – Linux Cluster Mangemnt Consle.
We will use to manage the DRBD – Cluster nodes deployment procedures . LCMC can be installed on the Windows/Linux/Sun Solaris Systems. You just need to double click and start the java applet.
LCMC Basic Deployment and configuration:
Step-1: Adding hosts via ssh
Step-2: DRBD & Heartbeat Installation
Step-3: Creating & deploying Cluster
Step-4: Adding virtual IP address — 192.168.1.100
Step-5: Adding Apache Service in LCMC
Step-6: Firewall Rules — iPtables
Step-7: Stating IP service before Apache service
Step-8: Testing fail-over.
I have attached reference guide starting from step-1 to-8 -- Download:Linux Cluster Management Console_v3.pdf