虚拟机部署exadata cell 节点,启动cellsrv服务报错?

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了虚拟机部署exadata cell 节点,启动cellsrv服务报错?相关的知识,希望对你有一定的参考价值。

虚拟机部署exadata cell 节点,启动cellsrv服务报错:
CellCLI> alter cell restart services cellsrv

Restarting CELLSRV services...
The RESTART of CELLSRV services was not successful.
CELL-02018: Internal error detected: Not enough open file descriptors.

日志提示:
CELLSRV boot failed to start due to the error 11 (Not enough open file descriptors)
Sat Sep 19 05:36:35 2020
[RS] monitoring process /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/cellsrv/bin/cellrsomt (pid: 13227) returned w
ith error: 129[RS] Monitoring process for service CELLSRV was told not to resuscitate. Disabling monitoring process.
Errors in file /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/log/diag/asm/cell/oracleone/trace/svtrc_13229_0.trc (
incident=73):ORA-00700: soft internal error, arguments: [main_21], [11], [Not enough open file descriptors], [], [], [], [], [
], [], [], [], []Incident details in: /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/log/diag/asm/cell/oracleone/incident/incdir_73/s
vtrc_13229_0_i73.trc

首先需要在虚拟机中安装Oracle Linux 5.7, (Red Hat Enterprise Linux理论也可以,但我没有测试过),内存分配1GB通常就足够了。安装过程很简单,需要注意的是需要选上软件开发包,例如gcc/aio之类的,图形界面(GUI)可不装。
注意: 安装完成以后Oracle Linux默认使用UEK,如果这里使用UEK, 则在后面的步骤中无法正常启动cellsrv服务。可以修改grub的配置将其默认启动内核修改为redhat兼容内核:
将default=0修改为default=1 ,然后重启。
因为默认Oracle Linux启动了很多我们不需要的服务,为了节省资源:建议将以下服务停止并且禁用。
当然上述服务的禁用也可以通过 ntsysv –level 2345在图形界面进行选择,取消掉不需要的服务,然后重启。
然后我们将Exadata Cell Image V33693-01.zip上传到虚拟机内,然后解压,得到cellImageMaker_11.2.3.2.0_LINUX.X64_120713-1.x86_64.tar,继续解压得到dl180文件夹。
在dl180/boot/cellbits下找到cell.bin文件。这个bin文件实际上是一个zip压缩包我们使用unzip来对它进行解压:
解压后得到cell-11.2.3.2.1_LINUX.X64_130109-1.x86_64.rpm和jdk-1_5_0_15-linux-amd64.rpm
我们先来安装jdk:
[root@cell ~]# rpm -ivh jdk-1_5_0_15-linux-amd64.rpm
然后再安装cell:
[root@cell ~]# rpm -ivh cell-11.2.3.2.1_LINUX.X64_130109-1.x86_64.rpm
安装的时候报错,提示有LWP包依赖:
配置好yum源直接使用yum安装LWP:
[root@cell ~]# yum install perl-libwww-perl
再次安装cell,又一次提示错误,前提条件不满足,到底是什么前提条件不满足没有提示,只能通过以下方式生成具体的检查条件的脚本然后再看是什么条件不满足:
[root@cell ~]# rpm --scripts -qp cell-11.2.3.2.1_LINUX.X64_130109-1.x86_64.rpm >>diag.log
打开diag.log,很快看到应该是/var/log/oracle目录不存在导致的,于是手工建立这个目录并修改权限为775。
[root@cell ~]# mkdir -p /var/log/oracle
[root@cell ~]# chmod -R 775 /var/log/oracle
再次安装cell这次没有报错。
执行dd.sh创建对应的磁盘和闪盘:其中磁盘12块,每块大小为1GB,闪盘4块,没块大小也是1GB。
然后删除dd脚本,切换到celladmin用户,重新启动celld服务。
[root@cell ~]# su - celladmin
[celladmin@cell ~]$ cellcli -e alter cell restart services all
发现cellsrv服务无法启动,查看/opt/oracle/cell11.2.3.2.1_LINUX.X64_130109/log/diag/asm/cell/cell/trace/alert.log发现有类似如下的报错信息:
CELLSRV version=11.2.3.2.1,label=OSS_11.2.3.2.1_LINUX.X64_130109,Wed_Jan__9_06:09:48_PST_2013
Non critical error DIA-48913 caught while writing to trace file "/opt/oracle/cell11.2.3.2.1_LINUX.X64_130109/log/diag/asm/cell/cell/trace/svtrc_2244_0.trc"
Error message: DIA-48913: Writing into trace file failed, file size limit [0] reached
从错误号就可以判断应该是最大文件数不足, 于是需要再修改操作系统的最大文件数限制:
在/etc/sysctl.ctl最后添加一行: fs.file-max = 65536,然后刷新生效:
在/etc/security/limit.conf文件最后添加两行:
* soft nofile 65536
* hard nofile 65536
然后退出重新登录, 切换到 celladmin,使用ulimit -a进行查看是否生效:
[root@cell ~]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 11999
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 65536
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 11999
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
再次启动cell所有的服务:
[celladmin@cell ~]$ cellcli -e alter cell restart services all
这次发现cell下的cellsrv, ms, rs服务都可以正常启动了。
接下来需要在cellinit.ora中添加网卡的信息:
[celladmin@cell ~]$ cellcli -e create cell cell1 interconnect1=eth0
执行成功以后,可以看到cellinit.ora文件中添加了一行ipaddress1=192.168.56.101/24类似的信息。
[root@cell config]# cat /opt/oracle/cell/cellsrv/deploy/config/cellinit.ora
#CELL Initialization Parameters
version=0.0
DEPLOYED=TRUE
HTTP_PORT=8888
RMI_PORT=23791
SSL_PORT=23943
JMS_PORT=9127
BMC_SNMP_PORT=162
ipaddress1=192.168.56.101/24
接下来创建celldisk, griddisk, flashcache, flashlog:
至此cell节点虚拟机基本创建完毕。
参考技术A 根据报错路径查看trc文件里面的内容才能够判断

