Why ASMLib doesn't restart automatically on Oracle RAC 19c/12c after restarting Linux 7 server?

From: Quanwen Zhao <quanwenzhao_at_gmail.com>
Date: Wed, 1 Jun 2022 08:41:24 +0800
Message-ID: <CABpiuuTGn4xrrwPu0anhQam6ZiCcbC=RDtJKHdrBLeR7pLNfcQ_at_mail.gmail.com>



Hello everybody 😊, I'm using ASMLib (not UDEV) to create ASM disks on RAC 19c/12c but why it always doesn't startup after restarting my Linux 7 server? Next I checked the CRS log file - reported voting files never found in 15 seconds so I continued to look at "/dev/oracleasm", oh my god, never existed oracleasm on /dev!!!

In other words why ASMLib doesn't restart automatically on Oracle RAC 19c/12c after restarting Linux 7 server?

I have to run "oracleasm init" (this step found that mounted
"/dev/oracleasm") on root user and next "oracleasm scandisks" manually, now
my RAC is ok.

Afterwards adding these two commands "oracleadm init" and "oracleasm scandisks" to file /etc/rc.d/rc.loal in order to startup ASMLib automatically, unfortunately it just ran "oracle init" because I am able to found the mount point "/dev/oracleasm" but never found ASM disks.

Also noticed that oracleasm's full location is "/usr/sbin/oracleasm" on Linux 7 (it's a binary executable file), it looks like this,
"/etc/init.d/oracleasm" on Linux 6, actually never found
"/etc/init.d/oracleasm" on Linux 7, not provided ASMLib service on Linux 7?

Has anybody encountered similar case on your production system Oracle RAC 19c/12c? and how to solve it? Thanks beforehand!

Best Regards
Quanwen Zhao

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jun 01 2022 - 02:41:24 CEST

Original text of this message