Kmaiti

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, 28 December 2010

How to install luci and ricci for managing the clustering infrastructure?

Posted on 00:04 by Unknown
Luci and ricci are two softwares to manage the clustering infrastructure of the high availability services. Luci connects to the agent ie ricci which must have installed on each clustered nodes to deliver the messages. You can install the luci on any machine(may be clustered node or without clustered node).

Here are the steps that I followed :

==========
[root@kmaiti src]# wget ftp://ftp.pbone.net/mirror/ftp.centos.org/5.5/updates/x86_64/RPMS/luci-0.12.2-12.el5.centos.4.x86_64.rpm
[root@kmaiti src]# rpm -ivh luci-0.12.2-12.el5.centos.4.x86_64.rpm
warning: luci-0.12.2-12.el5.centos.4.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
error: Failed dependencies:
stunnel is needed by luci-0.12.2-12.el5.centos.4.x86_64
[root@kmaiti src]# yum install stunnel
Loaded plugins: changelog, downloadonly, protect-packages, refresh-packagekit, rhnplugin, tmprepo, verify, versionlock
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package stunnel.x86_64 0:4.29-2.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================
Installing:
stunnel x86_64 4.29-2.el6 production-rhel-x86_64-workstation-6 121 k

Transaction Summary
=============================================================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 121 k
Installed size: 0
Is this ok [y/N]: y
Downloading Packages:
stunnel-4.29-2.el6.x86_64.rpm | 121 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : stunnel-4.29-2.el6.x86_64 1/1

Installed:
stunnel.x86_64 0:4.29-2.el6

Complete!

[root@kmaiti src]#
[root@kmaiti src]# rpm -ivh luci-0.12.2-12.el5.centos.4.x86_64.rpm
warning: luci-0.12.2-12.el5.centos.4.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing... ########################################### [100%]
1:luci ########################################### [100%]
[root@kmaiti src]#
[root@kmaiti src]# service luci start

The admin user password must be set before the luci can start
To set it, execute (as root):
luci_admin password

[root@kmaiti src]# luci_admin password
The luci site has not been initialized.
To initialize it, execute
/usr/sbin/luci_admin init
[root@kmaiti src]# /usr/sbin/luci_admin init
Initializing the luci server


Creating the 'admin' user

Enter password:
Confirm password:

Please wait...
[root@kmaiti src]#

---------
/etc/rc.d/init.d/luci
/etc/sysconfig/luci


[root@localhost src]# service luci start
Starting luci: Generating https SSL certificates... done
[ OK ]

Point your web browser to https://localhost:8084 to access luci

[root@localhost src]#

Note : You can use " yum install luci "command to do the same.

[root@localhost src]# /usr/sbin/luci_admin init
Initializing the luci server


Creating the 'admin' user

Enter password:
Confirm password:

Please wait...
The admin password has been successfully set.
Generating SSL certificates...
The luci server has been successfully initialized


You must restart the luci server for changes to take effect.

Run "service luci restart" to do so

[root@localhost src]# service luci restart
Shutting down luci: [ OK ]
Starting luci: [ OK ]

Point your web browser to https://localhost:8084 to access luci

[root@localhost src]
==========


RICCI installation :

==========

yum install ricci

Dependencies Resolved

=============================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================
Installing:
ricci x86_64 0.12.2-12.el5_5.4 rhel-x86_64-server-cluster-5 1.2 M
Installing for dependencies:
cman x86_64 2.0.115-61.el5 rhel-x86_64-server-5-beta 736 k
modcluster x86_64 0.12.1-2.el5 rhel-x86_64-server-cluster-5 333 k
oddjob x86_64 0.27-11.el5 rhel-x86_64-server-5-beta 61 k
oddjob-libs x86_64 0.27-11.el5 rhel-x86_64-server-5-beta 44 k
openais x86_64 0.80.6-28.el5 rhel-x86_64-server-5-beta 400 k
perl-Net-Telnet noarch 3.03-5 rhel-x86_64-server-5 56 k
perl-XML-LibXML x86_64 1.58-6 rhel-x86_64-server-5 229 k
perl-XML-LibXML-Common x86_64 0.13-8.2.2 rhel-x86_64-server-5 16 k
perl-XML-NamespaceSupport noarch 1.09-1.2.1 rhel-x86_64-server-5 15 k
perl-XML-SAX noarch 0.14-8 rhel-x86_64-server-5 77 k
pexpect noarch 2.3-3.el5 rhel-x86_64-server-5 214 k
python-pycurl x86_64 7.15.5.1-8.el5 rhel-x86_64-server-5-beta 73 k

