iSelfSchooling.com - Copyright © 1999-2007 iSelfSchooling.com  References  Job Openings  |  Secure Login
    Home  | Search more...  |  FREE Online VIDEO Oracle Training  |  Gift Store  |  Bookstore

   Unlimited access!   

    Oracle  Syntax  | Suggestions Your Contribution  |  FREE Legal Forms

 

Email2aFriend Homepage us! |  Bookmark   -  Copyright & User Agreement

Products/Services

 Vision/Mission

 Community Sharing

 Services

  Products

 Biography

 Contact Us

 FAQ

 Current News

 Website Traffic

 Bookstore

 FREE Training

 SQL

 PL/SQL

 Forms 

 Reports

 Other TOOLS

 Fundamentals

 Performance

 OEM

 Application Server

 Grid Control

 Articles

 Prepare for OCP

Oracle SYNTAX

 Oracle Functions

 Oracle Syntax

 Oracle 10g Syntax

  PL/SQL Syntax

UNIX and more...

 UNIX for DBAs

 LINUX for DBAs

 DB using PHP

  A+ Certification

 Basics of JAVA  

 Tips of  SEO

Finance/Jobs

 Financial Aid

 Skilled

 Oracle

 Jobs

  Magazine

More Training

 Q & Answers

 SQL-PL/SQL

 DBA

 Developer

 Important Notes

 Case Studies

 9i New Features

 10g New Features

 10g Qs/As

 Grid Control

 OracleAS # I

 OracleAS # II

  LDAP and OID

  HTTP Server

 Instructor-Led

  Virtual Hosts

 Community Sharing

More to know...

Acknowledgement**

 FREE Legal Forms

 Who is who

 Market Place

 University Directory

 Advisory Articles

 Links...

 

 

Oracle Tips/Questions and Answers:

 

More Resources by Google:

 

Question: I had a Grid Control for monitoring several of my Oracle database servers, Operating Systems, Oracle Application Servers, plus few Oracle Agents. It was working like a champ. I did not have any problems until my boss wanted me to change the location of Grid Control to a new server. He wanted me to change my Grid Control server from GridControlA to GridControlB. 

So, I installed my new version of Grid Control to my new server GridControlB. I removed Grid Control on GridControlA and shutdown the server. I went to each database servers and updated the emd.properties file and change the wallet and repository_url properties to point to the new Grid Control.

Now, my Grid Control can not see any of my database targets. What have I done wrong? Please help.



Answer:
You have not down anything wrong. You have done only the half of the steps. Remember, when you start your agent. Your agent creates some other files with information about the OMS. You need to clear those files and re-create them. The following are the steps that you need to do in order your Grid Control sees your servers.


Steps to redirect agent to your Grid Control server:
Assuming that your Grid Control is up and running.
Go to each of the servers that you want to redirect its agent to your new Grid Control server and then do the following:

1. Stop the agent on the target node 
$ORACLE_HOME/bin/emctl stop agent 

2. Edit emd.properties (wallet-emdWalletSrcUrl and repository_url)

# vi $AGENT_HOME/sysman/config/emd.properties

Make sure that you enter your server name with a correct port number. The default port number is: 4889. If you have changed your port number on your Grid Control installation, you should change it to your changed number.

3. Delete any pending upload files from the agent home 
rm -r $ORACLE_HOME/sysman/emd/state/* 
rm -r $ORACLE_HOME/sysman/emd/collection/* 
rm -r $ORACLE_HOME/sysman/emd/upload/* 
rm $ORACLE_HOME/sysman/emd/lastupld.xml 
rm $ORACLE_HOME/sysman/emd/agntstmp.txt 
rm $ORACLE_HOME/sysman/emd/blackouts.xml 
rm $ORACLE_HOME/sysman/emd/protocol.ini 

4. Issue an agent clearstate from the agent home 
$ORACLE_HOME/bin/emctl clearstate agent

$ORACLE_HOME/bin/emctl secure agent <sysman pass>

5. Start the agent 
$ORACLE_HOME/bin/emctl start agent 

6. Force an upload to the OMS 
$ORACLE_HOME/bin/emctl upload agent

within a few moments you should be able to see all the grid targets.


Good Luck!

 

 
 
Google
 
Web web site