Enterprise Manager - RAC
Hello All,
I am working on Oracle RAC 11.2.0.1.0, My Oracle Enterprise Manager is working on : https://rac1.localdomain:1158
My question what if rac1 server is down how can i use my oem?
Now i have only server RAC2 working i started oem: emctl start dbconsole, it provides me a link : https://rac1.localdomain:1158 but I am not able to access oem since RAC1 is down.
How can I run oem from RAC2?
Regards,
Hi,
NB wrote:
I am working on Oracle RAC 11.2.0.1.0, My Oracle Enterprise Manager is working on : https://rac1.localdomain:1158
My question what if rac1 server is down how can i use my oem?
Now i have only server RAC2 working i started oem: emctl start dbconsole, it provides me a link : https://rac1.localdomain:1158 but I am not able to access oem since RAC1 is down.
How can I run oem from RAC2?When EMCA (started on local node) configure Database Control for Oracle RAC, you configure the Database Control for each instance in the cluster. However, by default the Database Control Console will only start on the local node. On every other node of the cluster, only the Enterprise Manager agent will start. This is because the Database Control Console opens several connections to the database. If an instance of the console is running on every host in the cluster, then you may easily exceed the maximum number of permitted open connections.
To remedy this situation, the Database Control is started only on the local node. On every other node, the commands emctl start dbconsole and emctl stop dbconsole only start and stop the agent. Each of the remote agents will upload their respective data to the console running on the local node, from which you can monitor and manage all the targets in the cluster.
To modify the existing configuration in a release 11g and later database, use the following command where nodename is the public name of the node and node_list is a comma-delimited list of nodes where the database is configured:
$ emca -reconfig dbcontrol –cluster –EM_NODE nodename -EM_NODE_LIST node_listAlso you can configure more than one Database Control Console in a RAC Database
In this scenario, there are two Database Control consoles running, one on node1 and the other on node5. From either of these consoles, you can manage and monitor all targets in the cluster.
You can use this command to start the console on multiple nodes. For instance, on an 8-node cluster with nodes node1, node2, node3, node4, node5, node6, node7, and node8, you
can run the following commands in succession:
$ emca -reconfig dbcontrol –cluster –EM_NODE node1 -EM_NODE_LIST node2,node3,node4
$ emca -reconfig dbcontrol –cluster –EM_NODE node5 -EM_NODE_LIST node6,node7,node8For information about the current cluster configuration, run the following command:
$ emca -displayConfig dbcontrol –clusterHope this helps,
Levi Pereira
Similar Messages
-
Multiple RAC databases in Enterprise Manager
Hey, I installed 3 databases on a 2-node rac.
srvctl show database -d <dbname>
shows all 3 database are up and running. Everything is working fine.
Just the Enterprise Manager is working on the first database (port 1158)
For all other databases (port 5500 and 5501) the EM comes up with: Cluster status not available
Is there anything I need to do, so that I can see all 3 database within the EM ?
I know, Grid Control is the tool to choose, but anyway, I should see the status of the cluster for all 3 databases, correct ?
ChrisI configured my 3 databases.
db1 and db2 have as remote_listener parameter the scan listener:1521 configured
db3 has another value for the remote_listener, because I need this remote listener, so that my db3 is registering on my connection manager servers
In this scenario db1 and db2 are working with the EM - db3 is not - but db3 is registering its services on my connection managers
When changing the remote_listener entry for db3 the Enterprise Manager is running here as well - but no more registering of services at cman servers :-(
So thats the questions:
How to register all databases with the listener, so that EM is running for all databases, and also how to configure db3 so that its registers its services at cman servers ???
Thx for your help in advance
Chris
Thats my listener configuration in the Grid Home
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
the part for the scan listener (which is configured in the database as the remote_listener parameter) looks like:
remote_listener=listener_cluster:1521
listener-cluster=
(address_list=
(address=(protocol=tcp)(host=dbsrv01)(port=1521))
(address=(protocol=tcp)(host=dbsrv02)(port=1521))
#Remote Listener fuer Connection Manager
cman_listener =
(address_list=
(address=(protocol=tcp)(host=cmansrv01)(port=1610))
(address=(protocol=tcp)(host=cmansrv02)(port=1610))
) -
10g RAC Node down Enterprise Manager
Hello
We have a 2 node Oracle 10g RAC Rel2 Linux setup. Enterprise Manager was first stalled on Node1 and we access it using http://node1:5500/em.
This node has a hardware failure and is out of commision at the moment. When I try to connect to http://node2.5500/em it does not work.
I see the dbconsole process is running onthe node2.
How can I use the Enterprise Manager if the node1 is down?
ThanksCan you try deconfig and config again on node 2?
emctl stop dbconsol
emca -deconfig dbcontrol
emca -config dbcontrolSalman -
How to configure Enterprise Manager both node (2 node) RAC?
Hi,
I have installed oracle 11g r2 rac with asm in two nodes. OS is hp-Unix.
I have installed oracle11g Active Data Guard using Single alone Database.
Both RAc and Active Data Guard works fine.
I have not configure Data Guard Broker.
I have configure Enterprise Manager during RAC database installation.
When I start Enterprise Manager from node1 its address to node1
but when I start Enterprise Manager from node2 it also addressed to node1.
When both node is up and running, I can connect from Enterprise Manager.
When node2 is down but node1 is up then also I can connect from Enterprise Manager
but when node1 is down and node2 is up I can't connect from Enterprise Manager.
Question: How to configure Enterprise Manager so that I can connect through it whenever any single node is running?
Thanks
Solaimanhttp://www.gokhanatil.com/2012/04/manage-your-existing-data-guards-with.html
-
In-place upgrade of Enterprise Manager for RAC databases is not supported
upgrading 2 node RAC from 10.2.0.1 to 10.2.0.3 on Windows 2003 64 bit. I got the following:
In-place upgrade of Enterprise Manager for RAC databases is not supported in this release
Now I cannot log in to the database control as sys with sysdba role . I get "invalid username/password" error
I can login as a dba user
I also get a java error after I log in, some thing about class not found, but then I'm in and I can do everything that I try, although I haven't tried scheduling a backup yet
Can I upgrade EM to 10.2.0.3?
If so, how?On the patchset readme...
11.3 Upgrade of Oracle Enterprise Manager Not Supported
When you start Oracle Database Upgrade Assistant to upgrade 10.2.0.1 database to 10.2.0.3 patch set, the following error occurs:
Inplace upgrade of Enterprise Manager is not supported for RAC databases is not supported in this release
Workaround:
Ignore warning.
If you drop and recreate the EM repository?
1). emca -deconfig dbcontrol db repos drop
2). emca -config dbcontrol db -repos create
Be careful, doing this put the database on QUIESCE mode.
Regards,
Rodrigo Mufalani -
RAC enterprise manager show no instance
Hi ,
I have 2 RAC nodes
I can login to enterprise manager , and i can see that the DB is up
EM can feel there is 2 instances , but when i click on the link, or go to availability tab , i see No Instances !!!
Any thoughts please
ThanksBefore changing the file stop the agent.
Sample of target XML (Please change the relevant information) :
<Targets>
<Target TYPE="host" NAME="alpha3" DISPLAY_NAME="alpha3">
</Target>
<Target TYPE="cluster" NAME="alpha1_cluster">
</Target>
<Target TYPE="oracle_listener" NAME="LISTENER_ALPHA3_alpha3">
<Property NAME="ListenerOraDir" VALUE="/disk$refresh/harac10refresh/netw
ork/admin"/>
<Property NAME="LsnrName" VALUE="LISTENER_ALPHA3"/>
<Property NAME="Machine" VALUE="xxx.x.190.13"/>
<Property NAME="OracleHome" VALUE="/disk$refresh/harac10refresh"/>
<Property NAME="Port" VALUE="10101"/>
</Target>
<Target TYPE="oracle_database" NAME="RACDB">
<Property NAME="OracleHome" VALUE="/disk$dedicated/v101d"/>
<Property NAME="UserName" VALUE="dbsnmp" ENCRYPTED="FALSE"/>
<Property NAME="Password" VALUE="XXXXX" ENCRYPTED="FALSE"/>
<Property NAME="MachineName" VALUE="alpha1"/>
<Property NAME="Port" VALUE="10102"/>
<Property NAME="SID" VALUE="v101d"/>
<Property NAME="ServiceName" VALUE="RACDB2"/>
</Target>
<Target TYPE="oracle_database" NAME="RACDB">
<Property NAME="OracleHome" VALUE="/disk$refresh/v101r"/>
<Property NAME="UserName" VALUE="29f995ddb8640ad2" ENCRYPTED="TRUE"/>
<Property NAME="MachineName" VALUE="alpha2"/>
<Property NAME="Port" VALUE="10104"/>
<Property NAME="SID" VALUE="V101R"/>
<Property NAME="ServiceName" VALUE="RACDB2"/>
</Target>
</Targets> -
How to configure Oracle Enterprise Manager for ASM RAC Database ?
Dears,,
We have two databases (Primary & Standby), each database has two instances
Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
How to configure Oracle Enterprise Manager for this environment ?
I need documentation for this please.
Many thanks & Regards,,Assuming an agent is running on the servers you want to monitor,
navigate to the Agent home page (Via setup --> Agent)
When in the agent home page select 'Add Database'and press [Go]
Assuming yopur database now gets recognized, select the Configure icon and enter the password for dbsnmp.
When done, press [Ok] to return to the agent home page.
Regards
Rob
http://oemgc.wordpress.com -
Issue with Enterprise Manager 11g
When I start the db console I am given the message
Enterprise Manager is not able to connect to the database instance, The state of the components are listed below.
All components are listed with green arrows indicating they are up
After reading a few posts here I have attempted to use EMCA to drop and re create the repository and settings
I have run the command 'emca -deconfig dbcontrol db -repos drop' to try and do this but it just hangs
Looking in the logs I can see the follow (only the last few lines added to keep it short)
emca_2011_08_05_14_17_29 -
CONFIG: Setting param: REP_DB_RUNNING_HOST value: RangePlanTest.gooutdoors.local
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: godw, oracleHome: C:\app\server\product\11.2.0\dbhome_2, and user: SYSMAN
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
CONFIG: Passed listener validation check.Listener is up and running.
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface isInView
CONFIG: IN_VIEW marker not instantiated in C:\app\server\product\11.2.0\dbhome_2\sysman\config\emca.properties
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface getEnvProps
CONFIG: Returning env array from cache
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
+CONFIG: New Env List: [ALLUSERSPROFILE=C:\ProgramData, APPDATA=C:\Users\server\AppData\Roaming, CLASSPATH=C:\app\server\product\11.2.0\dbhome_2\jlib\emca.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\srvm.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\srvmasm.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\cvu.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\emConfigInstall.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\ldapjclnt11.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\ldap.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\share.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\srvmhas.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\netcfg.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\http_client.jar;C:\app\server\product\11.2.0\dbhome_2\lib\http_client.jar;C:\app\server\product\11.2.0\dbhome_2\lib\xmlparserv2.jar;C:\app\server\product\11.2.0\dbhome_2\assistants\jlib\assistantsCommon.jar;C:\app\server\product\11.2.0\dbhome_2\sysman\jlib\emCORE.jar;C:\app\server\product\11.2.0\dbhome_2\sysman\jlib\emagentSDK.jar;C:\app\server\product\11.2.0\dbhome_2\oui\jlib\OraInstaller.jar;C:\app\server\product\11.2.0\dbhome_2\oui\jlib\OraPrereq.jar;C:\app\server\product\11.2.0\dbhome_2\inventory\prereqs\oui\OraPrereqChecks.jar;C:\app\server\product\11.2.0\dbhome_2\oui\jlib\OraPrereqChecks.jar;, COMMONPROGRAMFILES=C:\Program Files\Common Files, COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files, COMMONPROGRAMW6432=C:\Program Files\Common Files, COMPUTERNAME=RANGEPLANTEST, COMSPEC=C:\Windows\system32\cmd.exe, EMCA_JAR=C:\app\server\product\11.2.0\dbhome_2\jlib\emca.jar, FP_NO_HOST_CHECK=NO, HOMEDRIVE=Z:, HOMEPATH=\, HOMESHARE=\\kryten\gooutdoors\users\server, JRE_JAVA=C:\app\server\product\11.2.0\dbhome_2\jdk\jre\bin\java, LIB_DIR=C:\app\server\product\11.2.0\dbhome_2\jlib, LOCALAPPDATA=C:\Users\server\AppData\Local, LOGONSERVER=\\RIMMER, NUMBER_OF_PROCESSORS=4, OH=C:\app\server\product\11.2.0\dbhome_2, ORACLE_HOME=C:\app\server\product\11.2.0\dbhome_2, ORACLE_SID=godw, OS=Windows_NT, PATH=C:\app\server\product\11.2.0\dbhome_2\bin;C:\app\server\product\11.2.0\dbhome_2\bin;C:\Program Files\HP\NCU;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, PROCESSOR_ARCHITECTURE=AMD64, PROCESSOR_IDENTIFIER=Intel64 Family 15 Model 4 Stepping 1, GenuineIntel, PROCESSOR_LEVEL=15, PROCESSOR_REVISION=0401, PROGRAMDATA=C:\ProgramData, PROGRAMFILES=C:\Program Files, PROGRAMFILES(X86)=C:\Program Files (x86), PROGRAMW6432=C:\Program Files, PROMPT=$P$G, PSMODULEPATH=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\, PUBLIC=C:\Users\Public, SESSIONNAME=Console, SYSTEMDRIVE=C:, SYSTEMROOT=C:\Windows, TEMP=C:\Users\server\AppData\Local\Temp\1, TMP=C:\Users\server\AppData\Local\Temp\1, USERDNSDOMAIN=GOOUTDOORS.LOCAL, USERDOMAIN=GOOUTDOORS, USERNAME=server, USERPROFILE=C:\Users\server, WINDIR=C:\Windows, WINDOWS_TRACING_FLAGS=3, WINDOWS_TRACING_LOGFILE=C:\BVTBin\Tests\installpackage\csilogfile.log]+
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: CMD /C C:\app\server\product\11.2.0\dbhome_2\sysman\admin\emdrep\bin\RepManager.bat -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=RangePlanTest.gooutdoors.local)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=GODW))) -repos_user SYSMAN -action drop -verbose -output_file C:\app\server\cfgtoollogs\emca\GODW\emca_repos_drop_2011_08_05_14_17_57.log
emca_repos_drop_2011_08_05_14_17_57 -
SQL> declare
2 l_username varchar2(30);
3 l_sid number;
4 l_serial number;
5 err number;
6 c number;
7 l_job_process_count NUMBER ;
8 TYPE TBSP_ARRAY IS TABLE OF VARCHAR2(64) INDEX BY BINARY_INTEGER ;
9 l_tablespaces TBSP_ARRAY;
10
11
12 PROCEDURE set_job_process_count(p_count IN NUMBER)
13 IS
14 BEGIN
15 --scope=memory so it will be reset on instance startup
16 -- SID=* to take care of RAC
17 IF p_count >=0
18 THEN
19 EXECUTE IMMEDIATE 'ALTER SYSTEM SET job_queue_processes='
20 ||p_count||' SID=''*''' ;
21 END IF ;
22 EXCEPTION WHEN OTHERS THEN NULL ;
23 END set_job_process_count ;
24
25 FUNCTION get_job_process_count
26 RETURN NUMBER
27 IS
28 l_value NUMBER ;
29 BEGIN
30 SELECT value
31 INTO l_value
32 FROM v$parameter
33 WHERE name = 'job_queue_processes' ;
34 RETURN(l_value) ;
35 EXCEPTION
36 WHEN OTHERS THEN
37 RETURN(10) ;
38 END get_job_process_count ;
39 begin
40 -- Now, drop the SYSMAN user
41 c := 0;
42 -- validate user exists
43 BEGIN
44 SELECT username
45 INTO l_username
46 FROM dba_users
47 WHERE username = upper('&EM_REPOS_USER') ;
48 EXECUTE IMMEDIATE 'ALTER USER '||l_username||' ACCOUNT LOCK' ;
49 EXCEPTION
50 WHEN NO_DATA_FOUND THEN RETURN ;
51 END ;
52 -- reduce job_queue_processes to zero
53 l_job_process_count := get_job_process_count ;
54 set_job_process_count(0) ;
55 begin
56 loop
57 BEGIN
58 LOOP
59 BEGIN
60 FOR crec in (SELECT sid, serial#
61 FROM gv$session
62 WHERE (upper(username)=l_username OR
63 upper(schemaname)=l_username)
64 AND status != 'KILLED')
65 LOOP
66 BEGIN
67 EXECUTE IMMEDIATE 'ALTER SYSTEM KILL SESSION IMMEDIATE ''' ||
68 crec.sid || ',' || crec.serial# || '''';
69 EXCEPTION
70 WHEN OTHERS THEN
71 err := SQLCODE;
72 IF err != -30 THEN
73 EXIT;
74 END IF;
75 END;
76 commit;
77 END LOOP;
78 EXCEPTION
79 WHEN OTHERS THEN
80 err := SQLCODE;
81 IF err != -30 THEN
82 EXIT;
83 END IF;
84 END;
85 IF SQL%NOTFOUND THEN
86 EXIT;
87 END IF;
88 commit;
89 END LOOP;
90
91 -- >> START - Capturing the Tablespaces to be dropped
92
93 for crec in (SELECT DISTINCT TABLESPACE_NAME FROM all_tables
94 WHERE owner = '&EM_REPOS_USER' AND table_name IN ('MGMT_TARGETS','MGMT_JOB_PARAMETER','MGMT_AUDIT_DATA')
95 MINUS
96 SELECT DISTINCT TABLESPACE_NAME FROM all_tables
97 WHERE owner != '&EM_REPOS_USER')
98 LOOP
99 l_tablespaces(l_tablespaces.count) := crec.tablespace_name;
100 END LOOP;
101
102 -- >> END - Capturing the Tablespaces to be dropped
103
104 execute immediate 'drop user ' || l_username || ' cascade';
105 set_job_process_count(l_job_process_count) ;
106
107 -- >> START - Dropping the Tablespaces
108 BEGIN
109 IF (l_tablespaces.count > 0) THEN
110 FOR i IN l_tablespaces.FIRST .. l_tablespaces.LAST
111 LOOP
112 BEGIN
113 execute immediate 'drop tablespace ' || l_tablespaces(i) || ' including contents';
114 exception
115 when NO_DATA_FOUND then
116 DBMS_OUTPUT.PUT_LINE('DropRep: Tablespaces for REPOS USER do not exist');
117 WHEN OTHERS THEN
118 err := SQLCODE;
119 DBMS_OUTPUT.PUT_LINE('DropRep: Error ' || SQLCODE || ' received dropping tablespace ' || l_tablespaces(i));
120 END;
121 END LOOP;
122 ELSE
123 DBMS_OUTPUT.PUT_LINE('NO TABLESPACES Exist');
124 END IF;
125 END;
126 -- >> END - Dropping the Tablespaces
127
128 exit;
129
130 EXCEPTION
131 WHEN NO_DATA_FOUND THEN
132 exit;
133 WHEN OTHERS THEN
134 err := SQLCODE;
135 IF err = -1918 THEN
136 EXIT;
137 ELSE
138 IF err = -1940 THEN
139 NULL;
140 ELSE
141 DBMS_OUTPUT.PUT_LINE('not 1940 err' || err);
142 c := c+1;
143 IF c > 50 THEN
144 RAISE;
145 END IF;
146 END IF;
147 END IF;
148 END;
149 end loop;
150 end;
151 commit;
152 EXCEPTION
153 WHEN OTHERS THEN
154 set_job_process_count(l_job_process_count) ;
155 RAISE ;
156 end;
157 /
old 47: WHERE username = upper('&EM_REPOS_USER') ;
new 47: WHERE username = upper('SYSMAN') ;
old 94: WHERE owner = '&EM_REPOS_USER' AND table_name IN ('MGMT_TARGETS','MGMT_JOB_PARAMETER','MGMT_AUDIT_DATA')
new 94: WHERE owner = 'SYSMAN' AND table_name IN ('MGMT_TARGETS','MGMT_JOB_PARAMETER','MGMT_AUDIT_DATA')
old 97: WHERE owner != '&EM_REPOS_USER')
new 97: WHERE owner != 'SYSMAN')
Sorry for the long post but any help would be greatAs a bit of further info I noticed these warnings when running the command - emca -deconfig dbconrtol db -repos drop
Do you wish to continue? [yes(Y)/no(N)]: Y
Aug 5, 2011 4:26:26 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at C:\app\server\cfgtoollogs\emca\GODW\emca_2011_08_05_16_25_58.log.
Aug 5, 2011 4:26:27 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Aug 5, 2011 4:26:28 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing CMD /C C:\app\server\product\11.2.0\dbhome_2\bin\nmesrvops.exe delete OracleDBConsoleGODW
Aug 5, 2011 4:26:32 PM oracle.sysman.emcp.EMReposConfig invoke
WARNING: Unable to remove DBMS jobs.
Aug 5, 2011 4:26:33 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ... -
Enterprise Manager Console doesn' t show the correct data
Hi everyone,
we use a oracle 10gR1 rac with two nodes.
we use the oracle enterprise manager console but it does not work all parts of.
And the console is wrong with some parts of the data shows.
for example ;
in the home page, Performans Analysis section shows the date two months earlier. Why ?
(Period Start Time 25.Ara.2010 21:00:59 Period Duration (minutes) 60,02)
other example ;
in the performans tab, host section does not show any data.
why doesn't work this section?
what can i do?
oracle version = 10.1.0.5
OS platform = AIX node1 3 5 00C5116E4C00
thanks.Hm... could be that your machine is low on RAM for java apps (yours and OEM Console). (You can check resource consumption via perfmon)
-
Cannot connect to Enterprise Manager. Displays Enterprise Manager(null)
Hi All:
I have downloaded and installed VMware, Oracle 10g RAC and Red Hat Enterprise Linux 3 using Disk1 and Disk2.
All seemed fine. However I cannot log on to the Enterprise Manager nor start the listener nor any instance of the database
I got the error message below when I tried starting an instance of the Database. The Enterprise Manager displays "
Enterprise Manager(null) in the title bar of mozzila browser when I tried to start it.
[oracle@raclinux1 /]$ srvctl start instance -d o10G -i o10G1
PRKP-1001 : Error starting instance O10G1 on node raclinux1
raclinux1:ora.raclinux1.vip:Interface eth0 checked failed (host=raclinux1.us.oracle.com)
raclinux1:ora.raclinux1.vip:Invalid parameters, IP, NETMASK and IF all must be specified
raclinux1:ora.raclinux1.vip:checkIf: interface name is NULL
raclinux1:ora.raclinux1.vip:Interface eth0 checked failed (host=raclinux1.us.oracle.com)
raclinux1:ora.raclinux1.vip:Invalid parameters, IP, NETMASK and IF all must be specified
CRS-0215: Could not start resource ora.O10G.O10G1.inst.
Does anyone have any suggestions?
Thanks
1113777If you read the README you'll see that the recommended way is to not bother downloading VMware, just use OUI to install it, it will fix the subnet mask to 192.168.203.0. If you still choose to install on your own, please refer to the readme for details on how to manually fix it.
It is also safe to install VMware in this fashion even if you already have it installed, just to get the subnets correct. Without this step, as you can see, nothing works inside the VM. This is because we are using fixed IP addresses and the randomly chosen subnet number doesn't match what we expect.
good luck,
Saar. -
Installing Enterprise Manager 10g Grid Control Using an Existing Database
I want to install Enterprise Manager 10g Grid Control 10.2.0.3 using an existing database. This database is RAC 10.2.0.2. and I use it as Infrastructure Metadata Repository.
I is said in Oracle documentation that SYSMAN schema has to be dropped, thus Database console repository has to be dropped. As far as I understand after Grid Control installation I will not be able to use Database console for my RAC 10.2.0.2 Infrastructure Metadata Repository database. I will be able to use only Grid Control for this database.
Am I right? Could you give me any advice about Installing Enterprise Manager 10g Grid Control Using an Existing Database?
Thank you.I am trying to install the OEM rel 2.0 on AIX 5L from the downloaded software zip files which are as below,
AIX_Grid_Control_full_10201_disk1.zip (656,766,406 bytes) (cksum - 2157028496)
AIX_Grid_Control_full_10201_disk2.zip (655,758,726 bytes) (cksum - 2350778444)
AIX_Grid_Control_full_10201_disk3.zip (641,760,716 bytes) (cksum - 2053607771)
AIX_Grid_Control_full_10201_disk4.zip (606,903,411 bytes) (cksum - 4162514797)
AIX_Grid_Control_full_10201_disk5.zip (576,555,758 bytes) (cksum - 3304661461)
AIX_Grid_Control_full_10201_disk6.zip (459,658,650 bytes) (cksum - 3120478203)
AIX_Grid_Control_full_10201_disk7.zip (311,903,435 bytes) (cksum - 2438252536)
AIX_Grid_Control_full_10201_disk8.zip (224,594,251 bytes) (cksum - 2618845234)
I am unable to locate the runInstaller in any of the disks 1- 8 ,can somebody help me on this. Thanks -
How to configure Enterprise Manager in Active Data Guard?
Hi,
I have installed oracle 11g r2 rac with asm in two nodes. OS is hp-Unix.
I have installed oracle11g Active Data Guard using Single alone Database.
Both RAc and Active Data Guard works fine.
I have not configure Data Guard Broker.
Question: How to configure Enterprise Manager in Active Data Guard?
Thanks
Solaimanhttp://www.gokhanatil.com/2012/04/manage-your-existing-data-guards-with.html
-
Hello everybody i use Oracle Database EE 11.2.0.4 with DG.
In those cases i need to get Enterprise Manager Database Control running against DB with no RAC and no DG i perform the following steps:
I Logon SQLPLUS as user SYS or SYSTEM, and drop the sysman account and management objects:
DECLARE
CURSOR c1 IS
SELECT owner, synonym_name name
FROM dba_synonyms
WHERE table_owner = 'SYSMAN';
BEGIN
FOR r1 IN c1 LOOP
IF r1.owner = 'PUBLIC' THEN
EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM '||r1.name;
ELSE
EXECUTE IMMEDIATE 'DROP SYNONYM '||r1.owner||'.'||r1.name;
END IF;
END LOOP;
END;
DROP USER mgmt_view CASCADE;
DROP ROLE mgmt_user;
DROP USER sysman CASCADE;
After that i run
emca -config dbcontrol db -repos recreate
But what should i do in cases i have 2 servers working (primary and standby) under DG rules?Hi ,
It is not possible to monitor/administer a Logical or Physical Standby database, i.e Data Guard, using Enterprise Manager Database Control. This is primarily due to the fact that Database Control is designed to monitor 1 database and a Data Guard environment, by definition, includes more than 1 database.
If you attempt to run emca against a standby Database, you will get an error like (i.e. ORA-01219: database not open).
Database Control, can, of course, be used to monitor the current Primary database (with no ability to administer or monitor Data Guard related functionality). In such a case, when failover occurs Database Control must be reconfigured to run on the new Primary database using the commands detailed in Note 278100.1 How To Drop, Create And Recreate DB Control In A 10g Database, section C. Recreate/ReConfig DB Control, Option 2. Recreate the DB Control Configuration Files and Repository.
Enterprise Manager Grid Control or Cloud Control provides the functionality for viewing, monitoring, and administering primary and standby databases in a Data Guard configuration.
Reference: Is it Possible to Configure Database Control for a Logical or Physical Standby Database? (Doc ID 315116.1)
You can use EM 12c cloud control to monitor and manager Standby DB effectively
Ref to below link for details
Set Up and Manage Oracle Data Guard using Oracle Enterprise Manager Cloud Control 12c
Regards,
Rahul -
Top activity chart on Enterprise manager
Hi,
The Top activity chart is not empty on the Enterprise manager of a 2 node 11gR2 RAC DB,
the statistics_level is set to "typical".
NAME TYPE VALUE
optimizer_use_pending_statistics boolean FALSE
statistics_level string TYPICAL
timed_os_statistics integer 0
timed_statistics boolean TRUE
$emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
https://xx.xx.xx:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/xxx01_orcl/sysman/log
$emctl status agent
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Agent Version : 10.2.0.4.4
OMS Version : 10.2.0.4.4
Protocol Version : 10.2.0.4.4
Agent Home : /u01/app/oracle/product/11.2.0/db_1/xxx01_orcl
Agent binaries : /u01/app/oracle/product/11.2.0/db_1
Agent Process ID : 815
Parent Process ID : 801
Agent URL : https://xxx.xx.xx:3938/emd/main
Repository URL : https://xx.xx.xx:1158/em/upload/
Started at : 2013-09-20 06:39:57
Started by user : oracle
Last Reload : 2013-12-09 19:37:51
Last successful upload : 2013-12-26 09:47:31
Total Megabytes of XML files uploaded so far : 3257.08
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0.00
Available disk space on upload filesystem : 54.07%
Data channel upload directory : /u01/app/oracle/product/11.2.0/db_1/xxxx01_orcl/sysman/recv
Last successful heartbeat to OMS : 2013-12-26 09:49:41
Agent is Running and Ready
How can I enable the Top Activity chart on the Enterprise manager console.
Thanks in advance.There is no pending upload in the EM Agent,
STATISTICS_NAME ACTIVATION_LEV SYSTEM_STATUS STATISTICS_VIEW_NAME SESSIO
Buffer Cache Advice TYPICAL ENABLED V$DB_CACHE_ADVICE NO
MTTR Advice TYPICAL ENABLED V$MTTR_TARGET_ADVICE NO
Timed Statistics TYPICAL ENABLED YES
Timed OS Statistics ALL DISABLED YES
Segment Level Statistics TYPICAL ENABLED V$SEGSTAT NO
PGA Advice TYPICAL ENABLED V$PGA_TARGET_ADVICE NO
Plan Execution Statistics ALL DISABLED V$SQL_PLAN_STATISTICS YES
Shared Pool Advice TYPICAL ENABLED V$SHARED_POOL_ADVICE NO
Modification Monitoring TYPICAL ENABLED NO
Longops Statistics TYPICAL ENABLED V$SESSION_LONGOPS NO
Bind Data Capture TYPICAL ENABLED V$SQL_BIND_CAPTURE NO
Ultrafast Latch Statistics TYPICAL ENABLED NO
Threshold-based Alerts TYPICAL ENABLED NO
Global Cache Statistics TYPICAL ENABLED NO
Active Session History TYPICAL ENABLED V$ACTIVE_SESSION_HISTORY NO
Undo Advisor, Alerts and Fast TYPICAL ENABLED V$UNDOSTAT NO
Ramp up
Streams Pool Advice TYPICAL ENABLED V$STREAMS_POOL_ADVICE NO
Time Model Events TYPICAL ENABLED V$SESS_TIME_MODEL YES
Plan Execution Sampling TYPICAL ENABLED V$ACTIVE_SESSION_HISTORY YES
Automated Maintenance Tasks TYPICAL ENABLED NO
SQL Monitoring TYPICAL ENABLED V$SQL_MONITORING YES
Adaptive Thresholds Enabled TYPICAL ENABLED NO
V$IOSTAT_* statistics TYPICAL ENABLED NO
23 rows selected. -
Hello, I have an oracle rac with 3 nodes and I have oracle database control enterprise manager (No Grid Control).
Yesterday one node was reboot and I don't know why. I want set a rules from enterprise manager or something similar for notificate to me when a reboot from one of my host suceed.
Any one can help me?roberto1979es wrote:
Ok,
Can I program one alert for warning when a node is reboot it?When a node is reboot it. !http://www.wackyb.co.nz/skype/smileys_v1.5.0.60/skype-wackyb-0120-doh.gif!
If i understood correctly what you are trying to ask , you are interested in email notification when your node suddenly reboots/restarts.
And if it is so, this is will not be possible in the way like it is for tablespace, memory and similiar alerts.
Although you could consider monitoring alert.log content, because information about database up-down statuses can be found there.
For example , you could do that either by using external tables or by using shell/batch scripts;depending on the os on what your database is, and then after information that indicates database unexpected reboot is found, forward that information further (e-mail notification) .
Maybe you are looking for
-
How do I transfer funds from one itunes account to another?
I just recived a large amount of money to itunes for the holidays, but I don't need all of this money. My friend (who needs money to itunes) is willing to give my the same amount in cash if I give him the itunes money. Is there any way to transfer al
-
MC.9 Valuated Stock Issue
Hi Experts, MC.9 stock is showing the quantity where MMBE or RWBE or any other stock report is showing the quantity as zero for particular article. For Ex. 100000001 article has 20 EA in MC.9 as a valuated stock in store 3001 but whenever I check in
-
Tables with distribution model(BD64)
Hello I want to transport RFC(sm59), partner profiles(we20), ports(we21), distribution model from one system to another(it is the same system but after PRD->QAS copy). I found following tables containing relevant data: EDIPO EDIPOA EDIPOD EDIPORT ED
-
I cant remember the answers to my security questions..how can i reset it???
-
Before I get my new iPhone 5, I would like to know if I can drop my email address that I use previously for my Apple ID and use my @me.com email address. Is this possible?