你好,游客 登录 注册 搜索
背景:
阅读新闻

Oracle 10g RAC环境升级到10.2.0.5

[日期:2017-04-19] 来源:Linux社区  作者:tongcheng [字体:大 中 小]

8.创建数据库
[root@rac10g01 ~]# xhost +
access control disabled, clients can connect from any host
[root@rac10g01 ~]# su - Oracle
[oracle@rac10g01 ~]$ dbca

8.验证安装是否成功
rac10g01节点:
[oracle@rac10g01 ~]$ crs_stat -t
Name          Type          Target    State    Host
------------------------------------------------------------
ora.rac10g.db  application    ONLINE    ONLINE    rac10g01
ora....ac10.cs application    ONLINE    ONLINE    rac10g02
ora....0g1.srv application    ONLINE    ONLINE    rac10g01
ora....0g2.srv application    ONLINE    ONLINE    rac10g02
ora....g1.inst application    ONLINE    ONLINE    rac10g01
ora....g2.inst application    ONLINE    ONLINE    rac10g02
ora....SM1.asm application    ONLINE    ONLINE    rac10g01
ora....01.lsnr application    ONLINE    ONLINE    rac10g01
ora....g01.gsd application    ONLINE    ONLINE    rac10g01
ora....g01.ons application    ONLINE    ONLINE    rac10g01
ora....g01.vip application    ONLINE    ONLINE    rac10g01
ora....SM2.asm application    ONLINE    ONLINE    rac10g02
ora....02.lsnr application    ONLINE    ONLINE    rac10g02
ora....g02.gsd application    ONLINE    ONLINE    rac10g02
ora....g02.ons application    ONLINE    ONLINE    rac10g02
ora....g02.vip application    ONLINE    ONLINE    rac10g02
[oracle@rac10g01 ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.5.0 - Production on Tue Nov 15 21:53:40 2016
Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
SQL> create table t (a number);
Table created.
SQL> insert into t values(1);
1 row created.
SQL> commit;
Commit complete.
SQL> select * from t;
  A
----------
  1
SQL>


rac10g02节点:
[oracle@rac10g02 ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.5.0 - Production on Tue Nov 15 21:56:06 2016
Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options


SQL> select * from t;
  A
----------
  1
SQL>

更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

本文永久更新链接地址:http://www.linuxidc.com/Linux/2017-04/142938.htm

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款