![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Problem Resolution Sure Solution 1929576.1 : ODA ODAVP Created Shared Repositories with VM Clones are Missing / Gone on both DOM0 DOM1 Nodes in /OVS on 2.10 using non-lowercase Node Names
Created from <SR 3-9626053411> Applies to:Oracle Database Appliance Software - Version 2.10.0.0 to 2.10.0.0Oracle Database Appliance X3-2 - Version All Versions to All Versions [Release All Releases] Oracle VM - Version 3.2.3 to 3.2.3 [Release OVM32] Information in this document applies to any platform. SymptomsBrief overview of the three types of ODA Virtualized Platform (ODAVP) domains: Oracle Database Appliance Base Domain (ODA_BASE): A privileged virtual machine domain, specifically for databases, that provides database performance similar to bare metal deployments. A PCI pass-through driver provides ODA_BASE direct access to the shared storage. Domain 0 (Dom0) and Dom1: In this note we also refer to Dom1 to identify Dom0 on the second ODA node. Guest Domains (Domain U): Virtual machines that are provisioned to host non-database workloads, such as applications and middleware. Guest operating systems each have their own management domain, called a user domain, abbreviated to "Domain U". These domains are unprivileged domains that have no direct access to the hardware or to the device drivers. Each Domain U starts after Dom0 is running on Oracle Database Appliance Virtualized Platform. For more information refer to Managing Oracle Database Appliance Virtualized Platform in ODA docs.oracle.com
SYMPTOMS
ChangesUsing 1) ODAVP 2) on 2.10 + - and - 3a) New usage - or 3b) Migration - or 3c) Changed Node name to use Upper or Mixed Case
CauseYou may be hitting one of the following bugs <Bug 18939777> SHARED REPO AND VM IS NOT AVAILABLE AFTER ODA_BASE REBOOT IN OAK 2.10
<Bug 18769746> + deletion of invalid entries in acfsutil registry
A script (sharedrepoactions.py) is not capturing non-Lower case Node Names The Node name is using either mixed or upper case nodename + ODAVP + 2.10
Psuedo Example: The Node name is ABCNODE << UPPER Case The Node name is Abcnode << Mixed Case
Solution1) Alter the following script: /opt/oracle/oak/adapters/sharedrepoactions.py
line 342: if (string.find(output,sub_str) > 0): --to-- if (string.find(output.lower(),sub_str.lower()) > 0)
2) kill the odaBaseAgent.py process on the oda_base on both the nodes. Worked Example "... I updated and the replaced the sharedrepoactions.py on both nodes as instructed. I killed the process on both nodes and waited for them to start. Once they were started I ran the show repo command and I still do not see the repositories. I restarted oak afterwards and the repositories were still not listed. However after a few minutes I tried to start both repo1 and repo 2 it said they were already online!! NOTE: Based on User Feedback you may need to restart oak and respawn multiple times !! -- some users said they had to do this '...several times...'
- We will try to provide better details as they become available and confirmed - CL The original VM (VMNEW) also started up automatically on Node 0 and is up and running ..." Below are the logs of the commands that were run after updating and replacing the sharedrepoactions.py files on both DOM1 Node 0 and Node1. ps -ef | grep -i odaBaseAgent.py root 45494 84694 0 00:07 pts/0 00:00:00 grep -i odaBaseAgent.py root 62616 1 0 00:00 ? 00:00:00 /usr/bin/python /opt/oracle/oak/adapters/odaBaseAgent.py [root@ODA1 bin]# kill 62616 <<<< this is only this example's process#
[root@ODA1 bin]# ps -ef | grep -i odaBaseAgent.py
root 48873 1 0 00:07 ? 00:00:00 /usr/bin/python /opt/oracle/oak/adapters/odaBaseAgent.py root 49502 84694 0 00:08 pts/0 00:00:00 grep -i odaBaseAgent.py [root@ODA1 bin]# ./oakcli show repo NAME TYPE NODENUM STATE odarepo1 local 0 N/A odarepo2 local 1 N/A NOTE: Based on User Feedback you may need to restart oak and respawn multiple times !! -- some users said they had to do this '...several times...'
- We will try to provide better details as they become available and confirmed - CL [root@ODA1 bin]# ./oakcli start repo repo1 -node 0 Resource is already ONLINE [root@ODA1 bin]# ./oakcli start repo repo1 -node 1 Resource is already ONLINE [root@ODA1 bin]# ./oakcli show repo NAME TYPE NODENUM STATE odarepo1 local 0 N/A odarepo2 local 1 N/A repo1 shared 0 ONLINE repo1 shared 1 ONLINE repo2 shared 0 ONLINE repo2 shared 1 ONLINE [root@ODA1 bin]# ./oakcli start vm VMNEW Resource is already ONLINE
Attachments This solution has no attachment |
||||||||||||
|