Posts

RACcheck - RAC Configuration Audit Tool

The Oracle RAC Assurance team has been working on a handy little goody for quite sometime. RACcheck as the name aptly implies turns out to be quite useful at checking your RAC configuration for any issues as well as provides recommendations for correcting them. It checks database, ASM, Grid Infrastructure and Clusterware components as well as infrastructure level components such as OS, storage and network. Setup is straightforward and you can run it as the database installation owner (oracle). Root or sudo privileges are required for some checks. MOS Note 1268927.1 describes it in detail. So far it works on RedHat Linux, AIX, and Solaris SPARC and SuSE Linux. Please note that bash is required for running this utility so if you're using an OS such as AIX which doesn't have bash installed by default you may want to discuss this with your systems administrator. Here's the HTML output of running RAC Check against a 2-node 11.2.0.2.3 cluster running on AIX 6.1. Results are al...

Adding datafiles using ASM in a Data Guard configuration

Just a quick note to self when adding datafiles located on ASM when using Data Guard. If the initialization parameter STANDBY_FILE_MANAGEMENT is set to AUTO then any datafile added on the primary database is automatically propagated to the standby site. Before adding the datafile on the primary site you need to verify that adequate disk space is available in the disk groups on both primary and standby. If not done, then your managed recovery will cease to operate thus causing risks to your disaster recovery database. Consider the example below. Datafile gets added on the primary database. ALTER TABLESPACE "FTSBCAUDIT" ADD DATAFILE '+DG_DATA' SIZE 8G REUSE AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED Fri Oct 21 18:49:22 2011 Starting control autobackup Control autobackup written to DISK device         handle '/archivelogs/ftsora01/ftpprd/c-117026708-20111021-13' Completed: ALTER TABLESPACE "FTSBCAUDIT" ADD DATAFILE '+DG_DATA' SIZE 8G REUSE ...

Fusion Middleware 11g Target Discovery in Enterprise Manager 12c CloudControl

Preamble: I'm writing this blog from my iPhone in the hopes of getting this out quickly before I forget. Please pardon the lack of screenshots or a step by step due to the limitation of the mobile blogger platform. Fusion Middleware 11g provides the ability to manage its components such as Oracle Identity Manager via Fusion Middleware Control. However if you have multiple Fusion Middleware deployments and Enterprise Manager 12c you can use the latter to centralize and simplify management of your environments. Enterprise Manager 12c uses a feature called auto-discovery to discover and add targets. Once auto-discovery is set up you can view the discovered targets and 'promote' the ones you want to manage. This enables you to quickly add your database targets which includes Grid Infrastructure, listeners ASM and the database instances out of the box. However an extra step is required for your Fusion Middleware targets. Auto-discovery has to be explicitly configured for FMW...

Ksplice on Ubuntu Installation: Video

Image
With the recent acquisition of Ksplice by Oracle - I got to discover a really cool tool for Linux. Ksplice allows you to apply updates to a live running kernel without the need for rebooting your machine. Yeah right! That was my initial reaction too. But thanks to  some really smart guys from MIT Ksplice does just that. No need to reboot your linux kernel after an upgrade. Sounds too good to be true? Well the proof is in the pudding they say (I like the potato kind :) Well check out the video below to see how easy it is to setup and use Ksplice. For a quick overview of Ksplice check out the FAQ . If you want more details as to the inner workings read the whitepaper . Ksplice is available on Oracle Linux via subscription through ULN. However it is free for Ubuntu Desktop and Fedora. This means that if you're running Red Hat Enterprise Linux or any other enterprise Linux flavor you're out of luck. A few notes about installing Ksplice on Ubuntu The installation was done on...

Oracle Database 11g XE in the Cloud

Image
Oracle Database 11g XE has been in beta for several months now. On September 2, the production release was made available for Windows 32-bit and Linux 64-bit platforms. This lightweight version of the juggernaut database of world is geared towards students, developer and ISVs. You can find the full feature list here . Having played around with the beta version I decided it was time to take a stab at deploying it in the cloud - more specifically Amazon AWS EC2.  I started off by selecting the  Oracle Linux 5.6 x86_64 - OVM (ami-42778a2b) to launch a micro-instance of Oracle Linux. The micro-instance has 613MB of physical memory, 2GB swap and 15GB EBS storage.  [root@ip-10-242-49-142 ~]# cat /proc/meminfo | grep SwapTotal SwapTotal: 2104504 kB [root@ip-10-242-49-142 ~]# cat /proc/meminfo | grep MemTotal MemTotal: 629760 kB Once you download the installation archive from OTN and save it to your computer, you'll have to transfer it to your EC2 instance. ...

Virtualbox 4.1 Shared folders on Oracle Linux UEK

Recently, while trying to patch my test RAC database I ran into an issue where I couldn't mount the shared folders in the guest VMs. Neither manual mount or automount were working. I would get the following message when trying to mount the shared folder manually: [root@racnode2 ~]# mount -t vboxsf orasource /mnt/orastage mount: wrong fs type, bad option, bad superblock on orasource, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so The tail of dmesg showed the following additional errors: sf_read_super_aux err=-22 sf_read_super_aux err=-22 sf_read_super_aux err=-22 After doing a search on Google I finally found this thread in the Virtualbox tickets. Apparently the problem is with Oracle Linux's unbreakable enterprise kernel  2.6.32-200.13.1.el5uek. The thread lists several workarounds. I did the following to get things working correctly [root@racnode2 VBOXADDITIONS_4.1.0_73009]# which gmake /usr/bin/gma...

VirtaThon 2011

VirtaThon 2011 is the first Oracle online/virtual conference and is hosted by BrainSurface.com. The conference will feature many well known and respected Oracle experts and speakers and a few unknown ones (including yours truly). This will mark my debut as a public speaker and I am grateful for the opportunity after having only aspirations for some time now. You can sign up and register for VirtaThon here  and the session schedule can be found here .