Focus On Oracle

Installing, Backup & Recovery, Performance Tuning,
Troubleshooting, Upgrading, Patching

Oracle Engineered System


当前位置: 首页 » 技术文章 » Exadata

How to Build Exadata VM Step by Step(Cellversion 12.1)

我们无法通过Exadata Cell节点介质去构建一个真实的环境,她只运行在Oracle的服务器上,但我们可以创建Exadata模拟环境,需要至少两台虚拟机,一台用于Cell节点,一台用于DB节点。本文介绍通过Oracle虚拟软件VirtualBox来搭建环境:包含两个Cell节点,一个DB节点。存储节点版本为12.1.1,计算节点GI和DB的版本都为12.1.0.2


需要的软件

Virtualbox(Version 5.1.4, 2 Cell nodes, 1 DB node,Virtualbox & Guest additions,Memory 4G,Disk 20G)

    https://www.virtualbox.org/wiki/Downloads

    DB Node:

    IP Adress: 10.0.2.240
    Netmask: 255.255.255.0
    Gateway: 10.0.2.1

    Cell Nodes:

    IP Adress: 10.0.2.241
    Netmask: 255.255.255.0

    Gateway: 10.0.2.1

    IP Adress: 10.0.2.242
    Netmask: 255.255.255.0
    Gateway: 10.0.2.1

Exadata Storage Server Software(12.1.1.0)
         cellVersion:          OSS_12.1.1.1.0_LINUX.X64_131219
     kernelVersion:          4.1.12-37.4.1.el6uek.x86_64
    releaseVersion:         12.1.1.1.0
    V42777-01.zip

Oracle Linux
    Oracle Linux Release 6 Update 8 for x86_64 (64 Bit)
    [celladmin@cell01 ~]$ cat /etc/system-release
    Oracle Linux Server release 6.8
    
Oracle Grid
    12.1.0.2 Linux X86-64
    
Oracle Database
    12.1.0.2 Linux X86-64    

Cell节点安装过程
[root@cell01 ~]# ls -l |grep rpm
-rw-r--r--. 1 root root 321067509 Dec 19  2013 cell-12.1.1.1.0_LINUX.X64_131219-1.x86_64.rpm
-rw-r--r--. 1 root root  85414830 Dec 19  2013 jdk-1.7.0_25-fcs.x86_64.rpm
-rw-r--r--. 1 root root     38208 Jul 21 08:04 lm_sensors-libs-3.1.1-17.el6.x86_64.rpm
-rw-r--r--. 1 root root    315364 Jul 21 08:04 net-snmp-5.5-57.0.1.el6.x86_64.rpm
-rw-r--r--. 1 root root   1623228 Jul 21 08:04 net-snmp-libs-5.5-57.0.1.el6.x86_64.rpm
-rw-r--r--. 1 root root    180488 Jul 21 08:04 net-snmp-utils-5.5-57.0.1.el6.x86_64.rpm
-rw-r--r--. 1 root root     73668 Jul 21 08:04 perl-XML-Simple-2.18-6.el6.noarch.rpm
-rw-r--r--. 1 root root     71292 Jul 21 08:04 rdma-3.10-3.0.22.el6.noarch.rpm
-rw-r--r--. 1 root root     57520 Jul 21 08:04 rds-tools-2.0.7-1.12.el6.x86_64.rpm
[root@cell01 ~]#

所需的这些软件包可以从V42777-01.zip获取

检查/etc/hosts文件

[root@cell01 ~]# hostname
cell01.ohsdba.cn
[root@cell01 ~]# hostname -a
cell01
[root@cell01 ~]# hostname -f
cell01.ohsdba.cn
[root@cell01 ~]#
[root@cell01 ~]# cat /etc/hosts
127.0.0.1       localhost.localdomain   localhost
10.0.2.240      cell01.ohsdba.cn        cell01
[root@cell01 ~]#
[root@cell02 ~]# cat /etc/hosts
127.0.0.1       localhost.localdomain
10.0.2.242      cell02.ohsdba.cn cell02
[root@cell02 ~]#


