ORACLE EMCC13安装配置
参考料:
http://blog.itpub.net/29785807/viewspace-2683708/
EMCC下载,共包含6个文件:https://www.oracle.com/enterprise-manager/downloads/cloud-control-downloads.html
https://www.oracle.com/enterprise-manager/downloads/linux-x86-64-13c-rel4-downloads.html
数据库:Oracle数据库使用本机安装的18c数据库,orcl
目录:oracle目录为/u01
EMCC目录为/u02
IP:192.168.165.199
[oracle@host01 u02]$mkdir tmp
[oracle@host01 u02]$ mkdir emcc
[oracle@host01 u02]$ mkdir /u02/{middleware,agent} -p
[oracle@host01 u02]$ chown oracle:oinstall /u02 -R
[oracle@host01 u02]$ chown -R 775 /u02
[oracle@host01 emcc]$ export DISPLAY=:0.0
[oracle@host01 emcc]$ ./em13200_linux64.bin
根据提示修改参数
SQL> alter system set "_allow_insert_with_update_check"=TRUE;
alter system set "_optimizer_nlj_hj_adaptive_join"= FALSE scope=both ;
alter system set "_optimizer_strans_adaptive_pruning" = FALSE scope=both ;
alter system set "_px_adaptive_dist_method" = OFF scope=both ;
alter system set "_sql_plan_directive_mgmt_control" = 0 scope=both ;
alter system set "_optimizer_dsdir_usage_control" = 0 scope=both ;
alter system set "_optimizer_use_feedback" = FALSE scope=both ;
alter system set "_optimizer_gather_feedback" = FALSE scope=both ;
alter system set "_optimizer_performance_feedback" = OFF scope=both ;
等待。。。。。
又过了一个小时,等待。。。。。
This information is also available at: /u02/middleware/install/setupinfo.txt See the following for information pertaining to your Enterprise Manager installation: Use the following URL to access: 1. Enterprise Manager Cloud Control URL: https://emcc13:7803/em 2. Admin Server URL: https://emcc13:7102/console 3. BI Publisher URL: https://emcc13:9803/xmlpserver The following details need to be provided while installing an additional OMS: 1. Admin Server Host Name: emcc13 2. Admin Server Port: 7102 You can find the details on ports used by this deployment at : /u02/middleware/install/portlist.ini NOTE: An encryption key has been generated to encrypt sensitive data in the Management Repository. If this key is lost, all encrypted data in the Repository becomes unusable. A backup of the OMS configuration is available in /u02/gc_inst/em/EMGC_OMS1/sysman/backup on host emcc13. See Cloud Control Administrators Guide for details on how to back up and recover an OMS. NOTE: This backup is valid only for the initial OMS configuration. For example, it will not reflect plug-ins installed later, topology changes like the addition of a load balancer, or changes to other properties made using emctl or emcli. Backups should be created on a regular basis to ensure they capture the current OMS configuration. Use the following command to backup the OMS configuration: /u02/middleware/bin/emctl exportconfig oms -dir <backup dir> |
安装过程后台输出:
[oracle@emcc13 EMCC]$ ./em13200_linux64.bin 0%.........................................................................100% Launcher log file is /tmp/OraInstall2020-05-17_01-29-31AM/launcher2020-05-17_01-29-31AM.log. Starting Oracle Universal Installer Checking if CPU speed is above 300 MHz. Actual 3792.881 MHz Passed Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed Checking swap space: must be greater than 512 MB. Actual 2047 MB Passed Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required) Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2020-05-17_01-29-31AM ====Prereq Config Location main=== /tmp/OraInstall2020-05-17_01-29-31AM/stage/prereq EMGCInstaller args -scratchPath EMGCInstaller args /tmp/OraInstall2020-05-17_01-29-31AM EMGCInstaller args -sourceType EMGCInstaller args network EMGCInstaller args -timestamp EMGCInstaller args 2020-05-17_01-29-31AM EMGCInstaller args -paramFile EMGCInstaller args /tmp/sfx_4rwAZT/Disk1/install/linux64/oraparam.ini EMGCInstaller args -nocleanUpOnExit DiskLoc inside SourceLoc/u02/EMCC EMFileLoc:/tmp/OraInstall2020-05-17_01-29-31AM/oui/em/ ScratchPathValue :/tmp/OraInstall2020-05-17_01-29-31AM ConfigSharedLocation : shareLocationForBIP.isSelectedtrue ConfigSharedLocation : bipConfigText ConfigSharedLocation :bipClusterText hostname instantiation HOSTNAME=emcc13 hostname instantiation ADMIN_SERVER_HOSTNAME=emcc13 hostname instantiation MANAGED_SERVER_HOSTNAME=emcc13 hostname instantiation s_hostname=emcc13 Visit http://www.oracle.com/support/policies.html for Oracle Technical Support policies. .................................................................................................. Installation in progress (Sunday, May 17, 2020 1:33:50 AM EDT) 98% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:33:50 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:33:50 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:33:50 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:33:51 AM EDT) ............................................................... 24% Done. ............................................................... 49% Done. ............................................................... 73% Done. ............................................................... 98% Done. .. Installation in progress (Sunday, May 17, 2020 1:34:03 AM EDT) 98% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:03 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:03 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:03 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:04 AM EDT) .................................................................................................. Installation in progress (Sunday, May 17, 2020 1:34:09 AM EDT) 98% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:09 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:09 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:09 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:10 AM EDT) ............................................................... 21% Done. ............................................................... 43% Done. ............................................................... 64% Done. ............................................................... 86% Done. ...................................... Installation in progress (Sunday, May 17, 2020 1:34:20 AM EDT) 98% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:20 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:20 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:20 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:21 AM EDT) .................................................................................................. Installation in progress (Sunday, May 17, 2020 1:34:25 AM EDT) 98% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:26 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:26 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:26 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:26 AM EDT) .................................................................................................. Installation in progress (Sunday, May 17, 2020 1:34:28 AM EDT) 98% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:28 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:28 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:28 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:29 AM EDT) .................................................................................... Installation in progress (Sunday, May 17, 2020 1:34:30 AM EDT) 84% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:30 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:30 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:30 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:30 AM EDT) .................................................................................................. Installation in progress (Sunday, May 17, 2020 1:34:32 AM EDT) 98% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:32 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:32 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:32 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:33 AM EDT) ................................................................................................ Installation in progress (Sunday, May 17, 2020 1:34:34 AM EDT) 96% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:34 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:34 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:34 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:35 AM EDT) ........................................................................ Installation in progress (Sunday, May 17, 2020 1:34:35 AM EDT) 72% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:35 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:35 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:35 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:36 AM EDT) ............................................................................... Installation in progress (Sunday, May 17, 2020 1:34:37 AM EDT) 79% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:37 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:37 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:37 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:37 AM EDT) .............................................................................................. Installation in progress (Sunday, May 17, 2020 1:34:38 AM EDT) 94% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:38 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:38 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:38 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:39 AM EDT) ........................................................................................... Installation in progress (Sunday, May 17, 2020 1:34:39 AM EDT) 91% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:39 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:39 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:39 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:40 AM EDT) ................................................................................... Installation in progress (Sunday, May 17, 2020 1:34:41 AM EDT) 83% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:41 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:41 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:41 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:41 AM EDT) .................................................................................................. Installation in progress (Sunday, May 17, 2020 1:34:42 AM EDT) 98% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:42 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:42 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:42 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:43 AM EDT) ....................................................................... Installation in progress (Sunday, May 17, 2020 1:34:44 AM EDT) 71% Done. Install successful Linking in progress (Sunday, May 17, 2020 1:34:44 AM EDT) Link successful Setup in progress (Sunday, May 17, 2020 1:34:44 AM EDT) Setup successful Saving inventory (Sunday, May 17, 2020 1:34:44 AM EDT) Saving inventory complete End of install phases.(Sunday, May 17, 2020 1:34:44 AM EDT) OMS OracleHome :/u02/middleware 13NGCHEKAGGREGATE : oracle.sysman.top.oms 13NGCHEKAGGREGATE : encap_oms 13NGCHEKAGGREGATE : OuiConfigVariables 13NGCHEKAGGREGATE : oracle.sysman.top.agent 13NGCHEKAGGREGATE : OuiConfigVariables Setting the value of EMPREREQKIT_RESULTDIR /u02/middleware/.gcinstall_temp Processing command line .... Repository Creation Utility - Checking Prerequisites Checking Global Prerequisites Repository Creation Utility - Checking Prerequisites Checking Component Prerequisites Repository Creation Utility - Creating Tablespaces Validating and Creating Tablespaces Repository Creation Utility - Create Repository Create in progress. TNS Test Inserted Successfully Successfully Added TNS Query Descriptors ******** ORACLE_HOME is /u02/middleware test properties path: /u02/middleware/sysman/admin/emdrep/prop/imap.properties CreateTestType:createCompleteTest: BEGIN CreateTestType:createTestMetadataObject: BEGIN CreateTestType:createTestMetadataObject: END CreateTestType:createPropertyGroups: BEGIN CreateTestType:createPropertyGroups: END CreateTestType:createStrayProperties: BEGIN CreateTestType:createStrayProperties: END CreateTestType:createDefaultPromotions: BEGIN CreateTestType:createDefaultPromotions: END CreateTestType:createDefaultThresholds: BEGIN CreateTestType:createDefaultThresholds: END CreateTestType:createMetrics4TestType: BEGIN CreateTestType:createMetrics4TestType: END PropertyName :imap_host PropertyName :imap_port PropertyName :imap_user_name PropertyName :imap_password PropertyName :numretries PropertyName :retryinterval CreateTestType:createQueryDescriptor: BEGIN CreateTestType:createQueryDescriptor: END Enabled test for: IMAP , generic_service , 1.0 Enabled test for: IMAP , aggregate_service , 1.0 CreateTestType:createCompleteTest: END ******** ORACLE_HOME is /u02/middleware Repository Creation Utility: Create - Completion Summary Database details: Connect Descriptor : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))(CONNECT_DATA=(SID=orcl))) Connected As : SYS RCU Logfile : /u02/middleware/sysman/log/schemamanager/m_051720_0137_AM/m_051720_0137_AM.CREATE/rcu.log Component schemas created: Component Status Logfile EM Repository Creation Configuration Success /u02/middleware/sysman/log/schemamanager/m_051720_0137_AM/m_051720_0137_AM.CREATE/em_repos_config.log EM Repository Init Configuration Success /u02/middleware/sysman/log/schemamanager/m_051720_0137_AM/m_051720_0137_AM.CREATE/em_repos_init.log EM Repository Common Success /u02/middleware/sysman/log/schemamanager/m_051720_0137_AM/m_051720_0137_AM.CREATE/em_repos_common.log Repository Creation Utility - Create : Operation Completed Setting the value of EMPREREQKIT_RESULTDIR /u02/middleware/.gcinstall_temp Processing command line .... Repository Creation Utility - Checking Prerequisites Checking Global Prerequisites Repository Creation Utility - Checking Prerequisites Checking Component Prerequisites Repository Creation Utility - Creating Tablespaces Validating and Creating Tablespaces RCU-6108:DB TablespaceFreeMB Prerequisite failure for: MGMT_TABLESPACE Current space is 22MB. It should be be greater than 50MB. Repository Creation Utility - Create Repository Create in progress. Percent Complete: 30 Percent Complete: 65 Percent Complete: 65 Percent Complete: 70 Percent Complete: 70 Percent Complete: 75 Percent Complete: 80 Percent Complete: 80 Percent Complete: 97 Percent Complete: 100 Repository Creation Utility: Create - Completion Summary Database details: Connect Descriptor : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))(CONNECT_DATA=(SID=orcl))) Connected As : SYS Prefix for (prefixable) Schema Owners : SYSMAN RCU Logfile : /u02/middleware/sysman/log/schemamanager/m_051720_0137_AM/m_051720_0137_AM.CREATE/rcu.log Component schemas created: Component Status Logfile Metadata Services Success /u02/middleware/sysman/log/schemamanager/m_051720_0137_AM/m_051720_0137_AM.CREATE/mds.log Repository Creation Utility - Create : Operation Completed Processing command line .... Repository Creation Utility - Checking Prerequisites Checking Global Prerequisites Repository Creation Utility - Checking Prerequisites Checking Component Prerequisites Repository Creation Utility - Creating Tablespaces Validating and Creating Tablespaces RCU-6108:DB TablespaceFreeMB Prerequisite failure for: MGMT_TABLESPACE Current space is 22MB. It should be be greater than 50MB. RCU-6108:DB TablespaceFreeMB Prerequisite failure for: TEMP Current space is 32MB. It should be be greater than 50MB. Repository Creation Utility - Create Repository Create in progress. Percent Complete: 50 Percent Complete: 50 Percent Complete: 60 Percent Complete: 60 Percent Complete: 75 Percent Complete: 87 Percent Complete: 93 Percent Complete: 96 Percent Complete: 96 Percent Complete: 98 Percent Complete: 100 Repository Creation Utility: Create - Completion Summary Database details: Connect Descriptor : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))(CONNECT_DATA=(SID=orcl))) Connected As : SYS Prefix for (prefixable) Schema Owners : SYSMAN RCU Logfile : /u02/middleware/sysman/log/schemamanager/m_051720_0137_AM/m_051720_0137_AM.CREATE/rcu.log Component schemas created: Component Status Logfile Oracle Platform Security Services Success /u02/middleware/sysman/log/schemamanager/m_051720_0137_AM/m_051720_0137_AM.CREATE/opss.log Repository Creation Utility - Create : Operation Completed Processing command line .... Repository Creation Utility - Checking Prerequisites Checking Global Prerequisites Repository Creation Utility - Checking Prerequisites Checking Component Prerequisites Repository Creation Utility - Creating Tablespaces Validating and Creating Tablespaces RCU-6108:DB TablespaceFreeMB Prerequisite failure for: MGMT_TABLESPACE Current space is 32MB. It should be be greater than 50MB. Repository Creation Utility - Create Repository Create in progress. Percent Complete: 50 Percent Complete: 50 Percent Complete: 55 Percent Complete: 60 Percent Complete: 60 Percent Complete: 60 Percent Complete: 80 Percent Complete: 100 Repository Creation Utility: Create - Completion Summary Database details: Connect Descriptor : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))(CONNECT_DATA=(SID=orcl))) Connected As : SYS Prefix for (prefixable) Schema Owners : SYSMAN RCU Logfile : /u02/middleware/sysman/log/schemamanager/m_051720_0137_AM/m_051720_0137_AM.CREATE/rcu.log Component schemas created: Component Status Logfile Common Infrastructure Services Success /u02/middleware/sysman/log/schemamanager/m_051720_0137_AM/m_051720_0137_AM.CREATE/stb.log Repository Creation Utility - Create : Operation Completed Setting the value of EMPREREQKIT_RESULTDIR /u02/middleware/.gcinstall_temp Middleware home/u02/middleware 2020_05_17_AD_02_07_14_EDT BIPLATFORM EMSchemaManagerHelper: Info : Oracle Home is /u02/middleware 2020_05_17_AD_02_07_14_EDT BIPLATFORM EMSchemaManagerHelper: Info : Schema Oracle Home is /u02/middleware/bi 2020_05_17_AD_02_07_14_EDT BIPLATFORM EMSchemaManagerHelper: Info : Setting RCU_HOME to /u02/middleware/oracle_common 2020_05_17_AD_02_07_14_EDT BIPLATFORM EMSchemaManagerHelper: Info : Setting SCRIPT_HOME to /u02/middleware/bi/rcu/integration 2020_05_17_AD_02_07_14_EDT BIPLATFORM EMSchemaManagerHelper: Info : Setting RCU_LOG_LOCATION to /u02/middleware/cfgtoollogs/bip 2020_05_17_AD_02_07_14_EDT BIPLATFORM EMSchemaManagerHelper: Info : Setting RCU_LOG_NAME to emBIPLATFORM.log 2020_05_17_AD_02_07_14_EDT BIPLATFORM version is null 2020_05_17_AD_02_07_14_EDT has BIPLATFORM user? false 2020_05_17_AD_02_07_14_EDT BIPLATFORM EMSchemaManagerHelper: Info : Prepare to initialize RCU 2020_05_17_AD_02_07_14_EDT BIPLATFORM EMSchemaManagerHelper: Info : RCU initialized with parameters : -silent -createRepository -compInfoXMLLocation /u02/middleware/sysman/emdrep/config/schemaext/ComponentInfo.xml -storageXMLLocation /u02/middleware/sysman/emdrep/config/schemaext/Storage.xml -connectString (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))(CONNECT_DATA=(SID=orcl))) -dbUser SYS -dbRole sysdba -schemaPrefix SYSMAN -component BIPLATFORM 2020_05_17_AD_02_07_14_EDT BIPLATFORM EMSchemaManagerHelper: Info : Invoking RCU Processing command line .... Repository Creation Utility - Checking Prerequisites Checking Global Prerequisites Repository Creation Utility - Checking Prerequisites Checking Component Prerequisites Repository Creation Utility - Creating Tablespaces Validating and Creating Tablespaces Repository Creation Utility - Create Repository Create in progress. Percent Complete: 50 Percent Complete: 50 Percent Complete: 55 Percent Complete: 65 Percent Complete: 77 Percent Complete: 88 Percent Complete: 94 Percent Complete: 97 Percent Complete: 98 Percent Complete: 99 Percent Complete: 99 Percent Complete: 99 Percent Complete: 99 Percent Complete: 99 Percent Complete: 99 Percent Complete: 99 Percent Complete: 99 Percent Complete: 99 Percent Complete: 99 Percent Complete: 99 Percent Complete: 99 Percent Complete: 100 Repository Creation Utility: Create - Completion Summary Database details: Connect Descriptor : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))(CONNECT_DATA=(SID=orcl))) Connected As : SYS Prefix for (prefixable) Schema Owners : SYSMAN RCU Logfile : /u02/middleware/cfgtoollogs/bip/emBIPLATFORM.log Component schemas created: Component Status Logfile Business Intelligence Platform Success /u02/middleware/cfgtoollogs/bip/biplatform.log Repository Creation Utility - Create : Operation Completed 2020_05_17_AD_02_07_21_EDT BIPLATFORM EMSchemaManagerHelper: Info : RCU Completed : COMPLETED 2020_05_17_AD_02_07_21_EDT BIPLATFORM EMSchemaManagerHelper: Info : Asscociating profile Unable to create logger... 2020_05_17_AD_02_07_21_EDT BIPLATFORM EMSchemaManagerHelper: Info : profile associated Successfully created SYSMAN_BIPLATFORM schema... Getting Inet Addresses for host emcc13 ** Agent Port Check completed successfully.** Logs successfully copied to /u01/oraInventory/logs. [oracle@emcc13 EMCC]$ |
Use the following URL to access:
1. Enterprise Manager Cloud Control URL: https://cjcos:7803/em
2. Admin Server URL: https://cjcos:7102/console
3. BI Publisher URL: https://cjcos:9803/xmlpserver/servlet/home
The following details need to be provided while installing an additional OMS:
1. Admin Server Host Name: cjcos
2. Admin Server Port: 7102
三:Oracle 19C+13.4EMCC常见组件
sysman/Oracle123
……
--- 查看agent 版本
[oracle@cjcos bin]$ cd /u02/agent/agent_13.4.0.0.0/bin/
[oracle@cjcos bin]$ ./emctl getversion agent
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
Oracle Enterprise Manager Cloud Control Agent 13c Release 4
--- 查看agent 状态
[oracle@cjcos bin]$ ./emctl status agent
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 13.4.0.0.0
OMS Version : 13.4.0.0.0
Protocol Version : 12.1.0.1.0
Agent Home : /u02/agent/agent_inst
Agent Log Directory : /u02/agent/agent_inst/sysman/log
Agent Binaries : /u02/agent/agent_13.4.0.0.0
Core JAR Location : /u02/agent/agent_13.4.0.0.0/jlib
Agent Process ID : 30994
Parent Process ID : 30919
Agent URL : https://cjcos:3872/emd/main/
Local Agent URL in NAT : https://cjcos:3872/emd/main/
Repository URL : https://cjcos:4903/empbs/upload
Started at : 2020-03-31 05:51:48
Started by user : oracle
Operating System : Linux version 4.1.12-112.16.4.el7uek.x86_64 (amd64)
Number of Targets : 53
Last Reload : (none)
Last successful upload : 2020-03-31 08:34:22
Last attempted upload : 2020-03-31 08:34:22
Total Megabytes of XML files uploaded so far : 2.48
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0
Available disk space on upload filesystem : 60.51%
Collection Status : Collections enabled
Heartbeat Status : Ok
Last attempted heartbeat to OMS : 2020-03-31 08:35:11
Last successful heartbeat to OMS : 2020-03-31 08:35:11
Next scheduled heartbeat to OMS : 2020-03-31 08:36:11
---------------------------------------------------------------
Agent is Running and Ready
--- 停启 agent
./emctl stop agent
./emctl start agent
--- 测试agent 和 OMS 连通性
[oracle@cjcos bin]$ ./emctl pingOMS
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD pingOMS completed successfully
--- 上传agent 到服务端
[oracle@cjcos bin]$ ./emctl upload agent
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload completed successfully
--- 停止云控制及其所有组件
执行路径:cd /u02/middleware/bin/
./emctl stop oms -all