ATTACH_SHARED_DEV

 Clone the Virtual Machine to simplify RAC setups  with Virtualbox 4.2

Later versions of VirtualBox allow you to clone VMs, but these also attempt to clone the  shared disks, which is not what we want. Instead we must manually clone the VM.

  C:\VM\RACE2\hrac1>VBoxManage clonehd  C:\VM\RACE2\hrac1\hrac1.vdi C:\VM\RACE2\hac2\hrac2.vdi
  0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
  Clone hard disk created in format 'VDI'. UUID: c0ff0007-ff36-410f-b11c-26793ca401a
  --> VM cloned - need to configure Newtwork ...

Attach shared devices for ASM configuration

  C:\VM\RACE2\hrac1>VBoxManage storageattach hrac2 --storagectl "SATA" --port 1  --device 0 --type hdd --medium asm1.vdi
  C:\VM\RACE2\hrac1>VBoxManage storageattach hrac2 --storagectl "SATA" --port 2  --device 0 --type hdd --medium asm2.vdi
  C:\VM\RACE2\hrac1>VBoxManage storageattach hrac2 --storagectl "SATA" --port 3  --device 0 --type hdd --medium asm3.vdi
  C:\VM\RACE2\hrac1>VBoxManage storageattach hrac2 --storagectl "SATA" --port 4   --device 0 --type hdd --medium asm4.vdi

 

Leave a Reply

Your email address will not be published. Required fields are marked *