<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://mailnest.com/dbawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Shb</id>
		<title>dbawiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://mailnest.com/dbawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Shb"/>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php/Special:Contributions/Shb"/>
		<updated>2026-04-04T13:28:13Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.29.3</generator>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=RMAN&amp;diff=35</id>
		<title>RMAN</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=RMAN&amp;diff=35"/>
				<updated>2011-11-22T22:35:23Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Query to check the status of the database backups==&lt;br /&gt;
 select s.db_name&lt;br /&gt;
 ,      s.status&lt;br /&gt;
 ,      max(s.start_time) start_time&lt;br /&gt;
 ,      max(round(s.mbytes_processed/1024))  &amp;quot;processed_data(GB)&amp;quot;&lt;br /&gt;
 ,      max(round((end_time-start_time)*60*24)) &amp;quot;duration(min)&amp;quot;&lt;br /&gt;
 ,      trunc(sysdate)-trunc(s.start_time)   days_since_last_backup&lt;br /&gt;
 from   rman.rc_rman_status s &lt;br /&gt;
 where  1=1&lt;br /&gt;
 and    lower(s.operation)   = &amp;#039;backup&amp;#039;&lt;br /&gt;
 and    lower(s.object_type) =&amp;#039;db full&amp;#039;&lt;br /&gt;
 and    s.start_time =&lt;br /&gt;
        (&lt;br /&gt;
        select max(md.start_time)&lt;br /&gt;
        from   rman.rc_rman_status md &lt;br /&gt;
        where  1=1&lt;br /&gt;
        and    lower(md.operation)   = &amp;#039;backup&amp;#039;&lt;br /&gt;
        and    lower(md.object_type) =&amp;#039;db full&amp;#039;&lt;br /&gt;
        and    md.db_name = s.db_name&lt;br /&gt;
        )&lt;br /&gt;
 group  by s.db_name&lt;br /&gt;
 ,      s.object_type&lt;br /&gt;
 ,      s.operation&lt;br /&gt;
 ,      s.status&lt;br /&gt;
 ,      trunc(sysdate)-trunc(s.start_time)&lt;br /&gt;
 order  by trunc(sysdate)-trunc(s.start_time) desc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Which tapes are the backups on?==&lt;br /&gt;
