oracle rac setup,Oracle 11g RAC + DG安装详解--03

三、创建asm

磁盘组

这一步也可以放到安装完oracle

软件后再做。

任一节点,grid

用户下执行:

[grid@rac1 ~]$ asmcmd

ASMCMD> mkdg ''

ASMCMD> mkdg ''

ASMCMD> mkdg ''

ASMCMD> mkdg ''

ASMCMD> mkdg ''

ASMCMD> lsdg

State    Type    Rebal  Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name

MOUNTED  EXTERN  N         512   4096  1048576    512000   511946                0          511946              0             N  ARCH/

MOUNTED  EXTERN  N         512   4096  1048576    512000   511946                0          511946              0             N  FRA/

MOUNTED  EXTERN  N         512   4096  1048576   6291456  6291348                0         6291348              0             N  SASDATA/

MOUNTED  EXTERN  N         512   4096  1048576   6291456  6291348                0         6291348              0             N  SSDDATA/

MOUNTED  NORMAL  N         512   4096  1048576     30720    29794            10240            9777              0             Y  VOT/

ASMCMD>

四、安装oracle

软件

[oracle@rac1 ~]$ cd /home/software/database

[oracle@rac1 database]$ ls

doc  install  response  rpm  runInstaller  sshsetup  stage  welcome.html

[oracle@rac1 database]$ ./runInstaller

接下来又是漫长的等待,但这一步是安装过程中唯一不会出问题的。

967874b061994826766e42d54a20d21d.png

8aca79111a0d2a39e5c6c5878c19dc11.png

7a1fd9b8add80c723f8f17740091bead.png

57fe110b1b4a45b9d14a2e6e43a90dff.png

71a129c14b78bb3f7d7c05761923e61e.png

b28b6a8a6a9e26d0b36868d6f59978c7.png

af12b859eb86c88ff1ac11bc27943cd0.png

4549e09b7533bfbf30c7ff60826f06d7.png

节点1

[root@TRAC1 lib]# /home/app/oracle/product/11.2.0/root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= oracle

ORACLE_HOME=  /home/app/oracle/product/11.2.0

Enter the full pathname of the local bin directory: [/usr/local/bin]:

The contents of "dbhome" have not changed. No need to overwrite.

The contents of "oraenv" have not changed. No need to overwrite.

The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Finished product-specific root actions.

节点2

[root@TRAC2 lib]# /home/app/oracle/product/11.2.0/root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= oracle

ORACLE_HOME=  /home/app/oracle/product/11.2.0

Enter the full pathname of the local bin directory: [/usr/local/bin]:

The contents of "dbhome" have not changed. No need to overwrite.

The contents of "oraenv" have not changed. No need to overwrite.

The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Finished product-specific root actions.

90f050b0a11bcf9fc0e4e248038eb454.png

五、建库

[oracle@rac1 database]$ cd

[oracle@rac1 ~]$ dbca

ca82fe095344d53eb2972636171063b2.png

beb2d667264d2c1d1e4a51dd5ee39be0.png

38ae1977b40980b7be2ff15a60301ee5.png

d76f313d01e02bdb5076e6231f6f4955.png

c44ba1b10c19870c8f47cea3d21796fb.png

54750a028cb8d25462681963fddb80f7.png

1ecdab8fc22aa9d31ca0ed0c8560bc43.png

43227da9c4c7b509267f5d779dee4735.png

ad1207e48b7031a5b367ee1b1d7fdc53.png

63bd4db7fe51ea013d0a977e2123dcb1.png

2bec5b1fc721074fdb67b652d1275ab7.png

ff7c9c83fe0092c6b19a6190f593d5d6.png

1abd599a4cde47b5d9a2b47c4f27a615.png

a883e417a7af273ceec59155c8d2a008.png

f6d9be1fa973dbb6586ea5e3ff308d25.png

All initilization parameters

里面修改db_files

参数

8fe7d28976263d7866d44a7de635c53e.png

2f082ebb26b87957b5fbd95e408cff13.png

c36aec6e35d4de5979390d74bb073002.png

cce54159a0a0951cd03f958d2306847c.png

2db556bc430bd5144dfea8b63065719d.png

062ddc11a590719114c518eee3757b67.png

10727b834f96924888ca0b0f8455a05d.png

7dffc61af64e92d20f8364c93c30bb97.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值