åèè³æ
ãã¤ã³ã¹ãã¼ã«ã«ã¤ãã¦ã以ä¸ã®è³æãåããã¦ã確èªãã ããã
ãhttp://www.oracle.com/technetwork/jp/database/oraclerac-install-guide-1504202-ja.pdf
ã1.VMwareã¤ã³ã¹ãã¼ã«
ãã¦ã¼ã¶ã¼ç»é²ãããã°ç¡åã§ä½¿ç¨ãããã¨ãã§ããVMware Server2.0ã使ç¨ãã¾ããã
ãâ»VMware Serverã¯2.0ãã管çãã¼ã«ãWebã¤ã³ã¿ã¼ãã§ã¼ã¹ã«ãªãã¾ããããFirefoxã§ã¯å¯¾å¿ãã¦ããªãããã¼ã¸ã§ã³ããããããä»åã¯Internet Explorerã使ç¨ãã¾ããã
ã2.ã²ã¹ãOSä½æï½ã¤ã³ã¹ãã¼ã«
ãã»ãã£ã¹ã¯ãµã¤ãº
ãããã¼ã«ã«ãã£ã¹ã¯ã¯ãGridãã¼ã ã«6.5GBã®é åãOracleãã¼ã¹ã«4.6GBã®ãã£ã¹ã¯é åãåè¨ã§ç´11GBã®é åãå¿
è¦ã¨ãªãã¾ããOSé åãã¤ã³ã¹ãã¼ã«ã¡ãã£ã¢ãé
ç½®ããé åãèæ
®ãã30GBã®é åã確ä¿ãã¾ããã
ãã»ã¡ã¢ãª
ããã¡ã¢ãªã¯2GB以ä¸ãå¿
é ã¨ãªãã¾ãããä»åã¯ãã¹ãOSã®ã¡ã¢ãªã4GBãããªããã両ãã¼ãå
±1.5GBã«è¨å®ãã¾ããã
ãã»ã¹ã¯ãã
ããã¡ã¢ãªã2GBãã8GBã®å ´åãåçã®ã¹ã¯ãããµã¤ãºãå¿
é ã¨ãªãã¾ããä»åã¯ã¡ã¢ãªããããå¤ãã®2GBãå²ãå½ã¦ã¾ããã
ãã»ãããã¯ã¼ã¯
ãããããªãã¯LANããã©ã¤ãã¼ãLANç¨ã«NICã2ã¤ç¨æãã¾ããä»åã¯ãããªãã¯LANç¨ã«Bridgeããã©ã¤ãã¼ãLANç¨ã«Host-onlyã使ç¨ããå
±ã«åºå®IPãè¨å®ãã¾ããã
ã3.VMware Toolsã¤ã³ã¹ãã¼ã«
ãVMware Toolsã®ã¤ã³ã¹ãã¼ã«ã¯å¿ é ã§ã¯ããã¾ãããããã¦ã¹ã®ããã©ã¼ãã³ã¹ã®åä¸ãããã¹ãOSã¨ã²ã¹ãOSéã§ããã¹ãããã¡ã¤ã«ã®ã³ãã¼ã¢ã³ããã¼ã¹ããå¯è½ã«ãªããªã©ãä»®æ³ç°å¢ã使ãæããªãã¾ãã®ã§ãã¤ã³ã¹ãã¼ã«ãããã¨ããå§ããã¾ãã
ãVMware Toolsã¯ããã±ã¼ã¸ãã¦ã³ãå¾ã以ä¸ã®æé ãå®æ½ãã¤ã³ã¹ãã¼ã«ãã¾ãã
ã1.VMwareTools-7.7.5-156745.i386.rpmã®ã¤ã³ã¹ãã¼ã«
ã2./usr/bin/vmware-config-tools.plã®å®è¡
ã/usr/bin/vmware-config-tools.plãå®è¡ããã«ã¯ãuname -mrã®çµæã¨åããã¼ã¸ã§ã³ã®kernel-uek-develãäºãã¤ã³ã¹ãã¼ã«ãã¦ããå¿ è¦ãããã¾ãã
ãä¸æçã«ãããã¯ã¼ã¯ãåæããããããSSH ã¯ã©ã¤ã¢ã³ãã§ãªã¢ã¼ãæ¥ç¶ããããã¼ã«ã«ã®ã³ã³ã½ã¼ã«ããå®è¡ãã¦ãã ããã
ã4.ã²ã¹ãOSè¨å®
ãã¦ã¼ã¶ã®ä½æããã«ã¼ãã«ãã©ã¡ã¼ã¿ã®è¨å®ãªã©ãå ±æãã£ã¹ã¯ä»¥å¤ã®ã¤ã³ã¹ãã¼ã«åã®æºåãå®æ½ãã¾ãã
ãâ»OSã³ãã¼ã®åã«è¨å®ãå®æ½ãã¦ããã¨ãã³ãã¼ããOSã«è¨å®å 容ãå ¨ã¦å¼ãç¶ãããã®ã§ããã®å¾ã®æéãçããã¨ãã§ãã¾ãã
ãã»ãããã¯ã¼ã¯è¨å®
ãã²ã¹ãOSè¨å®ã§ã¯ç¹ã«ãããã¯ã¼ã¯ã®è¨å®ã«æ³¨æãå¿
è¦ã§ãã以ä¸ã«è©³ç´°ãè¨è¼ãã¾ãã
ãRACç°å¢ã§ã¯ç¨æããNICã¯2ã¤ã§ããã以ä¸4種é¡ã®IPã¢ãã¬ã¹ãå¿ è¦ã¨ãªãã¾ãã
ãã»ãããªãã¯IPã¢ãã¬ã¹
ãã»ä»®æ³IPã¢ãã¬ã¹(VIP)
ãã»SCAN IPã¢ãã¬ã¹(SCAN VIP)
ãã»ãã©ã¤ãã¼ãIPã¢ãã¬ã¹
ãâ»VIPã¢ãã¬ã¹ãSCAN IPã¢ãã¬ã¹ã«ã¤ãã¦ã¯Grid Infrastructureã¤ã³ã¹ãã¼ã«æã«æ§æããã¾ãã®ã§ãäºåã®æ§æã¯ä¸è¦ã§ãã
ã SCAN IPã¢ãã¬ã¹ã¯11gR2ã®æ°æ©è½ã§ãã詳細ã«ã¤ãã¦ã¯ãä»å¾ã®åã§ã説æããã¦ããã ãã¾ããIPã¢ãã¬ã¹ã¯ã¤ã³ã¹ãã¼ã«åã«DNSãhostsãã¡ã¤ã«ã§åå解決ããã¦ãããã¨ãå¿ é ã¨ãªãã¾ãã
ã以ä¸ã®ç¹ã«ã¤ãã¦æ³¨æããè¨å®ãå®æ½ãã¦ãã ããã
ãã»ãããªãã¯IPã¢ãã¬ã¹ãä»®æ³IPã¢ãã¬ã¹ãSCAN IPã¢ãã¬ã¹ã¯åä¸ã»ã°ã¡ã³ãä¸ã«ããã©ã¤ãã¼ãIPã¢ãã¬ã¹ã¯å¥ããã»ã°ã¡ã³ãã«è¨å®ãããã¨
ãã»SCAN IPã¢ãã¬ã¹ã¯RACç°å¢ã§1ã¤ããã®ä»ã¯åãã¼ãã§1ã¤ãã¤IPã¢ãã¬ã¹ãè¨å®ãããã¨
ãã»SCANåã«ã¢ã³ãã¼ã¹ã³ã¢("_")ã使ç¨ããªããã¨
ãä»åã¯hostsãã¡ã¤ã«ã使ç¨ãã以ä¸ã®å 容ãè¨è¼ãã¾ããã
ã5.ã²ã¹ãOSã³ãã¼
ãã»ã²ã¹ãOS(COSOL01)ã³ãã¼
ããã²ã¹ãOSã®è¨å®ãå®äºããããã²ã¹ãOSãåæ¢ããä»®æ³ç°å¢ããã©ã«ããã¨ã³ãã¼ãã¾ãã
ãã»ã³ãã¼ããã²ã¹ãOS(COSOL02)ã®è¨å®ãã¡ã¤ã«ãå¤æ´
ããã²ã¹ãOSã³ãã¼å¾ã以ä¸ã®æé ãå®æ½ãã¾ãã
ã1.ãã©ã«ãããã¡ã¤ã«åã®å¤æ´
ãã³ãã¼ãããã©ã«ãåã"COSOL02"ã«å¤æ´ãã¾ãã
ãã¾ãã"COSOL2"ãã©ã«ãé ä¸ã«ãããã¡ã¤ã«ã§"COSOL01"ãå«ã¾ãã¦ãããã¡ã¤ã«åãå ¨ã¦"COSOL2"ã«å¤æ´ãã¾ãã
ã2.vmxãã¡ã¤ã«ã®ç·¨é
ãvmxãã¡ã¤ã«ãããã¹ãã¨ãã£ã¿ã§éãã以ä¸ã®è¨è¼ãç·¨éãã¾ãã
ã3.vmxfãã¡ã¤ã«ã®ç·¨é
ãvmxfãã¡ã¤ã«ãããã¹ãã¨ãã£ã¿ã§éãã以ä¸ã®è¨è¼ãç·¨éãã¾ãã
ã4.vmdkãã¡ã¤ã«ã®ç·¨é
ãvmdkãã¡ã¤ã«ãããã¹ãã¨ãã£ã¿ã§éãã以ä¸ã®è¨è¼ãç·¨éãã¾ãã
ãã»VMwareã¸ã®è¿½å ç»é²
ãã³ãã¼ããã²ã¹ãOSãVMwareã«è¿½å ç»é²ãã¾ãã
ãã»ä»®æ³ãã·ã³ä¸ã®NICãå¤æ´
ããMACã¢ãã¬ã¹ã®ç«¶åãé²ããããã³ãã¼ããã²ã¹ãOSã®NICãåé¤ã追å ããNICãä»ãæ¿ãã¾ãã
ãã»å
±æãã£ã¹ã¯ã®è¿½å
1.COSOL01ã§ãã£ã¹ã¯ã追å ä½æ
ãå
±æãã£ã¹ã¯ã¯ã²ã¹ãOSã¨ã¯å¥ã®ãã©ã«ãã«ä½æãã¾ããæ¬ç°å¢ã§ã¯ã²ã¹ãOSã®ãã©ã«ãã¨åãé層ã®å¥ãã©ã«ãã«ä½æãã¾ããã
2.COSOL02ã§ãã£ã¹ã¯ã追å
ãCOSOL01ã§ä½æããå
±æãã£ã¹ã¯ãCOSOL02ã§è¿½å ãã¾ãã
3.vmxãã¡ã¤ã«ã®ç·¨é
ãä¸è¦ãªãã¡ã¤ã«ãã£ãã·ã³ã°ã®æ©è½ããããã¯ã®æ©è½ãç¡å¹ã«ããããã«åã²ã¹ãOSã®vmxãã¡ã¤ã«ãããã¹ãã¨ãã£ã¿ã§éããæçµè¡ã«ä»¥ä¸ã追è¨ãã¾ãã
ã6.OSã³ãã¼å¾ã®è¨å®
ãã»ã²ã¹ãOSã®èµ·å
ããåã²ã¹ãOSãèµ·åãã¾ããã³ãã¼ããã²ã¹ãOS(COSOL02)ã«ã¤ãã¦ã¯ãååèµ·åæã«ä»¥ä¸ã¡ãã»ã¼ã¸ãåºåããã¾ãã®ã§I_copied ãé¸æãã¦ãã ããã
ãã»COSOL02ã®è¨å®å¤æ´
ããOSãèµ·åããããCOSOL02ã§ä»¥ä¸ã®æé ãå®æ½ãã¦ãã ããã
ãã1.ãã¹ãåã®å¤æ´
ãã2.IPã¢ãã¬ã¹ã®å¤æ´
ãã3.ç°å¢å¤æ°ã®å¤æ´
ããgridã¦ã¼ã¶ãoracleã¦ã¼ã¶ã§ãSIDãªã©ããã¼ãã«ããç°ãªãç°å¢å¤æ°ãè¨å®ãã¦ãã ããã
ãã»ä¸¡ãã¼ãã§ã®è¨å®å¤æ´
ãã両ãã¼ãã§ä»¥ä¸ã®æé ãå®æ½ãã¦ãã ããã
1.å
±æãã£ã¹ã¯ã®è¨å®
ãfdiskã³ãã³ãã§ãã¼ãã£ã·ã§ã³ã®ä½æããããªã©ãå
±æãã£ã¹ã¯ã®è¨å®ãå®æ½ãã¦ãã ããã
2.cvuqdiskããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã«
ãã¤ã³ã¹ãã¼ã«ã»ã¡ãã£ã¢ã®rpmãã£ã¬ã¯ããªã«ãããcvuqdiskããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãã¦ãã ããã
3.æå»åæè¨å®
ãOracle Clusterwareã§ã¯ãå
¨ã¦ã®ã¯ã©ã¹ã¿ã»ãã¼ãã§åãã¿ã¤ã ã¾ã¼ã³è¨å®ãå¿
è¦ã¨ãªãã¾ããæå»ãåæãããæ¹æ³ã¯2ã¤ããã¾ãã
ã-ãããã¯ã¼ã¯ã»ã¿ã¤ã ã»ãããã³ã«(NTP)
ã-Oracleã¯ã©ã¹ã¿æå»åæåãµã¼ãã¹(ctssd)
ãä»åã¯Oracleã¯ã©ã¹ã¿æå»åæåãµã¼ãã¹ã使ç¨ãããã¨ã«ãã¾ããããã®ãµã¼ãã¹ãæå¹ã«ããããã«ãGrid Infrastructureã¤ã³ã¹ãã¼ã«åã«ä»¥ä¸æé ãå®æ½ããNTPã®æ§æãç¡å¹åãã¦ãã ããã
ã7.Grid Infrastructureã¤ã³ã¹ãã¼ã«
ãã»åææ¡ä»¶ãã§ãã¯ã®ã¨ã©ã¼
ããOSã®è¨å®ãæ£ããå ´åã§ããã¤ã³ã¹ãã¼ã«åã®åææ¡ä»¶ãæºããã¦ããªãã¨å¤æããããã¨ãããã¾ããããã詳細ã«ã¤ãã¦ã以ä¸ã«è¨è¼ãã¾ãã
ã-ç©çã¡ã¢ãªã¼
ããå¿
é è¦ä»¶ãæºããã¦ããªãããã¹ãã¼ã¿ã¹ãè¦åã¨ãªãã¾ããããã®ã¾ã¾é²ãã¦åé¡ããã¾ããã
ã-ã¿ã¹ã¯resolv.confã®æ´åæ§
ããSCANãã¹ãåãDNSã§ã¯ãªãhostsãã¡ã¤ã«ã®ã¿ã§åå解決ããã¦ããå ´åãresolv.confã失æãã¾ãããããSCANãã¹ãåãæ£ããè¨å®ããã¦ãããã¨ã確èªã§ããã°ããã®ã¾ã¾é²ãã¦åé¡ããã¾ããã
ãã»ã·ã§ã«ã®å®è¡
ããOracle Databaseãå°å
¥ããéãOUIã®æå¾ã«orainstRoot.shãroot.shãå®è¡ãã¾ãããåæ§ã®ãã®ãGrid ãInfrastructureã«ãåå¨ãã¾ããRACã®å ´åã¯å
¨ãã¼ãã§å®è¡ããå¿
è¦ãããã¾ããå¿
ã1ãã¼ããã¤é çªã«å®è¡ãã¦ãã ããã
ãã»ã¤ã³ã¹ãã¼ã«æã®ã¨ã©ã¼
ããOracle Cluster Verificationã¦ã¼ãã£ãªãã£ã§ä»¥ä¸ã¨ã©ã¼ãçºçãã¾ãããSCANãã¹ãåãhostsãã¡ã¤ã«ã§åå解決ããå ´åã«çºçããã¨ã©ã¼ã¨ãªãã¾ããæ¬ã¨ã©ã¼ã¯ç¡è¦å¯è½ã§ãã®ã§ãã®ã¾ã¾ã¤ã³ã¹ãã¼ã«ãé²ãã¦åé¡ããã¾ããã
ã8.Oracle Databaseã¤ã³ã¹ãã¼ã«
ãã»åææ¡ä»¶ãã§ãã¯ã®ã¨ã©ã¼
ãã-ã¿ã¹ã¯resolv.confã®æ´åæ§
ãããGrid Infrastructureã¤ã³ã¹ãã¼ã«æã¨åæ§ã§ãã
ãã-åä¸ã¯ã©ã¤ã¢ã³ãã»ã¢ã¯ã»ã¹å(SCAN)
ãããPRVG-1101ã®ã¨ã©ã¼ãçºçããã¹ãã¼ã¿ã¹ãè¦åã¨ãªãã¾ãã ãã®ãã§ãã¯ã«ã¤ãã¦ããSCANãã¹ãåãDNSã§ã¯ãªãhostsãã¡ã¤ã«ã®ã¿ã§åå解決ããã¦ããå ´åã«çºçãããã®ã§ãããã®ã¾ã¾é²ãã¦åé¡ããã¾ããã
ã9.ãã¼ã¿ãã¼ã¹ä½æ
ãã»ãã¼ã¿ãã¼ã¹ä½æ
ãããã¼ã¿ãã¼ã¹ã®ä½æã¯ã·ã³ã°ã«ã®å ´åã¨å¤§ããªéãã¯ããã¾ããã以ä¸ã®ç¹ã«æ³¨æããä½æãã¦ãã ããã
ãã-ãªã³ã©ã¤ã³REDOãã°ã®ã°ã«ã¼ããUNDO表é åã¯ã¤ã³ã¹ã¿ã³ã¹åä½ã§å²ãå½ã¦ãå¿
è¦ããã
ãã-è¨æ¶åã®ã¿ã¤ãã«èªåã¹ãã¬ã¼ã¸ç®¡ç(ASM)ãé¸æãã
ãã»DBä½æå¾ã®ç¢ºèª
ããgridã¦ã¼ã¶ã§ä»¥ä¸ã³ãã³ããå®è¡ããgsd以å¤ã®ã¹ãã¼ã¿ã¹ãonlineã«ãªã£ã¦ããã°ãRACã®æ§ç¯ã¯å®äºã§ãï¼ï¼
ã第ä¸åç®ã¯ä»¥ä¸ã¨ãªãã¾ããRACã«è§¦ããæ©ä¼ããªãã£ã人ã¯ãæ¯éãã®æ©ä¼ã«æ§ç¯ãã触ã£ã¦ã¿ã¦ãã ããã