OracleExadata虚拟机配置

Exadata是Oracle软硬结合的一体机。通过自己的机子不可能全然模拟出来,这里搭建的虚拟机仅仅是一个简单的、能够供我们学习Exadata的环境。

最简单能够模拟的Exadata虚拟机须要两个节点,CELL节点和DB节点。

首先说一下CELL节点安装介质:

OEL5.6-x86-64

cell-11.2.3.3.1_LINUX.X64

这两个在https://edelivery.oracle.com/ 能够下载的到

以下是详细安装步骤:

关闭UEK。否则启动cellsrv会报错:

[[email protected] ~]# vi /etc/grub.conf

# grub.conf generated by anaconda

#

# Note that you do not have to rerun grub after making changes to this file

# NOTICE:  You have a /boot partition.  This means that

#          all kernel and initrd paths are relative to /boot/, eg.

#          root (hd0,0)

#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00

#          initrd /initrd-version.img

#boot=/dev/sda

default=1  原本为改为1

timeout=5

splashimage=(hd0,0)/grub/splash.xpm.gz

hiddenmenu

。。

。。

略。

重新启动系统:

[[email protected] ~]# reboot

hosts文件配置例如以下:

[[email protected] ~]# cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1               localhost.localdomain localhost

::1             localhost6.localdomain6 localhost6

192.168.90.151 CELL

网卡配置例如以下:

[[email protected] ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)

DEVICE=eth0

BOOTPROTO=static

BROADCAST=192.168.90.255

HWADDR=00:0C:29:3D:9A:03

IPADDR=192.168.90.151

IPV6INIT=yes

IPV6_AUTOCONF=yes

NETMASK=255.255.255.0

NETWORK=192.168.90.0

ONBOOT=yes

使用oracle-validated安装一些rpm

[[email protected] ~]# vi /etc/yum.repos.d/public-yum-el5.repo

[oel5]

name = Enterprise Linux 5.6 DVD

baseurl=file:///mnt/Server/

gpgcheck=0

enabled=1

[[email protected] ~]# mount /dev/cdrom /mnt

