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 :)
Tuesday, 28 December 2010
How to install luci and ricci for managing the clustering infrastructure?
Posted on 00:04 by Unknown
Subscribe to:
Post Comments (Atom)
 
 
 
 
 
 
0 comments:
Post a Comment