Spis treści 1 11g RAC installation general steps 2 1.1 GI RAC 11.2.0.3 Installation :export:......................... 2 1.1.1 Troubleschooting................................ 11 1.1.2 logi....................................... 12 1.2 RDBMS RAC 11.2.0.3 Installation :export:...................... 15 1.3 RAC Tworzenie bazy poprzez dbca :export:...................... 21 Wersja dokumentu: $Revision: 1.32 $ 1
1 11g RAC installation general steps 1.1 GI RAC 11.2.0.3 Installation :export: Zaloguj się jako użytkownik oracle i rozpocznij instalację (na jednym nodzie) # chown oracle:oinstall /u01 $ cd /home/oracle/_inst/oracle11.2.0.3_linux_se_ee_x86-64 $ md5sum p10404530_112030_linux-x86-64_1of7.zip bdbf8e263663214dc60b0fdef5a30b0a p10404530_112030_linux-x86-64_1of7.zip $ md5sum p10404530_112030_linux-x86-64_2of7.zip e56b3d9c6bc54b7717e14b6c549cef9e p10404530_112030_linux-x86-64_2of7.zip $ md5sum p10404530_112030_linux-x86-64_3of7.zip 695cbad744752239c76487e324f7b1ab p10404530_112030_linux-x86-64_3of7.zip $ unzip p10404530_112030_linux-x86-64_1of7.zip $ unzip p10404530_112030_linux-x86-64_2of7.zip $ unzip p10404530_112030_linux-x86-64_3of7.zip $ cd grid/ $./runinstaller 2
3
4
5
6
7
8
9
10
1.1.1 Troubleschooting PRVF-5150 : Path /dev/oracleasm/disks/data1 is not a valid path on all nodes 11
Instalator zgłasza mi cały czas: PRVF-5150 : Path /dev/oracleasm/disks/data1 is not a valid path on all nodes MOS: GI 11.2.0.3 Installation On Errors PRVF-5150 saying ASMLIB path is not a valid path [ID 1474961.1] Checking if ASM is loaded: yes Checking if /dev/oracleasm is mounted: yes brw-rw - 1 oracle oinstall 252, 9 Feb 6 17:51 DATA1 DATA1 When all the checks run fine, we can ignore the problem. Task resolve.conf integrity PRVF-5636 : The DNS response time for an unreachable node exceeded "15000"ms on following nodes MOS: PRVF-5637 : DNS response time could not be checked on following nodes [ID 1480242.1] Verified that the /etc/resolv.conf is same across the nodes and nslookup for all names from all the nodes worked fine, and nslookup of unknown-not-reachable-node is fast: $ time nslookup unknown-not-reachable-node At the time of this writing, bug 16038314 is still being worked by Development, the workaround is to verify /etc/resolv.conf and nslookup manually. PRVF-7617 : Node connectivity between "userb1 : 192.168.1.60ąnd "userb2 : INFO: Node connectivity passed for interface eth0 INFO: ERROR: INFO: PRVF-7617 : Node connectivity between userb1 : 192.168.1.60 and userb2 : 192.168.1.61 failed Manually check that the connectivity is fine. 1.1.2 logi [root@omega1 ~]# /u01/app/orainventory/orainstroot.sh Changing permissions of /u01/app/orainventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /u01/app/orainventory to oinstall. The execution of the script is complete. [root@omega1 ~]# /u01/app/11.2.0/grid/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/11.2.0/grid 12
Enter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin... Copying oraenv to /usr/local/bin... Copying coraenv to /usr/local/bin... Creating /etc/oratab file... 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. Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/ crsconfig_params Creating trace directory User ignored Prerequisites during installation OLR initialization - successful root wallet root wallet cert root cert export peer wallet profile reader wallet pa wallet peer wallet keys pa wallet keys peer cert request pa cert request peer cert pa cert peer root cert TP profile reader root cert TP pa root cert TP peer pa cert TP pa peer cert TP profile reader pa cert TP profile reader peer cert TP peer user cert pa user cert Adding Clusterware entries to upstart CRS-2672: Attempting to start ora.mdnsd on omega1 CRS-2676: Start of ora.mdnsd on omega1 succeeded CRS-2672: Attempting to start ora.gpnpd on omega1 CRS-2676: Start of ora.gpnpd on omega1 succeeded CRS-2672: Attempting to start ora.cssdmonitor on omega1 CRS-2672: Attempting to start ora.gipcd on omega1 CRS-2676: Start of ora.cssdmonitor on omega1 succeeded CRS-2676: Start of ora.gipcd on omega1 succeeded CRS-2672: Attempting to start ora.cssd on omega1 CRS-2672: Attempting to start ora.diskmon on omega1 CRS-2676: Start of ora.diskmon on omega1 succeeded CRS-2676: Start of ora.cssd on omega1 succeeded ASM created and started successfully. Disk Group DATA created successfully. clscfg: -install mode specified Successfully accumulated necessary OCR keys. 13
Creating OCR keys for user root, privgrp root.. Operation successful. CRS-4256: Updating the profile Successful addition of voting disk 72c0ba9f3f994f53bf4a961b9bc2da5d. Successfully replaced voting disk group with +DATA. CRS-4256: Updating the profile CRS-4266: Voting file(s) successfully replaced ## STATE File Universal Id File Name Disk group -- ----- ----------------- --------- --------- 1. ONLINE 72c0ba9f3f994f53bf4a961b9bc2da5d (/dev/oracleasm/disks/data1) [DATA] Located 1 voting disk(s). CRS-2672: Attempting to start ora.asm on omega1 CRS-2676: Start of ora.asm on omega1 succeeded CRS-2672: Attempting to start ora.data.dg on omega1 CRS-2676: Start of ora.data.dg on omega1 succeeded Configure Oracle Grid Infrastructure for a Cluster... succeeded [root@omega2 ~]# /u01/app/orainventory/orainstroot.sh Changing permissions of /u01/app/orainventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /u01/app/orainventory to oinstall. The execution of the script is complete. [root@omega2 ~]# top [root@omega2 ~]# /u01/app/11.2.0/grid/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/11.2.0/grid Enter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin... Copying oraenv to /usr/local/bin... Copying coraenv to /usr/local/bin... Creating /etc/oratab file... 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. Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/ crsconfig_params Creating trace directory User ignored Prerequisites during installation OLR initialization - successful Adding Clusterware entries to upstart CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node omega1, number 1, and is terminating An active cluster was found during exclusive startup, restarting to join the cluster Configure Oracle Grid Infrastructure for a Cluster... succeeded 14
1.2 RDBMS RAC 11.2.0.3 Installation :export: Instalacja binariów (bez bazy) bazy danych. 15
16
17
18
19
20
1.3 RAC Tworzenie bazy poprzez dbca :export: Baza tworzona za pomocą Database Configuration Advisor. $ dbca 21
22
W tym kroku wybieramy nazwę bazy danych. Tutaj nazywana jest ona jako RAC. Należy zaznaczyć wszystkie hosty (tutaj usera1 oraz usera2) na których ma działać baza danych. 23
24
Przy wybraniu zbyt prostego hasła pojawia się komunikat z ostrzeżeniem. W poniższym kroku wybieramy położenie plików bazy danych. Tutaj w przypadku instalacji bazy typu RAC automatycznie zostaje zaznaczona opcja Storage Type: ASM. 25
Podajemy hasło do ASM określone podczas instalacji Grid Infrastructure. 26
27
Wybranie jako strony kodowej UTF-8. (Wybór strony kodowej powinien być konsultowany z dostawcą aplikacji) 28
Wybranie jako strony kodowej EEISO8859P2 - najczęściej stosowanej strony kodowej w Polsce. (Wybór strony kodowej powinien być konsultowany z dostawcą aplikacji) 29
30
31
32