注意:如果Cell节点包含:::1 localhost.localdomain,需要移除,否则安装会失败


创建相关目录
[root@cell01 ~]# mkdir /var/log/oracle
[root@cell01 ~]# mkdir /opt/oracle.cellos

修改配置文件
[root@cell01 ~]# echo "* soft nofile 131072" >>/etc/security/limits.conf
[root@cell01 ~]# echo "* hard nofile 131072" >>/etc/security/limits.conf
[root@cell01 ~]# tail -2 /etc/security/limits.conf
* soft    nofile       131072
* hard    nofile         131072
[root@cell01 ~]#
[root@cell01 ~]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmall = 4294967296
fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmmax = 4398046511104
kernel.panic_on_oops = 1
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
移除冲突的安装包如果已存在
[root@cell01 ~]# rpm -qa|egrep 'rds|rdma'
rdma-6.8_4.1-1.el6.noarch
words-3.0-17.el6.noarch
[root@cell01 ~]# rpm -e rdma
[root@cell01 ~]#

安装相关前置包
[root@cell01 ~]# rpm -ivh cell-12.1.1.1.0_LINUX.X64_131219-1.x86_64.rpm
error: Failed dependencies:
        jdk >= 1.5.0_12 is needed by cell-12.1.1.1.0_LINUX.X64_131219-1.x86_64
        net-snmp is needed by cell-12.1.1.1.0_LINUX.X64_131219-1.x86_64
        net-snmp-utils is needed by cell-12.1.1.1.0_LINUX.X64_131219-1.x86_64
[root@cell01 ~]#
[root@cell01 ~]#
[root@cell01 ~]# rpm -ivh jdk-1.7.0_25-fcs.x86_64.rpm
warning: jdk-1.7.0_25-fcs.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY
Preparing...                ########################################### [100%]
   1:jdk                    ########################################### [100%]
Unpacking JAR files...
        rt.jar...
        jsse.jar...
        charsets.jar...
        tools.jar...
        localedata.jar...
[root@cell01 ~]# rpm -ivh lm_sensors-libs-3.1.1-17.el6.x86_64.rpm
warning: lm_sensors-libs-3.1.1-17.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing...                ########################################### [100%]
   1:lm_sensors-libs        ########################################### [100%]
[root@cell01 ~]# rpm -ivh net-snmp-libs-5.5-57.0.1.el6.x86_64.rpm
warning: net-snmp-libs-5.5-57.0.1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing...                ########################################### [100%]
   1:net-snmp-libs          ########################################### [100%]
[root@cell01 ~]#
[root@cell01 ~]# rpm -ivh net-snmp-5.5-57.0.1.el6.x86_64.rpm
warning: net-snmp-5.5-57.0.1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing...                ########################################### [100%]
   1:net-snmp               ########################################### [100%]
[root@cell01 ~]#
[root@cell01 ~]# rpm -ivh net-snmp-utils-5.5-57.0.1.el6.x86_64.rpm
warning: net-snmp-utils-5.5-57.0.1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing...                ########################################### [100%]
   1:net-snmp-utils         ########################################### [100%]
[root@cell01 ~]#
[root@cell01 ~]# rpm -ivh rdma-3.10-3.0.22.el6.noarch.rpm
warning: rdma-3.10-3.0.22.el6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing...                ########################################### [100%]
   1:rdma                   ########################################### [100%]
[root@cell01 ~]# rpm -ivh rds-tools-2.0.7-1.12.el6.x86_64.rpm
warning: rds-tools-2.0.7-1.12.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing...                ########################################### [100%]
   1:rds-tools              ########################################### [100%]
[root@cell01 ~]#
[root@cell01 ~]# rpm -ivh perl-XML-Simple-2.18-6.el6.noarch.rpm
warning: perl-XML-Simple-2.18-6.el6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing...                ########################################### [100%]
   1:perl-XML-Simple        ########################################### [100%]
