User Tools

Site Tools


cloudcontrol

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cloudcontrol [2015/10/04 18:17] – [Installation of Agent (Windows)] z0hpvkcloudcontrol [2025/03/08 22:24] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ===== Cloud Control 12c ===== ===== Cloud Control 12c =====
 ==== Installation of Agent (Linux) ==== ==== Installation of Agent (Linux) ====
 +Before installing confirm that you can ssh to target from OMS host.
  
-  1. Setup --> Add Target --> Add Targets Manually\\ +  1. Setup --> Add Target --> Add Targets Manually 
-  2. Enter hostname including domain and select Linux x86-64\\ +  2. Enter hostname including domain and select Linux x86-64 
-  3. Installation Base Directory   : /u01/app/oracle/middleware12c\\  +  3. Installation Base Directory   : /u01/app/oracle/middleware12c 
-     Instance Directory            : /u01/app/oracle/middleware12c/agent_inst\\ +     Instance Directory            : /u01/app/oracle/middleware12c/agent_inst 
-     Named Credential              : Use previous or create new one\\ +     Named Credential              : Use previous or create new one 
-     Privileged Delegation Setting : Remove default text, should be blank\\ +     Privileged Delegation Setting : Remove default text, should be blank 
-     Port                          : 3872\\ +     Port                          : 3872 
-  4. Login as root user and run /u01/app/oracle/middleware12c/core/12.1.0.1.0/root.sh+  4. Login as root user and run /u01/app/oracle/middleware12c/core/12.1.0.4.0/root.sh
  
  
 ==== Installation of Agent (Windows) ==== ==== Installation of Agent (Windows) ====
- +http://docs.oracle.com/cd/E24628_01/install.121/e24089/install_agent_usng_rsp.htm#EMADV137
-http://docs.oracle.com/cd/E25054_01/install.1111/e24089/install_agent_usng_rsp.htm#CEGBIBBI+
  
   1. Create Directories "D:\Oracle\Cloud12c" and "D:\AgentInst" on Agent Host   1. Create Directories "D:\Oracle\Cloud12c" and "D:\AgentInst" on Agent Host
   2. Use emcli to download latest Agent software from OMS   2. Use emcli to download latest Agent software from OMS
      cd $OMS_HOME/bin      cd $OMS_HOME/bin
 +     export ZIP_LOC=/usr/bin/zip
      ./emcli login -username=sysman      ./emcli login -username=sysman
-     ./emcli get_agentimage -destination=/home/oracle -platform="Microsoft Windows (32-bit)" -version=12.1.0.2.0 +     ./emcli get_agentimage -destination=/tmp -platform="Microsoft Windows x64 (64-bit)" -version=12.1.0.4.0
-     OR +
-     ./emcli get_agentimage -destination=/home/oracle -platform="Microsoft Windows x64 (64-bit)" -version=12.1.0.2.0+
   3. Transfer downloaded software to Windows Host (D:\AgentInst)   3. Transfer downloaded software to Windows Host (D:\AgentInst)
   4. Unzip and edit agent.rsp file (Change 4 parameters)   4. Unzip and edit agent.rsp file (Change 4 parameters)
-     OMS_HOST=sheffield.bournemouth.ac.uk +     OMS_HOST=hostname 
-     EM_UPLOAD_PORT=4904 +     EM_UPLOAD_PORT=Usually 4903 or 4904 
-     AGENT_REGISTRATION_PASSWORD=<sysman password>+     AGENT_REGISTRATION_PASSWORD=<Secure Key Password>
      AGENT_PORT=3872      AGENT_PORT=3872
   5. Open DOS prompt as administrator and navigate to D:\AgentInst   5. Open DOS prompt as administrator and navigate to D:\AgentInst
Line 35: Line 34:
 ==== Useful Commands on OMS Host ==== ==== Useful Commands on OMS Host ====
  
-export OMS_HOME=/u01/app/oracle/middleware12/oms +export OMS_HOME=/u01/app/oracle/middleware12/oms\\ 
-$OMS_HOME/bin/emctl status oms +$OMS_HOME/bin/emctl status oms\\ 
-$OMS_HOME/bin/emctl stop oms +$OMS_HOME/bin/emctl stop oms\\ 
-$OMS_HOME/bin/emctl start oms+$OMS_HOME/bin/emctl start oms\\
  
  
 ==== Useful Commands on Agent Host ==== ==== Useful Commands on Agent Host ====
  
-export OMS_HOME=/u01/app/oracle/middleware12c/core/12.1.0.1.0 +export OMS_HOME=/u01/app/oracle/middleware12c/core/12.1.0.1.0\\ 
-$OMS_HOME/bin/emctl status agent +$OMS_HOME/bin/emctl status agent\\ 
-$OMS_HOME/bin/emctl stop agent +$OMS_HOME/bin/emctl stop agent\\ 
-$OMS_HOME/bin/emctl start agent +$OMS_HOME/bin/emctl start agent\\ 
-$OMS_HOME/bin/emctl upload agent     : Upload data to OMS +$OMS_HOME/bin/emctl upload agent     : Upload data to OMS\\ 
-$OMS_HOME/bin/emctl clearstate agent : Force agent to re-read status of host and re-send data to OMS +$OMS_HOME/bin/emctl clearstate agent : Force agent to re-read status of host and re-send data to OMS\\ 
-$OMS_HOME/bin/emctl pingOMS          : Check connectivity between agent and OMS+$OMS_HOME/bin/emctl pingOMS          : Check connectivity between agent and OMS\\ 
 + 
 +==== Remove Agent from OMS ==== 
 +__**On Target**__ 
 +  ./emctl stop agent 
 + 
 +__**On OMS Host**__ 
 +  ./emcli login -username 
 +  ./emcli sync 
 +  ./emcli delete_target -name="hostname:3872" -type="oracle_emd" -delete_monitored_targets
  
cloudcontrol.1443982638.txt.gz · Last modified: 2025/03/08 22:23 (external edit)