seth-miller / 12c-rac-docker Goto Github PK
View Code? Open in Web Editor NEWMultiple node Oracle RAC cluster running in Docker containers
Multiple node Oracle RAC cluster running in Docker containers
Hello,
I have a problem applying one-off patch, there's a conflict with the bundle patch.
Is it expected ? May I skip that patch ?
thanks
Fausto
TASK [create_oracle_image : Apply one-off patches to database] *****************
failed: [192.168.77.195] (item=19404068) => {"changed": true, "cmd":
["/usr/bin/docker", "exec", "rac1", " su", "-", "oracle", "-c", " /u01/app/oracle/product/12.1.0/dbhome_1/OPatch/opatch apply /stage/12.1.0.2/19 404068 -oh /u01/app/oracle/product/12.1.0/dbhome_1 -silent"], "delta": "0:00:04.845370", "end": "2017-04-0 8 17:27:41.794822", "failed": true, "item": 19404068, "rc": 73, "start": "2017-04-08 17:27:36.949452", "st derr": "UtilSession failed: Inter-conflict checking failed in apply incoming patches", "stdout": "Oracle I nterim Patch Installer version 12.2.0.1.8\nCopyright (c) 2017, Oracle Corporation. All rights reserved.\n \n\nOracle Home : /u01/app/oracle/product/12.1.0/dbhome_1\nCentral Inventory : /u01/app/oraInventory \n from : /u01/app/oracle/product/12.1.0/dbhome_1/oraInst.loc\nOPatch version : 12.2.0.1.8\ nOUI version : 12.1.0.2.0\nLog file location : /u01/app/oracle/product/12.1.0/dbhome_1/cfgtoollogs/o patch/opatch2017-04-08_15-27-37PM_1.log\n\nVerifying environment and performing prerequisite checks...\n\n Whole composite patch Conflicts/Supersets are:\n\nPatch : 19404068\n\n\tConflict with Composite Patch 2314 4544\n\nDetail Conflicts/Supersets for each patch are:\n\nPatch : 19404068\n\n\tConflict with Sub-Patch 20 243804\n\tConflict details:\n\t/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/libdbtools12.a:krmk6.o\n\ t/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/libdbtools12.a:krmk7.o\n\n\nFollowing patches have conf licts: [ 19404068 23144544 ]\nUse the MOS Patch Conflict Checker \"https://support.oracle.com/epmos/fa ces/PatchConflictCheck\" to resolve.\nSee MOS documents 1941934.1 and 1299688.1 for additional information and resolution methods.\n\nLog file location: /u01/app/oracle/product/12.1.0/dbhome_1/cfgtoollogs/opatch/ opatch2017-04-08_15-27-37PM_1.log\n\nOPatch failed with error code 73", "stdout_lines": ["Oracle Interim P atch Installer version 12.2.0.1.8", "Copyright (c) 2017, Oracle Corporation. All rights reserved.", "", " ", "Oracle Home : /u01/app/oracle/product/12.1.0/dbhome_1", "Central Inventory : /u01/app/oraInvento ry", " from : /u01/app/oracle/product/12.1.0/dbhome_1/oraInst.loc", "OPatch version : 12.2. 0.1.8", "OUI version : 12.1.0.2.0", "Log file location : /u01/app/oracle/product/12.1.0/dbhome_1/cfg toollogs/opatch/opatch2017-04-08_15-27-37PM_1.log", "", "Verifying environment and performing prerequisite checks...", "", "Whole composite patch Conflicts/Supersets are:", "", "Patch : 19404068", "", "\tConflict with Composite Patch 23144544", "", "Detail Conflicts/Supersets for each patch are:", "", "Patch : 194040 68", "", "\tConflict with Sub-Patch 20243804", "\tConflict details:", "\t/u01/app/oracle/product/12.1.0/db home_1/rdbms/lib/libdbtools12.a:krmk6.o", "\t/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/libdbtools1 2.a:krmk7.o", "", "", "Following patches have conflicts: [ 19404068 23144544 ]", "Use the MOS Patch Co nflict Checker \"https://support.oracle.com/epmos/faces/PatchConflictCheck\" to resolve.", "See MOS docume nts 1941934.1 and 1299688.1 for additional information and resolution methods.", "", "Log file location: / u01/app/oracle/product/12.1.0/dbhome_1/cfgtoollogs/opatch/opatch2017-04-08_15-27-37PM_1.log", "", "OPatch failed with error code 73"], "warnings": []}
Hello,
I'm trying to install 12c-rac using ANSIBLE.
When I lanuch:
ansible-playbook prepare_host.yml --tags=asm
I got
[WARNING]: provided hosts list is empty, only localhost is available
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.
The error appears to have been in '/home/ubuntu/12c-rac-docker/ansible/roles/prepare_host/tasks/main.yml': line 77, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Create Docker networks
^ here
The error appears to have been in '/home/ubuntu/12c-rac-docker/ansible/roles/prepare_host/tasks/main.yml': line 77, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Create Docker networks
^ here
Am I missing something ?
I'm running under Ubuntu 16.10 with docker installed and running.
thanks,
Fausto
Hi @Seth-Miller,
I went through the manual process, proceed with your document. I guess the following command has the missing letter. Can you please check this? It should be "99-asm-disks.rules" instead of "99-asm-disk.rules".
docker exec rac1 ln -s /usr/lib/custom_services/99-asm-disk.rules /etc/udev/rules.d/
I also get the error when running the following command.
$ docker exec rac1 ls -l /dev/sd[d-f]
ls: cannot access /dev/sd[d-f]: No such file or directory
$ docker exec rac1 ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 Mar 25 22:44 /dev/sda
brw-rw---- 1 root disk 8, 1 Mar 25 22:44 /dev/sda1
brw-rw---- 1 root disk 8, 16 Mar 25 22:44 /dev/sdb
Thank you for preparing this beautiful guide.
Melih
Hi,
I am following the guide but unable to get ASM disks to show up under /dev/asmdisks. Udev rules are correct. Yet, there is no directory called asmdisks under /dev. I created it manually and setup the symlinks too (i'm sure that's not how it goes though).
Finally, I get this error when configuring grid infrastructure:
[FATAL] [INS-30508] Invalid ASM disks.
CAUSE: The disks [/dev/asmdisks/asm-clu-121-DATA-disk1, /dev/asmdisks/asm-clu-121-DATA-disk2, /dev/asmdisks/asm-clu-121-DATA-disk3] were not valid.
ACTION: Please choose or enter valid ASM disks.
[FATAL] [INS-30515] Insufficient space available in the selected disks.
CAUSE: Insufficient space available in the selected Disks. At least, 5,227 MB of free space is required.
ACTION: Choose additional disks such that the total size should be at least 5,227 MB.
What steps have I missed/need to execute to get ASM disks working? I have mounted files created with dd on my host to /dev/sd[d-f] using losetup.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.