Ref: Multiple databases on same ASM Instance
I am having an existing two Node RAC using ASM FIle System. I want to add one more database to the existing RAC using the same ASM diskgroup. We can create multiple databases using the same ASM instance?
You need one ASM instance per server. You can have multiple instances resp databases running on that server accessing the same diskgroup made available on the server by the ASM instance.
Kind regards
Uwe Hesse
http://uhesse.wordpress.com
Similar Messages
-
How to access multiple database present in single instance
Hi Team,
In oracle 11.2, can there be multiple databases in an instance??? In one of our environment, I could see multiple databases in an instance. Could you please help me in giving the data dictionary or query to access those databases?
Actually, querying v$database, I could see only one database which is same as instance name. But in inventory, there are multiple database in an instance?
I am still not exactly clear about this. Can someone help me with this?
Thanks!
VidhyaIn Oracle one instance manages one (1) database. A database consists of multiple *schemas*.
Other vendors erroneously call a schema 'database'.
So, no, you didn't see multiple databases.
There is also one datadictionary, consisting of a set of views.
All views beginning with dba_ list the entire database, all schemas.
All views beginning with all_ list the objects you have access to.
All views beginning with user_ list your own objects.
The view DICT show you the contents of the datadictionary.
Oracle also has online documentation at http://docs.oracle.com
From your question it is clear you should read the document called the 'Oracle Concepts Manual'.
You can find all documentation for 11gR2 here Oracle Database Online Documentation 11g Release 2 (11.2)
Too many people here don't make any effort to read it. This is probably the reason why you got no response.
Sybrand Bakker
Senior Oracle DBA -
TDE Wallets & Multiple Databases on same Host
The Oracle TDE Best Practices (doc ID 130696) states this:
Multiple databases on the same host
If there are multiple Oracle Databases installed on the same server, they
must access their own individual TDE wallet. Sharing the same wallet between independent instances is not supported
and can potentially lead to the loss of encrypted data.
If the databases share the same ORACLE_HOME, they also share the same
sqlnet.ora file in $TNS_ADMIN . In order to access their individual wallet, the
DIRECTORY entry for the ENCRYPTION_WALLET_LOCATION
needs to point each database to its own wallet location:
DIRECTORY= /etc/ORACLE/WALLETS/$ORACLE_UNQNAME
The names of the subdirectories under /etc/ORACLE/WALLETS/ reflect
the ORACLE_UNQNAME names of the individual databases.
If the databases do not share the same ORACLE_HOME, they will also have their individual sqlnet.ora
files that have to point to the individual subdirectories.
What is the correct sqlnet.ora syntax to do this? I currently have what is below but it doesn't seem to be correct:
ENCRYPTION_WALLET_LOCATION =
(SOURCE = (METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = /local/oracle/admin/wallet/DB#1)
(DIRECTORY = /local/oracle/admin/wallet/DB#2)Hi,
You can check this :Setting ENCRYPTION_WALLET_LOCATION For Wallets Of Multiple Instances Sharing The Same Oracle Home (Doc ID 1504783.1)
i haven't done this for multiple database, but as per Doc you can use the syntex like
ENCRYPTION_WALLET_LOCATION =
(SOURCE = (METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = /local/oracle/admin/wallet/$ORACLE_UNQNAME)
Whenever you set the Environmnet with
export $ORACLE_UNQNAME=DB#1
it will choose the file from respective directory like /local/oracle/admin/wallet/DB#1
HTH -
Multiple databases on same server
we're planning to consolidate our SAP R/3 databases on a 64bit based cluster running Windows 2003/SQL Server 2005.
the "SAP with Microsoft SQL Server 2005: Best Practices for High Availability, Maximum Performance, and Scalability" document states "SAP products support multiple instances of SQL Server 2005 on the same server. However, running the database of the SAP production system together with other application databases on one server is not recommended." and "An alternative is to run two or three SAP databases on one SQL Server 2005 instance.".
giving this, I'd like to know if it's not recommended even if the 'other application databases' are related to other instances of SAP R/3 product.
it would be useful to know why one SQL Server instance with multiple SAP databases is better than multiple SQL Server instances with one SAP database for each.
thank you.Dear Matro,
Please review the following thread:
Multiple database instances on single server on SQL2005
I also note that you state your database server is clustered using MSCS. If this is the case you should not use a "Named Instance". If you download the latest Netweaver 2004s Installation guide (SR1) for Windows SQL you will note that on page 172 it specifically states that you must install a "default instance".
If you plan to consolidate several SAP database systems on one host and use a default instance you need to consider the fact that all databases running on this instance will share resources such a memory cache etc.
Factors such as the size of the SAP systems, whether the systems are OLTP will influence your decision
Please post if you have any additional questions.
Thanks
N.P.C -
How to add one more database to an ASM instance
Dear Gurus,
I Created an ASM Instance and Database. Now I would like to install one more database and use the ASM instance to manage my disks.
I tried using DBCA, It is not detecting ASM instance not sure why it is giving the problem.
Thanks in advance.adchanana : I refered thread written by adchanana, I was able to fix my problem
thanks -
Viewing multiple PDFs in same Reader instance
Has Reader 9 lost the ability to view multiple PDF documents within the same instance? After a system crash and various upgrades, I am no longer able to make this work... and cannot find the appropriate Preference. Its bugging me.
Any thoughts?
KenWhen I open a single document it appears to be simulating MDI (e.g. there is an "X" icon in the upper right corner of the document). But there are no controls to Restore Down or Minimize. Selecting File / Open from the menu opens another instance of Reader (not a second document in the same Reader instance). Yes, I can open two instances of 9.0 and tile... but valuable screen real estate is lost because there are two menus and two icon bars.
I hate to downgrade to 8.0, but that looks like my best option. -
How to create linked server to multiple database on same server?
Hi Experts
I want to create linked server to multiple databases on the same server.
I have 2 database servers (ServerA and ServerB) and want to create linked server on ServerB to link multiple databases on ServerA).
I have admin right on ServerB.
I don't have admin right on ServerA but have different accounts to access on each databases on ServerA.
After I created one linked server object to a database, I cannot create another linked server object for another database as it has already used the server name which is ServerA.
Please advise.
Thanks.EXEC sp_addlinkedserver 'ServerADB1', '', 'SQLNCLI', 'ServerA', @catalog = 'DB1'
EXEC sp_addlinkedserver 'ServerADB2', '', 'SQLNCLI', 'ServerA', @catalog = 'DB2'
etc.
Please look up the details for sp_addlinkedserver as I typed this from memory.
I can certainly see a point in having one linked server per database, as then you don't have to hardcode the database name in the queries, and the linked-server definitions can be changed if the database name changes.
Erland Sommarskog, SQL Server MVP, [email protected] -
Multiple databases on same server installation
Hi,
We will have multiple RAC databases installed on the same pair of servers. The idea is to have them as independent as possible meaning when one fails it won't trigger others to failover. Want to understand from the experienced DBA here what should be separated.
A list of items I can think about is,
Different Oracle binary;
Different Oracle home;
Different disk group for data;
What about
their virtual ip, scan ip;
voting disk and ocr disk
etc
Thanksrac100g wrote:
T
To have two databases running on one pair of RAC nodes is for two completely unrelated application in my context and it's not for redundancy purpose if I confused you. You can say to group them together is for saving money.And you can also save oxygen by holding your breath for 60 seconds every 300 seconds. ;-)
It does NOT make sense to me to run 2 RAC instances on a single RAC node ito performance and scalability.
I would rather create a single Grid (e.g. 10 nodes). Create multiple policy based RAC databases (e.g. 3 databases). Create 3 server groups (e.g. group 1 with 5 nodes, group 2 with 3 nodes and group 3 with 2 nodes). Then assign a single database to a server group.
Should database 3 need more than 2 nodes, server group 1 (and database 1) can be reduced to 4 nodes and group 3 increased to 3 nodes.
Etc.
The list I provided earlier is the area I think I can reserve extra IP, creating extra set of disks to avoid them crash same time.Grid and RAC are redundant. Understand how that works and correctly implement it (e.g. h/w redundancy in storage system, redundancy in fabric and interconnect switching layers, redundancy in cabling, etc).
It does not make sense to try and implement your own idea of redundancy by adding multiple Oracle Homes and so on. -
Multiple Application Servers - Same class instance
Hi,
Due to increasing load we have to add multiple Web Servers and Application Servers (custom built) for our Web Application.
As currently we are using 'synchronized' for adding and releasing connection in ConnectionPool and also using static in several other classes - we have to make these few classes single instance across the application servers.
We are using iPlanet 6.0 for Win 2000. Is there any way we can direct specific classes for a single instance. Please provide me with all sorts of alternatives.
Thanks a lot,
Suman BiswasHi,
Yes, we have different JVMs. Different JVM means different processes,now there can be two cases,these process running on same machines
or on different machines.If it is in different machines then undoubtly you require to go for the Distributed Technology(RMI for java).
As we have couple of classes which are using
'synchronized' - cann't we use centralized classes for
these couple of classes to maintain integrity?Yes you can do it,now this centralized class should be available in common place from where your all applications can get results,and for avoiding the data corruption your require to go for synchronized(if some global variables) block,since the same instance will be serving all the requests.
When you say RMI - my question is how the commercial products handle these kind of issues while they are in multiple servers?I have created some application using RMI but not the same one which you had specified.I had used it for different purpose.
vicky -
How to track session IDs for multiple apps in same server instance?
All:
We have 2 web applications (for example: app1,app2) running in one app
server instance (weblogic 5.1). Both of those applications use the same
cookie name (defined in weblogic.properties ) to keep the HttpSessionID.
The tricky thing is that if a client logs in to app1 and then logs in to
app2 with the same web browser, (for example, IE). The app1's
HttpSessionID kept in the cookie will be overwritten by app2's
HttpSessionID because they use the same cookie name.
My question is this:
Is there a way to specify a cookie name for each application running in
an application server instance?
The only way we know of to work around the problem is that we have to
host the app1 and app2 in 2 different app server instances so we can
config app1 and app2 to use different cookie names for the
HttpSessionID. We are curious if there is a better way to do that.
BTW, We must use Cookie because of the requirement of cluster and load
balancer.
Thanks,
BenHi Ben,
Which version of Weblogic are you using??
In 5.1 sp8 the Cookie names of the Web Apps are different by default.
Prasad Peddada <[email protected]> wrote:
Why can't you add your own cookie?
In 6.0 you can have different cookie names for different
apps.
-- Prasad
"Benjamin D. Engelsma" wrote:
All:
We have 2 web applications (for example: app1,app2)running in one app
server instance (weblogic 5.1). Both of those applicationsuse the same
cookie name (defined in weblogic.properties ) to keepthe HttpSessionID.
The tricky thing is that if a client logs in to app1and then logs in to
app2 with the same web browser, (for example, IE). The app1's
HttpSessionID kept in the cookie will be overwrittenby app2's
HttpSessionID because they use the same cookie name.
My question is this:
Is there a way to specify a cookie name for each applicationrunning in
an application server instance?
The only way we know of to work around the problem isthat we have to
host the app1 and app2 in 2 different app server instancesso we can
config app1 and app2 to use different cookie names forthe
HttpSessionID. We are curious if there is a better wayto do that.
BTW, We must use Cookie because of the requirement ofcluster and load
balancer.
Thanks,
Ben -
Listener setup when using multiple databases on same cluster
Hi,
In our 2-node RAC cluster, we have 5 databases running on the same cluster. Since we are using SCAN listener on port #1521, does this mean db port# for all databases is 1521?
If I decide to use a unique port# (other than SCAN port#), what are the choices?
ENV: 11gR2, 2-node RH 5.x
Thanks!The answer to your question depends on how it was configured.
My recommendation ... run some tests and see if that is the way it was done. -
RMAN> BACKUP AS COPY DATABASE FORMAT='+DGROUP1';
Starting backup at 19-AUG-07
Starting implicit crosscheck backup at 19-AUG-07
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=326 devtype=DISK
Crosschecked 5 objects
Finished implicit crosscheck backup at 19-AUG-07
Starting implicit crosscheck copy at 19-AUG-07
using channel ORA_DISK_1
ORA-19587: error occurred reading 8192 bytes at block number 1
ORA-17507: I/O request size 8192 is not a multiple of logical block size
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 08/19/2007 10:49:34
ORA-19587: error occurred reading 8192 bytes at block number 1
ORA-17507: I/O request size 8192 is not a multiple of logical block sizebelow are my init.ora parameters could you pls suggest me the changes needed???? i'm very thankful for your response.
*.db_cache_size=92274688
*.java_pool_size=200094304
*.large_pool_size=200094304
*.shared_pool_size=255852544
*.streams_pool_size=50331648
*.pga_aggregate_target=25165824
*.session_max_open_files=20
*.background_dump_dest='/u01/app/oracle/product/SRAVAN/bdump'
*.compatible='10.1.0'
#*.control_files='/u01/app/oracle/product/SRAVAN/control01.ctl','/u01/app/oracle/product/SRAVAN/control02.ctl'
*.control_files='+DGROUP1'
*.core_dump_dest='/u01/app/oracle/product/SRAVAN/cdump'
#*.db_block_size=8192
#*.db_domain=''
#*.db_file_multiblock_read_count=16
*.db_name='SRAVAN'
#*.job_queue_processes=3
#*.log_archive_dest_1='LOCATION=/u01/app/oracle/product/SRAVAN/ARCH1'
#*.log_archive_dest_2='LOCATION=/u01/app/oracle/product/SRAVAN/ARCH2'
#*.log_archive_dest_state_1='ENABLE'
*.log_archive_format='SRAVAN_%r_%t_%s.arc'
*.open_cursors=400
*.processes=300
*.remote_login_passwordfile='EXCLUSIVE'
#*.undo_management='auto'
#*.undo_tablespace='UNDOTBS'
#*.sga_target=167772160
*.db_create_file_dest = '+DGROUP1'
*.db_recovery_file_dest = '+DGROUP1'
*.db_recovery_file_dest_size = 100M
*.db_create_online_log_dest_1='+DGROUP1' -
Oracle dblink to sql server, accessing multiple database on same sql server under one dblink
Hi, we have successfully managed to set up an Oracle dblink over to sql server and retrieve data.
The sql server user were using via the dblink has access to more than one database on the same sql server
But the question is how in oracle (if at all possible) do you prefix the sql statement to access this ?
Eg:
Sqlserver_prod has user sqlserver_user which appears to be set up as default database on sqlserver_db1
But we have select access to sqlserver_db2
all work fine as sqlserver_user
select * from table_fromdb1
select * from dbo.table_fromdb1
select * from sqlserver_db1.dbo.table_fromdb1
as does
select * from sqlserver_db2.dbo.table_fromdb2
over in Oracle
Oracle_db has dblink sqlserver_prod.world connecting as sqlserver_user
all working fine
select * from "table_fromdb1"@sqlserver_prod
select * from "dbo"."table_fromdb1"@sqlserver_prod
but how (if at all possible) do I access from oracle
sqlserver_db2.dbo.table_fromdb2
without having to create a new sqlserver_db2_user referenced in a new dblink
if oracle to oracle would be
select * from remote_oracle_schema.table@remote_oracle_dbHi, ok cheers, I see, original gateway was connecting purely at host_name level
HS_FDS_CONNECT_INFO=sqlserver_host
Planning to amend this to be
HS_FDS_CONNECT_INFO=sqlserver_host//sqlserver_db1
With exisiting dblink
And to create new gateway
HS_FDS_CONNECT_INFO=sqlserver_host//sqlserver_db2
With new exisitng dblink,will see how we get on
Cheers again -
ASM instance for Multiple DBs in a RAC environment - 10GR2
Are there any drawbacks if you create 2 RAC databases ex Chicago (consisting on 2 nodes Chicago1 and Chicago2) and Orlando (consisting of Oralndo1 and Oralndo2) on the same ASM instance running on Oracle 10G R2.
Would it be better to create 2 ASM instances?
ThanksASM is node specific. Meaning you can only have one ASM instance per node.. its like any other volume manager. You only need one volume manager/storage manager to handle the storage for a given node. Its no different with ASM.
So irrespective of the number of databases you plan to create on a node, you will only have one ASM instance.
A word of caution when creating multiple RDBMS instances, is to ensure you have sufficient resources for this. Unless the user access patterns are considerably different or the business needs stipulate separate database, you should also consider database consolidation if possible. -
While production database is operational, ASM instance gets down out of sudden.
The error reflecting in alert log is :
ORA-15064: communication failure with ASM instance
ORA-03113: end-of-file on communication channel
Also in trace files the same error is reflecting. I am unable to find the root cause why the ASM instance getting down again n again .
Kindly help !
Thanks !!I thought about more input. But well: Check for errors in the clusterware logs next. And check your system logs.
Any tracefiles created by the ASM instance?
A note: You´re on 10.2.0.2.0. Thats way too old. The current version is 10.2.0.4.0. I STRONGLY recommend to upgrade your clusterware and ASM to that version. If you need for some reason you can leave your database on 10.2.0.2.0.
Ronny Egner
My Blog: http://blog.ronnyegner-consulting.de
Maybe you are looking for
-
I am having trouble installing SQL 2008 Small Business Edition on top of MS 2008 std from the SBS premium suite. I recieve the SQL Server 2008 R2 setup log error stateing "Operating system supported for edition "Failed". The specific error is "Editio
-
Hi, I'm downloading a idoc to a txt with gui-download and i want to remove the blank spaces between the fields except some char fields that i want to show with the space of the variable even if is empty.i've used the trunk_trailing_blanks but it remo
-
Error when downloading SMS messages from Nokia 623...
Hi, I have been using a Nokia 6233 phone for the past 3 yrs. Now that my phone memory is full I was attempting to download the messages in my inbox to my PC. However when I attempt to connect my phone to my PC (this is the first time that I am trying
-
Customize E-Commerce 7.0 in NWDS
Hello all. We are not using NWDI, only NWDS. I need to make changes to E-Commerce 7.0. Is there any other way than modyfiying the jsp files directly, I mean, is it possible to import the project into NWDS? If it is not possible: How do you transport
-
Calculation between two date time
hi, This is my table structure : In_time Date; Out_time Date; Duration Number; user enter the In_time and Out time data is 12:30 like this ( HH24:mi format). for Example In_time Out_time duration 12.30 2.00 1:30 I want to store the difference b/w In_