Get Local Disk WWID for Oracle ASM drive identification.
-
@dthenot can you take a look when you are around?
-
@James9103 Hello, sorry for the delayed answer.
scsi_id would not work on
/dev/xvdX
devices since those are not SCSI based.
They arexen-blkfront
devices using theblkif
protocol.It took me a bit of time to answer since I don't know about Oracle ASM.
From what I can read from ASM documentation, you only need stable identifier for disks.
Could you use some other kind of unique identifier?Another thing is that there no current way to obtain a unique identifier for
xen-blkfront
devices, but that we could try to do something about.
I will be looking a bit more about on it. -
@dthenot I assume that I should be able to use some other disk identification provided there is an executable that would generate a unique code for each disk partition given a /dev/xvdX parameter.
Based on the udev/rules.d/99-asm.rules PROGRAM syntax of PROGRAM=="/usr/lib/udev/scsi_id -g -u -d /dev/$parent".I would be willing to try it if you could generate a unique identifier for the xen-blkfront devices.
Thanks for you assistance.
-
Hi,
the following blog post helped me to get Oracle Restart and ASM working:"For persistent device naming, we can configure ASMLIB or set udev rules. We need to use a partition UUID (not a filesystem UUID) in udev rules"
https://alexzy.blogspot.com/2018/02/configuring-disk-devices-manually-for.html
-
@Timo Thank you so much for this information. I was able to use the the ID_PART_ENTRY_UUID or ID_PART_ENTRY_NAME variables in my /etc/udev/rules.d/99-asm.rules files and it seems to be working on my test database server.
@dthenot, @olivierlambert, @stormi, @yann. This issue has been resolved using the information @Timo provided. Thanks again for your assistance and VMWare alternative.
James...
-
Thanks to you, both @Timo for a working solution and @James9103 for your feedback
Probably worth documenting that somewhere, any idea where @stormi or @dthenot ?
-
Likely in https://docs.xcp-ng.org/vms/
-
Doc updated at https://docs.xcp-ng.org/vms/#disk-wwid
-
-
-
@olivierlambert Thank you. That should be helpful for future installs and for others with a similar situation.
-
Indeed!