Re: Moving Oracle RAC VMs from Linux to Windows

From: Anand Rao <panandrao_at_gmail.com>
Date: Tue, 25 Apr 2017 09:18:54 +0530
Message-ID: <CANFhCMcUe8CWk0sLvCHU+Zepj_R9Eo152t+m3PoFzRHXJD8FaA_at_mail.gmail.com>



Hi Thomas,

I did not run the command but accomplished the same using the GUI. Please see the output of "vboxmanage list hdds".

c:\Program Files\Oracle\VirtualBox>vboxmanage list hdds UUID: b00cf591-4eb7-4ad3-a368-df41e76b0691 Parent UUID: base

State:          created
Type:           normal (base)
Location:       C:\Users\Anand Rao\VirtualBox
VMs\OLERAC1\OLERAC1-disk002.vmdk
Storage format: VMDK
Capacity:       51200 MBytes
Encryption:     disabled

UUID:           7baed035-025e-4028-ae46-d6788cb403c1
Parent UUID:    base
State:          created
Type:           shareable
Location:       C:\Users\Anand Rao\VirtualBox VMs\OLERAC1\asm-disk1.vmdk
Storage format: VMDK
Capacity:       5120 MBytes
Encryption:     disabled

UUID:           66e128e1-940a-4c6b-8553-210a90952731
Parent UUID:    base
State:          created
Type:           shareable
Location:       C:\Users\Anand Rao\VirtualBox VMs\OLERAC1\asm-disk2.vmdk
Storage format: VMDK
Capacity:       5120 MBytes
Encryption:     disabled

UUID:           fa86a944-3225-4fc0-b625-e447ad517d9e
Parent UUID:    base
State:          created
Type:           shareable
Location:       C:\Users\Anand Rao\VirtualBox VMs\OLERAC1\asm-disk3.vmdk
Storage format: VMDK
Capacity:       5120 MBytes
Encryption:     disabled

UUID:           a54e33c9-4308-4aad-a420-db940f403631
Parent UUID:    base
State:          created
Type:           shareable
Location:       C:\Users\Anand Rao\VirtualBox VMs\OLERAC1\asm-disk4.vmdk
Storage format: VMDK
Capacity:       5120 MBytes
Encryption:     disabled

The only difference is that on Linux, the files were asm1.vdi, asm2.vdi, etc.

Regards,
Anand

On 24 April 2017 at 19:00, Thomas Roach <troach_at_gmail.com> wrote:

> Did you try running this command on Windows to attach them?
>
> VBoxManage storageattach ol5-112-rac1 --storagectl "SATA" --port 1 --device 0 --type hdd \
> --medium asm1.vdi --mtype shareable
>
>
> Sent from my iPhone
>
> On Apr 24, 2017, at 4:17 AM, Anand Rao <panandrao_at_gmail.com> 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_at_gmail.com> wrote:
>
>> See if these commands will work on Windows. They should?
>>
>> https://oracle-base.com/articles/11g/oracle-db-11gr2-rac-
>> installation-on-oel5-using-virtualbox#create_shared_disks
>>
>> Sent from my iPhone
>>
>> On Apr 24, 2017, at 3:29 AM, Anand Rao <panandrao_at_gmail.com> 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
>>
>>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Apr 25 2017 - 05:48:54 CEST

Original text of this message