[root@cell01 ~]#
[root@cell01 ~]#

加载rds模块
[root@cell01 ~]# modprobe rds;modprobe rds_tcp;modprobe rds_rdma
[root@cell01 ~]# lsmod |grep rds
rds_rdma              129162  1
rdma_cm                45372  1 rds_rdma
ib_ipoib               90181  1 rds_rdma
ib_core                95204  7 rds_rdma,rdma_cm,iw_cm,ib_ipoib,ib_cm,ib_sa,ib_mad
rds_tcp                12383  0
rds                   247197  2 rds_rdma,rds_tcp
[root@cell01 ~]#
[root@cell01 ~]#
[root@cell01 ~]# cat /etc/modprobe.d/rds.conf
install rds /sbin/modprobe –ignore-install rds && /sbin/modprobe rds_tcp && /sbin/modprobe rds_rdma
[root@cell01 ~]#
[root@cell01 ~]#

安装CELL软件
[root@cell01 ~]# rpm -ivh cell-12.1.1.1.0_LINUX.X64_131219-1.x86_64.rpm
Preparing...                ########################################### [100%]
Pre Installation steps in progress ...
   1:cell                   ########################################### [100%]
Post Installation steps in progress ...
Set cellusers group for /opt/oracle/cell12.1.1.1.0_LINUX.X64_131219/cellsrv/deploy/log directory
Set 775 permissions for /opt/oracle/cell12.1.1.1.0_LINUX.X64_131219/cellsrv/deploy/log directory
/opt/oracle/cell12.1.1.1.0_LINUX.X64_131219/cellsrv/deploy
/opt/oracle/cell12.1.1.1.0_LINUX.X64_131219/cellsrv/deploy
/opt/oracle/cell12.1.1.1.0_LINUX.X64_131219
Installation SUCCESSFUL.
Starting RS and MS... as user celladmin
Done. Please Login as user celladmin and create cell to startup CELLSRV to complete cell configuration.
If this is a manual installation, please stop and restart ExaWatcher to pick up newly installed binaries.
You can run "/opt/oracle.ExaWatcher/ExaWatcher.sh --stop" and then "/opt/oracle.ExaWatcher/ExaWatcher.sh --fromconf" to stop and restart ExaWatcher.
Logout and then re-login to use the new cell environment.
[root@cell01 ~]#

创建模拟磁盘
[root@cell01 ~]# mkdir -p /opt/oracle/cell/disks/raw
[root@cell01 ~]# cat disk.sh
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_DISK01 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_DISK02 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_DISK03 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_DISK04 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_DISK05 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_DISK06 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_DISK07 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_DISK08 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_DISK09 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_DISK10 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_DISK11 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_DISK12 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_FLASH01 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_FLASH02 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_FLASH03 bs=1M count=200
dd if=/dev/zero of=/opt/oracle/cell/disks/raw/cell01_FLASH04 bs=1M count=200
[root@cell01 raw]#
[root@cell01 ~]# sh disk.sh
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.301104 s, 696 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.475035 s, 441 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.550667 s, 381 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.549862 s, 381 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.73799 s, 284 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.460279 s, 456 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.616093 s, 340 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.467934 s, 448 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.389138 s, 539 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.348063 s, 603 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.344375 s, 609 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.351951 s, 596 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.350031 s, 599 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.339297 s, 618 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.349027 s, 601 MB/s
200+0 records in
200+0 records out
209715200 bytes (210 MB) copied, 0.338173 s, 620 MB/s
[root@cell01 ~]#

切换至celladmin用户完成后续步骤
[root@cell01 ~]#
[root@cell01 ~]# su - celladmin
[celladmin@cell01 ~]$ cellcli
CellCLI: Release 12.1.1.1.0 - Production on Wed Sep 28 21:24:22 EDT 2016
Copyright (c) 2007, 2013, Oracle.  All rights reserved.
Cell Efficiency Ratio: 1

CellCLI> alter cell restart services all

