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