Thinking Out Loud

January 6, 2013

Cloning VM RAC node

Filed under: VirtualBox — mdinh @ 5:46 pm

Software Configuration

Windows 7 SP1 x64 (guest OS)

VirtualBox-4.2.6-82870-Win

VirtualBox installed at D:\VirtualBox

VM Configuration

Clone VM to rac02

VBoxManage clonevm rac01 –mode machine –name rac02 –register

Clone created new directory rac02 as well as copies for all asm disks (rac02-disk?.vdi)

Remove disk attachment from rac02

VBoxManage storageattach rac02 –storagectl “SATA” –port 1 –device 0 –type hdd –medium none

VBoxManage storageattach rac02 –storagectl “SATA” –port 2 –device 0 –type hdd –medium none

VBoxManage storageattach rac02 –storagectl “SATA” –port 3 –device 0 –type hdd –medium none

VBoxManage storageattach rac02 –storagectl “SATA” –port 4 –device 0 –type hdd –medium none

Remove disk image from VirtualBox media registry

Be sure to change directory to where the disks are located.

VBoxManage closemedium disk rac02-disk1.vdi

VBoxManage closemedium disk rac02-disk2.vdi

VBoxManage closemedium disk rac02-disk3.vdi

VBoxManage closemedium disk rac02-disk4.vdi

Delete rac02 virtual disk image

del rac02-disk*.vdi

Attach asm*.vdi to rac02:

Be sure to change directory to where the disks are located.

VBoxManage storageattach rac02 –storagectl “SATA Controller” –port 1 –device 0 –type hdd –medium asm01.vdi –mtype shareable

VBoxManage storageattach rac02 –storagectl “SATA Controller” –port 2 –device 0 –type hdd –medium asm02.vdi –mtype shareable

VBoxManage storageattach rac02 –storagectl “SATA Controller” –port 3 –device 0 –type hdd –medium asm03.vdi –mtype shareable

VBoxManage storageattach rac02 –storagectl “SATA Controller” –port 4 –device 0 –type hdd –medium asm04.vdi –mtype shareable

MWSnap004 2013-01-01, 19_18_48

 

About these ads

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Rubric Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 294 other followers

%d bloggers like this: