Two Database Servers
Can two database servers be installed on the same m./c and run simulataneously.
like
one oracle 10g installation and one oracle 9i server on same m/c and running??
With different ORACLE_HOMES I can't see why not, though I haven't tried it yet.
The main issue is to have different ORACLE_HOMEs so the variables won't get mixed.
Tony Garabedian
Message was edited by:
Tony Garabedian
I think there might be some problem with Agent though. since it is One Machine/ One Agent up and running.
As I said, I haven't tried this yet, but it jumped on the top of my to do list. :)
Similar Messages
-
Can Apex 3.1 point to two database servers?
Our DBA would like to split an existing Apex server to point to an existing production database server for two applications, and a new (to-be-built this week) database server with a a copy of a third database cloned over there. Is this possible or do I build another Apex server for the new database server?
I mean the HTTP server. There is one marvel.conf with a single PlsqlDatabaseConnectString pointing to the database server. The Apex control tables are stored on the same database server, within the same Oracle instance, as the user data tables themselves. The database instance has tables supporting several "applications" (Apex page sets). We want a way to have certain pages interact with a completely different physical server that is running a clone of the Oracle Instance (renamed/unique Oracle Service Identifier).
This does not seem possible to me. Especially since my user data tables are FULL of clobs that are uploaded and downloaded by users thru the Apex interface. And this is only a temporary need until we test/validate the cloned instance. Then we plan to simply re-point the HTTP server to a new PlsqlDatabaseConnectString.
My gut tells me I would do best to just create a temporary internal HTTP server (virtualized) pointing to the cloned data server. Then our internal testers can have a complete interface for all uploads, downloads, and pressure tests. -
SCN Wraps occured diffrently on two Database Servers
Hi ,
We have 2 development Databases which are on 10g(10.2.0.4) version.
DB1
SCN = 4293806110
SCN_BAS=4293806110
SCN_WRP=0
Next it Incremented to
SCN = 4299357627
SCN_BAS=4390331
SCN_WRP=1
DB2
SCN = 3418871189
SCN_BAS=3418871189
SCN_WRP=0
Next it Incremented to
SCN =4520607388
SCN_BAS=225640092
SCN_WRP=1
Query Used
select time_mp,time_dp, scn_wrp, scn_bas, scn from sys.smon_scn_time order by time_dp asc;My Question is why both DB behaved differently.
Regards
NarasimhaHi ,
Within 5 min i don't think SCN will be incremented from 3418871189 to 4520607388.The DB was Completed Ideal with same export was taken during this period(09:22).
Output
DB1
TIME_MP TIME_DP SCN_WRP SCN_BAS SCN
715078868 31/03/2010 09:01:08 0 3418868071 3418868071
715079172 31/03/2010 09:06:12 0 3418868341 3418868341
715079479 31/03/2010 09:11:19 0 3418868963 3418868963
715079798 31/03/2010 09:16:38 0 3418870055 3418870055
715079894 31/03/2010 09:18:14 0 3418870148 3418870148
715080210 31/03/2010 09:23:30 0 3418871189 3418871189
715080436 31/03/2010 09:27:16 1 225640092 4520607388
715080749 31/03/2010 09:32:29 1 225640529 4520607825
715080860 31/03/2010 09:34:20 1 225649721 4520617017
715081207 31/03/2010 09:40:07 1 225650287 4520617583
715081345 31/03/2010 09:42:25 1 225650721 4520618017
715081649 31/03/2010 09:47:29 1 225651027 4520618323
715081950 31/03/2010 09:52:30 1 225651370 4520618666
715082251 31/03/2010 09:57:31 1 225668710 4520636006
715082585 31/03/2010 10:03:05 1 225669513 4520636809
715082850 31/03/2010 10:07:30 1 225669610 4520636906
715083150 31/03/2010 10:12:30 1 225670026 4520637322
715083455 31/03/2010 10:17:35 1 225670165 4520637461
715083756 31/03/2010 10:22:36 1 225670386 4520637682
715084066 31/03/2010 10:27:46 1 225670523 4520637819
DB2(this is expected Behavior)
TIME_MP TIME_DP SCN_WRP SCN_BAS SCN
715033034 30/03/2010 20:17:14 0 4282561802 4282561802
715033337 30/03/2010 20:22:17 0 4288124573 4288124573
715033340 30/03/2010 20:22:20 0 4288179110 4288179110
715033643 30/03/2010 20:27:23 0 4293751310 4293751310
715033646 30/03/2010 20:27:26 0 4293806110 4293806110
715033949 30/03/2010 20:32:29 1 4390331 4299357627
715033952 30/03/2010 20:32:32 1 4435996 4299403292
715034256 30/03/2010 20:37:36 1 10012898 4304980194
715034301 30/03/2010 20:38:21 1 10839545 4305806841
715034604 30/03/2010 20:43:24 1 16408669 4311375965
715034607 30/03/2010 20:43:27 1 16463373 4311430669
715034910 30/03/2010 20:48:30 1 22016293 4316983589 -
Multiple Database Servers Question
Hi,
Please forgive this ignorant question, but can someone tell
me how one would go about using multiple database servers?
Just as there comes a time where one would need more than
one web server and would need to use a load balancing
solution, what happens when one would need more than one
Database Server?
How does one go about implementing that solution?
Is there some way to have two database servers carrying the
same information with some kind of load balancing solution
in front of it(?) or does one place some tables on one
Database
server, and other tables on the other database server?
(I have no clue as to how things would work.)
Thanks in advance,
JoeMicrosoft SQL allows for clustering of SQL databases, so for
instance two servers connected to a fileshare and a virtual address
shared across the two physical boxes. Database connections are made
to the virtual addres which will then be handled by the active
node. Becuase a database is ultimately a file(s) on a disk it can
only be attached to one node at a time so you end up with an
active/inactive cluster. -
Hi There,
I have two database servers which is A and B and they are replicated.
If I connect to A is fail and I want to connect to B .. How do I modified my statement and connection .
thanks,
mhvan// your connection strings - for example
String connectionStringForA = "jdbc:mysql://localhost/yourdatabase?user=youruser&password=XXXX";
String connectionStringForB = ".......";
// your connection driver - for example
String connectionDriver = "com.mysql.jdbc.Driver";
// Connection reference
Connection sqlCon = null;
try {
// Load database driver
Class.forName(connectionDriver);
// Attempt to make connection with first connection string A
sqlCon = DriverManager.getConnection(connectionStringForA);
// Class not found exception do your handling
catch (ClassNotFoundException cnfex) {}
// first connection failed try second
catch (SQLException sqlex) {
try {
// Attempt to make connection with second connection string B
sqlCon = DriverManager.getConnection(connectionStringForB);
// Class not found exception do your handling
catch (ClassNotFoundException cnfex) {}
// second connection failed do your handling
catch (SQLException sqlex) {}
}rykk -
How to compare two database on different servers
hi,
I want to compare two database on different servers in oracle.first i want to ckechk thier structures and then data.i m using oracle 10.2.0.plz help me out
Thanks in advanceIn terms of structures, there are various tools out there that can do this, such as TOAD which can do a database compare.
In terms of data comparisons, that will depend on what sort of results you are expecting to see. I'm sure some tools will do it for you, but it can be just as easy to write your own comparison using a database link from one database to the other. -
Exadata Database Machine two node servers reboot
Hi,
Good morning to all.
Would like to seek help in regards the problem that I have encountered and an error in running exachk on exadata database machine. The problem I have encountered first is on Database Server node1 and node2, both server nodes when powered up and while OS OLinux is on boot process in the middle of loading devices for OLinux to recognize, the kernel panic appeared and the system automatically reboots.
I tried to copy the exachk file on storage and run exachk under user root but the error message appeared it advises me to run it on compute node.
command to run exachk under root server.
# ./exachk
For your kind further advise
GenesisHello Genesis,
If your database servers are unable to boot at all, I'd suggest addressing that part first. This is really Oracle Supprot SR territory, but I'll try and offer a few suggestions. Do you have the output on the kernel panic available? One way of getting this would be to log onto the ILOM console, and capturing a screenshot of the window while the kernel panic output is on the screen. Knowing which part of the kernel code the panic is happening may help identify a known issue with a simple fix. Note 1538068.1 talks about an issue with LVM snapshots, for example, and also has instructions on how to do boot into a diagnostic image. But again, this type of issue is best dealt with on an Oracle service request.
exachk itself doesn't run directly from storage servers, so hence the errors you see; it needs to be launched from a database server.
HTH!
Marc -
How to configure email Alerts in OEM Cloud 12c for Database Servers up/down
Hi everybody,
How to configure email Alerts in OEM Cloud 12c for Database Servers up/down status?
Regards,
Miguel VegaHi Miguel Vega,
Information regarding the notifications:
==============================
Configuring notification rules in 12c is different from earlier releases.
The concept and function of notification rules has been replaced with a two-tier system consisting of Incident Rules and Incident Rule Sets :
1. Incident Rules: Operate at the lowest level granularity (on discrete events) and performs the same role as notification rules from earlier releases.
By using incident rules, you can automate the response to incoming incidents and their updates.
A rule contains a set of automated actions to be taken on specific events, incidents or problems.
The actions taken are for example : sending e-mails, creating incidents, updating incidents, and creating tickets.
2. Incident Rule Set: A rule set is a collection of rules that applies to a common set of objects, for example, targets, jobs, and templates.
To help you to achieve the Notification Rules configuration, refer those notes :
How To Configure Notification Rules in 12C Enterprise Manager Cloud Control ? Doc ID 1368036.1
EM12c How to Add and Configure Email Addresses to EM Administrators and Update the Notification Schedule ?Doc ID 1368262.1
EM12c How to Subscribe or Unsubscribe for Email Notification for an Incident Rule Set ?Doc ID 1389460.1
EM 12c How to Configure Notifications for Job Executions ? Doc ID 1386816.1
Best Regards,
Venkat -
Two Message Servers in one System
Dear all.
I learned from http://help.sap.com/saphelp_nw04s/helpdata/en/84/54953fc405330ee10000000a114084/content.htm that one SAP system has one central instance which contains one message server. But our system seems to have two message servers.
Our system ID is "ABC". When I open the SAP Management Console, there are three children nodes under our system: One blue database icon named "ABC" and two green icons named "ABC 14" and "ABC 31". Under "ABC 14", there are nodes "ABAP WP Table" and "J2EE Processes Table". In addition, there's a "Process List" node here. The processes include "msg_server.exe", "disp+work.exe", and "igswd.exe". Under "ABC 31", there's no "ABAP WP Table" or"J2EE Processes Table". There's only one node "Process List". It contains "msg_server.exe" and "enserver.exe".
My questions are:
1. What are "ABC 14" and "ABC 31"?
2. Does "ABC 14" contains at least two instances? One is for Java and another is for ABAP?
3. What's the role of "ABC 31"? It seems to only contain enque server and message server.
4. Why are there two message servers in a single system "ABC"? One is under "ABC 14" and another is under "ABC 31".
Thanks + Best Regards
JeromeHi Sunil,
Thanks a lot for the clarification. Just have a little bit confusion left.
1. Since there're two message servers, may I say that there are two central instances? Or these message servers belong to a single central instance?
2. There's no "enserver.exe" in ABAP instance. So is the "enserver.exe" in the JAVA instance also responsible for the ABAP enque and deque operations?
Thanks + Best Regards
Jerome -
Using database link to connect to two databases
Hi guys,
Here's my question. I need to give a contractor Select rights on tables located in two schemas located on two different servers. One server is dev and one is prod. Let's say we have schema user: EMPLOYEE on dev and schema user: DEPARTMENT on prod. The outside contractor needs select rights on all tables in DEPARTMENT schema but only needs select on a few tables ( 4 to be exact) from EMPLOYEE schema.
My initial train of thougth is: CREATE a user named: TEST (random name of course, just used for an example) for contractor on prod. Give user TEST select rights on all tables in DEPARTMENT schema.
Create database link to dev server so user TEST can access EMPLOYEE schema.
How do i go about limiting the user TEST via the database link to only view the 4 tables from EMPLOYEE instead of all teh tables?
Should I also consider doing this scenario in reverse? Creating user TEST on dev, giving TEST rights to the 4 tables in EMPLOYEE, then creating the database link to connect to department schema on prod database??
Any help will be appreciated. Thanks in advance.zephyr223 wrote:
Hi guys,
Here's my question. I need to give a contractor Select rights on tables located in two schemas located on two different servers. One server is dev and one is prod. Let's say we have schema user: EMPLOYEE on dev and schema user: DEPARTMENT on prod. The outside contractor needs select rights on all tables in DEPARTMENT schema but only needs select on a few tables ( 4 to be exact) from EMPLOYEE schema.
My initial train of thougth is: CREATE a user named: TEST (random name of course, just used for an example) for contractor on prod. Give user TEST select rights on all tables in DEPARTMENT schema.
Create database link to dev server so user TEST can access EMPLOYEE schema.
How do i go about limiting the user TEST via the database link to only view the 4 tables from EMPLOYEE instead of all teh tables? Only grant them access to those four tables from EMPLOYEE. You have to explicitly grant privileges anyways, and since there is no GRANT SELECT ON <SCHEMA> ability it should not be that difficult.
Should I also consider doing this scenario in reverse? Creating user TEST on dev, giving TEST rights to the 4 tables in EMPLOYEE, then creating the database link to connect to department schema on prod database?? Are you creating database links as the EMPLOYEE and DEPARTMENT users? If so, I would caution against that. Create a "current user" database link for TEST. I think you can manage privileges better that way.
HTH!
HTH! -
Two licence servers in one environment
Hi,
Is it possible to install two licence servers in one environment and point some of the users to one licence server and others to another. Is there where i can change on the local PC to point to a licence server.
My assumption is that it is stored centrally as i tried to change it on one user PC and all were changed to the same server. Is my assumption correct or how can this be achieved.
Thank you in advance and your help is appreciated.
Regard,
FannaHi,
The SAP Business One workstations read the name of the license service to which they connect from the SLIC table in the SBO-Common database. All Company databases sharing an SBO-Common database use the same license file. In addition, several SBO-Common databases can direct to the same license service.
For more information please refer to:
[License Guide 2007A|https://service.sap.com/~sapidb/011000358700000359212007E.pdf]
hope it helps,
Regards,
Ladislav
SAP Business One Forum Team -
Finding difference of two databases
Hi
I have a webapplication connected to SQL Server 2012 Web Edition.
As soon as the webserver is down I start a second webserver, which needs to have the same content, also on SQL DB level.
That’s why I take a backup of the SQL Server on the first server recovering it to the second server. This works fine.
The database name as well as the database user name are the same on both SQL servers. This database user has owner rights on database level. The configuration does not change, during recovery process on the target server, which overwrites
the earlier content state of the db.
For any reason the webapplication cannot connect to the database afterwards. Of course the contents of the html files in the IIS webfolders are identical on both servers.
The application connects via IP address 127.0.0.1 (not server name), database name, database user and password, all these parts have also been initially set on both servers in the same way.
It seems, that the two databases still have a slight difference.
Your input is welcome.
PatrickThe application connects via IP address 127.0.0.1 (not server name), database name, database user and password, all these parts have also been initially set on both servers in the same way.
It seems, that the two databases still have a slight difference.
When you restore a database to a different instance, there may be a SID mismatch between the login in the master database and the user in the user database. This can be corrected with ALTER USER for a normal user:
USE MyDatabase;
ALTER USER YourDatabseUserName
WITH LOGIN = YourLoginName;
You mentioned database owner permissions (a questionable practice from application code). If the problem login is the database owner, you can change the database owner (mapped to dbo user) with ALTER AUTHORIZATION:
ALTER AUTHORIZATION ON DATABASE::MyDatabase TO YourLoginName;
If this doesn't resolve the issue, please post the error message.
Dan Guzman, SQL Server MVP, http://www.dbdelta.com -
Connection Between Two Databases
Hi,
I have two databases called DBS1 and DBS2. Both are in one system. I need link between these two databases. I want a query as follows.
select * from cust@DBS2; # from DBS1
select * from temp_cust@DBS1; # from DBS2
Is possible link between DBS1 and DBS2.
Can any one tell me how to link these two databases each other.
Best Regards,
Nilopher.
nullNilopher,
You can connect to two different Oracle databases by creating a database link. When you say that both databases are in one system I assume you mean two databases on the same server. To create a database link you can do the following:
While logged onto DBS1:
create database link dbs2
connect to username identified by password
using 'dbs2.world'
Username and password are the user and password you want to connect as in dbs2.
If you want everyone to be able to access the database link you can say create public database link... otherwise only the user that created the database link can use it.
This should work assuming the database server tnsnames.ora file looks like this:
dbs2.world =
(DESCRIPTION =
(ADDRESS = (PROTOCOL= TCP)(Host= hostname)(Port= 1521))
(CONNECT_DATA = (SERVICE_NAME = dbs2))
If your databases are on two different servers you'd have to look at each one's tnsnames.ora file and make sure each one had an entry for the other's database.
I believe the database link name must be the same as the SERVICE_NAME if the parameter GLOBAL_NAMES=TRUE, if it's FALSE you can name it something else. By default this parameter is set to TRUE so I called the database link in the example dbs2.
You can then access data from dbs2 while logged into dbs1 exactly how you said:
select * from cust@DBS2;
You can then repeat the process to do the same thing on dbs2 to connect to dbs1.
Hope this helps. -
Connecting two Central Servers??
Mohan,
More info may be beneficial.
If you are trying to share service objects across two environments, you will
need to create
a reference partition. If the two different Central Servers are truly on two
different machines,
you can connect their environments.
If it's a matter of having your app on one server and the database on another,
you can
use SQLNET and connect using TNS NAMES.
The forte manuals can tell you how to create a reference partition, connect
environment,
etc.
Hope this helps somewhat.
Peggy Adrian
Eli Lilly and Company
[email protected]
---------------------- Forwarded by Peggy Lynn Adrian/AM/LLY on 01/12/98 01:09
PM ---------------------------
MOHAN CHICKMAGALUR <[email protected]> on 01/12/98 01:13:40 AM
Please respond to MOHAN CHICKMAGALUR <[email protected]>
To: [email protected]
cc: [email protected]
Subject: Connecting two Central Servers??
Dear Friends,
Wish U all avery happy new year. In our office we have 2 groups
working on two different Forte Central Server, say FCS-A & FCS-B. FCS-A
has the Oracle Database. We now want the clients connected to FCS-B to
access the Oracle Database. How do I connect these two???
Thanks in Advance for the help
mohan
Get Your Private, Free Email at http://www.hotmail.comI have heard about connecting 2 environments. I have never tried it
myself. Here is how you do it.
As long as your second environment has an environment visible service
object and your first environment does not have such an SO with the same
name, you can specify in the FORTE_NS_ADDRESS environment variable of
the first environment, the address for both the environments. This is
what I have seen in some examples
FORTE_NS_ADDRESS=env1:5000;env2:5000;env3:5000 and so on.
The control will query each environment for the SO.
Hope this helps. Remember, I have not tried it, so I cannot authenticate
it.
Venkat J Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: [email protected] [SMTP:[email protected]]
Sent: Monday, January 12, 1998 7:32 PM
To: Venkat Kodumudi
Subject: Connecting two Central Servers??
To: [email protected] @ Internet
cc: [email protected] @ Internet
From: [email protected] @ Internet
Date: 01/11/98 10:13:40 PM PST
Subject: Connecting two Central Servers??
Dear Friends,
Wish U all avery happy new year. In our office we have 2
groups
working on two different Forte Central Server, say FCS-A & FCS-B.
FCS-A
has the Oracle Database. We now want the clients connected to FCS-B to
access the Oracle Database. How do I connect these two???
Thanks in Advance for the help
mohan
Get Your Private, Free Email at http://www.hotmail.com -
Determine connection status of multiple database servers
We have mutliple database servers that MAY/MAY NOT be connected to the network at any time. I need to determine which DB servers are available to connect to. I have a stored procedure that does a HOST TNSPING command and checking the results through the FORM_SUCCESS function. That works but the response time is too slow, due to taking too long to timeout. What we attempted to do was to issue a HOST PING command, but because of the 16 bit factor, the FORM_SUCCESS did not recognize the results of the PING. I tried to capture the results of a PING into a variable, but had no success. Bottom line, we don't care how it gets done, we just need to be able to determine, as quickly as possible, what database servers are connected.
Microsoft SQL allows for clustering of SQL databases, so for
instance two servers connected to a fileshare and a virtual address
shared across the two physical boxes. Database connections are made
to the virtual addres which will then be handled by the active
node. Becuase a database is ultimately a file(s) on a disk it can
only be attached to one node at a time so you end up with an
active/inactive cluster.
Maybe you are looking for
-
Possible to attach ethernet hub to AEBS?
Dear All, Does anyone know if it is possible to attach a (non-switching) ethernet hub to my 2009 (dual-antenna, 802.11n capable) Airport Extreme Base Station? I've just wired my house up with Cat-5e and would like more than the three available ether
-
Corruption in PreparedStatement
We are finding that doing an UPDATE using a PreparedStatement was leading to corruption of some character in the updated data. Re-arranging the the elements in the statement to place the TIMESTAMP first fixed the corruption. Is there an issue or limi
-
I can't get iCloud to back my music up, and I'm wondering if the issue is that my library is on an external drive.
-
Question about creating a report with variable columns
Post Author: Archmage CA Forum: General Hi, Is there a way to create a Crystal report based on the following situation? Run a stored procedure with two date parameters: If you run from 9/1/07 to 9/30/07, then the data result would be as follows: (ex
-
Can any1 please help. We have Exchange server 2010, we just upgraded it with SP3 and then the issue occers that we were unable to send n receive mail outside of our LAN...i mean from gmail or hotmail.. we have then updated with CU4 which is the lates