Stopping the RS, CELLSRV, and MS services...
The SHUTDOWN of services was successful.
Starting the RS, CELLSRV, and MS services...
Getting the state of RS services...  running
Starting CELLSRV services...
The STARTUP of CELLSRV services was not successful.
CELL-01553: Incorrect IP in cellinit.ora. IP is invalid or has incorrect/missing netmask. Please refer to RS incident log.
Starting MS services...
The STARTUP of MS services was successful.

CellCLI> create cell cell01 interconnect1=eth0
Cell cell01 successfully created
Starting CELLSRV services...
The STARTUP of CELLSRV services was successful.
Flash cell disks, FlashCache, and FlashLog will be created...
CellDisk FD_00_cell01 successfully created
CellDisk FD_01_cell01 successfully created
CellDisk FD_02_cell01 successfully created
CellDisk FD_03_cell01 successfully created
Flash log cell01_FLASHLOG successfully created
Flash cache cell01_FLASHCACHE successfully created

CellCLI>

CellCLI> list cell detail
         name:                   cell01
         bbuChargeThreshold:     800
         bbuTempThreshold:       60
         bmcType:                absent
         cellVersion:            OSS_12.1.1.1.0_LINUX.X64_131219
         cpuCount:               1
         diagHistoryDays:        7
         fanCount:               0/0
         fanStatus:              normal
         flashCacheMode:         WriteThrough
         id:                     fff3af9a-bb2b-4398-b996-7c5c6d4a0175
         interconnectCount:      2
         interconnect1:          eth0
         ipaddress1:             10.0.2.241/24
         kernelVersion:          4.1.12-37.4.1.el6uek.x86_64
         makeModel:              Fake hardware
         metricHistoryDays:      7
         offloadGroupEvents:
         offloadEfficiency:      1.0
         powerCount:             0/0
         powerStatus:            normal
         releaseVersion:         12.1.1.1.0
         releaseTrackingBug:     16980054
         status:                 online
         temperatureReading:     0.0
         temperatureStatus:      normal
         upTime:                 0 days, 0:18
         cellsrvStatus:          running
         msStatus:               running
         rsStatus:               running

CellCLI> exit
quitting

查看cellinit.ora文件
[celladmin@cell01 ~]$
[celladmin@cell01 ~]$ cat /opt/oracle/cell/cellsrv/deploy/config/cellinit.ora
#CELL Initialization Parameters
version=0.0
HTTP_PORT=8888
bbuChargeThreshold=800
SSL_PORT=23943
RMI_PORT=23791
ipaddress1=10.0.2.240/24
bbuTempThreshold=60
DEPLOYED=TRUE
JMS_PORT=9127
BMC_SNMP_PORT=162
[celladmin@cell02 ~]$ cat /opt/oracle/cell/cellsrv/deploy/config/cellinit.ora
#CELL Initialization Parameters
version=0.0
HTTP_PORT=8888
bbuChargeThreshold=800
SSL_PORT=23943
RMI_PORT=23791
ipaddress1=10.0.2.242/24
bbuTempThreshold=60
DEPLOYED=TRUE
JMS_PORT=9127
BMC_SNMP_PORT=162
[celladmin@cell02 ~]$

创建celldisk,griddisk
[celladmin@cell01 ~]$ cellcli
CellCLI> list celldisk
         FD_00_cell01    normal
         FD_01_cell01    normal
         FD_02_cell01    normal
         FD_03_cell01    normal

CellCLI>
CellCLI> list FLASHCACHE
         cell01_FLASHCACHE       critical - degraded

CellCLI> list FLASHLOG
         cell01_FLASHLOG         normal

CellCLI> list FLASHLOG detail
         name:                   cell01_FLASHLOG
         cellDisk:               FD_02_cell01,FD_03_cell01,FD_00_cell01,FD_01_cell01
         creationTime:           2016-09-28T21:25:26-04:00
         degradedCelldisks:
         effectiveSize:          512M
         efficiency:             100.0
         id:                     ccf66115-ce19-45f5-9b7c-4d1fb32d55ff
         size:                   512M
         status:                 normal

