lab 0404 rev
DESCRIPTION
Oracle RAC Lab-4 DocTRANSCRIPT
-
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