lab 0404 rev

6
!"#$%&'( *+,  !"##(-. ." #"/(0 &12#% .3( "'4-5( 4--"&#.  6472%4.( ." .3( 8(#& &#/(' +91.(8: */82#21.'4;"#: <"%2-45 ="5&8( ,4#4%(8(#.  * /245"% 521. >255 ?( @'"72/(/ ." (#.(' .3( '"". @411>"'/  =452/4.( .34. /'27(1 4'( #". 2#2;452A(/  BC2. .321 1-'((#  D@(# 4 #(> .('82#45 1(112"# 4#/ 211&( .3( E"55">2#% -"884#/F   1& G   H3( @411>"'/ E"' '"". 13"&5/ ?( I"'4-5(:J "' >34.(7(' 21 (1.4?5213(/ 2# .3( D+

Upload: jay-singireddy

Post on 01-Nov-2015

214 views

Category:

Documents


0 download

DESCRIPTION

Oracle RAC Lab-4 Doc

TRANSCRIPT

  • Congure ASM Connect to node1 using the oracle account Navigate to the menu under System, Administra;on, Logical Volume Management A dialog list will be provided to enter the root password Validate that drives are not ini;alized Exit this screen Open a new terminal session and issue the following command:

    su - The password for root should be oracle, or whatever is established in the OS

  • Congure ASM Iden;fy the disks that have not been ini;alized

    ls/dev/sd* Any devices that do not return with a 1 appended to the end have not been

    ini;alized and an fdisk may be issued against them Be very careful ini;alizing. Using the incorrect disk may severely damage your

    system.

  • Lab: Congure ASM fdisk /dev/sdc (C is just an example, replace this with the leVer of the device that

    is not ini;alized. Enter N for new Enter P for primary Enter 1 for rst Hit enter twice Enter W to write

    Perform these tasks for all devices that need to be ini;alized AZer all disks have been ini;alized, for fdisks perform ls al /dev/sd*

  • Lab: Congure ASM Now all devices should have a 1 appended to them Next step is to use OracleASM

    First download the appropriate OracleASM libraries for your system Install them under root All OracleASM commands will be performed as root

    As the root user: cd /etc/init.d ./oracleasm congure Accept all defaults

  • Lab: Congure ASM As root user, we will create ASM disks. This is assuming sdc1, sdd1 ,sde1 ,sdf1,

    sdg1 are the available disks cd /etc/init.d ./oracleasm createdisk DISK1 /dev/sdc1 ./oracleasm createdisk DISK2 /dev/sdd1 ./oracleasm createdisk DISK3 /dev/sde1 ./oracleasm createdisk DISK4 /dev/sdf1 ./oracleasm createdisk DISK5 /dev/sdg1

  • Lab: Congure ASM AZer the disks have been created enter:

    cd /etc/init.d ./oracleasm listdisks ./oracleasm scandisks

    Issue the ./oracleasm listdisks and ./oracleasm scandisks on all nodes in the RAC