CellCLI> list FLASHCACHE detail
         name:                   cell01_FLASHCACHE
         cellDisk:
         creationTime:           2016-09-28T21:25:27-04:00
         degradedCelldisks:      FD_00_cell01,FD_02_cell01,FD_03_cell01,FD_01_cell01
         effectiveCacheSize:     0
         id:                     514c93b2-7437-4ad3-8325-5d75dd342904
         size:                   64M
         status:                 critical - degraded

CellCLI> create celldisk all
CellDisk CD_DISK01_cell01 successfully created
CellDisk CD_DISK02_cell01 successfully created
CellDisk CD_DISK03_cell01 successfully created
CellDisk CD_DISK04_cell01 successfully created
CellDisk CD_DISK05_cell01 successfully created
CellDisk CD_DISK06_cell01 successfully created
CellDisk CD_DISK07_cell01 successfully created
CellDisk CD_DISK08_cell01 successfully created
CellDisk CD_DISK09_cell01 successfully created
CellDisk CD_DISK10_cell01 successfully created
CellDisk CD_DISK11_cell01 successfully created
CellDisk CD_DISK12_cell01 successfully created

CellCLI>
CellCLI> list celldisk
         CD_DISK01_cell01        normal
         CD_DISK02_cell01        normal
         CD_DISK03_cell01        normal
         CD_DISK04_cell01        normal
         CD_DISK05_cell01        normal
         CD_DISK06_cell01        normal
         CD_DISK07_cell01        normal
         CD_DISK08_cell01        normal
         CD_DISK09_cell01        normal
         CD_DISK10_cell01        normal
         CD_DISK11_cell01        normal
         CD_DISK12_cell01        normal
         FD_00_cell01            normal
         FD_01_cell01            normal
         FD_02_cell01            normal
         FD_03_cell01            normal

CellCLI>
CellCLI> list celldisk CD_DISK01_cell01 detail
         name:                   CD_DISK01_cell01
         comment:
         creationTime:           2016-09-28T21:48:19-04:00
         deviceName:             /opt/oracle/cell12.1.1.1.0_LINUX.X64_131219/disks/raw/cell01_DISK01
         devicePartition:        /opt/oracle/cell12.1.1.1.0_LINUX.X64_131219/disks/raw/cell01_DISK01
         diskType:               HardDisk
         errorCount:             0
         freeSpace:              144M
         freeSpaceMap:           offset=48M,size=144M
         id:                     9573c103-5e33-475b-bad5-7abc676b5c3f
         interleaving:           none
         lun:                    /opt/oracle/cell12.1.1.1.0_LINUX.X64_131219/disks/raw/cell01_DISK01
         physicalDisk:           /opt/oracle/cell12.1.1.1.0_LINUX.X64_131219/disks/raw/cell01_DISK01
         raidLevel:              "RAID 0"
         size:                   192M
         status:                 normal

CellCLI> list celldisk FD_00_cell01 detail
         name:                   FD_00_cell01
         comment:
         creationTime:           2016-09-28T21:25:25-04:00
         deviceName:             /opt/oracle/cell12.1.1.1.0_LINUX.X64_131219/disks/raw/cell01_FLASH01
         devicePartition:        /opt/oracle/cell12.1.1.1.0_LINUX.X64_131219/disks/raw/cell01_FLASH01
         diskType:               FlashDisk
         errorCount:             0
         freeSpace:              0
         id:                     f5b85ffe-3644-4333-84da-94dc978212f2
         interleaving:           none
         lun:                    /opt/oracle/cell12.1.1.1.0_LINUX.X64_131219/disks/raw/cell01_FLASH01
         physicalDisk:           /opt/oracle/cell12.1.1.1.0_LINUX.X64_131219/disks/raw/cell01_FLASH01
         raidLevel:              "RAID 0"
         size:                   192M
         status:                 normal