mount: block device /dev/cdrom is write-protected, mounting read-only

[[email protected] ~]# yum install oracle-validated

Loaded plugins: rhnplugin, security

This system is not registered with ULN.

ULN support will be disabled.

oel5                                                     | 1.1 kB     00:00     

oel5/primary                                             | 1.4 MB     00:00     

oel5                                                                  3247/3247

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package oracle-validated.x86_64 0:1.1.0-7.el5 set to be updated

oel5/filelists                                           | 3.1 MB     00:00     

--> Processing Dependency: /usr/lib/libaio.so for package: oracle-validated

--> Processing Dependency: unixODBC-devel for package: oracle-validated

--> Processing Dependency: sysstat for package: oracle-validated

--> Processing Dependency: /usr/lib64/libodbccr.so for package: oracle-validated

--> Processing Dependency: libaio-devel for package: oracle-validated

--> Processing Dependency: compat-gcc-34-c++ for package: oracle-validated

--> Processing Dependency: /usr/lib/libodbc.so.1 for package: oracle-validated

--> Processing Dependency: compat-gcc-34 for package: oracle-validated

--> Processing Dependency: /usr/lib64/libaio.so for package: oracle-validated

--> Processing Dependency: /usr/lib/libodbccr.so for package: oracle-validated

--> Processing Dependency: libXp.so.6 for package: oracle-validated

--> Processing Dependency: libdb-4.2.so()(64bit) for package: oracle-validated

--> Processing Dependency: libodbc.so.1()(64bit) for package: oracle-validated

--> Running transaction check

---> Package compat-db.x86_64 0:4.2.52-5.1 set to be updated

---> Package compat-gcc-34.x86_64 0:3.4.6-4.1 set to be updated

---> Package compat-gcc-34-c++.x86_64 0:3.4.6-4.1 set to be updated

---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated

---> Package libaio-devel.i386 0:0.3.106-5 set to be updated

---> Package libaio-devel.x86_64 0:0.3.106-5 set to be updated

---> Package sysstat.x86_64 0:7.0.2-3.el5_5.1 set to be updated

---> Package unixODBC.i386 0:2.2.11-7.1 set to be updated

---> Package unixODBC.x86_64 0:2.2.11-7.1 set to be updated

---> Package unixODBC-devel.i386 0:2.2.11-7.1 set to be updated

---> Package unixODBC-devel.x86_64 0:2.2.11-7.1 set to be updated

--> Finished Dependency Resolution

 

Dependencies Resolved

 

================================================================================

 Package                 Arch         Version                  Repository  Size

================================================================================

Installing:

 oracle-validated        x86_64       1.1.0-7.el5              oel5        23 k

Installing for dependencies:

 compat-db               x86_64       4.2.52-5.1               oel5       1.6 M

 compat-gcc-34           x86_64       3.4.6-4.1                oel5       4.3 M

 compat-gcc-34-c++       x86_64       3.4.6-4.1                oel5        13 M

 libXp                   i386         1.0.0-8.1.el5            oel5        22 k

 libaio-devel            i386         0.3.106-5                oel5        12 k

 libaio-devel            x86_64       0.3.106-5                oel5        11 k

 sysstat                 x86_64       7.0.2-3.el5_5.1          oel5       175 k

 unixODBC                i386         2.2.11-7.1               oel5       830 k

 unixODBC                x86_64       2.2.11-7.1               oel5       835 k

 unixODBC-devel          i386         2.2.11-7.1               oel5       743 k

 unixODBC-devel          x86_64       2.2.11-7.1               oel5       799 k

 

Transaction Summary

================================================================================

Install      12 Package(s)

Upgrade       0 Package(s)

 

Total download size: 22 M

Is this ok [y/N]: y

........

建立文件夹:

[[email protected] ~]# mkdir -p /var/log/oracle

[[email protected] ~]# chmod -R 775 /var/log/oracle

上传介质后解压:

[[email protected] soft]# tar -pxvf cellImageMaker_11.2.3.3.1_LINUX.X64_140708-1.x86_64.tar

。。略。。。

解压后得到dl180目录