Transaction Summary
=============================================================================================================================================
Install 13 Package(s)
Upgrade 0 Package(s)

Total download size: 3.4 M
Is this ok [y/N]:y
==========

then service ricci start.

Check the port 11111(ricci) which will have to be opened.

Try :)
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • NDMP communication failure error
    Guys, Issue : Netbackup server sends alert NDMP communication failure once everyday. But there is no issue to run scheduled backup jobs. Env...
  • unable connect to socket: No route to host (113)
    Guys, This error message usually comes when you try to access remote linux desktop using vncviewer. Please check the firewall in the linux s...
  • How to verify UDP packet communication between two linux system?
    Guys, Today, I had to check UDP packet communication between linux and a windows system. Main purpose of the windows system was to capturing...
  • How to redirect output of script to a file(Need to save log in a file and file should be menioned in the script itself?
    Expectation : @subject Steps : 1. Create a bash script. 2. add line : exec > >(tee /var/log/my_logfile.txt) That's it. All output ...
  • "cluster is not quorate. refusing connection"
    Guys, Environment : Red Hat Enterprise Linux 5.6, RHCS Error : subject line Issue : I am not sure while I got this error in the system log s...
  • Steps to develop patch and apply it to original source file
    1. Create test.c  Above file contains : -------- [kamalma@test-1 C_Programming]$ cat test.c #include #include int main()  {  printf("\n...
  • How to install subversion (svn) on linux ?
    Guys, I have referred the second procedure to install svn on my rhel6 mc. Procedure 1 : ========= cd /usr/local/src/ wget http://subversion...
  • How to add sudo user in linux?
    1. #useradd test123 2. #usermod -G wheel -a test123 //add user to wheel group 3. Uncomment following in /etc/sudoers file : # Uncomment to ...
  • How to change php handler from backend on cpanel server?
    Guys, I have referred the following commands to switch the php handler on the cpanel serevrs: 1. Command to display the current php handler ...
  • How to remotely access the linux desktop from any linux or windows machine?
    Guys, I referred the following steps : ======================= 1. On server-linux(Which will be accessed) : yum install vnc* 2. On client-li...

Categories

  • ACL
  • ESX
  • Linux
  • Storage
  • UCS

Blog Archive

  • ►  2013 (5)
    • ►  May (1)
    • ►  April (3)
    • ►  February (1)
  • ►  2012 (10)
    • ►  July (1)
    • ►  June (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (3)
    • ►  January (1)
  • ►  2011 (86)
    • ►  December (3)
    • ►  November (2)
    • ►  September (19)
    • ►  August (9)
    • ►  July (5)
    • ►  June (9)
    • ►  May (12)
    • ►  April (3)
    • ►  March (4)
    • ►  February (5)
    • ►  January (15)
  • ▼  2010 (152)
    • ▼  December (9)
      • unable connect to socket: No route to host (113)
      • How to install frysk on linux rhel5?
      • Flow diagram of systemtap debugging scripting tool?
      • How to remotely access the linux desktop from any ...
      • How to install luci and ricci for managing the clu...
      • How to configure a High Availability Cluster (Hear...
      • How to configure autofs with NFS4?
      • How to install and configure NFSv4 server and clie...
      • Which desktop is used by my linux machine?
    • ►  November (34)
    • ►  October (20)
    • ►  September (14)
    • ►  August (24)
    • ►  July (19)
    • ►  June (3)
    • ►  May (25)
    • ►  April (3)
    • ►  January (1)
Powered by Blogger.