【正文】
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 byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now productspecific root actions will be performed.Finished productspecific root actions.四 創(chuàng)建ASM DiskGroup Gird用戶執(zhí)行asmca [gridHA2BICS01 ~]$asmca指定asmsys用戶密碼創(chuàng)建磁盤組DGSYS,冗余級別external修改asm pfile參數(shù)創(chuàng)建磁盤組DGDATA, 冗余級別external五 創(chuàng)建Database Oracle用戶執(zhí)行dbca[oracleHA2BICS01 ~]$dbca選擇create database 選擇custom database 指定oracle_sid禁止Oracle enterprise manager指定sys,system用戶密碼選擇存儲方式 ASM禁用FRA,歸檔(根據(jù)情況選擇)選擇組件,除Oracle XML DB之外其它都不選選擇字符集ZHS16GBK修改max datafiles值配置數(shù)據(jù)文件,禁用自動擴展 附:手動建庫腳本 六 創(chuàng)建Listener 用gird用戶執(zhí)行netca [gridHA2BICS01 ~]$netca檢查監(jiān)聽狀態(tài)[gridHA2BICS01 ~]$ srvctl status listener Listener LISTENER is enabledListener LISTENER is running on node(s): ha2bics01查看has,database,listener狀態(tài)[gridHA2BICS01 ~]$ crsctl status resource tNAME TARGET STATE SERVER STATE_DETAILS Local Resources ONLINE ONLINE ha2bics01 ONLINE ONLINE ha2bics01 ONLINE ONLINE ha2bics01 ONLINE ONLINE ha2bics01 Started OFFLINE OFFLINE