[[email protected] soft]# cd dl180/boot/cellbits/

[[email protected] cellbits]# unzip cell.bin 

Archive:  cell.bin

warning [cell.bin]:  20038 extra bytes at beginning or within zipfile

  (attempting to process anyway)

  inflating: cell-11.2.3.3.1_LINUX.X64_140708-1.x86_64.rpm  

解压得到cell-11.2.3.3.1_LINUX.X64_140708-1.x86_64.rpm,进行安装

[[email protected] cellbits]# rpm -ivh cell-11.2.3.3.1_LINUX.X64_140708-1.x86_64.rpm 

error: Failed dependencies:

        jdk >= 1.5.0_12 is needed by cell-11.2.3.3.1_LINUX.X64_140708-1.x86_64

安装包报错,提示须要JDKJDK我们能够从同文件夹下cellrpms.tbz中找到

[[email protected] cellbits]# tar -tf cellrpms.tbz 

cellrpmlist

exadata-firmware-cell-11.2.3.3.1.140708-1.x86_64.rpm

exadata-validations-cell-11.2.3.3.1.140708-1.x86_64.rpm

extradepsrpmlist

image_functions

imagerpmlist

install.sh

jdk-1.7.0_55-fcs.x86_64.rpm

python-numeric-23.7-2.2.2.el5_6.1.x86_64.rpm

scsi-target-utils-1.0.14-2.el5.x86_64.rpm

selinux-policy-2.4.6-346.el5.noarch.rpm

selinux-policy-targeted-2.4.6-346.el5.noarch.rpm

jdk解压出来并安装

[[email protected] cellbits]# tar -pxvf cellrpms.tbz jdk-1.7.0_55-fcs.x86_64.rpm

jdk-1.7.0_55-fcs.x86_64.rpm

[[email protected] cellbits]# rpm -ivh jdk-1.7.0_55-fcs.x86_64.rpm

warning: jdk-1.7.0_55-fcs.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159

Preparing...                ########################################### [100%]

   1:jdk                    ########################################### [100%]

Unpacking JAR files...

        rt.jar...

        jsse.jar...

        charsets.jar...

        tools.jar...

        localedata.jar...

        jfxrt.jar...

安装cell

[[email protected] cellbits]# rpm -ivh cell-11.2.3.3.1_LINUX.X64_140708-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/cell11.2.3.3.1_LINUX.X64_140708/cellsrv/deploy/log directory

Set 775 permissions for /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/cellsrv/deploy/log directory

/

/

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.

 

 

[[email protected] ~]# mkdir -p /opt/oracle/cell/disks/raw

[[email protected] ~]# cd /opt/oracle/cell/disks/raw

[[email protected] raw]# vi dd.sh

[[email protected] raw]# cat dd.sh

dd if=/dev/zero of=disk01 bs=1M count=1000

dd if=/dev/zero of=disk02 bs=1M count=1000

dd if=/dev/zero of=disk03 bs=1M count=1000

dd if=/dev/zero of=disk04 bs=1M count=1000

dd if=/dev/zero of=disk05 bs=1M count=1000

dd if=/dev/zero of=disk06 bs=1M count=1000

dd if=/dev/zero of=disk07 bs=1M count=1000

dd if=/dev/zero of=disk08 bs=1M count=1000

dd if=/dev/zero of=disk09 bs=1M count=1000

dd if=/dev/zero of=disk10 bs=1M count=1000

dd if=/dev/zero of=disk11 bs=1M count=1000

dd if=/dev/zero of=disk12 bs=1M count=1000

dd if=/dev/zero of=FLASH01 bs=1M count=1000

dd if=/dev/zero of=FLASH02 bs=1M count=1000

dd if=/dev/zero of=FLASH03 bs=1M count=1000

dd if=/dev/zero of=FLASH04 bs=1M count=1000

运行脚本:

