Instance and database reset
Hi,
Let's say hypothetically we are encountering so many process errors and exceptions, that we would like to start over and reset the soa/bpm domain and the database associated. In this case: delete all deployments, their related files, reset the DB content to an empty post RCU state (as in empty list of processes, empty list of instances, etc.)
Is this possible? Or we do need to re-create another set of DB schemas and another soa-infra weblogic domain?
Thanks
Miguel
There are low level WebLogic server commands (wlst) with which you can undeploy composites. Clearing out instances requires an archiving type database script as this is usually an archive procedure on a production machine.
To find out more, you would look at WLS and SOA Suite administration and since SOA Suite 11gR1 has been released, you can review the documentation on OTN here:
http://www.oracle.com/technology/documentation/middleware.html
Heidi.
Similar Messages
-
List of instance and databases
My sql server contains multiple instances and each instance contains multiple databases.
Now how to list of all the instances and their corresponding databases?
i used select * from sys.servers for instances and sys.databases for number of databases.
But how to list of all the instances and databases using single query?Hi
List all Instances
option 1: Pwershell
Get-Service | Where-Object {$_.Name -like 'MSSQL$*'}
Option 2: query this registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server.....
Option 3: go to regitry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names
* Here you can find other option like OLTP and not just SQL
Option 4: RUN -> services.msc
Find all services named "SQL Server". The instance name is in the brakets
Option 5: Open sql server configuration manager -> SQL Server Services
There are more options if you need :-)
[Personal Site] [Blog] [Facebook] -
One instance and two databases?
Hello, I've installed oracle database on my server. I've read a lot of documentation to learn the basic concepts.
Ok, I have a question. I have read that one instance only can manage ONE database. Is it true? If it's true, how on earth I can create two database? for example, I want to create database-one and database-two.
I would create these with CREATE DATABASE command. How does Instance know if I want to access to database-one or database-two. How I indicate it in initilitation parameter file of my instance?
In sumary, Can one instance works with two databases?Look at the following output. If I do not set my ORACLE_SID variable, the 9.2.0.7 client connects to the 9.2.0.7 database instance. If I set my ORACLE_SID , the same 9.2.0.7 client now connects to the 10.2.0.1 database (the database specified in the ORACLE_SID variable).
C:\>set ORACLE_SID=
C:\>sqlplus kkishore/kkishore
SQL*Plus: Release 9.2.0.7.0 - Production on Mon Jul 17 09:27:55 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
C:\>set ORACLE_SID=ORA10GR2
C:\>sqlplus kkishore/kkishore
SQL*Plus: Release 9.2.0.7.0 - Production on Mon Jul 17 09:29:31 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> disconnect
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>Message was edited by:
Kamal Kishore -
V$instance and V$database
Hi
Are these tables can contain more than one row? in which situation?Sagi wrote:
Thinks for the help
I'm trying to figure out some things about RAC environment and SBDB.What is SBDB?
Is out of tables ($ V $ V INSTANC and DATABASSE) I can know whether the environment is a RAC environment
I would suggest to look for the parameter cluster_database in the parameter file. If this parameters comes as true , that means you are on a clustered database. Otherwise, it would be false all the time. I don't have a db with me to test the output of both the views but based on the documentation, there is no column in both which does tells you that its a rac or non-rac db.
and how NODE / DB / INSTANCE have around, same goes for SBDB environment.Sorry, I couldn't parse your statement. Can you rephrase please?
Aman.... -
Hi at all.... I'm a newbie with database oracle.,
I have the follow problem:
I installed Oracle Database 11g R2 XE on my guest operating system CentOS 6.5.
I have changed the hostname in my SO CentOS (where is installed oracle 11g R2 XE) after installation was completed successfully.
-) Before and during installation the hostname was localhost.
-) After installation I changed the hostname in VMCentOS
From the moment I changed the hostname, nothing starts up automatically. In particular, the listener and the database instance does not starts up automatically.
When I starts up the listener manually and I try to connect to database instance with SQLPLUS i get this error:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
I think that the problem is due to the changed hostname because I, for testing and debugging purpose, re-installed a new OS CentOS virtual machine, re-installed oracle database 11g and I have not got that problem. The database instance and the listener starts up automatically!
Can any one tell me if maybe the problem is related to the hostname changed? ... and Why?
P.S.: After changed the hostname I have also modified the listener.ora and the tnsnames.ora by modifying the HOST with the correct hostname.-) Output of command chkconfig (there isn't any line oracle-xe 0:off 1:off 2:on 3:on 4:on 5:on 6:off):
[oracle@VMCentOS /]$ chkconfig
NetworkManager 0:off 1:off 2:on 3:on 4:on 5:on 6:off
abrt-ccpp 0:off 1:off 2:off 3:on 4:off 5:on 6:off
abrtd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
acpid 0:off 1:off 2:on 3:on 4:on 5:on 6:off
atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
blk-availability 0:off 1:on 2:on 3:on 4:on 5:on 6:off
bluetooth 0:off 1:off 2:off 3:on 4:on 5:on 6:off
cpuspeed 0:off 1:on 2:on 3:on 4:on 5:on 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off
dnsmasq 0:off 1:off 2:off 3:off 4:off 5:off 6:off
firstboot 0:off 1:off 2:off 3:on 4:off 5:on 6:off
haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
htcacheclean 0:off 1:off 2:off 3:off 4:off 5:off 6:off
httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
irqbalance 0:off 1:off 2:off 3:on 4:on 5:on 6:off
jexec 0:off 1:on 2:on 3:on 4:on 5:on 6:off
kdump 0:off 1:off 2:off 3:on 4:on 5:on 6:off
lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off
mdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:off
messagebus 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ntpdate 0:off 1:off 2:off 3:off 4:off 5:off 6:off
portreserve 0:off 1:off 2:on 3:on 4:on 5:on 6:off
postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
psacct 0:off 1:off 2:off 3:off 4:off 5:off 6:off
quota_nld 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rdisc 0:off 1:off 2:off 3:off 4:off 5:off 6:off
restorecond 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rngd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
smartd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmptrapd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
spice-vdagentd 0:off 1:off 2:off 3:off 4:off 5:on 6:off
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
sysstat 0:off 1:on 2:on 3:on 4:on 5:on 6:off
udev-post 0:off 1:on 2:on 3:on 4:on 5:on 6:off
vmware-tools 0:off 1:off 2:on 3:on 4:on 5:on 6:off
vmware-tools-thinprint 0:off 1:off 2:on 3:on 4:on 5:on 6:off
wdaemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off
winbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
wpa_supplicant 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[oracle@VMCentOS /]$
Moreover in /etc/sysconfig there isn't any file oracle-xe!!!
At this point, I suspect that something in the installation I mistook. -
Distributed ci and database instance
hello all,
we are having our ecc6.0 prod system insatlled with ci and database instance on same host now i want to split the
systems ci and database. on different systems pls guide here how to proceed.
regards,
farajHi,
here is the steps for DB migration, pls go thr this link, i think it will help you how to do homogenious system copy
System Copy and Migration
Thanks,
Sreeni. -
10g ASM instance and 11g database
Hello,
does anybody ever connected ASM instance10.2 and database 11.1? Is there any sense in it? When I have two databases: 10.2 and 11.1 running on the same host, should they both use separate ASM instances or is it possible to connect them to the common one?
Thanks,
AliqYes, such combination is supported with asm 10.2 and database 11.1.
You can check metalink note 337737.1 as well. -
Can database Instance and SAP Central instance can be on two seperate Opera
Hi Guys
Can Database Instance and Central instance can be on two different hosts with two different operating systems? Can anybody provide links for different SAP architecture options.
Thank YouHi,
In every installation guide, you will find the a section " Planning " where you architect How to Distribute Instances to Hosts.
Hope my reply has answered you.
Rgds
Radhakrishna D S -
Difference between Database, instance and schema
Hi
I don't know the clear difference between database, instance and schema.. In the broad sense, everything seems to be the same. If anyone can differentiate between them with some example, that will be of great help.
Thank you.Hi,
In Oracle, people often do use "database" and "instance" interchangeably, or together as one term: "database instance".
A "schema" is quite different. A schema is a collection of objects (such as tables, indexes or procedures). Every object belongs to exactly one schema, and every schema is a part of exactly one database. (Names may not be unique, however. For example, your database may have one schema named SCOTT, and another schema named USER1. Each of those schemas may have a table named EMP. The EMP table in the SCOTT schema, or SCOTT.EMP, is not the same as the EMP table in the USER1 schema, or USER1.EMP. A different database, my database for example, may also have schemas called SCOTT and USER1, which are completely independent of the SCOTT and USER1 in your database.) -
Difference between Instance Crash and Database Crash in Standalone and RAC?
I am new to Oracle Environment. I would appreiciate if i get clarified on the "_+Difference between Instance Crash and Database Crash in Standalone and
RAC_".+
Oracle Version: 11.1.0.7.0
O.S Version: HP-UX B.11.31 USivaprasad S wrote:
I am new to Oracle Environment. I would appreiciate if i get clarified on the "_+Difference between Instance Crash and Database Crash in Standalone and
RAC_".+That depends on your definitions of database crash versus instance crash.
Literally, database crash means that the database itself is damaged in some way. A disk is no more. Data files are corrupted. Etc. The database itself thus causes the crash - and a database crash will also cause all database instances (RAC or single) for that database to crash too.
An instance crash will therefore mean that the crash occurs in the instance due to an Oracle bug or similar. In other words a s/w error and not a database error. The database is still "fine", but the instance not. Instance crashes. However, any other instance on that same (RAC) database will still be fine as the database itself is unaffected by that s/w error in the crashed instance.
If you mean something different, please enlighten us. Not all crashes are equal. {noformat};-){noformat} -
10G agent and Database Instance is down
Im install oracle 10G on oracle enterprice linux 4. machine is P4 512 MB ram 3.GZ desktop one. oracle is working fine. but little slow. it is ok.
But few minuts after opening the database, enterprice manager cosole display that agent and Database Instance is down.
Display the following message
""Details The instance has been terminated by a database process because of a fatal internal condition, or a critical background process was killed by the user.""
But oracle is working. select and other this working fine.
Please help me to overcome the problem.
Regrds
upul IndikaDefine a fixed IP address for your server. If problem persists then you can use emca-Enterprise Manager Configuration assistance to delete and reconfigure the console.
emca -deconfig dbcontrol db
emca -config dbcontrol db -
ORA-12505: Database Instance and Agent Connection to Instance will not work
Hi,
I have the following error: in Oracle 10g I try to connect to OEM and the listener is up but the Database Instance and Agent Connection to Instance are down. When I attempt to restart the instance, OEM will just hang indefinitely. I have used tnsping and the results are OK. Is that descriptive enough? What can I do to fix this?
regards,
JohnI changed the SID because I was mistaken and thought of the oracle database name. I have corrected the ORACLE_SID to that given in my tnsnames.ora file which I post here:
ORACLE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Lasirius-laptop)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oracle)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
These are the default settings that were made on installation. I have been working with this installation for 2 months, and it just suddenly stopped working. I have changed no other settings apart from the mistaken ORACLE_SID environment variable in this post, which has now been changed to PLSExtProc. Here is my init.ora:
# replace "clustdb" with your database name
db_name = clustdb
compatible=9.0.0
db_files = 1024 # INITIAL
#INITIAL
#db_files=80
#SMALL
#DB_files=400
#MEDIUM
#db_files=1000
#LARGE
control_files = ("\\.\clustdb_control1", "\\.\clustdb_control2")
db_file_multiblock_read_count = 8 # INITIAL
# db_file_multiblock_read_count = 8
#SMALL
#db_file_multiblock_read_count = 16
#MEDIUM
#db_file_multiblock_read_count = 32
#LARGE
#Datawarehouse
db_block_size=8192
# Transaction processing
# db_block_size=4096
open_cursors=300
#Transaction processing
#sort_area_size=524288
#Datawarehouse
sort_area_size=1048576
large_pool_size=1048576 #Transaction processing, Datawarehouse
db_cache_size=50331648 #Datawarehouse, Transaction processing
java_pool_size=67108864 #Datawarehouse, Transaction processing
# db_block_buffers = 200 # INITIAL
# db_block_buffers=100 #SMALL
# db_block_buffers =550 # MEDIUM
# db_block_buffers=3200 #LARGE
#shared_pool_size = 52428800 # INITIAL
shared_pool_size = 67108864 # datewarehouse, transaction processing
log_checkpoint_interval = 10000
processes = 59 # INITIAL
# processes = 50
#SMALL
#processes = 100
#MEDIUM
#processes = 200
#LARGE
parallel_max_servers = 5
#SMALL
# parallel_max_servers = 4 x (number of CPUs)
#MEDIUM
# parallel_max_servers = 4 x (number of CPUs)
# LARGE
log_buffer = 8192 # INITIAL
#log_buffer = 8192
#SMALL
#log_buffer = 32768
#MEDIUM
#log_buffer = 163840
#LARGE
# audit_trail = true # if you want auditing
# timed_statistics = true # if you want timed statistics
max_dump_file_size = 10240 # limit trace file size to 10 K each
# Uncommenting the line below will cause automatic archiving if archiving has
# been enabled using ALTER DATABASE ARCHIVELOG.
# log_archive_start = true
# log_archive_dest = %ORACLE_HOME%/admin/clustdb/arch
# log_archive_format = "%%ORACLE_SID%%T%TS%S.ARC"
# If using private rollback segments, place lines of the following
# form at the end of this file:
# <sid>.rollback_segments = (name1, name2)
# If using public rollback segments, define how many
# rollback segments each instance will pick up, using the formula
# # of rollback segments = transactions / transactions_per_rollback_segment
# In this example each instance will grab 40/10 = 4:
# transactions = 40
# transactions_per_rollback_segment = 10
# Global Naming -- enforce that a dblink has same name as the db it connects to
global_names = TRUE
# Edit and uncomment the following line to provide the suffix that will be
# appended to the db_name parameter (separated with a dot) and stored as the
# global database name when a database is created. If your site uses
# Internet Domain names for e-mail, then the part of your e-mail address after
# the '@' is a good candidate for this parameter value.
# db_domain = us.acme.com # global database name is db_name.db_domain
# Uncomment the following line if you wish to enable the Oracle Trace product
# to trace server activity. This enables scheduling of server collections
# from the Oracle Enterprise Manager Console.
# Also, if the oracle_trace_collection_name parameter is non-null,
# every session will write to the named collection, as well as enabling you
# to schedule future collections from the console.
# oracle_trace_enable = TRUE
# define directories to store trace and alert files
background_dump_dest=%ORACLE_HOME%/admin/clustdb/bdump
user_dump_dest=%ORACLE_HOME%/admin/clustdb/
db_block_size = 4096
remote_login_passwordfile = exclusive
# text_enable = TRUE
# The following parameters are needed for the Advanced Replication Option
job_queue_processes = 2
# job_queue_processes = 4 #datawarehouse
# job_queue_interval = 10
# job_queue_keep_connections = false
distributed_transactions = 5
open_links = 4
# The following parameters are instance-specific parameters that are
# specified for two instances named clustdb1 and clustdb2
undo_management=AUTO # For automatic undo management
# = MANUAL For manual/RBS undo management
cluster_database= true
cluster_database_instances=2
remote_listener=LISTENERS_CLUSTDB
# First instance specific parameters
clustdb1.thread=1
clustdb1.instance_name=clustdb1
clustdb1.instance_number=1
clustdb1.local_listener=listener_clustdb1
clustdb1.remote_login_passwordfile = exclusive
# Comment out clustdb1.undo_tablespace and uncomment clustdb1.rollback_segments
# when undo_management=MANUAL
clustdb1.undo_tablespace = UNDOTBS1
# clustdb1.rollback_segments = (rbs1_1,rbs1_2)
# Second instance specific parameters
clustdb2.thread=2
clustdb2.instance_name = clustdb2
clustdb2.instance_number = 2
clustdb2.local_listener = listener_clustdb2
clustdb2.remote_login_passwordfile = exclusive
# Comment out clustdb2.undo_tablespace and uncomment clustdb2.rollback_segments
# when undo_management=MANUAL
clustdb2.undo_tablespace = UNDOTBS2
# clustdb2.rollback_segments = (rbs2_1,rbs2_2) -
ASM and database instance sharing same home. Can i split them?
Hi I am running on 10.2.0.1.0 in a 2 server RAC cluster on linux. ASM and db instance are sharing the same home.
I now need to upgrade my ASM instance and clusterware to 11g, but just want to keep my db at 10g because of some compatability issues ( i will probably still need to upgrade the db to 10.2.0.5.0).
Is there any way i can split my Oracle Home so that i now can upgrade my ASM home and keep my prod DB instance still at 10g?
Thanks again. John
Edited by: user11970859 on Jun 6, 2011 1:49 AMHi,
Is there any way i can split my Oracle Home so that i now can upgrade my ASM home and keep my prod DB instance still at 10g?Yes... no problem.
See this notes on MOS:
10g to 11g R1
*How To Upgrade ASM from 10.2 to 11.1 (RAC)? [ID 736127.1]*
or to 11g R2
*ASM 11gR2: How To Upgrade An ASM Instance To Release 11gR2 (11.2.0.1.0)? [ID 950200.1]*
Regards,
Levi Pereira -
Custom Report using Metrics of Instance and Server
Hello
I need to create a custom report using different instance and server metrics like:
File System Space Available
Tablesapaces
Database Spaces usage
Sort in Memory
library Cache Hit
Data Dictionary Hit
Buffer Cache Hit
I already made the report, but I can´t change the size of the graphic (for a better presentation on my report)....
Do you know how can I change the size of the report?
I think that I´m using a "metric" so for that reason I Can´t change the size ... :(I am currently having a problem with this report and drilldown to KSB1, the cost centers selected int S_ALR_87013611 are not transferring to KSB1 and thus all the cost centers come up in the call to KSB1, are you experiencing this problem? I am on V4.7
-
SQL script based on hostname and database name?
I am trying to write a script that I can run on several unix servers and databases that will do different sql statements based on which server and database it is being run in.
Something like:
if hostname = 'A' and database name = 'D' then do this
else if hostname = 'B' and database name = 'F' then do that
I have tried many diifferent combinations of shell scripts and sql scripts but can't seem to get anything that works.
Can someone help me out? Thanks.Since you are already able to get he db and host info, you are well on your way to branching based on that information. All you need is the basic framework:
declare
db VARCHAR2(30);
host VARCHAR2(30);
sqlcmd VARCHAR2(4000);
begin
select sys_context('userenv','host') host
, sys_context('userenv','db_name') db_name
into host
, db
from dual;
case
when db = 'XE' and host = 'mypc' then
sqlcmd := q'[local_package.do_something('parm1', :db, :host)]';
execute IMMEDIATE sqlcmd USING db, host;
when db = 'DEV' and host in ('serv1','serv2') then
sqlcmd := q'[different_packge.do_something('parm1', :db, :host)]';
execute IMMEDIATE sqlcmd USING db, host;
else
dbms_output.put_line('unrecognized db/host combination: '||db||', '||host);
end case;
end;
/In this example I've used dynamic SQL since not all instances are guaranteed to have any or all of the package procedures referenced in the dynamic sql. With out the dynamic sql, you would get errors and be unable to run the script on any instance lacking one or more of the reference package procedures..
Maybe you are looking for
-
Drag and drop over AxAcroPDFLib.AxAcroPDF in C# Winform
Hi, I've embedded the AxAcroPDFLib.AxAcroPDF PDF Browser control from SDK 2 in a .Net C# Winform, and can load and display a PDF within it. I want to be able to drag and drop System.Windows.Forms.TextBox (s) over the control and when dropped based on
-
Can I get a font from Adobe that is similar to Helvetica World Linotype font
I'm trying to get hold of a font that is similar to the Linotype Helvetica World font. I need a font that has very similar characteristics of the Helvetica World font, as well as all the special characters. Does Adobe make, or have access to a font l
-
Convert quantity in one unit to quantity in another unit
Hi all, I have to convert quantity in one unit to quantity in another unit. please suggest me a function module which converts. Ex : i have quantity : MVKE-SCMNG = 20 Unit : MVKE-SCHME = UUE now convert the quantity quantity : ?
-
Errors while downloading purchases 'stopped (err = -3253)'.
I am hoping someone here can offer some help to this problem I am having. I have had my Mac for over three years and through out this time I have purchased and downloaded a lot of films and music with absolutly no problem. For over a month now I hav
-
4.2.1 update done, now I cant transfer music!
Hey All, I've just updated my iphone 3g to 4.2.1. All looks good, speed is better, but everytime I try to transfer music from iTunes to my phone, I'm just getting a message pop up saying that iTunes has stopped working, and then it closes when you cl