This repository has been archived by the owner on Jun 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7dd86d0
commit 0489120
Showing
1 changed file
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0489120
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi David, I followed the all steps.. however after copying all the scripts in at target host it is unable to run the script saying oracle not available... can you pls suggest . Appreciate your help.
"preupgrd": {
"changed": true,
"cmd": "echo exit | sqlplus / as sysdba @preupgrd.sql",
"delta": "0:00:01.533505",
"end": "2019-11-19 20:04:04.182302",
"failed": false,
"rc": 0,
"start": "2019-11-19 20:04:02.648797",
"stderr": "",
"stderr_lines": [],
"stdout": "\nSQLPlus: Release 12.1.0.2.0 Production on Tue Nov 19 20:04:03 2019\n\nCopyright (c) 1982, 2014, Oracle. All rights reserved.\n\nConnected to an idle instance.\n\nSP2-0310: unable to open file "preupgrd.sql"\nSQL> Disconnected",
"stdout_lines": [
"",
"SQLPlus: Release 12.1.0.2.0 Production on Tue Nov 19 20:04:03 2019",
"",
"Copyright (c) 1982, 2014, Oracle. All rights reserved.",
"",
"Connected to an idle instance.",
"",
"SP2-0310: unable to open file "preupgrd.sql"",
"SQL> Disconnected"
]
Variables for db-upgrade ansible role
oracle_stage: "{{ oracle_stage_base }}/12c_upgrade/{{ db_name }}" .
oracle_sid: "{{ db_name }}{{ host_num |default('') }}"