CellCLI>
CellCLI> create griddisk all harddisk prefix=DATA,size=100M;
GridDisk DATA_CD_DISK01_cell01 successfully created
GridDisk DATA_CD_DISK02_cell01 successfully created
GridDisk DATA_CD_DISK03_cell01 successfully created
GridDisk DATA_CD_DISK04_cell01 successfully created
GridDisk DATA_CD_DISK05_cell01 successfully created
GridDisk DATA_CD_DISK06_cell01 successfully created
GridDisk DATA_CD_DISK07_cell01 successfully created
GridDisk DATA_CD_DISK08_cell01 successfully created
GridDisk DATA_CD_DISK09_cell01 successfully created
GridDisk DATA_CD_DISK10_cell01 successfully created
GridDisk DATA_CD_DISK11_cell01 successfully created
GridDisk DATA_CD_DISK12_cell01 successfully created

CellCLI> list griddisk
         DATA_CD_DISK01_cell01   active
         DATA_CD_DISK02_cell01   active
         DATA_CD_DISK03_cell01   active
         DATA_CD_DISK04_cell01   active
         DATA_CD_DISK05_cell01   active
         DATA_CD_DISK06_cell01   active
         DATA_CD_DISK07_cell01   active
         DATA_CD_DISK08_cell01   active
         DATA_CD_DISK09_cell01   active
         DATA_CD_DISK10_cell01   active
         DATA_CD_DISK11_cell01   active
         DATA_CD_DISK12_cell01   active

CellCLI> list griddisk DATA_CD_DISK01_cell01 detail
         name:                   DATA_CD_DISK01_cell01
         asmDiskGroupName:
         asmDiskName:
         asmFailGroupName:
         availableTo:
         cachingPolicy:          default
         cellDisk:               CD_DISK01_cell01
         comment:
         creationTime:           2016-09-28T21:59:29-04:00
         diskType:               HardDisk
         errorCount:             0
         id:                     b60e26da-f086-4c63-bd06-cad122b62825
         offset:                 48M
         size:                   96M
         status:                 active

CellCLI>

DB节点安装
DB节点安装和正常GI安装一样,我们只需要创建2个配置文件即可cellinit.ora和cellip.ora
[root@dbm network-config]# cd /etc/oracle/cell/network-config/
[root@dbm network-config]# ls
cellinit.ora  cellip.ora
[root@dbm network-config]# cat cellinit.ora
ipaddress1=10.0.2.240/24
[root@dbm network-config]# cat cellip.ora
cell="10.0.2.241","10.0.2.242"
[root@dbm network-config]# 


Discover字符串

