■ [11gR2 RAC 설치(ASM ISCSI)] 10. Installation Oracle DBMS

DBMS/[Oracle] ■ 01. Installation & Patches 2016. 6. 8. 20:11

■ [11gR2 RAC 설치(ASM ISCSI)] 10. Installation Oracle DBMS



-- ftp 를 이용하여 1번노드(mk01n01)에 전송한다.(oracle user 로 전송해야 나중에 permmission변경하는 번거로음이 없다.

■ [Installation Oracle DBMS] 01. unzip Installation file & runstallation

[oracle@mk01n01~]$ unzip p13390677_112040_Linux-x86-64_1of7.zip

...


[oracle@mk01n01~]$ unzip p13390677_112040_Linux-x86-64_2of7.zip

...


##  oracle 유저로 runInstaller 수행


[oracle@mk01n01 database]$ ./runInstaller

Starting Oracle Universal Installer...


Checking Temp space: must be greater than 120 MB.   Actual 2927 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 4061 MB    Passed

Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-05-17_06-51-01PM. Please wait ...


01. 여기서는 FTP 로 전송한 oracle 설치 파일을 unzip (p13390677_112040_Linux-x86-64_1of7.zip, p13390677_112040_Linux-x86-64_2of7.zip파일) 후 설치 파일(runInstaller) 이 있는 디렉토리로 들어가서 runInstallation 을 수행한다.


■[Installation Oracle DBMS] 02. Oracle dbms software Installation 1.

02.  위 [Installation Oracle DBMS] 01 에서 runInstaller 를 수행하면 위와 같이 DBMS 를 설치할수 있는 GUI 화면이 나타난다. 

① MOS 에 등록할 email 주소를 입력하는 항목으로 DB를 생성하는데는 아무런 문제가 없다.

    여기에 MOS에 등록된 email 주소를 입력 후 ②에 패스워드를 입력하면 나중에 DB 생성시 MOS 에 생성한 DB가 등록된다.

우리는 비용을 내고 사업성 목적으로 DB를 생성하는 것이 아니라 test용도로 생성하는것이기 때문에  ①의 체크박스를 해제한후 ②[Next]버튼을 클릭하여 다음으로 넘어간다.


※ 실제 설치할때도 보통은 이 부분을 입력하지 않는다.


■[Installation Oracle DBMS] 03. Oracle dbms software Installation 2.

03. 위 [Installation Oracle DBMS] 02 에서 [Next] 버튼을 클릭하면 위와 같이 팝업창이 나타나는데 지금 설치하는 DB를 MOS에 등록하지 않을거라면 [Yes] 버튼을 한번더 클릭하여 넘어가도록 한다.


■[Installation Oracle DBMS] 04. Oracle dbms software Installation 3.

03. 이 화면은 11.2.0.4 패치셋으로 설치를 진행하기 때문에 나타난다 보통은  ① [Skip software update] 가 없으며 ②[Next] 버튼을 클릭하여 다음으로 이동한다.


※ ① [Skip software update] 체크박스는 설치버전이하의 버전이 설치되어있다면 DBMS 엔진을 업그레이드 할때 사용한다.


■[Installation Oracle DBMS] 05. Oracle dbms software Installation 4.

05. 여기서는 DBMS 설치시 DB 를 같이 생성할것인지, DBMS 만설치 할 것인지, database가 있다면 upgrage할것인지 선택하는 화면이다. 우리는 처음 설치하므로 ①[Install database software only] 체크박스를 선택 한 후 ②[Next] 버튼을 클릭하여 다음으로 이동한다.


■[Installation Oracle DBMS] 06. Oracle dbms software Installation 5.

06. 여기서는 설치할 Database 형태(우리는 RAC를 설치할 것이기 때문에 

[Oracle Real Application Cluster database Installatoin] 을 선택

[Select All] 버튼을 클릭 하여 모든 노드를 선택한다.
[SSH Connectivity...] 를 클릭하여 Oracle Grid 설치때와 마찬가지로 Equivalance를 설정한다.


■[Installation Oracle DBMS] 07. Oracle dbms software Installation 6.

07. [Installation Oracle DBMS] 06 에서 [SSH Connectivity...] 버튼을 클릭하면 화면이 위와 같이 변경되는데 GRID 설치시 설정했었던 각 node 간의 Equivalance를 설정하는 화면으로 oracle 의 OS Password 를 입력한 후 ②[Setup] 버튼 을 클릭하여 각 DB서버간 oracle user에 대한 Equivalance 를 설정한다.



■[Installation Oracle DBMS] 08. Oracle dbms software Installation 7.

08. [Installation Oracle DBMS] 07. 에서 [Setup] 버튼을 클릭하여 지동으로 각 노드간 Equivalance 를 setup 하고 있다.


■[Installation Oracle DBMS] 09. Oracle dbms software Installation 8.

09.  위 [Installation Oracle DBMS] 07. 에서 설정한 Equivalance 가 설정완료 된 모습니다.


■[Installation Oracle DBMS] 10. Oracle dbms software Installation 9.

10. [Installation Oracle DBMS] 07 ~ 09 까지 설정 한 Equivalance 를 ①[Test] 버튼을 클릭하여 다시 한번 테스트한다.(내 오랜 습관이다.)


■[Installation Oracle DBMS] 11. Oracle dbms software Installation 10.

11. Equivalance 가 이미 설정되어있다는 화면이다.(위에서 setup했으니 당연히 이렇게 나와야 정상이다.)


■[Installation Oracle DBMS] 12. Oracle dbms software Installation 11.

12. [Installation Oracle DBMS] 11에서 Equivalance 설정완료 후  위와 같이 설치후 사용할 언어를 선택한다.

①에서 언어를 선택후 화살표를 클릭하여 ②로 이동한후 ③[Next] 버튼을 클릭하여 다음으로 넘어간다.

(여기에서 사용할언어를 영어와, 한글을 선택한다.)


■[Installation Oracle DBMS] 13. Oracle dbms software Installation 12.

13. ①[Enterprise Edition] 또는 ②[Standard Edition] 중 하나를 선택후 ③ 설치시 옵션을 선택하기 위해 [Select Option...] 버튼을 클릭한다.


■[Installation Oracle DBMS] 14. Oracle dbms software Installation 13.

14. [Installation Oracle DBMS] 13 에서 위와 같이 사용하려는 Option을 선택후 ②[OK] 버튼을 설정완료 후 ③[Next] 다음으로 넘어간다.


■[Installation Oracle DBMS] 15. Oracle dbms software Installation 14.

15. Oracle DBMS ①[Oracle Base]와 ②[Oracle Home]을 설정 후 ③[Next] 버튼 을 클릭하여 다음으로 넘어간다.

※ Oracle user 생성시 .bash_profile에 이미 설정했다.


■[Installation Oracle DBMS] 16. Oracle dbms software Installation 15.

16. 여기서는 ① OSDBA 그룹과 OSOPER 그룹을 지정한다.(설치시 생성한 dba group 으로 지정)

     ② [Next] 버튼을 클릭하여 다음으로 이동.


■[Installation Oracle DBMS] 17. Oracle dbms software Installation 16.

17. [Installation Oracle DBMS] 16 에서 [Next] 버튼을 클리하면 위와 같이 설치 패키지 커널 등 설정등을 체크하는데 grid 설치시 제대로 설치 되었다면 에러없이 지나간다.[Next] 버튼 클릭.


■[Installation Oracle DBMS] 18. Oracle dbms software Installation 17.

18. [Installation Oracle DBMS] 17. 의 설정체크가 끝이나면 위의 화면으로 진행되는데 설치 summary 이다.

[Inatall] 버튼을 클릭하여 DBMS 설치를 시작한다.


■[Installation Oracle DBMS] 19. Oracle dbms software Installation 18.

19. 이 화면은 설치 진행화면으로 ①[Details] 버튼을 클릭하면 Detail 을 확인 할수 있는 팝업창이 나타나는데

여기서 mk01n01의 설치가 끝나면 mk01n02 로 파일을 copy 해서 설치를 진행하는 내용등을 볼수 있다.


■[Installation Oracle DBMS] 20. Oracle dbms software Installation 19.

20. Grid 설치때와 마찬가지로 설치가 거의 끝날무렵에 위와 같이 팝업창이 나타나는데 root user로 위 스크립트를 mk01n01과 mk01n02 에 차례대로 수행시켜줘야 한다. [Installation Oracle DBMS] 21 과 같이 root user로 스크립트를 수행후 의 팝업창에서 [OK] 버튼을 클릭하한다.


■[Installation Oracle DBMS] 21. Oracle dbms software Installation 20.

[root@mk01n01 ~]# /u01/app/oracle/product/11.2.0/db_1/root.sh 

Performing root user operation for Oracle 11g 


The following environment variables are set as:

    ORACLE_OWNER= oracle

    ORACLE_HOME=  /u01/app/oracle/product/11.2.0/db_1


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.


-- node 2번


[root@mk01n02 ~]# /u01/app/oracle/product/11.2.0/db_1/root.sh 

Performing root user operation for Oracle 11g 


The following environment variables are set as:

    ORACLE_OWNER= oracle

    ORACLE_HOME=  /u01/app/oracle/product/11.2.0/db_1


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.


[root@mk01n02 ~]#


■[Installation Oracle DBMS] 22. Oracle dbms software Installation 20.

22. [Installation Oracle DBMS] 21 과 같이 root 스크립트를 수행 후 [Installation Oracle DBMS] 20 에서 [OK] 버튼 을 클릭하면 위와 같이 설치가 완료되었다는 화면으로 넘어오게 된다. 여기서 [Close] 버튼을 클릭하여 Oracle DBMS 설치를 완료 한다.


 







: