Re: Moving Oracle RAC VMs from Linux to Windows

  • From: Anand Rao <panandrao@xxxxxxxxx>
  • To: Niall Litchfield <niall.litchfield@xxxxxxxxx>
  • Date: Mon, 24 Apr 2017 14:44:52 +0530

Thanks Nial.

Yes, I already did the removal of "old files from Linux", add new files and
then delete the old files.

I used the manual method and when required, used the GUI.

We have to first make the ASM files shareable in Windows. For some reason,
they were imported as Normal fiels into the Windows VM. We can't make them
shareable straightway since they are dynamic allocation files (as
configured on Linux).

So, we clone the old files using VBoxManage while changing its allocation
to fixed. Then, add those files into the Virtual Media Manager or through
VBoxManage commands. The old files were deleted.

There were no errors and the VM box (RAC Node 1)  boots up fine.

CRS log says no voting disk which means the ASM disks are not recognizable.

I think the case could possibly have a say. The windows files are named
ASM-disk1.vdmk whereas in Linux it is asm-disk1.vdi.

Best Regards,
Anand


On 24 April 2017 at 14:18, Niall Litchfield <niall.litchfield@xxxxxxxxx>
wrote:

Hi

I'm assuming you have transferred the files across and your issue is with
the case of the file names? How have you tried to reattach - using the Add
Disk GUI? If you add the virtual box folder to your path then I would try

vboxmanage storageattach <vmname> --storagectl <controller> --medium <path
to vdi> -mtype shareable

for each disk and of course for each vm. You should get either success or
a useful error message.

On Mon, Apr 24, 2017 at 9:17 AM, Anand Rao <panandrao@xxxxxxxxx> wrote:

Thanks Thomas.

Unfortunately, this is for a Linux host. I have gone through this and
also the updated article which describes OLE 6.3.

My issue is porting the "RAC Virtual Boxes" from Linux to Windows. How do
we "re-attach" the existing Linux ASM virtual disks to Windows?

Best Wishes,
Anand

On 24 April 2017 at 13:23, Thomas Roach <troach@xxxxxxxxx> wrote:

See if these commands will work on Windows. They should?

https://oracle-base.com/articles/11g/oracle-db-11gr2-rac-ins
tallation-on-oel5-using-virtualbox#create_shared_disks

Sent from my iPhone

On Apr 24, 2017, at 3:29 AM, Anand Rao <panandrao@xxxxxxxxx> wrote:

Hi,

I have setup an Oracle 11g R2 RAC on two OLE 6.3 nodes using VirtualBox
5.1. The host OS is OLE 7.1 and the test setup was just using a single hard
disk.

Managed to export the VMs from OLE 7.1 and import them to my laptop
which runs Windows 10.

After some changes to the settings, the OS did boot but CRS failed which
i think is due to the ASM disks. Checked the CRS logs, etc. and it was
indeed the "missing "voting disks.

On my Linux Host (OLE 7.1), the ASM disks were /dev/asm-disk1 and so on.
On Windows they are named ASM-disk1.vmdk and so on.

I did try to remove and add shareable storage in VirtualBox on Windows
but i think something is missing here. The shareable storage from Windows
is not being pickup by the OLE 6.3 Virtual Host.

Does anybody know how to make these "virtual ASM disks" shareable so
that Linux can see it? Is there a guide i can follow to setup a Windows
based VM for Oracle 11g RAC?

I am just hoping that I can reuse the whole setup as it is.

Thanks,
Anand





--
Niall Litchfield
Oracle DBA
http://www.orawin.info

Other related posts: