真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

Oracle12CRACCDB數(shù)據(jù)庫部署

Oracle 中的12C新特性-容器數(shù)據(jù)庫

讓客戶滿意是我們工作的目標(biāo),不斷超越客戶的期望值來自于我們對這個(gè)行業(yè)的熱愛。我們立志把好的技術(shù)通過有效、簡單的方式提供給客戶,將通過不懈努力成為客戶在信息化領(lǐng)域值得信任、有價(jià)值的長期合作伙伴,公司提供的服務(wù)項(xiàng)目有:申請域名、網(wǎng)絡(luò)空間、營銷軟件、網(wǎng)站建設(shè)、茂南網(wǎng)站維護(hù)、網(wǎng)站推廣。

---12.1.0.2_GI_RAC_Create_CDB_Blog


一、          安裝前的準(zhǔn)備

安裝兩個(gè)節(jié)點(diǎn)的 12.1.0.2 GI/RAC ,創(chuàng)建 CDB 數(shù)據(jù)庫。

1.    關(guān)閉 SELINUX

vim /etc/selinux/config
* Change the SELINUX value to "SELINUX=disabled".
另外,關(guān)閉OS iptable等服務(wù)
service NetworkManager stop
service iptables stop
chkconfig NetworkManager off
chkconfig iptables off

2.    網(wǎng)絡(luò)IP配置(HOSTS文件)

cat /etc/hosts
# vastdata11
192.168.56.11          vastdata11.us.oracle.com        vastdata11
192.168.56.21          vastdata11-vip.us.oracle.com    vastdata11-vip
10.0.0.2               vastdata11-priv1.us.oracle.com  vastdata11-priv1
10.0.0.3               vastdata11-priv2.us.oracle.com  vastdata11-priv2
             
# vastdata12 
192.168.56.12          vastdata12.us.oracle.com        vastdata12
192.168.56.22          vastdata12-vip.us.oracle.com    vastdata12-vip
10.0.0.4               vastdata12-priv1.us.oracle.com  vastdata12-priv1
10.0.0.5               vastdata12-priv2.us.oracle.com  vastdata12-priv2
             
# rac-scan   
192.168.56.33          vastdata-scan.us.oracle.com     vastdata-scan
192.168.56.34          vastdata-scan.us.oracle.com     vastdata-scan
192.168.56.35          vastdata-scan.us.oracle.com     vastdata-scan

3.    安裝OS系統(tǒng)RPM包

Oracle Linux 6 and Red Hat Linux 6 需要安裝下面系統(tǒng)RPM包, 其他OS版本請參考在線文檔: http://docs.oracle.com/database/121/CWLIN/prelinux.htm#CEGCECCC

配置YUM源

cd /etc/yum.repos.d/
cat yum.repo
[oel6] 
name=OEL6.5 
baseurl=file:///media/OL6.5\ x86_64\ Disc\ 1\ 20131125 
gpgcheck=0 
enabled=1

安裝RPM包

yum install binutils compat-libcap1 compat-libstdc++-33 iptraf gcc gcc-c++ glibc-devel glibc elfutils-libelf-devel compat-libcap1 compat-libstdc++-33 libaio-devel ksh libgcc libstdc libstdc++ libstdc++-devel libaio libaio-devel make sysstat unixODBC unixODBC-devel -y
yum install binutils-2.20.51.0.2-5.11.el6 compat-libcap1-1.10-1 compat-libstdc++-33-3.2.3-69.el6 compat-libstdc++-33-3.2.3-69.el6.i686 gcc-4.4.4-13.el6 gcc-c++-4.4.4-13.el6 glibc-2.12-1.7.el6 glibc-2.12-1.7.el6 glibc-devel-2.12-1.7.el6 glibc-devel-2.12-1.7.el6.i686 ksh libgcc-4.4.4-13.el6 libgcc-4.4.4-13.el6 libstdc++-4.4.4-13.el6 libstdc++-4.4.4-13.el6.i686 libstdc++-devel-4.4.4-13.el6 libstdc++-devel-4.4.4-13.el6.i686 libaio-0.3.107-10.el6 libaio-0.3.107-10.el6.i686 libaio-devel-0.3.107-10.el6 libaio-devel-0.3.107-10.el6.i686 libXext-1.1 libXext-1.1 libXtst-1.0.99.2 libXtst-1.0.99.2 libX11-1.3 libX11-1.3 libXau-1.0.5 libXau-1.0.5 libxcb-1.5 libxcb-1.5 libXi-1.3 libXi-1.3 make-3.81-19.el6 sysstat-9.0.4-11.el6 nfs-utils-1.2.3-15.0.1 -y

4.    Ulimit 資源設(shè)置

設(shè)置/etc/security/limits.conf,詳細(xì)參考在線文檔:

http://docs.oracle.com/database/121/LADBI/usr_grps.htm#LADBI7674

oracle    soft    nproc     2047 
oracle    hard    nproc     16384 
oracle    soft    nofile    1024 
oracle    hard    nofile    65536 
oracle    soft    stack     10240 
oracle    hard    stack     10240
grid      soft    nproc     2047 
grid      hard    nproc     16384 
grid      soft    nofile    1024 
grid      hard    nofile    65536 
grid      soft    stack     10240 
grid      hard    stack     10240

5.    添加用戶組

groupadd -g 54321 oinstall
groupadd -g 54322 dba
groupadd -g 54328 asmadmin
groupadd -g 54325 asmdba
useradd -u 54322 -g oinstall -G asmadmin,asmdba grid
useradd -u 54321 -g oinstall -G dba,asmdba oracle
echo "oracle" | passwd --stdin oracle
echo "grid" | passwd --stdin grid

6.    創(chuàng)建目錄結(jié)構(gòu)

--創(chuàng)建 GRID_BASE
mkdir -p /u01/app/grid
 
--創(chuàng)建 GRID_HOME
mkdir -p /u01/12.1.0/grid
chown -R grid:oinstall /u01
chmod -R 775 /u01/
chmod -R 775 /u01/12.1.0/grid
 
--創(chuàng)建 ORACLE_BASE
mkdir -p /u01/app/oracle
chown oracle:oinstall /u01/app/oracle
chmod -R 775 /u01/

7.    配置oracle、grid用戶環(huán)境變量

GRID環(huán)境變量
 
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_HOSTNAME=vastdata11.us.oracle.com
export ORACLE_SID=+ASM1
export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=/u01/12.1.0/grid
export NLS_DATE_FORMAT="yy-mm-dd hh34:mi:ss"
export PATH=$ORACLE_HOME/bin:/usr/sbin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
umask 022
-------------------------------------------------------------------------------
ORACLE環(huán)境變量
 
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_HOSTNAME=vastdata11.us.oracle.com
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/12.1.0/db_1
export ORACLE_UNQNAME=PROD
export ORACLE_SID=PROD1
export PATH=$ORACLE_HOME/bin:/usr/sbin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib 
export NLS_DATE_FORMAT="yyyy-mm-dd hh34:mi:ss"
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
umask 022

8.    private- 配置私網(wǎng)

vim /etc/sysconfig/network-scripts/ifcfg-eth3
DEVICE=eth3
IPADDR=10.0.0.2
NETMASK=255.255.255.0
TYPE=Ethernet
NM_CONTROLLED=yes
USERCTL=no
BOOTPROTO=none
ONBOOT=yes

9.    綁定網(wǎng)卡-Bond

1)    加載bond功能

modprobe --first-time bonding
lsmod | grep bonding

2)    配置網(wǎng)卡文件

vim /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
TYPE=Bond
IPADDR=192.168.56.11
NETMASK=255.255.255.0
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
BONDING_MASTER=yes
BONDING_OPTS="mode=0 miimon=100"
 
vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
 
vim /etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
 
vim /etc/modprobe.d/dist.conf
alias bond0 bonding
options bonding miimon=100 mode=0

3)    重啟網(wǎng)卡服務(wù)

service network restart
cat /proc/net/bonding/bond0
ifconfig

10.    配置解析服務(wù)器

1)    主域名解析服務(wù)器

yum install bind bind-chroot -y
cp -p /etc/named.conf /etc/named.conf.bak
vim /etc/named.conf
 
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
    listen-on port 53 { any; };
    directory   "/var/named";
        allow-query     { any; };
    allow-query-cache     { any; };
    recursion no;
};
  
zone "." IN {
    type hint;
    file "named.ca";
};
  
zone "us.oracle.com" IN {
        type master;
        file "us.oracle.com.zone";
};
  
zone "56.168.192.in-addr.arpa" IN {
        type master;
        file "192.168.56.local";
};
 
cd /var/named/
cp -p named.localhost us.oracle.com.zone
cp -p us.oracle.com.zone 192.168.56.local
vim /var/named/us.oracle.com.zone 
 
$TTL 1D
@   IN SOA  vastdata11.us.oracle.com.     root.us.oracle.com. (
                       0   ; serial
                       1D  ; refresh
                       1H  ; retry
                       1W  ; expire
                       3H )    ; minimum
               NS     dns.us.oracle.com.
vastdata11             A     192.168.56.11
vastdata12             A     192.168.56.12
vastdata-scan          A     192.168.56.33
vastdata-scan          A     192.168.56.34
vastdata-scan          A     192.168.56.35
dns                    A     192.168.56.44
vastdata11-vip         A     192.168.56.21
vastdata12-vip         A     192.168.56.22
vastdata11-priv1       A     10.0.0.2
vastdata11-priv2       A     10.0.0.3
vastdata12-priv1       A     10.0.0.4
vastdata12-priv2       A     10.0.0.5
 
vim /var/named/192.168.56.local 
$TTL 1D
@   IN SOA  vastdata11.us.oracle.com.     root.us.oracle.com. (
                       0   ; serial
                       1D  ; refresh
                       1H  ; retry
                       1W  ; expire
                       3H )    ; minimum
           IN NS   dns.us.oracle.com.
11         IN PTR  vastdata11.us.oracle.com.
12         IN PTR  vastdata12.us.oracle.com.
33         IN PTR  vastdata-scan.us.oracle.com.
34         IN PTR  vastdata-scan.us.oracle.com.
35         IN PTR  vastdata-scan.us.oracle.com.
44         IN PTR  dns
21         IN PTR  vastdata11-vip.us.oracle.com.
22         IN PTR  vastdata12-vip.us.oracle.com.
 
service network restart
service named restart
chkconfig named on
chkconfig named --list
-----------------------------------------------
nslookup vastdata-scan.us.oracle.com

2)    從域名解析服務(wù)器

cd /etc/
vim named.conf 
 
options {
    directory   "/var/named";
        allow-query     { any; };
    recursion no;
};
zone "us.oracle.com" IN {
        type slave;
        file "slave/us.oracle.com.zone";
        masters { 192.168.56.11; };
        allow-transfer { none; };
};
zone "56.168.192.in-addr.arpa" IN {
        type slave;
        file "slave/192.168.56.rev";
        masters { 192.168.56.11; };
};
 
CLIENT DNS配置
vim /etc/resolv.conf   
nameserver 192.168.56.11
 
service named restart
nslookup vastdata-scan.us.oracle.com

11.    配置 ASM Disk

第一種:使用 udev 
第二種:使用 asmlib 
-------------------------------------------------------------------------------
--首先OS層面配置disk 
fdisk /dev/sdb 
--配置后的disk信息:
ls -l /dev/sd* 
--標(biāo)記新加卷組
vim 1.sh 
for i in b c d ; 
do
echo "KERNEL==\"sd*\", BUS==\"scsi\", PROGRAM==\"/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/\$name\", RESULT==\"`/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/sd$i`\", NAME=\"asm-disk$i\", OWNER=\"grid\", GROUP=\"asmadmin\", MODE=\"0660\"" >> /etc/udev/rules.d/99-oracle-asmdevices.rules 
done
 
chmod +x 1.sh
./1.sh 
cat /etc/udev/rules.d/99-oracle-asmdevices.rules
start_udev
ls -al /dev/asm-disk*

12.    配置互信

(root、grid、oracle,這三個(gè)用戶都需要配置互信,以及與自己配置互信)

ssh-keygen -t rsa
cd /root/.ssh/
cat id_rsa.pub >> authorized_keys
service sshd restart

13.    時(shí)間同步功能

在主DNS服務(wù)器重啟后則變成active,否則就是觀望者(observer)

關(guān)閉兩臺(tái)機(jī)器的時(shí)間同步功能:

rm -rf /etc/ntp.conf
rm -rf /etc/sysconfig/ntpd

14.    CVU 檢查

運(yùn)行 CVU 檢查系統(tǒng)配置是否滿足條件,在運(yùn)行 CVU 之前需要手動(dòng)配置 SSH

./runcluvfy.sh stage -pre crsinst -n vastdata11,vastdata12 -fixup -verbose

二、          安裝配置集群 GRID

1.    運(yùn)行OUI

1)    運(yùn)行 runInstaller

export DISPLAY=192.168.56.1:1.0
xhost +

2)    選擇安裝集群

Oracle 12C RAC CDB數(shù)據(jù)庫部署

3)    配置標(biāo)準(zhǔn)集群

Oracle 12C RAC CDB數(shù)據(jù)庫部署

4)    高級安裝

Oracle 12C RAC CDB數(shù)據(jù)庫部署

5)    選擇語言

Oracle 12C RAC CDB數(shù)據(jù)庫部署

6)    配置集群名和 SCAN

Oracle 12C RAC CDB數(shù)據(jù)庫部署

7)    選擇節(jié)點(diǎn)信息

Oracle 12C RAC CDB數(shù)據(jù)庫部署

8)    配置測試 SSH

Oracle 12C RAC CDB數(shù)據(jù)庫部署

9)    配置網(wǎng)卡

Oracle 12C RAC CDB數(shù)據(jù)庫部署

10)    選擇標(biāo)準(zhǔn) ASM 存儲(chǔ)

Oracle 12C RAC CDB數(shù)據(jù)庫部署

11)    創(chuàng)建 diskgroup

Oracle 12C RAC CDB數(shù)據(jù)庫部署

12)    ASM Password

Oracle 12C RAC CDB數(shù)據(jù)庫部署

13)    配置失敗隔離

Oracle 12C RAC CDB數(shù)據(jù)庫部署

14)    配置 EM

Oracle 12C RAC CDB數(shù)據(jù)庫部署

15)    配置 OS group

Oracle 12C RAC CDB數(shù)據(jù)庫部署

16)    配置GI安裝目錄和數(shù)據(jù)目錄,以及oraInventory目錄

Oracle 12C RAC CDB數(shù)據(jù)庫部署

Oracle 12C RAC CDB數(shù)據(jù)庫部署

17)    選擇 root 腳本自動(dòng)運(yùn)行,如果不選擇,那么按照 12c 之前的方法手動(dòng)運(yùn)行 root.sh

Oracle 12C RAC CDB數(shù)據(jù)庫部署

18)    前提檢查

Oracle 12C RAC CDB數(shù)據(jù)庫部署

       執(zhí)行修復(fù)腳本

Oracle 12C RAC CDB數(shù)據(jù)庫部署

             再次檢查

Oracle 12C RAC CDB數(shù)據(jù)庫部署

              忽略可ignore的warning

Oracle 12C RAC CDB數(shù)據(jù)庫部署

19)    總結(jié)

Oracle 12C RAC CDB數(shù)據(jù)庫部署

20)    開始安裝,提示自動(dòng)運(yùn)行 root.sh 腳本

Oracle 12C RAC CDB數(shù)據(jù)庫部署

21)    繼續(xù)配置集群

Oracle 12C RAC CDB數(shù)據(jù)庫部署

2.    資源狀態(tài)

[grid@vastdata11 ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       vastdata11               STABLE
               ONLINE  ONLINE       vastdata12               STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       vastdata11               STABLE
               ONLINE  ONLINE       vastdata12               STABLE
ora.asm
               ONLINE  ONLINE       vastdata11               Started,STABLE
               ONLINE  ONLINE       vastdata12               Started,STABLE
ora.net1.network
               ONLINE  ONLINE       vastdata11               STABLE
               ONLINE  ONLINE       vastdata12               STABLE
ora.ons
               ONLINE  ONLINE       vastdata11               STABLE
               ONLINE  ONLINE       vastdata12               STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.MGMTLSNR
      1        ONLINE  ONLINE       vastdata11               169.254.62.144 10.0.
                                                             0.2 10.0.0.2,STABLE
ora.cvu
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.mgmtdb
      1        ONLINE  ONLINE       vastdata11               Open,STABLE
ora.oc4j
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.scan2.vip
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.scan3.vip
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.vastdata11.vip
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.vastdata12.vip
      1        ONLINE  ONLINE       vastdata12               STABLE
--------------------------------------------------------------------------------
[grid@vastdata11 ~]$ crsctl stat res -t -init
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
      1        ONLINE  ONLINE       vastdata11               Started,STABLE
ora.cluster_interconnect.haip
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.crf
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.crsd
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.cssd
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.cssdmonitor
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.ctssd
      1        ONLINE  ONLINE       vastdata11               ACTIVE:0,STABLE
ora.diskmon
      1        OFFLINE OFFLINE                               STABLE
ora.drivers.acfs
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.evmd
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.gipcd
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.gpnpd
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.mdnsd
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.storage
      1        ONLINE  ONLINE       vastdata11               STABLE
--------------------------------------------------------------------------------
[grid@vastdata12 ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       vastdata11               STABLE
               ONLINE  ONLINE       vastdata12               STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       vastdata11               STABLE
               ONLINE  ONLINE       vastdata12               STABLE
ora.asm
               ONLINE  ONLINE       vastdata11               Started,STABLE
               ONLINE  ONLINE       vastdata12               Started,STABLE
ora.net1.network
               ONLINE  ONLINE       vastdata11               STABLE
               ONLINE  ONLINE       vastdata12               STABLE
ora.ons
               ONLINE  ONLINE       vastdata11               STABLE
               ONLINE  ONLINE       vastdata12               STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.MGMTLSNR
      1        ONLINE  ONLINE       vastdata11               169.254.62.144 10.0.
                                                             0.2 10.0.0.2,STABLE
ora.cvu
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.mgmtdb
      1        ONLINE  ONLINE       vastdata11               Open,STABLE
ora.oc4j
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.scan2.vip
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.scan3.vip
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.vastdata11.vip
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.vastdata12.vip
      1        ONLINE  ONLINE       vastdata12               STABLE
--------------------------------------------------------------------------------
[grid@vastdata12 ~]$ crsctl stat res -t -init
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
      1        ONLINE  ONLINE       vastdata12               Started,STABLE
ora.cluster_interconnect.haip
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.crf
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.crsd
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.cssd
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.cssdmonitor
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.ctssd
      1        ONLINE  ONLINE       vastdata12               ACTIVE:0,STABLE
ora.diskmon
      1        OFFLINE OFFLINE                               STABLE
ora.drivers.acfs
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.evmd
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.gipcd
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.gpnpd
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.mdnsd
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.storage
      1        ONLINE  ONLINE       vastdata12               STABLE
--------------------------------------------------------------------------------

三、          安裝/創(chuàng)建 Database

1.    運(yùn)行 OUI/runInstaller

1)    運(yùn)行 runInstaller

2)    忽略 update 配置

Oracle 12C RAC CDB數(shù)據(jù)庫部署

Oracle 12C RAC CDB數(shù)據(jù)庫部署

3)    只安裝軟件

Oracle 12C RAC CDB數(shù)據(jù)庫部署

4)    選擇安裝 RAC 數(shù)據(jù)庫

Oracle 12C RAC CDB數(shù)據(jù)庫部署

5)    選擇 RAC 節(jié)點(diǎn)

Oracle 12C RAC CDB數(shù)據(jù)庫部署

Oracle 12C RAC CDB數(shù)據(jù)庫部署

Oracle 12C RAC CDB數(shù)據(jù)庫部署

6)    選擇語言

Oracle 12C RAC CDB數(shù)據(jù)庫部署

7)    選擇版本

Oracle 12C RAC CDB數(shù)據(jù)庫部署

8)    選擇 ORACLE_HOME

Oracle 12C RAC CDB數(shù)據(jù)庫部署

9)    配置 OS 組

Oracle 12C RAC CDB數(shù)據(jù)庫部署

10)          前提檢查

Oracle 12C RAC CDB數(shù)據(jù)庫部署

Oracle 12C RAC CDB數(shù)據(jù)庫部署

11)          總結(jié)

Oracle 12C RAC CDB數(shù)據(jù)庫部署

12)          開始安裝,并執(zhí)行root.sh腳本

Oracle 12C RAC CDB數(shù)據(jù)庫部署

