Linux Cluster Management Console (LCMC) — by Abdul Jabbar

Linux Cluster Management Console (LCMC) — by Abdul Jabbar

lcmc

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:

uname -r

Node01: 2.6.18-92.el5 | Node02: 2.6.18-92.el5

IP Addressing

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:

[root@Node01 ~]# yum install -y ntp | [root@Node02 ~]# yum install -y ntp

Installation of Apache Server :

[root@Node01 ~]# yum install -y httpd | [root@Node02 ~]# yum install -y httpd

Verify the package is installed:

[root@Node01 ~]# 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:

[root@Node01 ~]# vi /etc/httpd/conf/httpd.conf

<Location /server-status>

SetHandler server-status

Order deny,allow

Deny from all

Allow from 127.0.0.1

</Location>

Service restart after editing….

[root@Node01 ~]# service httpd restart

[root@Node01 ~]# 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