exadata vmwate 安裝儲存節點

xychong123發表於2017-04-28
OS:OEL5.6-x86-64(關閉UEK) V24479-01.zip
Storage SOFT:V46145-01.zip
Release:Oracle Exadata Storage Server 11.2.3.3. ----


============
環境準備:
mkdir -p /var/log/oracle
chmod -R 775 /var/log/oracle
配置yum安裝軟體包:yum install oracle-validated
關閉uek核心

1,安裝jdk
//***解壓:V46145-01.zip 軟體獲取jdk,和cell-軟體安裝包。
[root@ora1 cellbits]# pwd
/root/dl180/boot/cellbits
[root@ora1 cellbits]# tar -xvf 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
[root@ora1 cellbits]#
[root@ora1 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/SHA1 Signature, key ID 1e5e0159: NOKEY
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
tools.jar...
localedata.jar...
jfxrt.jar...
2,安裝cell軟體
[root@ora1 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
[root@ora1 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.

3,初始化磁碟
mkdir -p /opt/oracle/cell/disks/raw
cd /opt/oracle/cell/disks/raw

dd.sh
dd if=/dev/zero of=disk01 bs=100M count=10
dd if=/dev/zero of=disk02 bs=100M count=10
dd if=/dev/zero of=disk03 bs=100M count=10
dd if=/dev/zero of=disk04 bs=100M count=10
dd if=/dev/zero of=disk05 bs=100M count=10
dd if=/dev/zero of=disk06 bs=100M count=10
dd if=/dev/zero of=disk07 bs=100M count=10
dd if=/dev/zero of=disk08 bs=100M count=10
dd if=/dev/zero of=disk09 bs=100M count=10
dd if=/dev/zero of=disk10 bs=100M count=10
dd if=/dev/zero of=disk11 bs=100M count=10
dd if=/dev/zero of=disk12 bs=100M count=10
dd if=/dev/zero of=FLASH01 bs=100M count=10
dd if=/dev/zero of=FLASH02 bs=100M count=10
dd if=/dev/zero of=FLASH03 bs=100M count=10
dd if=/dev/zero of=FLASH04 bs=100M count=10

生成磁碟:
[root@ora1 raw]# ./dd.sh <======生成磁碟
進行賦權:
[root@ora1 raw]# chmod 660  <======修改許可權
刪掉dd.sh
[root@ora1 raw]# rm dd.sh


4,重新啟動cell 服務
4.1 修改系統引數:(/etc/sysctl.conf)
cat >> /etc/sysctl.conf<<eof
kernel.shmall = 4294967296
fs.file-max = 6815744
eof
sysctl -p 《---生效

cat >> /etc/security/limits.conf  <<eof
*  soft nofile 65536
*  hard nofile 65536
eof

4.2 切換到celladmin下重啟cell服務
[root@ora1 disks]# su - celladmin
[celladmin@ora1 ~]$ 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.

4.3配置ip配置
cellcli -e create cell cell1 interconnect1=eth0

[celladmin@ora1 ~]$ cellcli -e create cell cell1 interconnect1=eth0
Cell cell1 successfully created
Starting CELLSRV services...
The STARTUP of CELLSRV services was successful.


5.檢查磁碟狀態
[celladmin@cell01 ~]$ cellcli -e 'LIST PHYSICALDISK'
/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/FLASH01 /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/FLASH01 normal
/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk01 /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk01 normal
/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk02 /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk02 normal
/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk03 /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk03 normal
/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk04 /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk04 normal
/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk05 /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk05 normal
/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk06 /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk06 normal
/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk07 /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk07 normal
/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk08 /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk08 normal
/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk09 /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk09 normal
/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk10 /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk10 normal
/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk11 /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk11 normal
/opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk12 /opt/oracle/cell11.2.3.3.1_LINUX.X64_140708/disks/raw/disk12 normal

安裝完畢!

錯誤:
[celladmin@ora1 config]$ cellcli -e create cell cell1 interconnect1=eth0
CELL-01514: Connect Error. Verify that Management Server is listening at the specified HTTP port: 8888.

[root@ora1 trace]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 《===刪除--
192.168.1.201 ora1

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20747382/viewspace-2138157/,如需轉載,請註明出處,否則將追究法律責任。

相關文章