Not really necessary as RMAN can work it out but if you need to know...&lt;br /&gt;
 select media&lt;br /&gt;
 , to_char(completion_time,&amp;#039;DD-MON-YYYY HH24:MI:SS&amp;#039;) backed_up&lt;br /&gt;
 from   rc_backup_piece&lt;br /&gt;
 where  1=1&lt;br /&gt;
 and    db_id           = 4053457814&lt;br /&gt;
 and    completion_Time &amp;gt; sysdate - 2&lt;br /&gt;
 order  by 2&lt;br /&gt;
&lt;br /&gt;
==Get rid of an agent that won’t go away in the Grid screens:==&lt;br /&gt;
 emctl stop agent&lt;br /&gt;
 exec mgmt_admin.cleanup_agent(&amp;#039;&amp;lt;myserver&amp;gt;:&amp;lt;port&amp;gt;&amp;#039;)&lt;br /&gt;
 emctl start agent&lt;br /&gt;
&lt;br /&gt;
==Get rid of targets that won’t go away in the Grid screens:==&lt;br /&gt;
 exec mgmt_admin.delete_target(&amp;#039;target_name&amp;#039;,&amp;#039;target_type’)&lt;br /&gt;
&lt;br /&gt;
See mgmt_targets table in sysman schema for list of known targets.&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Which_databases_are_running_on_the_machine&amp;diff=34</id>
		<title>Which databases are running on the machine</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Which_databases_are_running_on_the_machine&amp;diff=34"/>
				<updated>2011-11-22T22:31:50Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* From Windows */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==From Unix==&lt;br /&gt;
 ps -ef|grep [o]ra_smon|sed -e &amp;#039;s/.*_//&amp;#039;|sort|uniq&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==From Windows==&lt;br /&gt;
Start,run... then:&lt;br /&gt;
 services.msc&lt;br /&gt;
Look through list for services beginning with OracleService&amp;lt;SID&amp;gt;&lt;br /&gt;
When I get the hang of bat files, I&amp;#039;ll write a script for it.&lt;br /&gt;
&lt;br /&gt;
==How to see what databases have been defined (running or not)==&lt;br /&gt;
 cat /var/opt/oracle/oratab (Solaris)&lt;br /&gt;
&lt;br /&gt;
 cat /etc/oratab (others)&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Which_databases_are_running_on_the_machine&amp;diff=33</id>
		<title>Which databases are running on the machine</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Which_databases_are_running_on_the_machine&amp;diff=33"/>
				<updated>2011-11-22T22:25:37Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: Created page with &amp;quot;==From Unix==  ps -ef|grep [o]ra_smon|sed -e &amp;#039;s/.*_//&amp;#039;|sort|uniq   ==From Windows==  services.msc Look through list for services beginning with OracleService&amp;lt;SID&amp;gt;   ==How to see ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==From Unix==&lt;br /&gt;
 ps -ef|grep [o]ra_smon|sed -e &amp;#039;s/.*_//&amp;#039;|sort|uniq&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==From Windows==&lt;br /&gt;
 services.msc&lt;br /&gt;
Look through list for services beginning with OracleService&amp;lt;SID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How to see what databases have been defined (running or not)==&lt;br /&gt;
 cat /var/opt/oracle/oratab (Solaris)&lt;br /&gt;
&lt;br /&gt;
 cat /etc/oratab (others)&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=32</id>
		<title>Grid Control</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=32"/>
				<updated>2011-11-22T22:25:29Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* Agent Unreachable */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Definitions==&lt;br /&gt;
* OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR&lt;br /&gt;
* OMR - Management Repository - This is a collection of tables owned by the sysman schema that stores all the data collected by the OMA&lt;br /&gt;
* OMA - Management Agent - This is a perl program that runs on the database host (one for all databases on the host) and uploads data to the OMS&lt;br /&gt;
&lt;br /&gt;
==Agent Unreachable==&lt;br /&gt;
* Is the agent running?&lt;br /&gt;
 From SQL*Plus:&lt;br /&gt;
 select username,program from v$session where LOWER (program) like &amp;#039;emagent%&amp;#039;;&lt;br /&gt;
If no rows selected, the agent is not running.&lt;br /&gt;
or&lt;br /&gt;
 From Unix:&lt;br /&gt;
 . oraenv&lt;br /&gt;
 agent11g (how to see [[which databases are running on the machine]])&lt;br /&gt;
 emctl status agent&lt;br /&gt;
&lt;br /&gt;
 ps -ef|grep [a]gent&lt;br /&gt;
There should be a handful. If only a few, kill them and restart the agent.&lt;br /&gt;
 emctl start agent&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Check the agent log in $ORACLE_HOME/sysman/log&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===To list targets known to an agent:===&lt;br /&gt;
 emctl config agent listtargets&lt;br /&gt;
It looks at the file $AGENT_HOME/sysman/emd/targets.xml&lt;br /&gt;
&lt;br /&gt;
Manually add targets by editing this file and running:&lt;br /&gt;
 emctl config agent addtargets $AGENT_HOME/sysman/emd/targets.xml&lt;br /&gt;
&lt;br /&gt;
Check state and upload directories under $AGENT_HOME/sysman/emd for .err files&lt;br /&gt;
&lt;br /&gt;
==Some useful Metalink Master Documents related to Grid Control==&lt;br /&gt;
*Master Index for Managing Oracle Database and Listener with Grid Control [ID 1304021.1]&lt;br /&gt;
*Master Note for 10g Grid Control Agent Process Control (Start, Stop &amp;amp; Status) &amp;amp; Configuration [ID 1082009.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation [ID 1057051.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation Release 11g [ID 1190193.1]&lt;br /&gt;
*Grid Control Target Maintenance: Steps to Diagnose Issues Related to &amp;quot;Agent Unreachable&amp;quot; Status [ID 271126.1]&lt;br /&gt;
*Master Note for 10g Grid Control Enterprise Manager Communication and Upload issues [ID 1086343.1]&lt;br /&gt;
*Master Note for Target Maintenance Through 10g Enterprise Manager Grid Control [ID 1202453.1]&lt;br /&gt;
*Receiving agent unreachable notification emails very often after 10.2.0.4 agent upgrade [ID 752296.1]&lt;br /&gt;
*Healthcheck Metric failing for a 10.2.0.4 Target Database with 10.2.0.4 Agent [ID 602633.1]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=How_to_find_what_SIDs_are_available_on_your_machine&amp;diff=31</id>
		<title>How to find what SIDs are available on your machine</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=How_to_find_what_SIDs_are_available_on_your_machine&amp;diff=31"/>
				<updated>2011-11-22T22:23:06Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==From Unix==&lt;br /&gt;
 ps -ef|grep [o]ra_smon|sed -e &amp;#039;s/.*_//&amp;#039;|sort|uniq&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==From Windows==&lt;br /&gt;
 services.msc&lt;br /&gt;
Look through list for services beginning with OracleService&amp;lt;SID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How to see what databases have been defined (running or not)==&lt;br /&gt;
 cat /var/opt/oracle/oratab (Solaris)&lt;br /&gt;
&lt;br /&gt;
 cat /etc/oratab (others)&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=30</id>
		<title>Grid Control</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=30"/>
				<updated>2011-11-22T22:21:19Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: Undo revision 29 by Shb (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Definitions==&lt;br /&gt;
* OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR&lt;br /&gt;
* OMR - Management Repository - This is a collection of tables owned by the sysman schema that stores all the data collected by the OMA&lt;br /&gt;
* OMA - Management Agent - This is a perl program that runs on the database host (one for all databases on the host) and uploads data to the OMS&lt;br /&gt;
&lt;br /&gt;
==Agent Unreachable==&lt;br /&gt;
* Is the agent running?&lt;br /&gt;
 From SQL*Plus:&lt;br /&gt;
 select username,program from v$session where LOWER (program) like &amp;#039;emagent%&amp;#039;;&lt;br /&gt;
If no rows selected, the agent is not running.&lt;br /&gt;
or&lt;br /&gt;
 From Unix:&lt;br /&gt;
 . oraenv&lt;br /&gt;
 agent11g ([[how to find what SIDs are available on your machine]])&lt;br /&gt;
 emctl status agent&lt;br /&gt;
&lt;br /&gt;
 ps -ef|grep [a]gent&lt;br /&gt;
There should be a handful. If only a few, kill them and restart the agent.&lt;br /&gt;
 emctl start agent&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Check the agent log in $ORACLE_HOME/sysman/log&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===To list targets known to an agent:===&lt;br /&gt;
 emctl config agent listtargets&lt;br /&gt;
It looks at the file $AGENT_HOME/sysman/emd/targets.xml&lt;br /&gt;
&lt;br /&gt;
Manually add targets by editing this file and running:&lt;br /&gt;
 emctl config agent addtargets $AGENT_HOME/sysman/emd/targets.xml&lt;br /&gt;
&lt;br /&gt;
Check state and upload directories under $AGENT_HOME/sysman/emd for .err files&lt;br /&gt;
&lt;br /&gt;
==Some useful Metalink Master Documents related to Grid Control==&lt;br /&gt;
*Master Index for Managing Oracle Database and Listener with Grid Control [ID 1304021.1]&lt;br /&gt;
*Master Note for 10g Grid Control Agent Process Control (Start, Stop &amp;amp; Status) &amp;amp; Configuration [ID 1082009.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation [ID 1057051.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation Release 11g [ID 1190193.1]&lt;br /&gt;
*Grid Control Target Maintenance: Steps to Diagnose Issues Related to &amp;quot;Agent Unreachable&amp;quot; Status [ID 271126.1]&lt;br /&gt;
*Master Note for 10g Grid Control Enterprise Manager Communication and Upload issues [ID 1086343.1]&lt;br /&gt;
*Master Note for Target Maintenance Through 10g Enterprise Manager Grid Control [ID 1202453.1]&lt;br /&gt;
*Receiving agent unreachable notification emails very often after 10.2.0.4 agent upgrade [ID 752296.1]&lt;br /&gt;
*Healthcheck Metric failing for a 10.2.0.4 Target Database with 10.2.0.4 Agent [ID 602633.1]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=29</id>
		<title>Grid Control</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=29"/>
				<updated>2011-11-22T22:17:40Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* Agent Unreachable */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Definitions==&lt;br /&gt;
* OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR&lt;br /&gt;
* OMR - Management Repository - This is a collection of tables owned by the sysman schema that stores all the data collected by the OMA&lt;br /&gt;
* OMA - Management Agent - This is a perl program that runs on the database host (one for all databases on the host) and uploads data to the OMS&lt;br /&gt;
&lt;br /&gt;
==Agent Unreachable==&lt;br /&gt;
* Is the agent running?&lt;br /&gt;
 From SQL*Plus:&lt;br /&gt;
 select username,program from v$session where LOWER (program) like &amp;#039;emagent%&amp;#039;;&lt;br /&gt;
If no rows selected, the agent is not running.&lt;br /&gt;
or&lt;br /&gt;
 From Unix:&lt;br /&gt;
 . oraenv&lt;br /&gt;
 agent11g (how to see [[what databases are running on the machine]])&lt;br /&gt;
 emctl status agent&lt;br /&gt;
&lt;br /&gt;
 ps -ef|grep [a]gent&lt;br /&gt;
There should be a handful. If only a few, kill them and restart the agent.&lt;br /&gt;
 emctl start agent&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Check the agent log in $ORACLE_HOME/sysman/log&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===To list targets known to an agent:===&lt;br /&gt;
 emctl config agent listtargets&lt;br /&gt;
It looks at the file $AGENT_HOME/sysman/emd/targets.xml&lt;br /&gt;
&lt;br /&gt;
Manually add targets by editing this file and running:&lt;br /&gt;
 emctl config agent addtargets $AGENT_HOME/sysman/emd/targets.xml&lt;br /&gt;
&lt;br /&gt;
Check state and upload directories under $AGENT_HOME/sysman/emd for .err files&lt;br /&gt;
&lt;br /&gt;
==Some useful Metalink Master Documents related to Grid Control==&lt;br /&gt;
*Master Index for Managing Oracle Database and Listener with Grid Control [ID 1304021.1]&lt;br /&gt;
*Master Note for 10g Grid Control Agent Process Control (Start, Stop &amp;amp; Status) &amp;amp; Configuration [ID 1082009.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation [ID 1057051.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation Release 11g [ID 1190193.1]&lt;br /&gt;
*Grid Control Target Maintenance: Steps to Diagnose Issues Related to &amp;quot;Agent Unreachable&amp;quot; Status [ID 271126.1]&lt;br /&gt;
*Master Note for 10g Grid Control Enterprise Manager Communication and Upload issues [ID 1086343.1]&lt;br /&gt;
*Master Note for Target Maintenance Through 10g Enterprise Manager Grid Control [ID 1202453.1]&lt;br /&gt;
*Receiving agent unreachable notification emails very often after 10.2.0.4 agent upgrade [ID 752296.1]&lt;br /&gt;
*Healthcheck Metric failing for a 10.2.0.4 Target Database with 10.2.0.4 Agent [ID 602633.1]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=How_to_find_what_SIDs_are_available_on_your_machine&amp;diff=28</id>
		<title>How to find what SIDs are available on your machine</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=How_to_find_what_SIDs_are_available_on_your_machine&amp;diff=28"/>
				<updated>2011-11-22T22:15:12Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==From Unix==&lt;br /&gt;
 ps -ef|grep [o]ra_smon|sed -e &amp;#039;s/.*_//&amp;#039;|sort|uniq&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==From Windows==&lt;br /&gt;
 services.msc&lt;br /&gt;
Look through list for services beginning with OracleService&amp;lt;SID&amp;gt;&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=RMAN&amp;diff=27</id>
		<title>RMAN</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=RMAN&amp;diff=27"/>
				<updated>2011-11-22T21:42:44Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* Query to check the status of the database backups */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Query to check the status of the database backups==&lt;br /&gt;
 select s.db_name&lt;br /&gt;
 ,      s.status&lt;br /&gt;
 ,      max(s.start_time) start_time&lt;br /&gt;
 ,      max(round(s.mbytes_processed/1024))  &amp;quot;processed_data(GB)&amp;quot;&lt;br /&gt;
 ,      max(round((end_time-start_time)*60*24)) &amp;quot;duration(min)&amp;quot;&lt;br /&gt;
 ,      trunc(sysdate)-trunc(s.start_time)   days_since_last_backup&lt;br /&gt;
 from   rman.rc_rman_status s &lt;br /&gt;
 where  1=1&lt;br /&gt;
 and    lower(s.operation)   = &amp;#039;backup&amp;#039;&lt;br /&gt;
 and    lower(s.object_type) =&amp;#039;db full&amp;#039;&lt;br /&gt;
 and    s.start_time =&lt;br /&gt;
        (&lt;br /&gt;
        select max(md.start_time)&lt;br /&gt;
        from   rman.rc_rman_status md &lt;br /&gt;
        where  1=1&lt;br /&gt;
        and    lower(md.operation)   = &amp;#039;backup&amp;#039;&lt;br /&gt;
        and    lower(md.object_type) =&amp;#039;db full&amp;#039;&lt;br /&gt;
        and    md.db_name = s.db_name&lt;br /&gt;
        )&lt;br /&gt;
 group  by s.db_name&lt;br /&gt;
 ,      s.object_type&lt;br /&gt;
 ,      s.operation&lt;br /&gt;
 ,      s.status&lt;br /&gt;
 ,      trunc(sysdate)-trunc(s.start_time)&lt;br /&gt;
 order  by trunc(sysdate)-trunc(s.start_time) desc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Which tapes are the backups on?==&lt;br /&gt;
Not really necessary as RMAN can work it out but if you need to know...&lt;br /&gt;
 select media&lt;br /&gt;
 , to_char(completion_time,&amp;#039;DD-MON-YYYY HH24:MI:SS&amp;#039;) backed_up&lt;br /&gt;
 from   rc_backup_piece&lt;br /&gt;
 where  1=1&lt;br /&gt;
 and    db_id           = 4053457814&lt;br /&gt;
 and    completion_Time &amp;gt; sysdate - 2&lt;br /&gt;
 order  by 2&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=RMAN&amp;diff=26</id>
		<title>RMAN</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=RMAN&amp;diff=26"/>
				<updated>2011-11-22T21:39:25Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* Script to check what has been backed up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Query to check the status of the database backups==&lt;br /&gt;
 select s.db_name&lt;br /&gt;
 ,      s.status&lt;br /&gt;
 ,      max(s.start_time) start_time&lt;br /&gt;
 ,      max(round(s.mbytes_processed/1024))  &amp;quot;processed_data(GB)&amp;quot;&lt;br /&gt;
 ,      max(round((end_time-start_time)*60*24)) &amp;quot;duration(min)&amp;quot;&lt;br /&gt;
 ,      trunc(sysdate)-trunc(s.start_time)   days_since_last_backup&lt;br /&gt;
 from   rman.rc_rman_status s &lt;br /&gt;
 where  1=1&lt;br /&gt;
 and    lower(s.operation)   = &amp;#039;backup&amp;#039;&lt;br /&gt;
 and    lower(s.object_type) =&amp;#039;db full&amp;#039;&lt;br /&gt;
 and    s.start_time =&lt;br /&gt;
        (&lt;br /&gt;
        select max(md.start_time)&lt;br /&gt;
        from   rman.rc_rman_status md &lt;br /&gt;
        where  1=1&lt;br /&gt;
        and    lower(md.operation)   = &amp;#039;backup&amp;#039;&lt;br /&gt;
        and    lower(md.object_type) =&amp;#039;db full&amp;#039;&lt;br /&gt;
        and    md.db_name = s.db_name&lt;br /&gt;
        )&lt;br /&gt;
 group  by s.db_name&lt;br /&gt;
 ,      s.object_type&lt;br /&gt;
 ,      s.operation&lt;br /&gt;
 ,      s.status&lt;br /&gt;
 ,      trunc(sysdate)-trunc(s.start_time)&lt;br /&gt;
 order  by trunc(sysdate)-trunc(s.start_time) desc&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=RMAN&amp;diff=25</id>
		<title>RMAN</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=RMAN&amp;diff=25"/>
				<updated>2011-11-22T21:38:10Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* A collection of useful bits and pieces I used on a regular basis when I was using RMAN */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Script to check what has been backed up==&lt;br /&gt;
 select s.db_name&lt;br /&gt;
 ,      s.status&lt;br /&gt;
 ,      max(s.start_time) start_time&lt;br /&gt;
 ,      max(round(s.mbytes_processed/1024))  &amp;quot;processed_data(GB)&amp;quot;&lt;br /&gt;
 ,      max(round((end_time-start_time)*60*24)) &amp;quot;duration(min)&amp;quot;&lt;br /&gt;
 ,      trunc(sysdate)-trunc(s.start_time)   days_since_last_backup&lt;br /&gt;
 from   rman.rc_rman_status s &lt;br /&gt;
 where  1=1&lt;br /&gt;
 and    lower(s.operation)   = &amp;#039;backup&amp;#039;&lt;br /&gt;
 and    lower(s.object_type) =&amp;#039;db full&amp;#039;&lt;br /&gt;
 and    s.start_time =&lt;br /&gt;
        (&lt;br /&gt;
        select max(md.start_time)&lt;br /&gt;
        from   rman.rc_rman_status md &lt;br /&gt;
        where  1=1&lt;br /&gt;
        and    lower(md.operation)   = &amp;#039;backup&amp;#039;&lt;br /&gt;
        and    lower(md.object_type) =&amp;#039;db full&amp;#039;&lt;br /&gt;
        and    md.db_name = s.db_name&lt;br /&gt;
        )&lt;br /&gt;
 group  by s.db_name&lt;br /&gt;
 ,      s.object_type&lt;br /&gt;
 ,      s.operation&lt;br /&gt;
 ,      s.status&lt;br /&gt;
 ,      trunc(sysdate)-trunc(s.start_time)&lt;br /&gt;
 order  by trunc(sysdate)-trunc(s.start_time) desc&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=RMAN&amp;diff=24</id>
		<title>RMAN</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=RMAN&amp;diff=24"/>
				<updated>2011-11-22T21:36:25Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: Created page with &amp;quot;==A collection of useful bits and pieces I used on a regular basis when I was using RMAN==  select s.db_name ,      s.status ,      max(s.start_time) start_time ,      max(round(...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==A collection of useful bits and pieces I used on a regular basis when I was using RMAN==&lt;br /&gt;
&lt;br /&gt;
select s.db_name&lt;br /&gt;
,      s.status&lt;br /&gt;
,      max(s.start_time) start_time&lt;br /&gt;
,      max(round(s.mbytes_processed/1024))  &amp;quot;processed_data(GB)&amp;quot;&lt;br /&gt;
,      max(round((end_time-start_time)*60*24)) &amp;quot;duration(min)&amp;quot;&lt;br /&gt;
,      trunc(sysdate)-trunc(s.start_time)   days_since_last_backup&lt;br /&gt;
from   rman.rc_rman_status s &lt;br /&gt;
where  1=1&lt;br /&gt;
and    lower(s.operation)   = &amp;#039;backup&amp;#039;&lt;br /&gt;
and    lower(s.object_type) =&amp;#039;db full&amp;#039;&lt;br /&gt;
and    s.start_time =&lt;br /&gt;
       (&lt;br /&gt;
       select max(md.start_time)&lt;br /&gt;
       from   rman.rc_rman_status md &lt;br /&gt;
       where  1=1&lt;br /&gt;
       and    lower(md.operation)   = &amp;#039;backup&amp;#039;&lt;br /&gt;
       and    lower(md.object_type) =&amp;#039;db full&amp;#039;&lt;br /&gt;
       and    md.db_name = s.db_name&lt;br /&gt;
       )&lt;br /&gt;
group  by s.db_name&lt;br /&gt;
,      s.object_type&lt;br /&gt;
,      s.operation&lt;br /&gt;
,      s.status&lt;br /&gt;
,      trunc(sysdate)-trunc(s.start_time)&lt;br /&gt;
order  by trunc(sysdate)-trunc(s.start_time) desc&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Main_Page&amp;diff=23</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Main_Page&amp;diff=23"/>
				<updated>2011-11-22T21:35:12Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* A collection of useful DBA tips and tricks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=A collection of useful DBA tips and tricks=&lt;br /&gt;
This is a collection of handy tips I&amp;#039;ve used to do various DBA tasks.&lt;br /&gt;
Some may be specific to the environment I used at the time, others may be more generic.&lt;br /&gt;
It&amp;#039;s mainly a place to put things so that I don&amp;#039;t forget where I put all the scraps of virtual paper.&lt;br /&gt;
&lt;br /&gt;
*[[Grid Control]]&lt;br /&gt;
*[[Disaster Recovery testing]]&lt;br /&gt;
*[[RMAN]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [http://meta.wikimedia.org/wiki/Help:Contents User&amp;#039;s Guide]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=22</id>
		<title>Grid Control</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=22"/>
				<updated>2011-11-22T21:07:42Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* To list targets known to an agent: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Definitions==&lt;br /&gt;
* OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR&lt;br /&gt;
* OMR - Management Repository - This is a collection of tables owned by the sysman schema that stores all the data collected by the OMA&lt;br /&gt;
* OMA - Management Agent - This is a perl program that runs on the database host (one for all databases on the host) and uploads data to the OMS&lt;br /&gt;
&lt;br /&gt;
==Agent Unreachable==&lt;br /&gt;
* Is the agent running?&lt;br /&gt;
 From SQL*Plus:&lt;br /&gt;
 select username,program from v$session where LOWER (program) like &amp;#039;emagent%&amp;#039;;&lt;br /&gt;
If no rows selected, the agent is not running.&lt;br /&gt;
or&lt;br /&gt;
 From Unix:&lt;br /&gt;
 . oraenv&lt;br /&gt;
 agent11g ([[how to find what SIDs are available on your machine]])&lt;br /&gt;
 emctl status agent&lt;br /&gt;
&lt;br /&gt;
 ps -ef|grep [a]gent&lt;br /&gt;
There should be a handful. If only a few, kill them and restart the agent.&lt;br /&gt;
 emctl start agent&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Check the agent log in $ORACLE_HOME/sysman/log&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===To list targets known to an agent:===&lt;br /&gt;
 emctl config agent listtargets&lt;br /&gt;
It looks at the file $AGENT_HOME/sysman/emd/targets.xml&lt;br /&gt;
&lt;br /&gt;
Manually add targets by editing this file and running:&lt;br /&gt;
 emctl config agent addtargets $AGENT_HOME/sysman/emd/targets.xml&lt;br /&gt;
&lt;br /&gt;
Check state and upload directories under $AGENT_HOME/sysman/emd for .err files&lt;br /&gt;
&lt;br /&gt;
==Some useful Metalink Master Documents related to Grid Control==&lt;br /&gt;
*Master Index for Managing Oracle Database and Listener with Grid Control [ID 1304021.1]&lt;br /&gt;
*Master Note for 10g Grid Control Agent Process Control (Start, Stop &amp;amp; Status) &amp;amp; Configuration [ID 1082009.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation [ID 1057051.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation Release 11g [ID 1190193.1]&lt;br /&gt;
*Grid Control Target Maintenance: Steps to Diagnose Issues Related to &amp;quot;Agent Unreachable&amp;quot; Status [ID 271126.1]&lt;br /&gt;
*Master Note for 10g Grid Control Enterprise Manager Communication and Upload issues [ID 1086343.1]&lt;br /&gt;
*Master Note for Target Maintenance Through 10g Enterprise Manager Grid Control [ID 1202453.1]&lt;br /&gt;
*Receiving agent unreachable notification emails very often after 10.2.0.4 agent upgrade [ID 752296.1]&lt;br /&gt;
*Healthcheck Metric failing for a 10.2.0.4 Target Database with 10.2.0.4 Agent [ID 602633.1]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=21</id>
		<title>Grid Control</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=21"/>
				<updated>2011-11-22T21:06:24Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* Agent Unreachable */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Definitions==&lt;br /&gt;
* OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR&lt;br /&gt;
* OMR - Management Repository - This is a collection of tables owned by the sysman schema that stores all the data collected by the OMA&lt;br /&gt;
* OMA - Management Agent - This is a perl program that runs on the database host (one for all databases on the host) and uploads data to the OMS&lt;br /&gt;
&lt;br /&gt;
==Agent Unreachable==&lt;br /&gt;
* Is the agent running?&lt;br /&gt;
 From SQL*Plus:&lt;br /&gt;
 select username,program from v$session where LOWER (program) like &amp;#039;emagent%&amp;#039;;&lt;br /&gt;
If no rows selected, the agent is not running.&lt;br /&gt;
or&lt;br /&gt;
 From Unix:&lt;br /&gt;
 . oraenv&lt;br /&gt;
 agent11g ([[how to find what SIDs are available on your machine]])&lt;br /&gt;
 emctl status agent&lt;br /&gt;
&lt;br /&gt;
 ps -ef|grep [a]gent&lt;br /&gt;
There should be a handful. If only a few, kill them and restart the agent.&lt;br /&gt;
 emctl start agent&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Check the agent log in $ORACLE_HOME/sysman/log&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===To list targets known to an agent:===&lt;br /&gt;
 emctl config agent listtargets&lt;br /&gt;
It looks at the file $AGENT_HOME/sysman/emd/targets.xml&lt;br /&gt;
&lt;br /&gt;
Manually add targets by editing the file $AGENT_HOME/sysman/emd/targets.xml&lt;br /&gt;
and running:&lt;br /&gt;
 emctl config agent addtargets $AGENT_HOME/sysman/emd/targets.xml&lt;br /&gt;
Check state and upload directories under $AGENT_HOME/sysman/emd for .err files&lt;br /&gt;
&lt;br /&gt;
==Some useful Metalink Master Documents related to Grid Control==&lt;br /&gt;
*Master Index for Managing Oracle Database and Listener with Grid Control [ID 1304021.1]&lt;br /&gt;
*Master Note for 10g Grid Control Agent Process Control (Start, Stop &amp;amp; Status) &amp;amp; Configuration [ID 1082009.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation [ID 1057051.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation Release 11g [ID 1190193.1]&lt;br /&gt;
*Grid Control Target Maintenance: Steps to Diagnose Issues Related to &amp;quot;Agent Unreachable&amp;quot; Status [ID 271126.1]&lt;br /&gt;
*Master Note for 10g Grid Control Enterprise Manager Communication and Upload issues [ID 1086343.1]&lt;br /&gt;
*Master Note for Target Maintenance Through 10g Enterprise Manager Grid Control [ID 1202453.1]&lt;br /&gt;
*Receiving agent unreachable notification emails very often after 10.2.0.4 agent upgrade [ID 752296.1]&lt;br /&gt;
*Healthcheck Metric failing for a 10.2.0.4 Target Database with 10.2.0.4 Agent [ID 602633.1]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=20</id>
		<title>Grid Control</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=20"/>
				<updated>2011-11-22T21:04:18Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* Agent Unreachable */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Definitions==&lt;br /&gt;
* OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR&lt;br /&gt;
* OMR - Management Repository - This is a collection of tables owned by the sysman schema that stores all the data collected by the OMA&lt;br /&gt;
* OMA - Management Agent - This is a perl program that runs on the database host (one for all databases on the host) and uploads data to the OMS&lt;br /&gt;
&lt;br /&gt;
==Agent Unreachable==&lt;br /&gt;
* Is the agent running?&lt;br /&gt;
 From SQL*Plus:&lt;br /&gt;
 select username,program from v$session where LOWER (program) like &amp;#039;emagent%&amp;#039;;&lt;br /&gt;
If no rows selected, the agent is not running.&lt;br /&gt;
or&lt;br /&gt;
 From Unix:&lt;br /&gt;
 . oraenv&lt;br /&gt;
 agent11g ([[how to find what SIDs are available on your machine]])&lt;br /&gt;
 emctl status agent&lt;br /&gt;
&lt;br /&gt;
 ps -ef|grep [a]gent&lt;br /&gt;
There should be a handful. If only a few, kill them and restart the agent.&lt;br /&gt;
 emctl start agent&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Check the agent log in $ORACLE_HOME/sysman/log&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==Some useful Metalink Master Documents related to Grid Control==&lt;br /&gt;
*Master Index for Managing Oracle Database and Listener with Grid Control [ID 1304021.1]&lt;br /&gt;
*Master Note for 10g Grid Control Agent Process Control (Start, Stop &amp;amp; Status) &amp;amp; Configuration [ID 1082009.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation [ID 1057051.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation Release 11g [ID 1190193.1]&lt;br /&gt;
*Grid Control Target Maintenance: Steps to Diagnose Issues Related to &amp;quot;Agent Unreachable&amp;quot; Status [ID 271126.1]&lt;br /&gt;
*Master Note for 10g Grid Control Enterprise Manager Communication and Upload issues [ID 1086343.1]&lt;br /&gt;
*Master Note for Target Maintenance Through 10g Enterprise Manager Grid Control [ID 1202453.1]&lt;br /&gt;
*Receiving agent unreachable notification emails very often after 10.2.0.4 agent upgrade [ID 752296.1]&lt;br /&gt;
*Healthcheck Metric failing for a 10.2.0.4 Target Database with 10.2.0.4 Agent [ID 602633.1]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=19</id>
		<title>Grid Control</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=19"/>
				<updated>2011-11-22T21:03:41Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* Agent Unreachable */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Definitions==&lt;br /&gt;
* OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR&lt;br /&gt;
* OMR - Management Repository - This is a collection of tables owned by the sysman schema that stores all the data collected by the OMA&lt;br /&gt;
* OMA - Management Agent - This is a perl program that runs on the database host (one for all databases on the host) and uploads data to the OMS&lt;br /&gt;
&lt;br /&gt;
==Agent Unreachable==&lt;br /&gt;
* Is the agent running?&lt;br /&gt;
 From SQL*Plus:&lt;br /&gt;
 select username,program from v$session where LOWER (program) like &amp;#039;emagent%&amp;#039;;&lt;br /&gt;
If no rows selected, the agent is not running.&lt;br /&gt;
or&lt;br /&gt;
 From Unix:&lt;br /&gt;
 . oraenv&lt;br /&gt;
 agent11g ([[how to find what SIDs are available on your machine]])&lt;br /&gt;
 emctl status agent&lt;br /&gt;
&lt;br /&gt;
 ps -ef|grep [a]gent&lt;br /&gt;
There should be a handful. If only a few, kill them and restart the agent.&lt;br /&gt;
 emctl start agent&lt;br /&gt;
&lt;br /&gt;
Check the agent log in $ORACLE_HOME/sysman/log&lt;br /&gt;
&lt;br /&gt;
==Some useful Metalink Master Documents related to Grid Control==&lt;br /&gt;
*Master Index for Managing Oracle Database and Listener with Grid Control [ID 1304021.1]&lt;br /&gt;
*Master Note for 10g Grid Control Agent Process Control (Start, Stop &amp;amp; Status) &amp;amp; Configuration [ID 1082009.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation [ID 1057051.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation Release 11g [ID 1190193.1]&lt;br /&gt;
*Grid Control Target Maintenance: Steps to Diagnose Issues Related to &amp;quot;Agent Unreachable&amp;quot; Status [ID 271126.1]&lt;br /&gt;
*Master Note for 10g Grid Control Enterprise Manager Communication and Upload issues [ID 1086343.1]&lt;br /&gt;
*Master Note for Target Maintenance Through 10g Enterprise Manager Grid Control [ID 1202453.1]&lt;br /&gt;
*Receiving agent unreachable notification emails very often after 10.2.0.4 agent upgrade [ID 752296.1]&lt;br /&gt;
*Healthcheck Metric failing for a 10.2.0.4 Target Database with 10.2.0.4 Agent [ID 602633.1]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=18</id>
		<title>Grid Control</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=18"/>
				<updated>2011-11-22T20:35:34Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* Agent Unreachable */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Definitions==&lt;br /&gt;
* OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR&lt;br /&gt;
* OMR - Management Repository - This is a collection of tables owned by the sysman schema that stores all the data collected by the OMA&lt;br /&gt;
* OMA - Management Agent - This is a perl program that runs on the database host (one for all databases on the host) and uploads data to the OMS&lt;br /&gt;
&lt;br /&gt;
==Agent Unreachable==&lt;br /&gt;
* Is the agent running?&lt;br /&gt;
 From SQL*Plus:&lt;br /&gt;
 select username,program from v$session where LOWER (program) like &amp;#039;emagent%&amp;#039;;&lt;br /&gt;
If no rows selected, the agent is not running.&lt;br /&gt;
or&lt;br /&gt;
 From Unix:&lt;br /&gt;
 . oraenv&lt;br /&gt;
 agent11g ([[how to find what SIDs are available on your machine]])&lt;br /&gt;
 emctl status agent&lt;br /&gt;
&lt;br /&gt;
 ps -ef|grep [a]gent&lt;br /&gt;
There should be a handful. If only a few, kill them and restart the agent.&lt;br /&gt;
 emctl start agent&lt;br /&gt;
&lt;br /&gt;
==Some useful Metalink Master Documents related to Grid Control==&lt;br /&gt;
*Master Index for Managing Oracle Database and Listener with Grid Control [ID 1304021.1]&lt;br /&gt;
*Master Note for 10g Grid Control Agent Process Control (Start, Stop &amp;amp; Status) &amp;amp; Configuration [ID 1082009.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation [ID 1057051.1]&lt;br /&gt;
*How to Run the RDA against a Grid Control Installation Release 11g [ID 1190193.1]&lt;br /&gt;
*Grid Control Target Maintenance: Steps to Diagnose Issues Related to &amp;quot;Agent Unreachable&amp;quot; Status [ID 271126.1]&lt;br /&gt;
*Master Note for 10g Grid Control Enterprise Manager Communication and Upload issues [ID 1086343.1]&lt;br /&gt;
*Master Note for Target Maintenance Through 10g Enterprise Manager Grid Control [ID 1202453.1]&lt;br /&gt;
*Receiving agent unreachable notification emails very often after 10.2.0.4 agent upgrade [ID 752296.1]&lt;br /&gt;
*Healthcheck Metric failing for a 10.2.0.4 Target Database with 10.2.0.4 Agent [ID 602633.1]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Main_Page&amp;diff=17</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Main_Page&amp;diff=17"/>
				<updated>2011-11-22T19:59:26Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* A collection of useful DBA tips and tricks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=A collection of useful DBA tips and tricks=&lt;br /&gt;
This is a collection of handy tips I&amp;#039;ve used to do various DBA tasks.&lt;br /&gt;
Some may be specific to the environment I used at the time, others may be more generic.&lt;br /&gt;
It&amp;#039;s mainly a place to put things so that I don&amp;#039;t forget where I put all the scraps of virtual paper.&lt;br /&gt;
&lt;br /&gt;
*[[Grid Control]]&lt;br /&gt;
*[[Disaster Recovery testing]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [http://meta.wikimedia.org/wiki/Help:Contents User&amp;#039;s Guide]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Use_Physical_Standby_for_testing&amp;diff=16</id>
		<title>Use Physical Standby for testing</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Use_Physical_Standby_for_testing&amp;diff=16"/>
				<updated>2011-11-22T19:37:14Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: Created page with &amp;quot;This assumes the Primary has failed and the Standby must be brought up to replace it.   shutdown abort;  startup mount;  select name from v$restore_point;  flashback database to ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This assumes the Primary has failed and the Standby must be brought up to replace it.&lt;br /&gt;
&lt;br /&gt;
 shutdown abort;&lt;br /&gt;
 startup mount;&lt;br /&gt;
 select name from v$restore_point;&lt;br /&gt;
 flashback database to restore point DRTEST;&lt;br /&gt;
 alter database convert to physical standby;&lt;br /&gt;
 shutdown abort;&lt;br /&gt;
 startup nomount;&lt;br /&gt;
 alter database mount standby database;&lt;br /&gt;
 alter database recover managed standby database disconnect;&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Disaster_Recovery_testing&amp;diff=15</id>
		<title>Disaster Recovery testing</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Disaster_Recovery_testing&amp;diff=15"/>
				<updated>2011-11-22T19:32:54Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* Using Flashback */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Using Flashback==&lt;br /&gt;
*[[How to prepare a database to use Flashback Recovery]]&lt;br /&gt;
*[[Enable Flashback]]&lt;br /&gt;
*[[Use Physical Standby for testing]]&lt;br /&gt;
*[[Disable Flashback]]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Disaster_Recovery_testing&amp;diff=14</id>
		<title>Disaster Recovery testing</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Disaster_Recovery_testing&amp;diff=14"/>
				<updated>2011-11-22T19:32:31Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Using Flashback==&lt;br /&gt;
[[How to prepare a database to use Flashback Recovery]]&lt;br /&gt;
[[Enable Flashback]]&lt;br /&gt;
[[Use Physical Standby for testing]]&lt;br /&gt;
[[Disable Flashback]]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Disaster_Recovery_testing&amp;diff=13</id>
		<title>Disaster Recovery testing</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Disaster_Recovery_testing&amp;diff=13"/>
				<updated>2011-11-22T19:31:45Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: Created page with &amp;quot;How to prepare a database to use Flashback Recovery Enable Flashback Use Physical Standby for testing Disable Flashback&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[How to prepare a database to use Flashback Recovery]]&lt;br /&gt;
[[Enable Flashback]]&lt;br /&gt;
[[Use Physical Standby for testing]]&lt;br /&gt;
[[Disable Flashback]]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Main_Page&amp;diff=12</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Main_Page&amp;diff=12"/>
				<updated>2011-11-22T19:27:16Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* A collection of useful DBA tips and tricks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=A collection of useful DBA tips and tricks=&lt;br /&gt;
This is a collection of handy tips I&amp;#039;ve used to do various DBA tasks.&lt;br /&gt;
Some may be specific to the environment I used at the time, others may be more generic.&lt;br /&gt;
It&amp;#039;s mainly a place to put things so that I don&amp;#039;t forget where I put all the scraps of virtual paper.&lt;br /&gt;
&lt;br /&gt;
[[Grid Control]]&lt;br /&gt;
[[Disaster Recovery testing]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [http://meta.wikimedia.org/wiki/Help:Contents User&amp;#039;s Guide]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=How_to_find_what_SIDs_are_available_on_your_machine&amp;diff=11</id>
		<title>How to find what SIDs are available on your machine</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=How_to_find_what_SIDs_are_available_on_your_machine&amp;diff=11"/>
				<updated>2011-11-22T19:25:40Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* From Unix */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==From Unix==&lt;br /&gt;
 cat /var/opt/oracle/oratab (Solaris)&lt;br /&gt;
&lt;br /&gt;
 cat /etc/oratab (others)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==From Windows==&lt;br /&gt;
 services.msc&lt;br /&gt;
Look through list for services beginning with OracleService&amp;lt;SID&amp;gt;&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=How_to_find_what_SIDs_are_available_on_your_machine&amp;diff=10</id>
		<title>How to find what SIDs are available on your machine</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=How_to_find_what_SIDs_are_available_on_your_machine&amp;diff=10"/>
				<updated>2011-11-22T19:24:27Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: Created page with &amp;quot;==From Unix==  cat /var/opt/oracle/oratab (Solaris)   cat /etc/oratab (others)&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==From Unix==&lt;br /&gt;
 cat /var/opt/oracle/oratab (Solaris)&lt;br /&gt;
&lt;br /&gt;
 cat /etc/oratab (others)&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=9</id>
		<title>Grid Control</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=9"/>
				<updated>2011-11-22T19:22:17Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Definitions==&lt;br /&gt;
* OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR&lt;br /&gt;
* OMR - Management Repository - This is a collection of tables owned by the sysman schema that stores all the data collected by the OMA&lt;br /&gt;
* OMA - Management Agent - This is a perl program that runs on the database host (one for all databases on the host) and uploads data to the OMS&lt;br /&gt;
&lt;br /&gt;
==Agent Unreachable==&lt;br /&gt;
* Is the agent running?&lt;br /&gt;
 From SQL*Plus:&lt;br /&gt;
 select username,program from v$session where LOWER (program) like &amp;#039;emagent%&amp;#039;;&lt;br /&gt;
If no rows selected, the agent is not running.&lt;br /&gt;
or&lt;br /&gt;
 From Unix:&lt;br /&gt;
 . oraenv&lt;br /&gt;
 agent11g ([[how to find what SIDs are available on your machine]])&lt;br /&gt;
 emctl status agent&lt;br /&gt;
&lt;br /&gt;
 ps -ef|grep [a]gent&lt;br /&gt;
There should be 2 processes. If only 1, kill it and restart the agent.&lt;br /&gt;
 emctl start agent&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=8</id>
		<title>Grid Control</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=8"/>
				<updated>2011-11-22T19:21:30Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* Agent Unreachable */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Definitions==&lt;br /&gt;
* OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR&lt;br /&gt;
* OMR - Management Repository - This is a collection of tables owned by the sysman schema that stores all the data collected by the OMA&lt;br /&gt;
* OMA - Management Agent - This is a perl program that runs on the database host (one for all databases on the host) and uploads data to the OMS&lt;br /&gt;
&lt;br /&gt;
==Agent Unreachable==&lt;br /&gt;
* Is the agent running?&lt;br /&gt;
 From SQL*Plus:&lt;br /&gt;
 select username,program from v$session where LOWER (program) like &amp;#039;emagent%&amp;#039;;&lt;br /&gt;
If no rows selected, the agent is not running.&lt;br /&gt;
or&lt;br /&gt;
 From Unix:&lt;br /&gt;
 . oraenv&lt;br /&gt;
 agent11g ([[how to find what SIDs are available on your machine]])&lt;br /&gt;
 emctl status agent&lt;br /&gt;
&lt;br /&gt;
 ps -ef|grep [a]gent&lt;br /&gt;
There should be 2 processes. If only 1, kill it and restart the agent.&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=7</id>
		<title>Grid Control</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=7"/>
				<updated>2011-11-22T19:06:08Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* Definitions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Definitions==&lt;br /&gt;
* OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR&lt;br /&gt;
* OMR - Management Repository - This is a collection of tables owned by the sysman schema that stores all the data collected by the OMA&lt;br /&gt;
* OMA - Management Agent - This is a perl program that runs on the database host (one for all databases on the host) and uploads data to the OMS&lt;br /&gt;
&lt;br /&gt;
==Agent Unreachable==&lt;br /&gt;
* Is the agent running?&lt;br /&gt;
 From SQL*Plus:&lt;br /&gt;
 select username,program from v$session where LOWER (program) like &amp;#039;emagent%&amp;#039;;&lt;br /&gt;
If no rows selected, the agent is not running.&lt;br /&gt;
&lt;br /&gt;
 From Unix:&lt;br /&gt;
 ps -ef|grep [a]gent&lt;br /&gt;
There should be 2 processes&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=6</id>
		<title>Grid Control</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=6"/>
				<updated>2011-11-22T18:45:51Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* Grid Control */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Definitions==&lt;br /&gt;
* OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR&lt;br /&gt;
* OMR - Management Repository - This is a collection of tables owned by the sysman schema that stores all the data collected by the OMA&lt;br /&gt;
* OMA - Management Agent - This is a perl program that runs on the database host (one for all databases on the host) and uploads data to the OMS&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=5</id>
		<title>Grid Control</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Grid_Control&amp;diff=5"/>
				<updated>2011-11-22T18:45:03Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: Created page with &amp;quot;=Grid Control=  ==Definitions== * OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR * OMR - Management Repos...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Grid Control=&lt;br /&gt;
&lt;br /&gt;
==Definitions==&lt;br /&gt;
* OMS - Management Service - This is responsible for communicating with the user via a GUI and communicating with the OMR&lt;br /&gt;
* OMR - Management Repository - This is a collection of tables owned by the sysman schema that stores all the data collected by the OMA&lt;br /&gt;
* OMA - Management Agent - This is a perl program that runs on the database host (one for all databases on the host) and uploads data to the OMS&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Main_Page&amp;diff=4</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Main_Page&amp;diff=4"/>
				<updated>2011-11-22T18:36:57Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* A collection of useful DBA tips and tricks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=A collection of useful DBA tips and tricks=&lt;br /&gt;
This is a collection of handy tips I&amp;#039;ve used to do various DBA tasks.&lt;br /&gt;
Some may be specific to the environment I used at the time, others may be more generic.&lt;br /&gt;
It&amp;#039;s mainly a place to put things so that I don&amp;#039;t forget where I put all the scraps of virtual paper.&lt;br /&gt;
&lt;br /&gt;
[[Grid Control]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [http://meta.wikimedia.org/wiki/Help:Contents User&amp;#039;s Guide]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Main_Page&amp;diff=3</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Main_Page&amp;diff=3"/>
				<updated>2011-11-22T18:31:52Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: /* A collection of useful DBA tips and tricks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=A collection of useful DBA tips and tricks=&lt;br /&gt;
This is a collection of handy tips I&amp;#039;ve used to do various DBA tasks.&lt;br /&gt;
Some may be specific to the environment I used at the time, others may be more generic.&lt;br /&gt;
It&amp;#039;s mainly a place to put things so that I don&amp;#039;t forget where I put all the scraps of virtual paper.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [http://meta.wikimedia.org/wiki/Help:Contents User&amp;#039;s Guide]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	<entry>
		<id>https://mailnest.com/dbawiki/index.php?title=Main_Page&amp;diff=2</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://mailnest.com/dbawiki/index.php?title=Main_Page&amp;diff=2"/>
				<updated>2011-11-22T18:28:52Z</updated>
		
		<summary type="html">&lt;p&gt;Shb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=A collection of useful DBA tips and tricks=&lt;br /&gt;
This is a collection of handy tips I&amp;#039;ve used to do various DBA tasks.&lt;br /&gt;
Some may be specific to the environment I used at the time, others may be more generic.&lt;br /&gt;
It&amp;#039;s mainly a place to put things so that I don&amp;#039;t forget where I put all the scraps of virtual paper.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Consult the [http://meta.wikimedia.org/wiki/Help:Contents User&amp;#039;s Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;/div&gt;</summary>
		<author><name>Shb</name></author>	</entry>

	</feed>