Install GC Agent on host with GC repository database.
Hello,
I have a couple questions about setting up a Grid Control environment. We are doing a proof of concept for grid control. We currently have two linux servers, one for the repository database (11gR2), and one for the Grid Control/OMS(10gR5).
My question is can we install the GC Agent on the repository database server?
I would like to monitor the repository database server and the repository database itself, but is that possible?
I tried installing the agent on the repository db server and I thought it was a success, but when I run emctl agent status I get the following:
EM Configuration issue. /u01/app/oracle/product/11.2.0/phxoemdb.revenue.int_GRIDDB not found.
Should I use emca and configure the database? I'm worried it will mess with the Grid Control Repository tables.
Well, now that the post is active again, let me respond:
My question is can we install the GC Agent on the repository database server?There is already (or should be) a "Central Agent" on the OMS server. If the EM repository database is on a different server from the OMS, then you do need to install a regular agent.
I would like to monitor the repository database server and the repository database itself, but is that possible?This is definitely possible as long as there is an agent on the server, either the central agent or regular agent like on any other server.
I tried installing the agent on the repository db server and I thought it was a success, but when I run emctl agent status I get the following:If OMS is executing on the same server as the repository database, then there is already a central agent. Each component has it's own Oracle Home, maybe you are trying to execute the commands from a different home. You need to set the correct environment for each component when executing command related to that component.
:p
Similar Messages
-
DUPLICATE DATABASE IN ANOTHER HOST WITH THE SAME DATABASE NAME
Hi all.
I want duplicate a database(dbteste1 host:wander) to another host(magda) with the same database name.
My tnsnames in host wander is this:
DBTESTE1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = wander)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = dbteste1)
DBTEST1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = magda)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = dbteste1)
Tnsping is ok !!!
Follow the rman command;
RMAN> run
duplicate target database to dbtest1 nofilenamecheck;
and i get the following message:
RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE falhou
ORA-01504: o nome 'dbtest1' do banco de dados nÒo corresponde ao parÔmetro db_name 'dbteste1'
If i run this command:
RMAN> run
duplicate target database to dbteste1 nofilenamecheck;
and i get the following message:
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: RMAN-20021: database not set
RMAN-06031: could not translate database keyword
I´m using oracle 9.2.0.7 on WindowsWrong procedure and connection command,
check Oracle document,
Duplicating a Database with Recovery Manager
http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmdupdb.htm#RCMUG012
Follow all steps listed. -
Installing ITS on a host with MULTIPLE IP'S
i need to install the 4 ITS instances (Admin, R/3,B/W & SEM) on on ehost with 4 IP's.... each IP has been assigned to a web site on the IIS (which will be used to access the ITS)...
how do i do this ???????You can either use different IP addresses for each ITS instance or use port numbers to differentiate the instances. When you install ITS, simply specify the website it gonna reside. Since you are hosting 4 instances with different IPs on the same box, you need to udate the hosts files with these information for proper name resolution and also in DNS if you may use in your organization.
-
hello all
any guys here have exprience in installing and upgrading EM 10g Grid control repository database 10.1.0.4(default) to 10.2.0.4 or 11.1.0.6? can you please share steps with me?
thank youIt was a only DB upgrade ? or any additional steps to update repository ?
-
Is a DB license required for EM 10G repository database?
We purchasedOEM10G Grid Control. We're planning to deploy OMS and Repository on a standalone Linux box (which has no other RDBMS running on it), while agents will be spread accross other target Unix boxes. OEM10G comes with a repository database. Do we need a separate license for this repository database on Linux? Can not locate the answer on Oracle Home site.
My impression from what I have read in the manuals is you can run the OMS and repository on a seperate machine and not pay license (RDBMS or Grid Control) for it. You will be paying Grid Control license for all the monitored machines where you have your business applications running. Talk to you sales rep before you proceed because my interpretations will not protect you when Oracle comes after you for more money.
-
Repository database grid infrastructure
Hi
Suppose I want to do fresh grid control 11g installation.
As far as I know lastest database version can be 11.2.0.2.
I am just wondering whether I can use ASM as a reposiotory database storage ?
I am a bit confused with below note:
http://docs.oracle.com/cd/E11857_01/install.111/e15838/install_em_exist_db.htm
Ensure that the existing, certified Oracle Database is not configured with Oracle Grid Infrastructure. This type of configuration is not supportedcan use ASM as a reposiotory database storageSure, don't see why not if ASM is your preference.
confused with below noteGrid starts with a repository database, install the RDBMS software, just the database component(s), and create an instance for the grid repository.
The grid software installs to a separate, new ORACLE_HOME after a database is up and running. -
Repository Database shows at wrong version in Grid Control
Hi all,
I have successfully installed Grid Control and have upgraded the repository database to version 10.2.0.3. When I log into sqlplus to check the version number fit shows 10.2.0.3, but when I look at the database in Grid Control it is displaying as 10.2.0.1.
Does anyone have any idea why that would happen? Where does GC get its information from?
Thanks,
PaulaIt is also worth mentioning that when I used DBUA to upgrade the repository database from 10.2.0.1 to 10.2.0.3 the EM config part failed. Having googled this it seems that this is fine for a Grid Control repository database, as it does not have an EM db console element to it anyway and therefore it cannot be upgraded, but I thoguht I best mention that in case it has a bearing on this issue.
thanks,
Paula -
How to install diagnostic agent for nw 7.0sp17, with solman ehp1- sp25
Hi Gurus,
we are using NW 7.0 Enterprise portal at SP17, want to configure E2E. So installed solution manager 7.0 EHP1 SPS 25.
Ran the Guided procedure solman_setup successfully. with intitial config, basic config and pending at managed system config.
Here my question is:
do i need to install smd agent on solman? or solman itself comes with agent. i cannot see any agent in mmc on solution manager.
What is SOLMANDIAG and SOLMAN AGENT, SMD Agent and Host agent.
The guide (https://websmp207.sap-ag.de/~sapidb/011000358700000952852009E) says before install SMD agent, install host agent, diagnostics agents are available 7.11 on wards, while installing smd agent sapinst asking SAP Unicode Kernel 711 , but currently my NW Portal system is using kernel 7.0..
Any guide, how to proceed for E2E on nw7.0 SP17 with solman ehp1 sp25( highest availale spack)
Thanks in advance.
Regards
BalajiHi Balaji,
As per the SMD agent 7.11 installation guide (https://service.sap.com/~sapidb/011000358700000952852009E) , Page 6 and 8, you would need to download the standard NW 7.11 DVDSs( usually kernel and Installation master) and SMD agent installation packages from the SMP. Location is mentioned in the guide as well.
For your query that Portal is based in i386, these are two different things. The SMD Agent will be installed with its own kernel and also 7.11 kernel is not support edon 32bit. However the SMD agent will use its own 7.11 64bit kernel and Portal will use its i386 kernel. Hopefully your hardware is able to support both. I recommend to proceed with x86_64 7.11 kernel for your SMD installation. Incase the hardwar does not support this, go for alower release of SMD Agent wherein the kernel supports 32 bit hardware.
Best Regards,
Srikishan -
I have installed the agent 10 or 15 times and one installation has failed, no error appeared during the installation but I am having inconsistent issues with my ethernet card not working here and there. We rebooted and can log into Novell client but the login prompt did not appear for ESM client or the icon was not in the systray. Everything seems to work, besides at times (a couple times today) it terminates his ethernet card/connection. I would re-image his computer but he has several applications and it would take several hours, so I am hoping someone has an idea to fix this issue. So I was trying to figure out why he did not get the prompt to login and why it's not in the systray and it appears to not have completed the install? I checked the add/remove programs, its not listed within their, I also checked the registry and found nothing for endpoint within their, but the files are within c:\program files\novell\zenworks endpoint security.
I have also tried uninstalling it but that fails due to it "not being installed", and it will not reinstall over itself either.
I did notice that stuninstdrv.exe is running in task manager. Any help would be great...
Windows xp sp3
ESM 3.5.154
Thanks,
AndyIf you are searching the registry, check for the "Senforce" string. It should be at HKLM\Software\Senforce
Try running the install program for the ZSC with the following command line:
setup.exe /V"STUNINSTALL=1"
If you've specified an uninstall password, try this one instead:
setup.exe /V"STUNINSTALL=1 STUIP=password"" (please note the double quote at the end)
Let me know if that helped you.
Daniel
>>>
From: Andy_DeWees<[email protected] du>
To:novell.support.zenworks.endpoint-security-management
Date: 2/5/2009 12:52 PM
Subject: I have installed the agent 10 or 15 times and one installation hasfailed, no error appeared during the installation but I am havinginconsistent issues with my ethernet card not working here and there. Werebooted and can log into Novell client but the login prompt did not appearfor ESM client or the icon was not in the systray. Everything seems towork, besides at times (a couple times today) it terminates his ethernetcard/connection. I would re-image his computer but he has severalapplications and
I have installed the agent 10 or 15 times and one installation has failed, no error appeared during the installation but I am having inconsistent issues with my ethernet card not working here and there. We rebooted and can log into Novell client but the login prompt did not appear for ESM client or the icon was not in the systray. Everything seems to work, besides at times (a couple times today) it terminates his ethernet card/connection. I would re-image his computer but he has several applications and it would take several hours, so I am hoping someone has an idea to fix this issue. So I was trying to figure out why he did not get the prompt to login and why it's not in the systray and it appears to not have completed the install? I checked the add/remove programs, its not listed within their, I also checked the registry and found nothing for endpoint within their, but the files are within c:\program files\novell\zenworks endpoint security.
I have also tried uninstalling it but that fails due to it "not being installed", and it will not reinstall over itself either.
I did notice that stuninstdrv.exe is running in task manager. Any help would be great...
Windows xp sp3
ESM 3.5.154
Thanks,
Andy -
Error while install IM with LDAP repository
Hi,
like the title says, I am getting error immediately when deploy idm.war on sjsas(glassfishv2):
Starting internal database server ...
com.waveset.util.ConfigurationError:
==> java.sql.SQLException: Connection is broken: java.lang.OutOfMemoryError: Java heap space
at com.waveset.repository.HSqlDBDataStore.getNetworkConnection(HSqlDBDataStore.java:348)
at com.waveset.repository.HSqlDBDataStore.getRawConnection(HSqlDBDataStore.java:460)......
while I was configuring IM installation for resource I have set the ldap data and click the Test Connection button wich is pass and said ok. And I dont have any more databases - should I?
I having Sun Directory Server LDAP running on windows server 2003, but I installed IM on my computer with XP, and I Testing connection with hostename and port works fine (like I said), but should I have Gateway install in this case?
Plese help,
Thanks.
Edited by: mdebac on Nov 13, 2007 6:01 AMHi Guys,
I am also getting same exception.
#|2010-08-12T18:46:37.097+1000|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=10;|com.waveset.util.ConfigurationError:
==> java.sql.SQLException: Connection is broken: java.lang.OutOfMemoryError: Java heap space
at com.waveset.repository.HSqlDBDataStore.getNetworkConnection(HSqlDBDataStore.java:348)
at com.waveset.repository.HSqlDBDataStore.getRawConnection(HSqlDBDataStore.java:460)
at com.waveset.repository.RelationalDataStore.connect(RelationalDataStore.java:4528)
at com.waveset.repository.RelationalDataStore.open(RelationalDataStore.java:7632)
at com.waveset.repository.RelationalDataStore.checkDatabaseMetaData(RelationalDataStore.java:3938)
at com.waveset.repository.RelationalDataStore.init(RelationalDataStore.java:3788)
at com.waveset.repository.ServerRepository.initDataStore(ServerRepository.java:1508)
at com.waveset.repository.ServerRepository.getPrimaryDataStore(ServerRepository.java:1385)
at com.waveset.repository.ServerRepository.getPrimaryDataStore(ServerRepository.java:1351)
at com.waveset.repository.ServerRepository.init(ServerRepository.java:741)
at com.waveset.repository.ServerRepository.<init>(ServerRepository.java:717)
at com.waveset.repository.ServerRepository.getRepository(ServerRepository.java:158)
at com.waveset.server.Server.init(Server.java:271)
at com.waveset.server.Server.start(Server.java:237)
at com.waveset.server.Server.getServer(Server.java:826)
at com.waveset.server.Server.getServer(Server.java:803)
at com.waveset.server.StartupServlet.startServer(StartupServlet.java:441)
at com.waveset.server.StartupServlet.init(StartupServlet.java:116)
at javax.servlet.GenericServlet.init(GenericServlet.java:261)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4536)
at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:847)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
at org.apache.catalina.startup.Embedded.start(Embedded.java:894)
at com.sun.enterprise.web.WebContainer.start(WebContainer.java:741)
at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:515)
at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:54)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: java.sql.SQLException: Connection is broken: java.lang.OutOfMemoryError: Java heap space
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at com.waveset.repository.HSqlDBDataStore.getNetworkConnection(HSqlDBDataStore.java:332)
... 44 more
Wrapped exception: -
I can't install Windows 7 key over KMS host with WS 2012 R2
Hi
I have a KMS Host with Windows Server 2012 R2. I don't have problems installing keys for Windows 8, Windows 8.1, Office 2013, Windows Server 2012 R2. However, when I tried install keys for Windows 7, Windows 2008 R2 and Windows 2008, I have the next message:
C:\slmgr.vbs /ipk <Windows 7 key>
Error: 0xC004F050 The Software Licensing Service reported that the product key is invalid
I've installed the keys from the same source.
GaryHi
I have a KMS Host with Windows Server 2012 R2. I don't have problems installing keys for Windows 8, Windows 8.1, Office 2013, Windows Server 2012 R2. However, when I tried install keys for Windows 7, Windows 2008 R2 and Windows 2008, I have the next message:
C:\slmgr.vbs /ipk <Windows 7 key>
Error: 0xC004F050 The Software Licensing Service reported that the product key is invalid
I've installed the keys from the same source.
Gary
For a KMShost with the OS=WS2012R2, you cannot, and, there is no need to, install any other Windows KMShost keys. The WS2012R2 KMShost key, by itself, will activate the KMShost OS, and will also enable the issuing of activations for ALL Windows KMSclients.
Office KMS features are different, and do need to be installed for Office KMSclient activations.
The error you are experiencing is expected, and is a result of your attempt to perform an unnecessary configuration step.
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
Is it possible to monitor more than one target/Host with one agent in OEM 12c?
Hi,
Is it possible to monitor more than one target/Host with one agent in OEM 12c? Please assist me on thisSince by definition a single EM agent must reside on a single database host, then, no, you can't monitor multiple hosts.
Unless you mean that you want to monitor multiple virtual hosts from a single physical host ... but in that case, you'd still need one host per database host.
That's just the way EM works. Always has, probably always will. -
Install Intelligent Agent with 11i Applications
Hi all !
I want to manage centrelize three 11i applications of three enterprises on linux plaftform, but Intelligent Agent was not installed with 11i installation. So, how can i install Intelligent Agent on that environments to discover nodes on Oracle Management Server. I user OMS 9iR2, Windows plaftform.
Thanks and regards !jrh (guest) wrote:
: antp (guest) wrote:
: : Hi!
: : I try to start Intelligent Agent 8.1.5 under RH6.0 and got...
: : nothing! Absolutly nothing! lsnrctl exits with no messages...
: : $ lsnrctl dbsnmp_start
: : LSNRCTL for Linux: Version 8.1.5.0.0 - Production on
26-OCT-99
: : 16:33:07
: : (c) Copyright 1998 Oracle Corporation. All rights
: reserved.
: : $
: : It displays no output, no logs -- nothing, even if I
configure
: : listener to trace_level=16. It doesn't write snmp_ro.ora nor
: : snmp_rw.ora files...
: : I have tcl 8.0 installed with Linux, and it works perfectly.
: What
: : should I do to start Intelligent Agent? Should I install tcl
: 7.5
: : as recommended by Oracle?
: : Thanks, Anthony
: : p.s. Sorry for my English :)
: The only file from the TCL 7.5 distribution that you need is
: libtcl7.5.a. After you build the library and copy it to
: your ?/network/lib directory, the rest of the 7.5 distribution
: can be safely deleted to eliminate conflicts with later TCL
: versions.
It doesn't work. I've compiled tcl 7.5 and copied the
libtcl7.5.a
file to $ORACLE_HOME/network/lib directory, and got the same
result as I've wrote above -- lsnrctl exits with no messages.
Does anybody has any ideas?
Thanks, Anthony.
null -
Installing EM agents with multiple oracle owners
Hi
I am planning to install and configure EM Grid Control in my environment. How many agents do I need to configure if I have several oracle software owners on a server e.g.
server1:
- oracle9 for Oracle 9i database
- oracle10 for Oracle 10gR1 database
- oracle102 for Oracle 10gR2 database
server2:
- ora1 for Oracle 9i DB
- ora2 for Oracle 9i DB
- ora3 for Oracle 10gR2 DB
Do I have to install 3 agents on each server (agent per Oracle software owner) or do I have to install only 1 agent per server?
Regards,
JarekHi
there is no central inventory. We are modifying it for every Oracle installation. Therefore we have several /var/opt/oracle/oraInst.loc* files. There is one file per Oracle OS user. So it is as I wrote - each installation has its own inventory in:
/oracle/app/<ORACLE_SID>/oraInventory location
BTW. It's HP-UX and oraInst.loc is in /var/opt/oracle/ directory.
Regards,
Jarek -
Upgrade of database with GC repository resides
I have GC 10.2.0.3 running with the repository stored in a 9.2.0.8 database.
I would like to upgrade the database to 10.2.0.3 using dbua if possible. When the dbua sees an upgrade to 10.2 it creates a new SYSMAN schema, but I already have one that the Grid Control install created when I used the option "install into an existing database."
I've searched MetaLink on how to do this, and created a SR but am having trouble getting support to understand what I'm attempting.
I'm open to anything, create a new database, etc. The only thing I want to be sure of is to not loose the information that I've already established in Grid, and I'm assuming it's stored in the SYSMAN schema.Totally fresh clean 10gR2 database on a different host and platform.
2.3 Export/Import
If the source and destination database is non-10g, then export/import is the only option for cross platform database migration.
For performance improvement of export/import, set higher value for BUFFER and RECORDLENGTH . Do not export to NFS as it will slow down the process considerably.
Direct path can be used to increase performance. Note – As EM uses VPD, conventional mode will only be used by Oracle on tables where policy is defined.
Also User running export should have EXEMPT ACCESS POLICY privilege to export all rows as that user is then exempt from VPD policy enforcement. SYS is always exempted from VPD or Oracle Label Security policy enforcement, regardless of the export mode, application, or utility that is used to extract data from the database.
2.3.1 Prepare for Export/Import
* Mgmt_metrics_raw partitions check
select table_name,partitioning_type type,
partition_count count, subpartitioning_type subtype from
dba_part_tables where table_name = 'MGMT_METRICS_RAW'
If MGMT_METRICS_RAW has more than 3276 partitions please see Bug 4376351 – This bug is fixed in 10.2. Old partitions should be dropped before export/import to avoid this issue – This will also speed up the export/import process.
To drop old partitions - run exec emd_maintenance.partition_maintenance
(This needs shutdown of OMS and set job_queue_processes to 0 during the time drop partitions is run) – Please refer to EM Performance Best practices document for more details on usage.
Workaround to avoid bug 4376351 is to export mgmt_metrics_raw in conventional mode – This is needed only if drop partition is not run. Note - drop old partitions run is highly recommended.
* Shutdown OMS instances and prepare for migration
Shutdown OMS, set job queue_processes to 0 and remove dbms jobs using commands
connect /as sysdba
alter system set job_queue_processes=0;
connect sysman/<password>
@ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_remove_dbms_jobs.sql
2.3.2 Export
Before running export make sure that NLS_LANG variable is same as database characterset. For example after running this query
SQL> select value from nls_database_parameters where PARAMETER='NLS_CHARACTERSET';
VALUE
WE8ISO8859P1
Then NLS_LANG environment variable should be set to AMERICAN_ AMERICA. WE8ISO8859P1
* Export data
exp full=y constraints=n indexes=n compress=y file=fullem102_1.dmp log=fullem102exp_1.log
Provide system username and password when prompted.
Verify the log file and make sure that no characterset conversion happens (this line should not be present in log file “possible charset conversion”)
* Export without data and with constraints
exp full=y constraints=y indexes=y rows=n file=fullem102_2.dmp log=fullem102exp_2.log
Provide system username and password when prompted
2.3.3 Import
Before running import make sure that NLS_LANG variable is same as database characterset.
* Run RepManager to drop target repository (if target database has EM repository installed)
cd ORACLE_HOME/ sysman/admin/emdrep/bin
RepManager repository_host repository_port repository_SID -sys_password password_for_sys_account -action drop
* Pre-create the tablespaces and the users in target database
@ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_create_tablespaces.sql
@ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_create_repos_user.sql
@ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_pre_import.sql
For first 2 scripts, we need to provide input arguments when prompted or you can provide them on command line for example
@ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_create_tablespaces.sql MGMT_TABLESPACE <path>/mgmt.dbf <size of mgmt.dbf> <aotoextend size> MGMT_ECM_DEPOT_TS <path>/mgmt_ecm_depot1.dbf <size of mgmt_ecm_depot1.dbf> <aotoextend size> MGMT_TABLESPACE <path>/mgmt.dbf <size of mgmt.dbf> <aotoextend size>
@/scratch/nagrawal/OracleHomes/oms10g/sysman/admin/emdrep/sql/core/latest/admin/admin_create_repos_user.sql sysman <sysman password> MGMT_TABLESPACE TEMP CENTRAL ON
* Import data -
imp constraints=n indexes=n FROMUSER=sysman TOUSER=sysman buffer=2097152 file=fullem102_1.dmp log=fullem102imp_1.log
* Import without data and with constraints -
imp constraints=y indexes=y FROMUSER=sysman TOUSER=sysman buffer=2097152 rows=n ignore=y file=fullem102_2.dmp log=fullem102imp_2.log
Verify the log file and make sure that no characterset conversion happens (this line should not be present in log file “possible charset conversion”)
2.3.4 Post Import EM Steps
* Please refer to Section 3.1 for Post Migration EM Specific Steps
3 Post Repository Migration Activities
3.1 Post Migration EM Steps
Following EM specific Steps should be carried out post migration -
* Recompile all invalid objects in sysman schema using
connect sysman/<password>
@ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_recompile_invalid.sql
* Run post plugin steps to recompile any invalids, create public synonyms, create other users, enable VPD policy, repin packages-
connect sysman/<password>
@ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_create_synonyms.sql
@ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_post_import.sql
Provide <ORACLE_HOME/sysman/admin/emdrep/sql for em_sql_root
SYSMAN for em_repos_user
MGMT_TABLESPACE for em_tablespace_name
TEMP for em_temp_tablespace_name
Note – The users created by admin_post_import will have same passwords as username.
Check for invalid objects – compare source and destination schemas for any discrepancy in counts and invalids.
* Following queues are not enabled after running admin_post_import.sql as per EM bug 6439035, enable them manually by running
connect sysman/<password>
exec DBMS_AQADM.START_QUEUE( queue_name=> 'MGMT_TASK_Q');
exec DBMS_AQADM.START_QUEUE( queue_name=> 'MGMT_PAF_RESPONSE_Q');
exec DBMS_AQADM.START_QUEUE( queue_name=> 'MGMT_PAF_REQUEST_Q');
exec DBMS_AQADM.START_QUEUE( queue_name=> 'MGMT_LOADER_Q');
* Please check for context using following query
connect sysman/<password>
select * from dba_context where SCHEMA='SYSMAN';
If any of following context is missing create them using
connect sysman/<password>
create or replace context storage_context sing storage_ui_util_pkg;
create or replace context em_user_context sing setemusercontext;
* Partition management
Check if necessary partitions are created so that OMS does not run into problems for loading into non-existent partitions (This problem can come only if there are gap of days between export and import) –
exec emd_maintenance.analyze_emd_schema('SYSMAN');
This will create all necessary partitions up to date.
* Submit EM dbms jobs
Reset back job_queue_processes to original value and resubmit EM dbms jobs
connect /as sysdba
alter system set job_queue_processes=10;
connect sysman/<password>
@ORACLE_HOME/sysman/admin/emdrep/sql/core/latest/admin/admin_submit_dbms_jobs.sql
* Update OMS properties and startup OMS
Update emoms.properties to reflect the migrated repository - oracle.sysman.eml.mntr.emdRepConnectDescriptor
Update host name, port with the correct value and start the OMS.
* Relocate “Management Services and Repository” target
If “Management Services and repository” target needs to be migrated to the destination host, delete the old "Management Services and Repository" target. Add it again with same name "Management Services and Repository" on agent running on new machine.
* Run following sql to verify the repository collections are enabled for emrep target
SELECT
target_name,
metric_name,
task.task_id,
task.interval,
task.error_message,
trunc((mgmt_global.sysdate_utc-next_collection_timestamp )/1440) delay
from mgmt_collection_metric_tasks mtask,
mgmt_collection_tasks task,
mgmt_metrics met,
mgmt_targets tgt
where met.metric_guid = mtask.metric_guid AND
tgt.target_guid = mtask.target_guid AND
mtask.task_id = task.task_id(+) AND
met.source_type > 0 AND
met.source != ' '
AND tgt.target_type='oracle_emrep'
ORDER BY mtask.task_id;
This query should result same records in both source and destination database. If you find any of collections missing in destination database, run following to schedule them in destination database
DECLARE
traw RAW(16);
tname VARCHAR2(256);
ttype VARCHAR2(64);
BEGIN
SELECT target_name, target_type, target_guid
INTO tname, ttype, traw
FROM mgmt_targets
WHERE target_type = 'oracle_emrep';
mgmt_admin_data.add_emrep_collections(tname,ttype,traw);
END;
* Discover/relocate Database and database Listener targets
Delete the old repository database target and listener and rediscover the target database and listener in EM
Maybe you are looking for
-
Ipod classic 80 freezes itunes and won't work
upgraded itunes to 10.1 (etc). plugged in formerly operating ipod classic 80. it showed up in the device list,. but i could not move the cursor off music. had to use ctrl-alt-delete to close itunes. ipod would not disconnect. tried to disconnectg by
-
Is there a way to close a pinned tab without unpinning it or closing the browser completely?
when i have one of my pinned tabs opened and i open a new tab, i cant find a way to close the pinned tab without closing the browser completly. is there a way to close a pinned tab? thanks.
-
The system copy with Sapinst has changed the schema in oracle
Hi; have done a copy Homogeneous of a system and after having all correct I have seen that has changed the name of the Schemas and the name of the tablespace. the system is a PI NW2004S. When the oraginal schema is SAPSR3DB, in the target system is S
-
Can I open all of mine emails with one Master Password ?
After entering master password, I have to enter password for each of mine email accounts also. Let's say for 20 accounts I must enter 20 different passwords, and it's time consuming. Can Thunderbird store all my passwords, so I can open all email acc
-
Filter on the groupOfNames member (again :-( )
Hi All, sorry to bother again about this topic. I've posted a thread about using an LDAP filter from Java. I need to know the group which an user (uid) belongs. For example: dn: cn=User,ou=Roles,ou=NMS objectclass: top objectclass: groupOfNames cn: U