Automatic database activation
hi,
Suppose we have two mailbox servers: Node 1 and Node 2 in a DAG with two databases: A and B.
A is mounted on node 1 and B is mounted on node 2.
Now Node 2 suffers a hardware failure, a windows failure or lost its connectivity to databases (their databases are located in SAN for instance); will the passive copy of database A located on Node 2 get automatically mounted or I need to run some command?
Hi ,
As per your scenario , database A will remain mounted on the node 1 because we have faced the failure only on node 2.
On node 2 we have only one active copy which is called database B.So during failure database B will get automatically mounted on the node 1 unless the database copy B doesn't have any database level activation block.
Thanks & Regards S.Nithyanandham
Similar Messages
-
8.1.5.-automate database shutdown:hepl needed
I have tried to setup the automate database shutdown by following Oracle Manual. When rebooting the Unix system(sun solaris 2.6), nothing could be recorded in the alert logfile. After manually starting up the database, alert logfile indicated always a crash recovery during the process.
Any suggestion will be appreciated on above problem!
FelixHi,
Below is the information from orclALRT.log:
There's a write/open error. At July 21, 21:00PM our backup is start to run.
Is it because the backup software locked some oracle's files ?
But after the error, the next morning July 22 the ORACLE instance is started with no error, even though user can't connect to the database.
TIA
Andi
Thread 1 advanced to log sequence 46212
Current log# 4 seq# 46212 mem# 0: E:\ORANT\ORADATA\ORACLE\REDO01.LOG
Sun Jul 21 21:38:26 2002
KCF: write/open error block=0x11072 online=1
file=1 E:\ORANT\ORADATA\ORACLE\SYSTEM01.DBF
error=27072 txt: 'OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because
another process has locked a portion of the file.'
DBW0: terminating instance due to error 1242
Instance terminated by DBW0, pid = 248
Mon Jul 22 03:00:04 2002
Starting ORACLE instance (normal)
Dump file E:\orant\admin\oracle\bdump\orclALRT.LOG
--------- -
Hey. I have problems to send e-mail with Mail. The problems is I need to un active ssl ,... but when I do this,... automatically,. its active again????. Whta can i do
Try posting this in the 10.7 Mail forum. You'll get more help there.
DALE -
Font Book Automatic Font Activation
Hello
I have been happily using Automatic Font Activation from font book for quite long time. Today i noticed that feature absolutely died. Did not heal cleaning caches, restarting ATS Server via ATSUtil in Terminal command line. Simply feature stop to work and i did not really change anything.
Please anyone could help me fix it?
Do not suggest me any 3rd party apps i just liked it way it was before it stop working
If that help, problem occurs only on my Mac Pro. All seem to work fine on my Macbook ProYou've done your trouble shooting!
Try repairing disk permissions. It can fix a myriad of problems.
Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and restart your Mac.
If that doesn't help, try forcing background tasks...
Mac OS X: How to force background maintenance tasks (logs and temporary items) -
Active/Standby failover automatic primary active
I have 2 ASAs 5510 with same physical configuration and running ok with active/standby failover mode. Like we have PREEMPT command in active/active failover to get back primary active after its been rebooted from failed mode. This command makes primary back to active and makes secondary firewall standby automatically.
Need help to know any such command for active/standby failover for automatic primary active. Currently we have to use command FAILOVER ACTIVE on primary to make it active manually.Remember, failover in ASA works differently than HSRP. ASA does NOT use
HSRP. Furthermore, there is NO HSRP ip address in ASA either. You are
talking about two different technologies.
Think of it this way. HSRP technology works very similar to VRRP and
Juniper NSRP. All of these technologies use virtual IP address. If you
have two devices, you will have an Virtual IP address, in addition
to the physical ip addresses of the two devices. ASA does not use the
extra VIP. -
How to automate database startup/shutdown in RHEL4
Dear All
I have Oracle 10gR2 database on RHEL4.
If i want to automate database startup/shutdown with OS startup/shutdown,
Then where i need to update about dbstart.sh & dbshut.sh
I have already made entry in /etc/oratab as Y for database SID.
I am using Bourn Shell.
ThanksYou can refer to my post in my Blog
[Automatically StartUp and Shutdown an Oracle Database in Linux OS|http://kamranagayev.wordpress.com/2008/12/22/automatically-startup-and-shutdown-database-in-linux-os/]
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/] -
Copy project description (defined in WBS Level 2) automatically to activity
Hi Gurus,
How to copy project description (defined in WBS Level 2) automatically to activity name/description?
For example:
WBS element (Level 2): "Telephone System Replacement"
When create a new Activity, the description will be: "Telephone System - xxxxxxxx"
The first 16 characters "Telephone System" from the WBS Level 2 are automatically populated to Activity Short Text field.
How to realize that?
Thanks.
JM>
Virendra Pal wrote:
> you can use substitution rule
> transaction OPSN
> check out the standard substitution fields available
> if not you can always use an exit in substitution
>
> In the project profile enter this substitution and check the auto box
>
> This then on save will carry out substitution - use Intermediate save button and then add or replace the xxxxxxx
>
> Edited by: Virendra Pal on Nov 27, 2009 12:26 PM
Thanks Virendra!
I am new to PS, could you please explain in more detail?
In OPSN, I am not sure which one to choose: Network Header or Network Activity, for my case. Looks like there are no standard substitution fields available. Could you please check it out for me? If no, how to use an exit? Is this exit the same as a user exit used for enhancement?
Sorry, so many question marks. You help will be greatly appreciated!
JM -
STARTUP MOUNT
RECOVER AUTOMATIC DATABASE (The database automatically suggests and applies the necessary archived logs)
From which destination DB is looking for archivedlogs?
db_recovery_file_dest or log_archived_dest?SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.
Total System Global Area 209715200 bytes
Fixed Size 1248140 bytes
Variable Size 79692916 bytes
Database Buffers 125829120 bytes
Redo Buffers 2945024 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1:
'D:\ORACLE\PRODUCT\TESTDB\TESTDB\DATAFILE\O1_MF_SYSTEM_352363BQ_.DBF'
SQL> select file# from v$recover_file;
FILE#
1
2
3
4
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 209715200 bytes
Fixed Size 1248140 bytes
Variable Size 79692916 bytes
Database Buffers 125829120 bytes
Redo Buffers 2945024 bytes
Database mounted.
SQL> recover automatic database;
Media recovery complete.
SQL> alter database open;
Database altered.
SQL> select file# from v$recover_file;
no rows selected
It picked from db_recovery_file_dest
SQL> show parameter log_archive_dest;
NAME TYPE VALUE
log_archive_dest string
log_archive_dest_1 string
log_archive_dest_10 string
SQL> show parameter db_recovery
NAME TYPE VALUE
db_recovery_file_dest string D:\oracle\Product\Backups
db_recovery_file_dest_size big integer 2G -
Hey Gang,
I need to track the User and table activity. My goal is to find out what tables are static and which are not. Which user classes should be changed and how access should be assigned. This will also allow me to tune the database accordingly.Instead of trying to track individual user and table usage look at statspack for issues related to tuning the database. Generally unless you really did a poor job laying out and configuring your db to begin with the db does not need much tuning. The SQL is another story.
Look into the following
ver 9+ monitor command in DBA Admin, SQL manual
ver all Audit command in DBA Admin manual, SQL manual
ver 8.1+ Db event triggers (logon) DBA Concepts and Admin
HTH -- Mark D Powell -- -
Hi All
Is it possible to make a material a Batch Material while creation itself, i:e, when i create any type (FERT,HALB) of Material system should automatically create the material as Batch material just as configuable material. This is because there is every chance of end user making a mistake of not activating Batch Management check at material master, which should not happen in our scenario
If any clarification needed kindly let me know
Thank You All
MadhuDear Krishna reddy,
Based on the material type Views and fields of the material master will differed so please take the help of MM consultant he may try to fix it through field settings based on the material type.
I hope this will help you,
Regards,
Murali. -
Problem with automatic database startup (dbora)
I'm running Linux RHEL5 with 10g v2 database. For some reason the script fails to start the database. But when I logon as user Oracle, I can run dbstart ORCL and the database starts up fine. Below is what I see when the script runs. Not sure why the connection is refused. Thanks in advance for your help.
Starting dbora: + ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
+ ORACLE=oracle
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/u01/app/oracle/product/10.2.0/db_1/bin
++ hostname
+ HOST=Linux10gVM.norris.intra
++ uname
+ PLATFORM=Linux
+ export ORACLE_HOME PATH
+ rsh Linux10gVM.norris.intra -l oracle /etc/rc5.d/S99dbora start ORCL
Linux10gVM.norris.intra: Connection refused
+ pause ‘Press any key to continue...’
+ read ‘~p’ ‘Press any key to continue...’AHA...just as I expected!!!
My automatic 11g1 start up and shutdown quit working in 3/2009
after working for months!
I suspected pam.d
Here it is : http://blog.fourthirty.org/?cat=45
#%PAM-1.0
# For root login to succeed here with pam_securetty, "rsh" must be
# listed in /etc/securetty.
auth required pam_nologin.so
auth required pam_securetty.so
auth required pam_env.so
# auth sufficient pam_rhosts.so
auth sufficient pam_rhosts_auth.so
account include system-auth
session optional pam_keyinit.so force revoke
session include system-auth
session required pam_loginuid.so
more www.ask.com search for "dbstart pam.d"
LMKIII (root) ~ [999]>cd /var/log
LMKIII (root) /var/log [1000]>cat secure
Apr 17 18:43:57 LMKIII sshd[2176]: Server listening on 0.0.0.0 port 22.
Apr 16 18:44:10 LMKIII rshd[2473]: PAM unable to dlopen(/lib/security/pam_rhosts_auth.so): /lib/security/pam_rhosts_auth.so: cannot open shared object file: No such file or directory
Apr 16 18:44:10 LMKIII rshd[2473]: PAM adding faulty module: /lib/security/pam_rhosts_auth.so
Apr 16 18:44:11 LMKIII rshd[2473]: pam_rhosts(rsh:auth): denied access to [email protected] as oracle
Apr 16 18:44:11 LMKIII rshd[2473]: pam_unix(rsh:session): session opened for user oracle by (uid=0)
Apr 16 18:45:11 LMKIII rshd[2473]: pam_unix(rsh:session): session closed for user oracle
Apr 16 18:49:07 LMKIII kdm: :0[2881]: pam_unix(kdm:session): session opened for user oracle by (uid=0)
Apr 16 18:50:41 LMKIII su: pam_unix(su-l:session): session opened for user root by oracle(uid=503)
Apr 16 18:54:46 LMKIII su: pam_unix(su-l:session): session closed for user root
Apr 16 18:54:49 LMKIII kdm: :0[2881]: pam_unix(kdm:session): session closed for user oracle
Apr 16 18:55:01 LMKIII sshd[2176]: Received signal 15; terminating.
Apr 16 18:56:55 LMKIII sshd[2171]: Server listening on 0.0.0.0 port 22.
Apr 16 18:57:08 LMKIII rshd[2473]: PAM unable to dlopen(/lib/security/pam_rhosts_auth.so): /lib/security/pam_rhosts_auth.so: cannot open shared object file: No such file or directory
Apr 16 18:57:08 LMKIII rshd[2473]: PAM adding faulty module: /lib/security/pam_rhosts_auth.so
Apr 16 18:57:09 LMKIII rshd[2473]: pam_unix(rsh:session): session opened for user oracle by (uid=0)
Apr 16 18:58:09 LMKIII rshd[2473]: pam_unix(rsh:session): session closed for user oracle
Apr 16 18:59:26 LMKIII kdm: :0[2880]: pam_unix(kdm:session): session opened for user oracle by (uid=0)
Apr 16 19:00:31 LMKIII su: pam_unix(su-l:session): session opened for user root by oracle(uid=503)
Apr 16 19:01:50 LMKIII su: pam_unix(su-l:session): session closed for user root
Apr 16 19:02:23 LMKIII su: pam_unix(su-l:session): session opened for user root by oracle(uid=503)
Apr 16 20:48:14 LMKIII sshd[4117]: Address 194.80.134.6 maps to no-reverse-defined.ja.net, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Apr 16 20:48:14 LMKIII sshd[4117]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=194.80.134.6 user=root
Apr 16 20:48:16 LMKIII sshd[4117]: Failed password for root from 194.80.134.6 port 51090 ssh2
Apr 16 20:48:16 LMKIII sshd[4120]: Connection closed by 194.80.134.6
Apr 16 21:11:12 LMKIII sshd[4287]: Address 194.80.134.6 maps to no-reverse-defined.ja.net, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Apr 16 21:11:12 LMKIII sshd[4287]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=194.80.134.6 user=root
Apr 16 21:11:14 LMKIII sshd[4287]: Failed password for root from 194.80.134.6 port 53791 ssh2
Apr 16 21:11:15 LMKIII sshd[4290]: Connection closed by 194.80.134.6
Apr 16 21:28:54 LMKIII sshd[4383]: Address 194.80.134.6 maps to no-reverse-defined.ja.net, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Apr 16 21:28:54 LMKIII sshd[4383]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=194.80.134.6 user=root
Apr 16 21:28:55 LMKIII sshd[4383]: Failed password for root from 194.80.134.6 port 44904 ssh2
Apr 16 21:28:56 LMKIII sshd[4386]: Connection closed by 194.80.134.6 -
Scheduling Automatic Database objects comparison through Oracle CHange Mana
HI,
I need to compare some schemas for two databases regularly to make sure that the databases are in sync state.Could you guys pls tell me if there is any option/way through which i can do the automatic scheduling to compare the DB objects of the two databases.
Your help would be highly appreicated.
Many ThanksTOAD
-
Automatic Database Configuration For Dbsnmp Password
Hi All,
does anyone know how to automatically configure the discovered databases by a certain management agent? It's really annoying to enter the password for the dbsnmp user again and again. I already tried the 'emctl config agent credentials <db_name>:oracle_database' (integrate this in a script would be a solution) but the problem here is that he don't encrypt the password in the targets.xml file so manually editing the targets.xml file is still necessary. Does anyone has a workaround for this?
Thx in advance,
Muse emcli to configure the dbsnmp password
-
Investigate database activity at a specific time
I am working on Oracle 10.2.0.4 database on OEL 5.
We had a heavy load on the database yesterday evening and the database was performing very slowly.
Is it possible to check what activity would have occurred at that time.
OEM can be of help but I thought if there are any other database views other than the AWR which stores these information ?
Any suggestions would be of great help?
If it is only through AWR which tables and columns should i query for relevant data?michael_k wrote:
Is the AWR turned on?
Try: Performance-Tab -> Snapshots
Select a start-snapshot, Select Actions: View Report, Select a end-Snapshot and generate Report.
This will provide a Statspak-like Report. When you select the Action Compare Periods you could comapre a typical behavior and that a-typical.
Regards
Michael_KJust to add that you can also of course do this from the command line on the server, if you are appropriately licensed for awr as before, by running @?/rdbms/admin/awrrpt from sqlplus whilst connected as an appropriately privileged user - I tend to use system
Niall Litchfield
http://www.orawin.info/ -
What is the best way to do automatic Failover in 9i.
I have the DataGuard Environment setup. (Primary/Standby)
Can you use Transparent Application failover, Can
you use a script that monitors the Windows Service?
Help?One of the new 10g R2 features is the ability to do fast-start failover to a standby database
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14214/chapter1.htm#sthref234
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
Maybe you are looking for
-
Problem of 1.5TB hard disk with msi p7n sli platinum
I have just bought a new 1.5TB hard disk (Western Digital). Bios can detect the disk but when i boot into Windows (XP sp3) its does not show?? can anyone tell me how to fix the problem. I have updated my mobo bios to 1.3 which is the latest available
-
Unable to start Oracle Process Manager Service
I installed EPM 11.1.2.1 on Windows 2008 R2. Oracle database 11g. I installed and configured every thing was working fine. But suddenly the Oracle Process Manager service is not starting. I checked in event viewer the following error i found: The Ora
-
Quick Clusters not working in Compressor 4.0.5
OK. One day Compressor is working with a quick cluster set up and today it's not. All the settings are correct in QMaster and everything seems to be the same BUT Compressor 4.0.5 is not recognizing any cluster set up. Is anyone else experiencing th
-
Trying to import 200+ email addresses (only) into AB for distribution
I'm having trouble importing a list of email addresses into AB so that I can assign them to several groups for a newsletter distribution. The addresses were sent to me in an email and for the first month i simply copied them all into the BCC field an
-
Greetings This is my fist visit to this forum. PC Details WIN XP PRO SP3 - Fully updated/patched Pentium 4 3.2 GPR - nVidia 6800 GT I purchased the Socialize VF0640 in May this year. Install and setup no problem at all. Last night, I did a Skype and