Posts

Showing posts from 2017

Oracle RAC Installation – Pre-Installation steps (Part 2)

Image
Installation of Oracle Enterprise Linux 5 Update 1 operating system Install the necessary operating system. Verifying your installation for the existence of the following required packages (if these do not exist please install them) In order to verify the existence of the required packages, you need to execute the command rpm –qa. For example to check if the package binutils-2.17.50.0.6-2.el5 exists we need to execute the command «rpm –qa| grep binutil». The following list contains all the required package versions (or later): • binutils-2.17.50.0.6-2.el5 • compat-libstdc++-33-3.2.3-61 • elfutils-libelf-0.125-3.el5 • elfutils-libelf-devel-0.125 • gcc-4.1.1-52 • gcc-c++-4.1.1-52 • glibc-2.5-12 • glibc-common-2.5-12 • glibc-devel-2.5-12 • glibc-headers-2.5-12 • libaio-0.3.106 • libaio-devel-0.3.106 • libgcc-4.1.1-52 • libstdc++-4.1.1 • libstdc++-devel-4.1.1-52.e15 • make-3.81-1.1 • sysstat-7.0.0 • unixODBC-2.2.11 • unixODBC-devel-2.2.11 Configuring the Linux ...

Oracle RAC Installation - Oracle 11gR1 (11.1.0.6.0) installation guide on Oracle Enterprise Linux 5U1 over VMware Server

Oracle 11gR1Installation – Pre-Installation steps .............................................................. Creation of a virtual machine ........................................................................................ Creation of secondary virtual machine......................................................................... Addition of a network card............................................................................................ Modifications on the VMware configuration file ........................................................ Installation of Oracle Enterprise Linux 5 Update 1 operating system.................... Veryfying your installation for the existence of the following required packages (if these do not exist please install them).................................................................... Configuring the Linux Kernel Parameters ................................................................ Network Configuration for the RAC insta...

Oracle RAC Installation – Pre-Installation steps (Part 1)

Image
1.Creation of a virtual machine  1. Press CTRL-N to create a new virtual machine. 2. New Virtual Machine Wizard: Click on Next. 3. Select the Appropriate Configuration: a) Virtual machine configuration: Select Custom. 4. Select a Guest Operating System: a) Guest operating system: Select Linux. b) Version: Select Red Hat Enterprise Linux 4. Your virtual machine will be Oracle Enterprise Linux 5U1, since VMware is not currently supporting it select the nearest possible (in this case Red Hat Enterprise Linux 4) since the only thing useful from VMware in this case is the time syncing with the host environment. 5. Name the Virtual Machine: a) Virtual machine name: Enter “myrac1.” b) Location: Enter “X:\VMRAC11G\OEL5_RAC1.” 6. Set Access Rights: a) Access rights: Select Make this virtual machine private. 7. Startup / Shutdown Options: a) Virtual machine account: Select User that powers on the virtual machine. 8. Processor Configuration: a) Processors: Select One. 9....

Installation Guide of Oracle 11gR2 Data Guard

Installation Guide of Oracle 11gR2 Data Guard (11.2.0.1) for Oracle Enterprise Linux 5R4 over VMware Server 2.0.2 This guide requires the existence of pre-installed Oracle Enterprise Linux EL 5 U4. This guide requires the existence of pre-installed Oracle Database 11gR2. Creation of profile for user Oracle on both nodes cd vi .bash_profile add the following lines: export ORACLE_SID=prod export ORACLE_BASE=/home/oracle/app/oracle export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1 export TNS_ADMIN=$ORACLE_HOME/network/admin export PATH= $ORACLE_HOME/bin :$PATH Execute profile . .bash_profile In standby system ORACLE_SID will be dg Creation of database with dbca (database creator assistant) Before starting dbca we create a listener with network configuration assistant: [oracle@prod ~]$ netca You should follow the default steps Now run dbca (database configuration assistant) [oracle@prod ~]$ dbca Choose Create a Database and click Next. We will choose a ...

Producer Consumer- Operating Systems

In this project we are going to resolve the producer-consumer problem with limited buffer using threads. The produces produces an object and adds it to buffer while the customer consumes it, then removes it from the buffer. The problem arises in the fact that the producer and the consumer should not be allowed to access the shared buffer at the same time, as this will generate problems. Solving this problem can be implemented in different ways in this case will use pthreads. For this solution, we will need two traffic lights, counter for empty, full and a mutex lock. Producer and consumer will be executed as two independent threads. Buffer shall be a fixed-size array type buffer_item (defined using typedef). He will be manipulated as a circular row using two functions for adding and removing objects. Both thread will alternate between a time when they will manipulate the buffer and a time where they are in "sleep". As an output the program will have messages that appear whe...