Hi there, as a preliminary I have to say that I'm very new in the use of heartbeat.
I'm trying to set up a 2-node-cluster on SLES10 using heartbeat 2.1.4 for a SAP R/3 environement with Oracle 10.2.0.4. After getting virtual-ip's and filesystems I'm stuck with OCF_RESOURCE SAPDatabase. It always fails to start, but when I try to test the ra on the command line, it is always successful. I suggest the ra gets an invalid rc_code because it's always waring about "no access to tty". Here is the specific part of the log: Jul 23 23:25:30 mupdemo1 lrmd: [14772]: info: rsc:SAPDatabase_1: start Jul 23 23:25:30 mupdemo1 crmd: [14775]: info: do_lrm_rsc_op: Performing op=SAPDatabase_1_start_0 key=35:2:0:a4bba2ee-88a3-46f2-a06c-fed67ae41dc8) Jul 23 23:25:30 mupdemo1 haclient: on_event:evt:cib_changed Jul 23 23:25:30 mupdemo1 su: (to orampt) root on none Jul 23 23:25:31 mupdemo1 SAPDatabase[16159]: [16362]: INFO: Oracle Listener LISTENER started: Warning: no access to tty (Bad file descriptor). Thus no job control in this shell. LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 23-JUL-2009 23:25:31 Copyright (c) 1991, 2007, Oracle. All rights reserved. Starting /oracle/MPT/102_64/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 10.2.0.4.0 - Production System parameter file is /oracle/MPT/102_64/network/admin/listener.ora Log messages written to /oracle/MPT/102_64/network/log/listener.log Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=MPT.WORLD))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=MPT))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.178.111)(PORT=1527))) Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=MPT.WORLD)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production Start Date 23-JUL-2009 23:25:31 Uptime 0 days 0 hr. 0 Jul 23 23:25:31 mupdemo1 lrmd: [14772]: info: RA output: (SAPDatabase_1:start:stdout) usage: ha_logger [-t tag] [-D <ha-log/ha-debug>] [message] Jul 23 23:25:31 mupdemo1 lrmd: [14772]: info: RA output: (SAPDatabase_1:start:stderr) 2009/07/23_23:25:31 INFO: Oracle Listener LISTENER started: Warning: no access to tty (Bad file descriptor). Thus no job control in this shell. LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 23-JUL-2009 23:25:31 Copyright (c) 1991, 2007, Oracle. All rights reserved. Starting /oracle/MPT/102_64/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 10.2.0.4.0 - Production System parameter file is /oracle/MPT/102_64/network/admin/listener.ora Log messages written to /oracle/MPT/102_64/network/log/listener.log Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=MPT.WORLD))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=MPT))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.178.111)(PORT=1527))) Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=MPT.WORLD)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production Start Date 23-JUL-2009 23:25:31 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /oracle/MPT/102_64/network/admin/listener.ora Listener Log File /oracle/MPT/102_64/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=MPT.WORLD))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=MPT))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.178.111)(PORT=1527))) Services Summary... Service "MPT" has 1 instance(s). Instance "MPT", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully Jul 23 23:25:31 mupdemo1 su: (to mptadm) root on none Jul 23 23:25:50 mupdemo1 lrmd: [14772]: WARN: SAPDatabase_1:start process (PID 16159) timed out (try 1). Killing with signal SIGTERM (15). Jul 23 23:25:50 mupdemo1 lrmd: [14772]: info: RA output: (SAPDatabase_1:start:stderr) Session terminated, killing shell... Jul 23 23:25:52 mupdemo1 lrmd: [14772]: info: RA output: (SAPDatabase_1:start:stderr) ...killed. Jul 23 23:25:52 mupdemo1 crmd: [14775]: info: process_lrm_event: LRM operation SAPDatabase_1_start_0 (call=36, rc=1) complete Jul 23 23:25:54 mupdemo1 crmd: [14775]: info: do_lrm_rsc_op: Performing op=SAPDatabase_1_stop_0 key=2:3:0:a4bba2ee-88a3-46f2-a06c-fed67ae41dc8) Jul 23 23:25:54 mupdemo1 lrmd: [14772]: info: rsc:SAPDatabase_1: stop Best regards Frank _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