[[email protected] raw]# sh dd.sh

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 36.0089 seconds, 29.1 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 45.0823 seconds, 23.3 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 38.5387 seconds, 27.2 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 66.3054 seconds, 15.8 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 37.9832 seconds, 27.6 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 33.8476 seconds, 31.0 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 57.1281 seconds, 18.4 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 34.5081 seconds, 30.4 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 52.1244 seconds, 20.1 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 58.0057 seconds, 18.1 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 42.3233 seconds, 24.8 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 50.184 seconds, 20.9 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 41.2316 seconds, 25.4 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 38.1167 seconds, 27.5 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 39.3045 seconds, 26.7 MB/s

1000+0 records in

1000+0 records out

1048576000 bytes (1.0 GB) copied, 34.2013 seconds, 30.7 MB/s

进行赋权:

[[email protected] raw]# chmod 660 *

[[email protected] raw]# ls -ltr

total 16400068

-rw-rw---- 1 root root        692 Sep 28 12:29 dd.sh

-rw-rw---- 1 root root 1048576000 Sep 28 12:30 disk01

-rw-rw---- 1 root root 1048576000 Sep 28 12:31 disk02

-rw-rw---- 1 root root 1048576000 Sep 28 12:32 disk03

-rw-rw---- 1 root root 1048576000 Sep 28 12:33 disk04

-rw-rw---- 1 root root 1048576000 Sep 28 12:34 disk05

-rw-rw---- 1 root root 1048576000 Sep 28 12:34 disk06

-rw-rw---- 1 root root 1048576000 Sep 28 12:35 disk07

-rw-rw---- 1 root root 1048576000 Sep 28 12:36 disk08

-rw-rw---- 1 root root 1048576000 Sep 28 12:37 disk09

-rw-rw---- 1 root root 1048576000 Sep 28 12:38 disk10

-rw-rw---- 1 root root 1048576000 Sep 28 12:38 disk11

-rw-rw---- 1 root root 1048576000 Sep 28 12:39 disk12

-rw-rw---- 1 root root 1048576000 Sep 28 12:40 FLASH01

-rw-rw---- 1 root root 1048576000 Sep 28 12:41 FLASH02

-rw-rw---- 1 root root 1048576000 Sep 28 12:41 FLASH03

-rw-rw---- 1 root root 1048576000 Sep 28 12:42 FLASH04

删掉dd.sh

[[email protected] raw]# rm dd.sh

