15
!!"""""#""""$"""" %# & # ’ ’ % #( # ) ’ % #* ( # ! + % , %# # # ! &( - ! ) # ./& ( %#! 0 # # ’ ’( # 1 % # %#! * % # ( 2 ’ ’ ! ) % # ( 3% ) * 4 ’ % # 5) 3 ( ’5 #! ) & 6 / & 6 / & 6 / & 6 / / % ) / % ) / % ) / % ) 7 6 & 7 6 & 7 6 & 7 6 & +# &% .# & # Page 1 of 15 Step by step how to build Exadata Virtual Machine - Cell Node | Oracle Exadata Architec... 7/15/2013 http://translate.googleusercontent.com/translate_c?depth=1&hl=en&ie=UTF8&prev=_t&r...

Cell Node

Embed Size (px)

DESCRIPTION

Cell Node for testing purpose

Citation preview

  • !! """""#""""$""""

    %#

    ''%#(#)

    '%

    #*(#!

    +%,%#

    #

    #!&(-

    !

    )#./&

    (

    %#!0#

    #''(#

    1%#

    %#!*%#

    (2''!)%

    #(

    3%)

    *4'%

    #5)3('5#!)

    &6/&6/&6/&6//%)/%)/%)/%)76&76&76&76&+#&%.#

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

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

  • %##(

    '#'!

    4(('%%#

    8%#('(

    './!

    9#'

    13):%;&.&));&.1#))$!CG"G!?$!CG"G!?$!CG"G!?$!CG"G!?

    @

    $$!F!D!:

    $$!F!D!:'7CG"G#('####

    $DD>:D"$$FD:D"7$DD>:D"$$FD:D"7$DD>:D"$$FD:D"7$DD>:D"$$FD:D"7CGCGCGCGG"$'E!,G"$'E!,G"$'E!,G"$'E!,

    $DD>:D"$$FD:D"7$DD>:D"$$FD:D"7$DD>:D"$$FD:D"7$DD>:D"$$FD:D"7CGCGCGCGG"F'E!,G"F'E!,G"F'E!,G"F'E!,

    $DD>:D"$$FD:D"7$DD>:D"$$FD:D"7$DD>:D"$$FD:D"7$DD>:D"$$FD:D"7CGCGCGCGG":'E!,G":'E!,G":'E!,G":'E!,

    @

    0

    !1####GCCDCCD

    1111'%'%'%'%$$!F!D!:!''''''''

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

    @

    A.//1$E1).$GEHG$GEHG$GEHG$GEHG@

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

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

  • 0'''!

    I'%#7

    >!E(;A+7()%

    =($B/##''!0

    %#(

    '%#(

    (';B3)='##

    !A##)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

    &'#(7'3J(

    '3J('%%!

    I#''#''

    #

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

    ''KD'K$(!

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

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

  • /'7

    %(%(##

    '%!

    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:>'(

    %(''!

    0)#::GH:D$!,

    %#((

    )#"$$!F!:!F!D"7)3#'#$CD!

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

    Archive: V33693-01.zip

    inflating: README.txt

    inflating: cellImageMaker_11.2.3.2.0_LINUX.X64_12071

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

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

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

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

    )((%

    #!

    /'8#

    #(###%!

    '

    ,'

    [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

    )#!

    0%#

    %'%

    [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

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

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

  • 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

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

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

  • 0(#(

    %!

    [Root @ cell ~] # su - celladmin

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

    9%%'(

    $$!F!:!F!$"7)3

  • ) #!''(

    * Soft nofile 65536

    * Hard nofile 65536

    0(#(#%

    ''

    [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

    0%%(#(%

    !

    !'#

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

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

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

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

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

  • 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

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

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

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

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

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

  • 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

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

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

  • .A;'%=

    ./

    &

    %#

    !

    A

    ./

    $!

    +##F!

    ##

    7):!

    0$G(FD$:!/(''#(((%#!&%7!

    00

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

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

  • [?]

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

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