Start Unix processes on bootup

The chkconfig command can be used to activate and deactivate services, and configure a service to start during bootup.


$ chkconfig --list <service name>

To activate[deactivate] the service during bootup:

$ chkconfig --level 2345 <service name> on[off]

Posted bySeshu Karthick at 9:51 AM 0 comments  

Logs for Redhat Clusters

del.icio.us tags: , , ,

The log data for clustering is usually seen at /var/log/messages. We can edit settings, so that clustering can have its own log files (say /var/log/cluster). Open /etc/syslog.conf and append the following:

# Log cluster event logs to /var/log/cluster

daemon.*                     /var/log/cluster

Additionally, we can log-rotate to rotate /var/log/cluster. Open /etc/logrotate.d/syslog.conf and append the log file name.

Refer to this knowledge base article for how-to, http://kbase.redhat.com/faq/FAQ_85_7763.shtm

Posted bySeshu Karthick at 9:31 AM 1 comments