The monitor or start operation of an oraasm resource returns a false success in a Pacemaker cluster
Issue
- An
ocf:heartbeat:oraasm
resource is marked as "Started" inpcs status
output before it's fully started. - Pacemaker thinks an
oraasm
resource is started, but theasm_smon_+ASM
process or other key components are not running. - An
oracle
resource fails to start after anoraasm
resource is marked "Started".
Dec 19 12:44:35 node2 crmd[6925]: notice: Initiating start operation asm_start_0 locally on node2
Dec 19 12:44:35 node2 oraasm(asm)[33615]: INFO: Oracle ASM is not running
Dec 19 12:44:35 node2 root: Oracle HA daemon is enabled for autostart.
Dec 19 12:44:35 node2 oracle: exec /app/oragrid/12203/perl/bin/perl -I/app/oragrid/12203/perl/lib /app/oragrid/12203/bin/crswrapexece.pl /app/oragrid/12203/crs/install/s_crsconfig_pcs-hdmdb-02_env.txt /app/oragrid/12203/bin/ohasd.bin "reboot"
Dec 19 12:44:36 node2 oraasm(asm)[33615]: INFO: Oracle ASM is not running
Dec 19 12:44:37 node2 oraasm(asm)[33615]: INFO: Oracle ASM is not running
...
Dec 19 12:44:43 node2 oraasm(asm)[33615]: INFO: Oracle ASM is not running
Dec 19 12:44:44 node2 init.ohasd: bash: /sys/fs/cgroup/system.slice/oracle-ohasd.service/tasks: No such file or directory
Dec 19 12:44:44 node2 init.ohasd: bash: /sys/fs/cgroup/cpu,cpuacct/tasks: Permission denied
Dec 19 12:44:44 node2 oraasm(asm)[33615]: INFO: Oracle ASM is not running
Dec 19 12:44:45 node2 journal: Oracle Clusterware: 2019-12-19 12:44:45.188#012[(33714)]CRS-8500:Oracle Clusterware OHASD process is starting with operating system process ID 33714
Dec 19 12:44:46 node2 oraasm(asm)[33615]: INFO: Oracle ASM is not running
Dec 19 12:44:47 node2 crmd[6925]: notice: Result of start operation for asm on node2: 0 (ok)
...
Dec 19 12:44:47 node2 crmd[6925]: notice: Initiating start operation oracle_start_0 locally on node2
Dec 19 12:44:49 node2 oracle(oracle)[34417]: ERROR: oracle HDMDB can not be mounted (status: )
Dec 19 12:44:49 node2 lrmd[6922]: notice: oracle_start_0:34417:stderr [ ocf-exit-reason:oracle HDMDB can not be mounted (status: ) ]
Dec 19 12:44:49 node2 crmd[6925]: notice: Result of start operation for oracle on node2: 1 (unknown error)
Environment
- Red Hat Enterprise Linux 7 or 8 (with the High Availability Add-on)
- An
ocf:heartbeat:oraasm
resource
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.