设为首页 加入收藏

TOP

【Oracle】Exadata虚拟机配置(一)(四)
2015-07-24 10:23:27 来源: 作者: 【 】 浏览:4
Tags:Oracle Exadata 虚拟 配置
00 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

[root@CELL raw]# rm dd.sh

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

切换到celladmin下重启cell服务

[celladmin@CELL ~]$ 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配置

[celladmin@CELL ~]$ 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)

接下来我们调整限制:

[root@CELL ~]# vi /etc/sysctl.conf

最后一行添加:

fs.file-max = 65536

生效一下:

[root@CELL ~]# 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文件:

[root@CELL ~]# vi /etc/security/limits.conf

最后添加两行:

* soft nofile 65536

* hard nofile 65536

修改完后用celladmin用户重新登录,查看限制:

[celladmin@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) 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服务:

[celladmin@CELL ~]$ 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 servic

首页 上一页 1 2 3 4 5 6 下一页 尾页 4/6/6
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇跨库事务一致性问题的解决方案(.. 下一篇Windows7中.mongorc.js文件的位置

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·C 内存管理 | 菜鸟教 (2025-12-26 20:20:37)
·如何在 C 语言函数中 (2025-12-26 20:20:34)
·国际音标 [ç] (2025-12-26 20:20:31)
·微服务 Spring Boot (2025-12-26 18:20:10)
·如何调整 Redis 内存 (2025-12-26 18:20:07)