Hi

We use redhat cluster + drbd architecture. Oracle use resource
res_drbd_oracle
The drbd version is 8.3.2   cluster version 2.0.46

We get the below error:

Nov  4 11:43:49 clnode1 xinetd[4432]: EXIT: http status=0 pid=12414
duration=0(sec)
Nov  6 15:25:30 clnode1 clurgmgrd[4691]: <notice> status on drbd
"res_drbd_oracle" returned 20 (unspecified) 
Nov  6 15:25:30 clnode1 clurgmgrd[4691]: <notice> Stopping service
service:Oracle 
Nov  6 15:25:47 clnode1 kernel: block drbd0: role( Primary -> Secondary
) 


The redhat cluster call the function drbd_status  in drbd.sh to moniter
status, which is from drbd

drbd_status() {
    role=$(drbdadm role $OCF_RESKEY_resource)
    case $role in
        Primary/*)
            return $OCF_RUNNING
            ;;
        Secondary/*)
            return $OCF_NOT_RUNNING
            ;;

    esac
    return $OCF_ERR_GENERIC
}


This problem happened two times and lead oracle service restarted.
Appricated you help us to understand what's the error 20 meaning? How
could it happen?

 <<drbd.sh>>  <<drbd.conf>> 

Attachment: drbd.sh
Description: drbd.sh

Attachment: drbd.conf
Description: drbd.conf

_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to