Vous êtes sur la page 1sur 15

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Architec...

Page 1 of 15

&
)

/
%
+ #
&
%
.
&

6/

6&

#
#

" "

% #

"

&

'

' %

"

" #

"

"

"$"

" "

"

'
#

"

!
,

% #

!&

(-

./&

(
%

!0

'

'

1
%

#
(

!
2

( #

#
*

'

#
'

!)

3 %

)
* 4

5)

'
(

'

%
5#

!)

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Architec... Page 2 of 15

# #
'

'

'

8
'

%
./

'

13 )

'

% ;

##
@ A&

)) <

> ;& . 1

'
@ .

& .&

% =(

# )) < =?

B(

##

CB?
;+

DB

( '

( '

.
@ )

##

;
7

!%

>!E
%

'

'

A> 3E

$$!F!:!F
%

CG"G

(
'

)#

% !

$$!F!:!F*
$! CG"G !

'
'

FE>ED D$!, ( '

>!E #

=?

'
7

::GH: D$!,

"$$!F!:!F!D"7) 3<!<G "$FDE$:

$$!F!D!:

@
$$!F!D!: '

CG"G

$D D >:D"$$FD:D"7

CG G "$ 'E!,

$D D >:D"$$FD:D"7

CG G "F 'E!,

$D D >:D"$$FD:D"7

CG G ": 'E!,

@ 0

!1

'%

$$!F!D!:! '

('

GCCDCCD
'

$$!F!D! ;&1A)7 FD$:=


@

A./

$E 1

). $G E H G

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Architec... Page 3 of 15

''

'

'

>!E( ;A

7
(

=( $B/ # #

''
%

'

##

'

!0

(
'

!A

;B3)= '

# #

)1

(#

'

[Root @ cell ~] # cat / etc/sysconfig/network-scripts


# Intel Corporation 82540EM Gigabit Ethernet Controlle
DEVICE = eth0
BOOTPROTO = static
BROADCAST = 192.168.56.255
HWADDR = 08:00:27: B0: 39:02
IPADDR = 192.168.56.101
NETMASK = 255.255.255.0
NETWORK = 192.168.56.0
ONBOOT = yes
[Root @ cell ~] # cat / etc / hosts
# Do not remove the following line, or various program
# That require network functionality will fail.
127.0.0.1 cell localhost.localdomain localhost
:: 1 localhost6.localdomain6 localhost6

&'

'

3 J(

'

'

'

'

'

3 J(
%

!
'

[Root @ cell ~] # vi / etc / grub.conf

'

'

KD

'

K $(

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Architec... Page 4 of 15

'
%

'

##

chkconfig - level 2345 auditd off && service auditd s


chkconfig - level 2345 autofs off && service autofs st
chkconfig - level 2345 avahi-daemon off && service ava
chkconfig - level 2345 bluetooth off && service blueto
chkconfig - level 2345 cups off && service cups stop
chkconfig - level 2345 ip6tables off && service ip6tab
chkconfig - level 2345 iptables off && service iptable
chkconfig - level 2345 isdn off && service isdn stop
chkconfig - level 2345 kudzu off && service kudzu stop
chkconfig - level 2345 mcstrans off && service auditd s
chkconfig - level 2345 netfs off && service netfs stop
chkconfig - level 2345 pcscd off && service pcscd stop
chkconfig - level 2345 restorecond off && service rest
chkconfig - level 2345 rhnsd off && service rhnsd stop
chkconfig - level 2345 sendmail off && service sendmai
chkconfig - level 2345 setroubleshoot off && service s
chkconfig - level 2345 smartd off && service smartd st
chkconfig - level 2345 xinetd off && service xinetd st
chkconfig - level 2345 yum-updatesd off && service yum

'

"$$!F!:!F!D"7) 3<!<G "$FDE$: $! CG"G !

F: >

'

''

)#

#
)#

::GH: D$!,

'

$CD!

[Root @ cell ~] # unzip V33693-01.zip


Archive: V33693-01.zip
inflating: README.txt
inflating: cellImageMaker_11.2.3.2.0_LINUX.X64_12071

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Architec... Page 5 of 15

[Root @ cell ~] # tar-pxvf cellImageMaker_11.2.3.2.0_L


dl180 ......

$CD
,

'
% (

'

!0

'

[Root @ cell ~] # unzip cell.bin


Archive: cell.bin
warning [cell.bin]: 6408 extra bytes at beginning or w
(Attempting to process anyway)
inflating: cell-11.2.3.2.1_LINUX.X64_130109-1.x86_64
inflating: jdk-1_5_0_15-linux-amd64.rpm

'

$$!F!:!F!$"7) 3<!<G "$:D$DH

$! CG"G !

7 *

$">"D"$>

# G !

[Root @ cell ~] # rpm-ivh jdk-1_5_0_15-linux-amd64.rp

[Root @ cell ~] # rpm-ivh cell-11.2.3.2.1_LINUX.X64_1

741

'
(

##

'

#
#

741

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Architec... Page 6 of 15

[Root @ cell ~] # yum install perl-libwww-perl

# !

'
#

#
#

'
,

'

[Root @ cell ~] # rpm - scripts-qp cell-11.2.3.2.1_LI

%
8

'

EE>!

[Root @ cell ~] # mkdir-p / var / log / oracle


[Root @ cell ~] # chmod-R 775 / var / log / oracle

%
%

'

#
%

[Root @ cell ~] # mkdir-p / opt / oracle / cell / dis


[Root @ cell ~] cd / opt / oracle / cell / disks / raw
[Root @ cell ~] vi dd.sh
[Root @ cell ~] cat dd.sh
dd if = / dev / zero of = disk01 bs = 1M count = 1000
dd if = / dev / zero of = disk02 bs = 1M count = 1000

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Architec... Page 7 of 15

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

'
$F(

'

$B/( '

$B/!

[Root @ cell raw] # chmod 660 *


[Root @ cell raw] # ls-ltr
total 16400068
-Rw-rw ---- 1 root root 692 May 16 16:24 dd.sh
-Rw-rw ---- 1 root root 1048576000 May 16 16:24 disk01
-Rw-rw ---- 1 root root 1048576000 May 16 16:24 disk02
-Rw-rw ---- 1 root root 1048576000 May 16 16:24 disk03
-Rw-rw ---- 1 root root 1048576000 May 16 16:24 disk04
-Rw-rw ---- 1 root root 1048576000 May 16 16:25 disk05
-Rw-rw ---- 1 root root 1048576000 May 16 16:25 disk06
-Rw-rw ---- 1 root root 1048576000 May 16 16:25 disk07
-Rw-rw ---- 1 root root 1048576000 May 16 16:26 disk08
-Rw-rw ---- 1 root root 1048576000 May 16 16:26 disk09
-Rw-rw ---- 1 root root 1048576000 May 16 16:27 disk10
-Rw-rw ---- 1 root root 1048576000 May 16 16:27 disk11
-Rw-rw ---- 1 root root 1048576000 May 16 16:27 disk12
-Rw-rw ---- 1 root root 1048576000 May 16 16:27 FLASH0
-Rw-rw ---- 1 root root 1048576000 May 16 16:27 FLASH0
-Rw-rw ---- 1 root root 1048576000 May 16 16:27 FLASH0
-Rw-rw ---- 1 root root 1048576000 May 16 16:28 FLASH0

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Architec... Page 8 of 15

(
%

[Root @ cell ~] # su - celladmin


[Celladmin @ cell ~] $ cellcli-e alter cell restart se

'

$$!F!:!F!$"7) 3<!<G "$:D$DH


'

'

CELLSRV version = 11.2.3.2.1, label = OSS_11.2.3.2.1_


Non critical error DIA-48913 caught while writing to t
Error message: DIA-48913: Writing into trace file fail

2
#

# #

'

#
''

# #

#
#

# #

!
'

' !'

'
''

K G>>:G(

''

[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

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Architec... Page 9 of 15

# !

''

* Soft nofile 65536


* Hard nofile 65536

# (

''

[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

[Celladmin @ cell ~] $ cellcli-e alter cell restart s

%( # (

'

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Archit... Page 10 of 15

[Celladmin @ cell ~] $ cellcli-e create cell cell1 in

&'

'

(
$ K $HF!$GC!>G!$D$ F

'

'

(
!

[Root @ cell config] # cat / opt / oracle / cell / ce


# 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

('

('

[Celladmin @ cell ~] $ cellcli


CellCLI: Release 11.2.3.2.1 - Production on Thu May 16
Copyright (c) 2007, 2012, 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 successful.
Starting MS services ...
The STARTUP of MS services was successful.
CellCLI> create celldisk all

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Archit... Page 11 of 15

CellDisk FD_00_cell1 successfully created


CellDisk FD_01_cell1 successfully created
CellDisk FD_02_cell1 successfully created
CellDisk FD_03_cell1 successfully created
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
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_03_cell1, FD_02_cel
creationTime: 2013-05-16T17: 11:57 +08:00
degradedCelldisks:
effectiveCacheSize: 2G
id: 33020341-ba55-4b35-9b3a-4030b5085475
size: 2G
status: normal
CellCLI> list flashlog detail
name: cell1_FLASHLOG
cellDisk: FD_01_cell1, FD_03_cell1, FD_02_cel
creationTime: 2013-05-16T17: 12:10 +08:00
degradedCelldisks:
effectiveSize: 512M
efficiency: 100.0
id: f10e1ac7-5e3f-4c1e-8f3b-8e9ab19fffeb
size: 512M
status: normal

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Archit... Page 12 of 15

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> 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

CellCLI> list celldisk CD_disk01_cell1 detail


name: CD_disk01_cell1
comment:
creationTime: 2013-05-16T16: 40:29 +08:00
deviceName: / opt/oracle/cell11.2.3.2.1_LINUX
devicePartition: / opt/oracle/cell11.2.3.2.1_

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Archit... Page 13 of 15

diskType: HardDisk
errorCount: 0
freeSpace: 0
id: ecc913eb-5f74-4ad6-9d05-f811af986921
interleaving: none
lun: / opt/oracle/cell11.2.3.2.1_LINUX.X64_13
physicalDisk: / opt/oracle/cell11.2.3.2.1_LIN
raidLevel: "RAID 0"
size: 992M
status: normal
CellCLI> list celldisk FD_00_cell1 detail
name: FD_00_cell1
comment:
creationTime: 2013-05-16T16: 40:25 +08:00
deviceName: / opt/oracle/cell11.2.3.2.1_LINUX
devicePartition: / opt/oracle/cell11.2.3.2.1_
diskType: FlashDisk
errorCount: 0
freeSpace: 304M
freeSpaceMap: offset = 688M, size = 304M
id: c9488ae4-d3b9-4aa2-a4e5-d3539e44b417
interleaving: none
lun: / opt/oracle/cell11.2.3.2.1_LINUX.X64_13
physicalDisk: / opt/oracle/cell11.2.3.2.1_LIN
raidLevel: "RAID 0"
size: 992M
status: normal
CellCLI> list griddisk data_CD_disk01_cell1 detail
name: data_CD_disk01_cell1
availableTo:
cachingPolicy: default
cellDisk: CD_disk01_cell1
comment:
creationTime: 2013-05-16T16: 49:51 +08:00
diskType: HardDisk
errorCount: 0
id: 7a36bc8a-1611-474d-85fc-fa730e73176d
offset: 48M
size: 944M
status: active

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Archit... Page 14 of 15

&

$!

./

F! +

:!

##

0
#
#

.A
;' % =

7)

$G( FD$: ! /
'
(
% 7 !

'
!&

(
(

%
./

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013

Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Archit... Page 15 of 15

[?]

http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

7/15/2013