Tuesday, March 22, 2011

How to install conga(Redhat clustering package)

Conga is a very advance tool used to do clustering of Redhat systems. it gives a whole GUI to configure systems in all the posssible ways...
following are the steps to install and access conga

#yum install ricci          //install this package first.
#service ricci restart      //start its service.

#yum install luci        //install luci package.
#luci_admin init        //to set the password of the luci service.
#service luci start     // it will start the service and give you the address from where you can access the luci or conga.

for example: https://localhost.localdomain:8084
put this address on the web browser and access it.

default username is admin and password is which you have set of luci.

How to change root password if you forget it

There are cases when we forget the root password or any body has changed it and you are not able to login in this case you can go into single user mode and change the password of the system.

1. when system is booting and kernel version is shown press e to edit.
2. again press e, tahn it will give you option to edit the boot sequence.
3. enter 1 or 'one' in the end of kernel entry and boot the system by pressing b.
4 system will open in command prompt and use command passwd to enter new password for system.
5. reboot the system and use the new password.

How to configure DHCP(Dynamic host control protocol)

DHCP is used to give ip to the system at booting time< the main advantage of this server is that, we don't have to manually configure ip's of the systems. it allocates the ip with in the range defined and can also allocate a particular ip to particular system every time by bonding its ip to mac address of that system.

#yum install dhcp*       //to install package
#cd /usr/share/doc/dhcp-3.0.5         //go to main directory
#cp -rf dhcpd.conf.sample /etc/dhcpd.conf        //copy configuration file in new location

#vi /dhcpd.conf
line 4  subnet  netmask      //enter your network conf

comment line no 7,8,10,11,12  if you dont want to do any special settings

line 21     //enter the range of ip which you want to give

line 29,30     //if you want to bond any ip with m/c than use this

#service dhcpd restart
#chkconfig dhcpd on

#dhclient         //to give ip to a system using dhcp

Setup fully configurable EFK Elasticsearch Fluentd Kibana setup in Kubernetes

In the following setup, we will be creating a fully configurable Elasticsearch, Flunetd, Kibana setup better known as EKF setup. There is a...