How To Unsecure Oracle Grid Control Agent

Often when you install a grid control agent that is installed by default with encryption. The problem may arise when the OMS is not using encryption, so it will not work. To unset encryption you can follow the steps below. However, it is not good security policy; this configuration (send decrypted data), although we are in a secure network (Perimeter security). My recommendation is to always use encryption.

Check the current settings. We see https…

 $ emctl status agent                                              
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0   
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------   
Agent Version     : 11.1.0.1.0                                    
OMS Version       : 11.1.0.1.0                                    
Protocol Version  : 11.1.0.0.0                                    
Agent Home        : /export/home/agent11/agent11g                 
Agent binaries    : /export/home/agent11/agent11g                 
Agent Process ID  : 15871                                         
Parent Process ID : 15808                                         
Agent URL         : http://saturn:3872/emd/main/                 
Repository URL    : https://oms.jupiter.com:4819/em/upload/     
Started at        : 2015-04-23 17:06:58                           
Started by user   : agent11                                       
Last Reload       : 2015-04-23 17:12:10                           
Last successful upload                       : (none)             
Last attempted upload                        : (none)             
Total Megabytes of XML files uploaded so far :     0.00           
Number of XML files pending upload           :       78           
Size of XML files pending upload(MB)         :    37.49           
Available disk space on upload filesystem    :    20.08%          
Last attempted heartbeat to OMS              : 2015-04-23 17:14:41
Last successful heartbeat to OMS             : unknown            
---------------------------------------------------------------   
Agent is Running and Ready        

Stop the agent;

 $ emctl stop agent                                                
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0   
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
Stopping agent ... stopped.                                       

Change the file ..//agent11g/sysman/config/emd.properties. Change the REPOSITORY_URL variable below;

 
# FROM 
# REPOSITORY_URL=https://oms.jupiter.com:4819/em/upload/
# SET TO
REPOSITORY_URL=http://oms.jupiter.com:4819/em/upload/

Startup the agent;

 $ emctl start agent                                               
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0   
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
Starting agent ....................................... started.   

Check again to confirm the change, now we see http;

 $ emctl status agent                                              
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0   
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------   
Agent Version     : 11.1.0.1.0                                    
OMS Version       : 10.2.0.5.0                                    
Protocol Version  : 10.2.0.5.0                                    
Agent Home        : /export/home/agent11/agent11g                 
Agent binaries    : /export/home/agent11/agent11g                 
Agent Process ID  : 21688                                         
Parent Process ID : 21607                                         
Agent URL         : http://saturn-2:3872/emd/main/                 
Repository URL    : http://oms.jupiter.com:4819/em/upload/      
Started at        : 2015-04-23 17:15:22                           
Started by user   : agent11                                       
Last Reload       : 2015-04-23 17:15:22                           
Last successful upload                       : 2015-04-23 17:16:29
Total Megabytes of XML files uploaded so far :    12.04           
Number of XML files pending upload           :        8           
Size of XML files pending upload(MB)         :     1.15           
Available disk space on upload filesystem    :    20.39%          
Last successful heartbeat to OMS             : 2015-04-23 17:16:05
---------------------------------------------------------------   

HTH – Antonio NAVARRO

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s