DATABASE(oracleDB 11g)/RAC

[RAC]virtual box 에서 RAC 설치_7_디스크 그룹 추가

SEUNGSAMI 2019. 6. 20. 16:08




[grid@host01 grid]$ asmca

--create 클릭











-- Show Advanced Options를 클릭


-- ASM Cluster환경은 11.2버전 이상부터 이용이 가능하므로, 환경설정을 이와같이 해주어야한다.
-- ASM Compatibility와 같은 버전으로 아래를 동일하게 맞춰준다.






-- ACFS 마우스 우클릭, Create ACFS for Database Home 클릭


[grid@host01 ~]$ su -oracle

####oracle user로 실행####
[oracle@host01 ~]$ mkdir -p /u01/app/oracle/product/11.2.0/dbhome_1
[oracle@host01 ~]$ ssh host02 mkdir -p /u01/app/oracle/product/11.2.0/dbhome_1
The authenticity of host 'host02 (192.168.56.112)' can't be established.
RSA key fingerprint is a2:43:82:16:ec:d4:86:df:c4:25:0c:78:8c:29:13:7d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'host02,192.168.56.112' (RSA) to the list of known hosts.
oracle@host02's password:



-- OK


-- 해당 스크립트는 host01만 실행 : 마지막 줄 참고

[root@host01 ~]# /u01/app/grid/cfgtoollogs/asmca/scripts/acfs_script.sh
ACFS file system is running on host01,host02


-- 이후 Close



[root@host01 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             190G  6.3G  174G   4% /
/dev/sda1              99M   12M   83M  13% /boot
tmpfs                1006M  212M  795M  22% /dev/shm
share                 466G  154G  313G  33% /media/sf_share
/dev/asm/dbhome_1-355
                      6.0G   77M  6.0G   2% /u01/app/oracle/product/11.2.0/dbhome_1
-- 디스크가 생긴 것을 확인.


-- Exit후, logout