Posts

Showing posts from May, 2013

How to mount a WD Book Live as NFS in OEL6U3

Scenario : I have a Windows 8 (Host) laptop on which I am running two OEL6U3 (Guest) machines in a Virtual Box. I want to have a shared mount between the two Linux machine which will allow me to read/write from both the machines concurrently. Its a very common scenario for a High Availability Environment. Virtual Box provides a facility of creating sharable VDI disks which can be mounted on multiple machines, but it doesn’t allow concurrent read/write access from multiple machines. If you are installing RAC database then its still achievable, because ASM will provide the feature of concurrent read/writes, but if you want to install a WebLogic cluster with High Availability the recommended approach would be to have a Shared Mount. Step to create a shared nfs mount is fairly simple. I am using a WD My Book Live, and will mount the Public folder as shared mount 1. Get the hostname/ip of the WD device. 2. On the Linux Machine 1 create the folder where you want to mount the nfs ...

How to create a shared drive in Virtual Box

If you wan to create a shared drive in Oracle Virtual Box then follow the steps below: 1. Create the shared disk cd "D:\VirtualBox VMs\oracle_shared" "c:\Program Files\Oracle\VirtualBox\VBoxManage" createhd --filename weblogic_shared.vdi --size 20480 --format VDI --variant Fixed 2. Attach the shared drive to the Linux Machine 1 "c:\Program Files\Oracle\VirtualBox\VBoxManage" storageattach OEL6U3-WebLogic-Node1 --storagectl "SATA" --port 1 --device 0 --type hdd --medium weblogic_shared.vdi --mtype shareable 3. Attach the shared drive to the Linux Machine 2 "c:\Program Files\Oracle\VirtualBox\VBoxManage" storageattach OEL6U3-WebLogic-Node2 --storagectl "SATA" --port 1 --device 0 --type hdd --medium weblogic_shared.vdi --mtype shareable 4. Make the disk sharable "c:\Program Files\Oracle\VirtualBox\VBoxManage" modifyhd weblogic_shared.vdi --type shareable Note: This will just create a shared disk ...

Installation of Virtual Box Guest Edition Fails on OEL6U3

Image
If you are trying the install the Virtual Box Guest Edition on OELU3 you might run into an error, “ The headers for current running kernal was not found ” To resolve the error follow the steps: 1. Configure the public yum repository if not done before cd /etc/yum.repos.d and execute the following 2 commands yum install gcc kernel-devel make yum install kernel-uek-devel-2.6.39.200.24.1.el6uek.x86_64 After this retry to install the Guest Edition  

Installing OEL6U3 on Virtual Box

Image
1. Open Virtual Box. 2. On Home screen click on New 3.Type Name as OEL6U3, select Type as Linux and Version as Oracle 64 bit   4. Assign memory size to 2048 MB, this can be changed later. 5. Select ‘Create a virtual hard drive now’ and click on create 6. On the Hard Drive File Type screen select VMDK, since is compatible with VMware, incase if you want to switch to VMware in future. 7. Select Dynamically allocated 8. Enter Virtual Disk size as 50 GB, and click Create. You can expand this later using virtual box tools, or add a new drive to install other applications. 9. Select the machine and click on Settings 10. Click on System and modify the Base Memory, Processor, and Network as per your requirements. Now we will start the Operating System Installation 11. Insert the Linux CD, or select the ISO from the settings window. 12. Click on Start 13. A new window will open, click on skip 14. Click Next 15. Select Basic Storage ...