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:15] 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, run root.sh at end of installation\\ +     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 
- +  2. Use emcli to download latest Agent software from OMS 
-1. Create Directories "D:\Oracle\Cloud12c" and "D:\AgentInst" on Agent Host +     cd $OMS_HOME/bin 
-2. Use emcli to download latest Agent software from OMS +     export ZIP_LOC=/usr/bin/zip 
-   cd $OMS_HOME/bin +     ./emcli login -username=sysman 
-   ./emcli login -username=sysman +     ./emcli get_agentimage -destination=/tmp -platform="Microsoft Windows x64 (64-bit)" -version=12.1.0.4.0 
-   ./emcli get_agentimage -destination=/home/oracle -platform="Microsoft Windows (32-bit)" -version=12.1.0.2.0 +  3. Transfer downloaded software to Windows Host (D:\AgentInst) 
-   OR +  4. Unzip and edit agent.rsp file (Change 4 parameters) 
-   ./emcli get_agentimage -destination=/home/oracle -platform="Microsoft Windows x64 (64-bit)" -version=12.1.0.2.0 +     OMS_HOST=hostname 
-3. Transfer downloaded software to Windows Host (D:\AgentInst) +     EM_UPLOAD_PORT=Usually 4903 or 4904 
-4. Unzip and edit agent.rsp file (Change 4 parameters) +     AGENT_REGISTRATION_PASSWORD=<Secure Key Password
-   OMS_HOST=sheffield.bournemouth.ac.uk +     AGENT_PORT=3872 
-   EM_UPLOAD_PORT=4904 +  5. Open DOS prompt as administrator and navigate to D:\AgentInst 
-   AGENT_REGISTRATION_PASSWORD=<sysman password+     agentDeploy.bat AGENT_BASE_DIR=D:\Oracle\Cloud12c RESPONSE_FILE=D:\AgentInst\agent.rsp
-   AGENT_PORT=3872 +
-5. Open DOS prompt as administrator and navigate to D:\AgentInst +
-   agentDeploy.bat AGENT_BASE_DIR=D:\Oracle\Cloud12c RESPONSE_FILE=D:\AgentInst\agent.rsp+
  
  
 ==== 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.1443982532.txt.gz · Last modified: 2025/03/08 22:23 (external edit)