Oracle 12C RAC CDB數(shù)據(jù)庫部署

2.   ASMCA創(chuàng)建磁盤組

Oracle 12C RAC CDB數(shù)據(jù)庫部署

Oracle 12C RAC CDB數(shù)據(jù)庫部署

Oracle 12C RAC CDB數(shù)據(jù)庫部署

3.    DBCA 建庫(CDB)

1)    運(yùn)行 dbca

2)    創(chuàng)建數(shù)據(jù)庫

Oracle 12C RAC CDB數(shù)據(jù)庫部署

3)    高級安裝

Oracle 12C RAC CDB數(shù)據(jù)庫部署

4)    選擇數(shù)據(jù)庫類型是 RAC 類型, 配置類型是 Admin-Managed

Oracle 12C RAC CDB數(shù)據(jù)庫部署

5)    設(shè)置數(shù)據(jù)庫名,并且選擇創(chuàng)建 Container database

Oracle 12C RAC CDB數(shù)據(jù)庫部署

6)    選擇節(jié)點(diǎn)

Oracle 12C RAC CDB數(shù)據(jù)庫部署

7)    OEM 和 CVU 配置

Oracle 12C RAC CDB數(shù)據(jù)庫部署

8)    密碼設(shè)置

Oracle 12C RAC CDB數(shù)據(jù)庫部署

9)    選擇 ASM 存儲(chǔ)

Oracle 12C RAC CDB數(shù)據(jù)庫部署

10)          在 CDB 數(shù)據(jù)庫類型中, 默認(rèn)所有組件都選擇

Oracle 12C RAC CDB數(shù)據(jù)庫部署

11)          其他配置選項(xiàng)

Oracle 12C RAC CDB數(shù)據(jù)庫部署

12)          內(nèi)存和字符集配置

Oracle 12C RAC CDB數(shù)據(jù)庫部署

Oracle 12C RAC CDB數(shù)據(jù)庫部署

13)          創(chuàng)建選項(xiàng)

Oracle 12C RAC CDB數(shù)據(jù)庫部署

14)          前提檢查

Oracle 12C RAC CDB數(shù)據(jù)庫部署

15)          總結(jié)

Oracle 12C RAC CDB數(shù)據(jù)庫部署

16)          開始安裝

Oracle 12C RAC CDB數(shù)據(jù)庫部署

Oracle 12C RAC CDB數(shù)據(jù)庫部署

4.    資源檢查

[grid@vastdata12 ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       vastdata11               STABLE
               ONLINE  ONLINE       vastdata12               STABLE
ora.FRA.dg
               ONLINE  ONLINE       vastdata11               STABLE
               ONLINE  ONLINE       vastdata12               STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       vastdata11               STABLE
               ONLINE  ONLINE       vastdata12               STABLE
ora.asm
               ONLINE  ONLINE       vastdata11               Started,STABLE
               ONLINE  ONLINE       vastdata12               Started,STABLE
ora.net1.network
               ONLINE  ONLINE       vastdata11               STABLE
               ONLINE  ONLINE       vastdata12               STABLE
ora.ons
               ONLINE  ONLINE       vastdata11               STABLE
               ONLINE  ONLINE       vastdata12               STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.MGMTLSNR
      1        ONLINE  OFFLINE                               169.254.67.242 10.0.
                                                             0.4,STABLE
ora.cdb.db
      1        ONLINE  ONLINE       vastdata11               Open,STABLE
      2        ONLINE  ONLINE       vastdata12               Open,STABLE
ora.cvu
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.mgmtdb
      1        ONLINE  OFFLINE                               STABLE
ora.oc4j
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       vastdata12               STABLE
ora.scan2.vip
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.scan3.vip
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.vastdata11.vip
      1        ONLINE  ONLINE       vastdata11               STABLE
ora.vastdata12.vip
      1        ONLINE  ONLINE       vastdata12               STABLE
--------------------------------------------------------------------------------
[grid@vastdata12 ~]$  crsctl stat res -t -init
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
      1        ONLINE  ONLINE       vastdata12         &n            
            
                        
分享題目:Oracle12CRACCDB數(shù)據(jù)庫部署
當(dāng)前地址:http://weahome.cn/article/pdjgoi.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部