rm: remove regular file `dd.sh‘? yes

 

切换到celladmin下重新启动cell服务

[[email protected] ~]$ cellcli -e 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.

报错说没有ip配置

[[email protected] ~]$ cellcli -e create cell cell1 interconnect1=eth0

 

Cell cell1 successfully created

Starting CELLSRV services...

The STARTUP of CELLSRV services was not successful.

CELL-02018: Internal error detected: Not enough open file descriptors.

 

 

ip配置好后依旧报错

alert日志位置:

/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/log/diag/asm/cell/CELL/trace/alert.log 

从中能够看到下面内容:

Number of open file descriptors per process is 1024

The minimum number is 16384. Please change ulimit

CELLSRV boot failed to start due to the error 11 (Not enough open file descriptors)

接下来我们调整限制:

[[email protected] ~]# vi /etc/sysctl.conf 

最后一行加入:

fs.file-max = 65536

生效一下:

[[email protected] ~]# sysctl -p

net.ipv4.ip_forward = 0

net.ipv4.conf.default.rp_filter = 2

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.shmmax = 68719476736

kernel.shmall = 4294967296

fs.file-max = 65536

继续改动/etc/security/limits.conf文件:

[[email protected] ~]# vi /etc/security/limits.conf 

最后加入两行:

* soft nofile 65536

* hard nofile 65536

改动完后用celladmin用户又一次登录。查看限制:

[[email protected] ~]$ ulimit -a

core file size          (blocks, -c) 0

data seg size           (kbytes, -d) unlimited

scheduling priority             (-e) 0

file size               (blocks, -f) unlimited

pending signals                 (-i) 16384

max locked memory       (kbytes, -l) 32

max memory size         (kbytes, -m) unlimited

open files                      (-n) 65536

pipe size            (512 bytes, -p) 8

POSIX message queues     (bytes, -q) 819200

real-time priority              (-r) 0

stack size              (kbytes, -s) 10240

cpu time               (seconds, -t) unlimited

max user processes              (-u) 16384

virtual memory          (kbytes, -v) unlimited

file locks                      (-x) unlimited

重新启动cell服务:

[[email protected] ~]$ cellcli -e 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 successful.

Starting MS services...

The STARTUP of MS services was successful.

 

[[email protected] ~]$ cellcli

CellCLI: Release 11.2.3.3.1 - Production on Mon Sep 29 10:04:46 CST 2014

 

Copyright (c) 2007, 2013, Oracle.  All rights reserved.

Cell Efficiency Ratio: 1

 

CellCLI> create celldisk all

CellDisk CD_disk01_cell1 successfully created

CellDisk CD_disk02_cell1 successfully created

CellDisk CD_disk03_cell1 successfully created

CellDisk CD_disk04_cell1 successfully created

CellDisk CD_disk05_cell1 successfully created

CellDisk CD_disk06_cell1 successfully created

CellDisk CD_disk07_cell1 successfully created

CellDisk CD_disk08_cell1 successfully created

CellDisk CD_disk09_cell1 successfully created

CellDisk CD_disk10_cell1 successfully created

CellDisk CD_disk11_cell1 successfully created

CellDisk CD_disk12_cell1 successfully created

CellDisk FD_00_cell1 successfully created

CellDisk FD_01_cell1 successfully created

CellDisk FD_02_cell1 successfully created

CellDisk FD_03_cell1 successfully created

 

CellCLI> create flashcache all  size=2G

Flash cache cell1_FLASHCACHE successfully created

 

CellCLI> create flashlog all

Flash log cell1_FLASHLOG successfully created

 

CellCLI> list flashcache detail

         name:                   cell1_FLASHCACHE

         cellDisk:               FD_00_cell1,FD_02_cell1,FD_03_cell1,FD_01_cell1

         creationTime:           2014-09-29T10:27:46+08:00

         degradedCelldisks:      

         effectiveCacheSize:     2G

         id:                     5a6f81d4-c9a1-4494-adf0-cdea2a3243ea

         size:                   2G

         status:                 normal

 

CellCLI> list flashlog detail

         name:                   cell1_FLASHLOG

         cellDisk:               FD_03_cell1,FD_00_cell1,FD_02_cell1,FD_01_cell1

         creationTime:           2014-09-29T10:28:14+08:00

         degradedCelldisks:      

         effectiveSize:          512M

         efficiency:             100.0

         id:                     4acc8873-d311-4e90-959b-5e8850e9e9ad

         size:                   512M

         status:                 normal

 

CellCLI> list cell

         cell1   online

 

CellCLI> list celldisk

         CD_disk01_cell1         normal

         CD_disk02_cell1         normal

         CD_disk03_cell1         normal

         CD_disk04_cell1         normal

         CD_disk05_cell1         normal

         CD_disk06_cell1         normal

         CD_disk07_cell1         normal

         CD_disk08_cell1         normal

         CD_disk09_cell1         normal

         CD_disk10_cell1         normal

         CD_disk11_cell1         normal

         CD_disk12_cell1         normal

         FD_00_cell1             normal

         FD_01_cell1             normal

         FD_02_cell1             normal

         FD_03_cell1             normal

 

CellCLI> create griddisk all harddisk prefix=data, size=300M

GridDisk data_CD_disk01_cell1 successfully created

GridDisk data_CD_disk02_cell1 successfully created

GridDisk data_CD_disk03_cell1 successfully created

GridDisk data_CD_disk04_cell1 successfully created

GridDisk data_CD_disk05_cell1 successfully created

GridDisk data_CD_disk06_cell1 successfully created

GridDisk data_CD_disk07_cell1 successfully created

GridDisk data_CD_disk08_cell1 successfully created

GridDisk data_CD_disk09_cell1 successfully created

GridDisk data_CD_disk10_cell1 successfully created

GridDisk data_CD_disk11_cell1 successfully created

GridDisk data_CD_disk12_cell1 successfully created

 

CellCLI> create griddisk all harddisk prefix=reco, size=160M

GridDisk reco_CD_disk01_cell1 successfully created

GridDisk reco_CD_disk02_cell1 successfully created

GridDisk reco_CD_disk03_cell1 successfully created

GridDisk reco_CD_disk04_cell1 successfully created

GridDisk reco_CD_disk05_cell1 successfully created

GridDisk reco_CD_disk06_cell1 successfully created

GridDisk reco_CD_disk07_cell1 successfully created

GridDisk reco_CD_disk08_cell1 successfully created

GridDisk reco_CD_disk09_cell1 successfully created

GridDisk reco_CD_disk10_cell1 successfully created

GridDisk reco_CD_disk11_cell1 successfully created

GridDisk reco_CD_disk12_cell1 successfully created

 

CellCLI> list griddisk

         data_CD_disk01_cell1    active

         data_CD_disk02_cell1    active

         data_CD_disk03_cell1    active

         data_CD_disk04_cell1    active

         data_CD_disk05_cell1    active

         data_CD_disk06_cell1    active

         data_CD_disk07_cell1    active

         data_CD_disk08_cell1    active

         data_CD_disk09_cell1    active

         data_CD_disk10_cell1    active

         data_CD_disk11_cell1    active

         data_CD_disk12_cell1    active

         reco_CD_disk01_cell1    active

         reco_CD_disk02_cell1    active

         reco_CD_disk03_cell1    active

         reco_CD_disk04_cell1    active

         reco_CD_disk05_cell1    active

         reco_CD_disk06_cell1    active

         reco_CD_disk07_cell1    active

         reco_CD_disk08_cell1    active

         reco_CD_disk09_cell1    active

         reco_CD_disk10_cell1    active

         reco_CD_disk11_cell1    active

         reco_CD_disk12_cell1    active

 

CellCLI> list celldisk FD_00_cell1 detail

         name:                   FD_00_cell1

         comment:                

         creationTime:           2014-09-29T10:26:28+08:00

         deviceName:             /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/FLASH01

         devicePartition:        /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/FLASH01

         diskType:               FlashDisk

         errorCount:             0

         freeSpace:              336M

         freeSpaceMap:           offset=688M,size=336M

         id:                     09b329a7-2099-4b5a-8208-933546f0e23c

         interleaving:           none

         lun:                    /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/FLASH01

         physicalDisk:           /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/FLASH01

         raidLevel:              "RAID 0"

         size:                   1G

         status:                 normal

 

CellCLI> list celldisk CD_disk01_cell1 detail

         name:                   CD_disk01_cell1

         comment:                

         creationTime:           2014-09-29T10:05:19+08:00

         deviceName:             /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk01

         devicePartition:        /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk01

         diskType:               HardDisk

         errorCount:             0

         freeSpace:              528M

         freeSpaceMap:           offset=496M,size=528M

         id:                     43697fde-2a47-4f84-a496-de3b516ecaca

         interleaving:           none

         lun:                    /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk01

         physicalDisk:           /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk01

         raidLevel:              "RAID 0"

         size:                   1G

         status:                 normal

 

CellCLI> list griddisk data_CD_disk01_cell1 detail

         name:                   data_CD_disk01_cell1

         asmDiskgroupName:       

         asmDiskName:            

         asmFailGroupName:       

         availableTo:            

         cachingPolicy:          default

         cellDisk:               CD_disk01_cell1

         comment:                

         creationTime:           2014-09-29T10:30:56+08:00

         diskType:               HardDisk

         errorCount:             0

         id:                     d085144e-f71a-42b2-9db7-0b8f2bee95b4

         offset:                 48M

         size:                   288M

         status:                 active

 

至此CELL节点ok

 

 

 

 

 

 

 

 

 

 

 

 

以上是关于虚拟机部署exadata cell 节点,启动cellsrv服务报错?的主要内容,如果未能解决你的问题,请参考以下文章

OracleExadata虚拟机配置

Exadata Cell 节点 griddisk容量计算小节

如何减少Exadata计算节点CPU的Core数量

OpenStack入门理解

OpenStack入门理解

Docker学习笔记——Docker安装启动