iSelfSchooling.com  Since 1999     References  |  Search more  | Oracle Syntax  | Free Online Oracle Training

    Home      .Services     Login       Start Learning     Certification      .                 .Share your BELIEF(s)...

 

. Online Accounting        .Copyright & User Agreement   |
    .Vision      .Biography     .Acknowledgement

.Contact Us      .Comments/Suggestions       Email2aFriend    |

 

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