How to switch between Oracle 11g and 12c on same linux
I have oracle11g and 12c installed on same machine and few test cases that need to be run on both versions.
Can power up both database simultaneously and run test paralally.
Do you know any document that describe this scenario of multiple oracle on same machine.
Note: I am not from DB background and just using it for something so please suggest accordingly
linux oracle-11g oracle-12c
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have oracle11g and 12c installed on same machine and few test cases that need to be run on both versions.
Can power up both database simultaneously and run test paralally.
Do you know any document that describe this scenario of multiple oracle on same machine.
Note: I am not from DB background and just using it for something so please suggest accordingly
linux oracle-11g oracle-12c
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have oracle11g and 12c installed on same machine and few test cases that need to be run on both versions.
Can power up both database simultaneously and run test paralally.
Do you know any document that describe this scenario of multiple oracle on same machine.
Note: I am not from DB background and just using it for something so please suggest accordingly
linux oracle-11g oracle-12c
I have oracle11g and 12c installed on same machine and few test cases that need to be run on both versions.
Can power up both database simultaneously and run test paralally.
Do you know any document that describe this scenario of multiple oracle on same machine.
Note: I am not from DB background and just using it for something so please suggest accordingly
linux oracle-11g oracle-12c
linux oracle-11g oracle-12c
asked Jul 10 '18 at 10:52
DEEPAK WANIDEEPAK WANI
1015
1015
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Check the /etc/oratab
file. In there the ORACLE_HOME
is defined in the second field. Make sure that both instances point to the right ORACLE_HOME
. If you do an . oraenv
to change from one instance to another this scripts sets the correct ORACLE_HOME
so you connect with the right binaries to start, stop, and access the instance. The file is normally also used to stat-up the instances at boot time.
Example of a line in the /etc/oratab
file:
DEVA:/u01/app/oracle/product/11.2.0/db_2:Y
DEVA
is the name (SID
) of the instance, /u01/app/oracle/product/11.2.0/db_2
is the ORACLE_HOME
, and Y
indicates that the instance must be started at boot time.
You say that you have no DB background so be aware that you cannot run the same instance in both versions of Oracle.
add a comment |
Check AskTom webpage - Installed multiple home(11g and 12c on same windows server) unable to connect to 11G DB- Error - ORA-12514
I think, will be hard without DB background, but it is possible.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "182"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f211742%2fhow-to-switch-between-oracle-11g-and-12c-on-same-linux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Check the /etc/oratab
file. In there the ORACLE_HOME
is defined in the second field. Make sure that both instances point to the right ORACLE_HOME
. If you do an . oraenv
to change from one instance to another this scripts sets the correct ORACLE_HOME
so you connect with the right binaries to start, stop, and access the instance. The file is normally also used to stat-up the instances at boot time.
Example of a line in the /etc/oratab
file:
DEVA:/u01/app/oracle/product/11.2.0/db_2:Y
DEVA
is the name (SID
) of the instance, /u01/app/oracle/product/11.2.0/db_2
is the ORACLE_HOME
, and Y
indicates that the instance must be started at boot time.
You say that you have no DB background so be aware that you cannot run the same instance in both versions of Oracle.
add a comment |
Check the /etc/oratab
file. In there the ORACLE_HOME
is defined in the second field. Make sure that both instances point to the right ORACLE_HOME
. If you do an . oraenv
to change from one instance to another this scripts sets the correct ORACLE_HOME
so you connect with the right binaries to start, stop, and access the instance. The file is normally also used to stat-up the instances at boot time.
Example of a line in the /etc/oratab
file:
DEVA:/u01/app/oracle/product/11.2.0/db_2:Y
DEVA
is the name (SID
) of the instance, /u01/app/oracle/product/11.2.0/db_2
is the ORACLE_HOME
, and Y
indicates that the instance must be started at boot time.
You say that you have no DB background so be aware that you cannot run the same instance in both versions of Oracle.
add a comment |
Check the /etc/oratab
file. In there the ORACLE_HOME
is defined in the second field. Make sure that both instances point to the right ORACLE_HOME
. If you do an . oraenv
to change from one instance to another this scripts sets the correct ORACLE_HOME
so you connect with the right binaries to start, stop, and access the instance. The file is normally also used to stat-up the instances at boot time.
Example of a line in the /etc/oratab
file:
DEVA:/u01/app/oracle/product/11.2.0/db_2:Y
DEVA
is the name (SID
) of the instance, /u01/app/oracle/product/11.2.0/db_2
is the ORACLE_HOME
, and Y
indicates that the instance must be started at boot time.
You say that you have no DB background so be aware that you cannot run the same instance in both versions of Oracle.
Check the /etc/oratab
file. In there the ORACLE_HOME
is defined in the second field. Make sure that both instances point to the right ORACLE_HOME
. If you do an . oraenv
to change from one instance to another this scripts sets the correct ORACLE_HOME
so you connect with the right binaries to start, stop, and access the instance. The file is normally also used to stat-up the instances at boot time.
Example of a line in the /etc/oratab
file:
DEVA:/u01/app/oracle/product/11.2.0/db_2:Y
DEVA
is the name (SID
) of the instance, /u01/app/oracle/product/11.2.0/db_2
is the ORACLE_HOME
, and Y
indicates that the instance must be started at boot time.
You say that you have no DB background so be aware that you cannot run the same instance in both versions of Oracle.
answered Jul 10 '18 at 11:16
MarcoMarco
3,74231724
3,74231724
add a comment |
add a comment |
Check AskTom webpage - Installed multiple home(11g and 12c on same windows server) unable to connect to 11G DB- Error - ORA-12514
I think, will be hard without DB background, but it is possible.
add a comment |
Check AskTom webpage - Installed multiple home(11g and 12c on same windows server) unable to connect to 11G DB- Error - ORA-12514
I think, will be hard without DB background, but it is possible.
add a comment |
Check AskTom webpage - Installed multiple home(11g and 12c on same windows server) unable to connect to 11G DB- Error - ORA-12514
I think, will be hard without DB background, but it is possible.
Check AskTom webpage - Installed multiple home(11g and 12c on same windows server) unable to connect to 11G DB- Error - ORA-12514
I think, will be hard without DB background, but it is possible.
answered Jul 10 '18 at 12:31
MikrobiMikrobi
101
101
add a comment |
add a comment |
Thanks for contributing an answer to Database Administrators Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f211742%2fhow-to-switch-between-oracle-11g-and-12c-on-same-linux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown