3 Jan 2010 03:45
Re: nfs config - help needed
sachin patel <patelsa70 <at> hotmail.com>
2010-01-03 02:45:35 GMT
2010-01-03 02:45:35 GMT
This is how we have setup.
1. xfs (mount fs here you might have ext3 file system)
2. exportfs (export your file system)
3. IP (virtual IP)
You start in this order and heartbeat will automatically stop in reverse order.
you might need to tune up your exportfs script which is located in /usr/lib/ocf/resource.d/heartbeat/
I have script called nfsserver
I made modification on following code.
####################################################
#
# export_mount()
#
# Get the status of the NFS mount and return whether it shows up in the etab or not
#
export_mount ()
{
ocf_log info "--------> Running export_mount ${OCF_RESKEY_export_path} $
{OCF_RESKEY_export_parameters}"
rc=0;
if grep "^${OCF_RESKEY_export_path}\b" /var/lib/nfs/etab; then
ocf_log info "${OCF_RESKEY_export_path} is already exported, removing"
unexport_mount
$rc=$?
(Continue reading)
On Fri, Dec 18, 2009 at 11:21 PM, Hunny Bunny <tmphb <at> yahoo.com> wrote:
> Hello folkz,
> I'm new to this list and to the HA cluster configuration / installation. Please have mercy for the newbie.
>
> I'm trying to enable corosync / openais logging into /var/log/corosync file
>
> in my corosync.conf / openais.conf I have this for the logging:
>
> <-------------- snipped ----------------->
>
> logging {
> fileline: off
> to_syslog: no
> to_stderr: no
> to_logfile: yes
> logfile: /var/log/corosync
> syslog_facility: daemon
> debug: on
> timestamp: on
> }
>
> <-------------- snipped ----------------->
>
> However, it outputs logging info into /var/log/messages and /var/log/warn files but not in
/var/log/corosync file.
>
> Could somebody please enlighten me what is wrong with my logging configuration.
RSS Feed