OpenQrm Centos 5.4
| January 19th, 2010add repo openqrm
[openqrm]
name = Red Hat Enterprise $releasever - openQRM
baseurl = http://packages.linuxfellaz.net/centos5
enabled = 1
protect = 0
<span id="more-54"></span>
[root@developer ~]# yum search openqrm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.web.com.ph
* base: mirror.web.com.ph
* extras: mirror.web.com.ph
* updates: mirror.web.com.ph
============================================================== Matched: openqrm ===============================================================
openqrm-plugin-aoe-storage.i386 : openqrm-plugin-aoe-storage
openqrm-plugin-citrix.i386 : openqrm-plugin-citrix
openqrm-plugin-cloud.i386 : openqrm-plugin-cloud
openqrm-plugin-dhcpd.i386 : openqrm-plugin-dhcpd
openqrm-plugin-dns.i386 : openqrm-plugin-dns
openqrm-plugin-equallogic-storage.i386 : openqrm-plugin-equallogic-storage
openqrm-plugin-highavailability.i386 : openqrm-plugin-highavailability
openqrm-plugin-image-shelf.i386 : openqrm-plugin-image-shelf
openqrm-plugin-iscsi-storage.i386 : openqrm-plugin-iscsi-storage
openqrm-plugin-kvm.i386 : openqrm-plugin-kvm
openqrm-plugin-linux-vserver.i386 : openqrm-plugin-linux-vserver
openqrm-plugin-linuxcoe.i386 : openqrm-plugin-linuxcoe
openqrm-plugin-local-server.i386 : openqrm-plugin-local-server
openqrm-plugin-local-storage.i386 : openqrm-plugin-local-storage
openqrm-plugin-lvm-storage.i386 : openqrm-plugin-lvm-storage
openqrm-plugin-nagios2.i386 : openqrm-plugin-nagios2
openqrm-plugin-nagios3.i386 : openqrm-plugin-nagios3
openqrm-plugin-netapp-storage.i386 : openqrm-plugin-netapp-storage
openqrm-plugin-nfs-storage.i386 : openqrm-plugin-nfs-storage
openqrm-plugin-puppet.i386 : openqrm-plugin-puppet
openqrm-plugin-sshterm.i386 : openqrm-plugin-sshterm
openqrm-plugin-tftpd.i386 : openqrm-plugin-tftpd
openqrm-plugin-vmware-esx.i386 : openqrm-plugin-vmware-esx
openqrm-plugin-vmware-server.i386 : openqrm-plugin-vmware-server
openqrm-plugin-vmware-server2.i386 : openqrm-plugin-vmware-server2
openqrm-plugin-xen.i386 : openqrm-plugin-xen
openqrm-plugin-zabbix.i386 : openqrm-plugin-zabbix
openqrm-server.i386 : openqrm-server
[root@openqrm ~]# mkdir openqrm
[root@openqrm ~]# cd openqrm/
[root@openqrm openqrm]# wget http://sourceforge.net/projects/openqrm/files/openQRM%204.5/RPM%20CentOS5%2064bit/openqrm-server-entire-4.5-centos5.x86_64.rpm/download
Make sure you install the packages required by openQRM. Regular Centos repos are going to miss some of the packages so I suggest you to install RPMFORGE repos
[root@openqrm ~]# wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
[root@openqrm ~]# rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
warning: rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
1:rpmforge-release ########################################### [100%]
[root@openqrm ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors
Now you can start to install packages using rpmforge repos.
[root@openqrm openqrm]# rpm -ivh openqrm-server-entire-4.5-centos5.x86_64.rpm
error: Failed dependencies:
/bin/ash is needed by openqrm-server-4.5-centos5.x86_64
/usr/bin/expect is needed by openqrm-server-4.5-centos5.x86_64
bind is needed by openqrm-server-4.5-centos5.x86_64
dhcp is needed by openqrm-server-4.5-centos5.x86_64
expect is needed by openqrm-server-4.5-centos5.x86_64
httpd is needed by openqrm-server-4.5-centos5.x86_64
iscsi-initiator-utils is needed by openqrm-server-4.5-centos5.x86_64
mysql is needed by openqrm-server-4.5-centos5.x86_64
mysql-server is needed by openqrm-server-4.5-centos5.x86_64
nagios is needed by openqrm-server-4.5-centos5.x86_64
nagios-devel is needed by openqrm-server-4.5-centos5.x86_64
nagios-plugins is needed by openqrm-server-4.5-centos5.x86_64
nagios-plugins-nrpe is needed by openqrm-server-4.5-centos5.x86_64
perl(XML::Simple) is needed by openqrm-server-4.5-centos5.x86_64
php is needed by openqrm-server-4.5-centos5.x86_64
php-mysql is needed by openqrm-server-4.5-centos5.x86_64
puppet-server is needed by openqrm-server-4.5-centos5.x86_64
samba is needed by openqrm-server-4.5-centos5.x86_64
screen is needed by openqrm-server-4.5-centos5.x86_64
subversion is needed by openqrm-server-4.5-centos5.x86_64
tftp-server is needed by openqrm-server-4.5-centos5.x86_64
zabbix is needed by openqrm-server-4.5-centos5.x86_64
zabbix-agent is needed by openqrm-server-4.5-centos5.x86_64
[root@openqrm openqrm]# yum install bind dhcp expect httpd iscsi-initiator-utils mysql mysql-server nagios nagios-devel nagios-plugins nagios-plugins-nrpe php php-mysql
[root@openqrm openqrm]# yum install puppet-server samba screen subversion tftp-server perl-XML-Simple
Required packages :
openqrm-core-base
The base openQRM-server
(Version 3.1.4)
openqrm-plugin-dhcpd
Provides the dhcpd-server for ip-management and netbooting
(Version 1.0 for openQRM 3.1.4)
openqrm-plugin-tftpd
Features the tftpd-server for netbooting servers
(Version 1.0 for openQRM 3.1.4)
openqrm-plugin-xen
Provides the Xen virtualization technology for openQRM
(Version 0.6 for openQRM 3.1.4)
openqrm-plugin-puppet
Configuration management for the virtualized web-servers
(Version 0.2 for openQRM 3.1.4)
openqrm-plugin-nagios
Enhanced monitoring for the managed servers via Nagios
(Version 0.2 for openQRM 3.1.4)
openqrm-plugin-apache
Provides an apache web-server within openQRM, required for the Nagios-plugin
(Version 0.2 for openQRM 3.1.4)
openqrm-plugin-lvm-mgmt
Very useful, provides fast-cloning of filesystem-images via LVM2
(Version 0.2 for openQRM 3.1.4)
openqrm-plugin-sshlogin
Nice to have, provides ssh-login to the managed servers within the web-browser
(Version 2.0 for openQRM 3.1.4)
openqrm-plugin-webmin
Nice to have, provides a web-interface for let the users administrate their systems
(Version 0.3 for openQRM 3.1.4)
Optional packages :
openqrm-extras-mysql
Install if you want openQRM automatically setup a mysql-database for you
(Version 0.0 for openQRM 3.1.4)
Package versions :
For this How-To the current latest (stable) openQRM version 3.1.4 is used. Please find the above packages for the 3.1.4 release on the source-forge download section at : http://sourceforge.net/project/showfiles.php?group_id=153504
setting up openQRM :
Ininitalyze and start openQRM by running the qrm-installer :
cd /opt/qrm
./qrm-installer -i -c
From the “Components” menu choose :
apache
dhcpd
lvm-mgmt
nagios
puppet
sshlogin
tftpd
xen
webmin
In the “Config” menu choose :
Basic
-> configure the base-system, if you do not have a special setup you can go with the defaults
Now select “Exit” and “Save”. The installation procedure will now configure and start the openQRM-sever. You can “watch” the start-up by running “tail -f /var/log/qrm/qrm.log”
After startup you can access the openQRM-management console via a webbrowser at :
http://[ip-address-of-the-openQRM-server-system]
