ITPub博客

首页 > 数据库 > SQL Server > 【ORACLE21C】Oracle21c产品目录的变化

【ORACLE21C】Oracle21c产品目录的变化

原创 SQL Server 作者:peifei121 时间:2021-09-10 11:54:50 0 删除 编辑

在Oracle21c之后,一些目录发生了变化,如监听配置文件、dbs目录。 示例如下:

Oracle21c安装之后,目录如下

#$ORACLE_BASE目录下admin  audit  cfgtoollogs  dbs  diag  homes  oradata  product[oracle@oracle21 oracle]$ pwd/u01/app/oracle# 19c $ORACLE_BASE目录下。ASM[oracle@rac19c oracle]$ lsadmin  audit  cfgtoollogs  checkpoints  diag  product#检查Oracle21c目录[oracle@oracle21 oracle]$ orabasehome /u01/app/oracle/homes/OraDB21Home1[oracle@oracle21 oracle]$ orabaseconfig /u01/app/oracle[oracle@oracle21 oracle]$ #检查19c目录[oracle@rac19c ~]$ orabasehome /u02/app/oracle/product/19.0.0/db_1[oracle@rac19c ~]$ orabaseconfig /u02/app/oracle/product/19.0.0/db_1[oracle@rac19c ~]$ orabase/u02/app/oracle[oracle@rac19c ~]$ #检查21c监听状态及文件位置,如下所示,已经在/homes/OraDB21Home1/network/admin/listener.ora目录下,配置tnsnames也需要在该目录下[oracle@oracle21 oracle]$ lsnrctl statLSNRCTL for Linux: Version 21.0.0.0.0 - Production on 20-AUG-2021 13:52:09Copyright (c) 1991, 2021, Oracle.  All rights reserved.Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle21)(PORT=1521)))STATUS of the LISTENER------------------------Alias                     LISTENERVersion                   TNSLSNR for Linux: Version 21.0.0.0.0 - ProductionStart Date                20-AUG-2021 13:33:24Uptime                    0 days 0 hr. 18 min. 45 secTrace Level               offSecurity                  ON: Local OS AuthenticationSNMP                      OFFListener Parameter File   /u01/app/oracle/homes/OraDB21Home1/network/admin/listener.oraListener Log File         /u01/app/oracle/diag/tnslsnr/oracle21/listener/alert/log.xmlListening Endpoints Summary...  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle21)(PORT=1521)))  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))Services Summary...Service "c8209f27c6b16005e053362ee80ae60e" has 1 instance(s).  Instance "mydb21", status READY, has 1 handler(s) for this service...Service "c9e6ddb27463ad21e0531550a8c0a46d" has 1 instance(s).  Instance "mydb21", status READY, has 1 handler(s) for this service...Service "mydb21" has 1 instance(s).  Instance "mydb21", status READY, has 1 handler(s) for this service...Service "mydb21XDB" has 1 instance(s).  Instance "mydb21", status READY, has 1 handler(s) for this service...Service "mypdb21" has 1 instance(s).  Instance "mydb21", status READY, has 1 handler(s) for this service...The command completed successfully[oracle@oracle21 oracle]$


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/70006680/viewspace-2791417/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2021-09-10

  • 博文量
    14
  • 访问量
    7684