o/10.0.2.*/*


response文件
[orgrid@dbm ~]$ egrep -v '^#|^$' grid.rsp

oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v12.1.0
ORACLE_HOSTNAME=dbm.ohsdba.cn
INVENTORY_LOCATION=/pgold/oraInventory
SELECTED_LANGUAGES=en
oracle.install.option=HA_CONFIG
ORACLE_BASE=/pgold/orgrid/grid_base
ORACLE_HOME=/pgold/orgrid/oracle/product/121
oracle.install.asm.OSDBA=asmdba
oracle.install.asm.OSOPER=asmoper
oracle.install.asm.OSASM=asmadmin
oracle.install.crs.config.gpnp.scanName=
oracle.install.crs.config.gpnp.scanPort=
 
oracle.install.crs.config.ClusterType=STANDARD
oracle.install.crs.config.clusterName=
oracle.install.crs.config.gpnp.configureGNS=false
oracle.install.crs.config.autoConfigureClusterNodeVIP=true
oracle.install.crs.config.gpnp.gnsOption=CREATE_NEW_GNS
oracle.install.crs.config.gpnp.gnsClientDataFile=
oracle.install.crs.config.gpnp.gnsSubDomain=
oracle.install.crs.config.gpnp.gnsVIPAddress=
oracle.install.crs.config.clusterNodes=
oracle.install.crs.config.networkInterfaceList=
oracle.install.crs.config.storageOption=
oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=
oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=NORMAL
oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=
oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=NORMAL               
oracle.install.crs.config.useIPMI=false
oracle.install.crs.config.ipmi.bmcUsername=
oracle.install.crs.config.ipmi.bmcPassword=
oracle.install.asm.SYSASMPassword=
oracle.install.asm.diskGroup.name=DATA
oracle.install.asm.diskGroup.redundancy=EXTERNAL
oracle.install.asm.diskGroup.AUSize=1
oracle.install.asm.diskGroup.disks=o/10.0.2.241/DATA_CD_DISK01_cell01,o/10.0.2.241/DATA_CD_DISK02_cell01,o/10.0.2.241/DATA_CD_DISK03_cell01,o/10.0.2.241/DATA_CD_DISK04_cell01,o/10.0.2.241/DATA_CD_DISK05_cell01,o/10.0.2.241/DATA_CD_DISK06_cell01,o/10.0.2.241/DATA_CD_DISK07_cell01,o/10.0.2.241/DATA_CD_DISK08_cell01,o/10.0.2.241/DATA_CD_DISK09_cell01,o/10.0.2.241/DATA_CD_DISK10_cell01,o/10.0.2.241/DATA_CD_DISK11_cell01,o/10.0.2.241/DATA_CD_DISK12_cell01,o/10.0.2.242/DATA_CD_DISK01_cell02,o/10.0.2.242/DATA_CD_DISK02_cell02,o/10.0.2.242/DATA_CD_DISK03_cell02,o/10.0.2.242/DATA_CD_DISK04_cell02,o/10.0.2.242/DATA_CD_DISK05_cell02,o/10.0.2.242/DATA_CD_DISK06_cell02,o/10.0.2.242/DATA_CD_DISK07_cell02,o/10.0.2.242/DATA_CD_DISK08_cell02,o/10.0.2.242/DATA_CD_DISK09_cell02,o/10.0.2.242/DATA_CD_DISK10_cell02,o/10.0.2.242/DATA_CD_DISK11_cell02,o/10.0.2.242/DATA_CD_DISK12_cell02
oracle.install.asm.diskGroup.diskDiscoveryString=o/10.0.2.*/*
oracle.install.asm.monitorPassword=
oracle.install.asm.ClientDataFile=
oracle.install.crs.config.ignoreDownNodes=false               
oracle.install.config.managementOption=NONE
oracle.install.config.omsHost=
oracle.install.config.omsPort=0
oracle.install.config.emAdminUser=
oracle.install.config.emAdminPassword=
[orgrid@dbm ~]$ 

用root用户执行脚本
[root@dbm ~]# /pgold/orgrid/oracle/product/121/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= orgrid
    ORACLE_HOME=  /pgold/orgrid/oracle/product/121

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: /pgold/orgrid/oracle/product/121/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'orgrid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node dbm successfully pinned.
2016/09/28 22:47:43 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.conf'


dbm     2016/09/28 22:48:00     /pgold/orgrid/oracle/product/121/cdata/dbm/backup_20160928_224800.olr     0     
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'dbm'
CRS-2673: Attempting to stop 'ora.evmd' on 'dbm'
CRS-2677: Stop of 'ora.evmd' on 'dbm' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'dbm' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2016/09/28 22:48:22 CLSRSC-327: Successfully configured Oracle Restart for a standalone server

[root@dbm ~]# 


Reference

Oracle
eDelivery
My Oracle Support

Exadata Document

http://www.oracle.com/technetwork/database/exadata/overview/index.html

https://www.oracle.com/engineered-systems/exadata/database-machine-x6-2/index.html



关键词:exadata 

相关文章

Exadata exafusion参数在不同版本的变化
19c新特性之实时统计信息收集
Oracle Exadata x8m-2的更新
Oracle Exadata十年
Oracle Exadata x8-2的更新
终于等到你,Oracle 19c真的来了
useful mos note for exadata
Exadata最权威最完整的学习资料
Exadata上收集Cell节点的日志
Exadata上如何重置Cell节点root密码当你忘记时
Oracle性能加速之Write-Back Flash Cache
Exadata and ASM
Top