You are on page 1of 17

INSTALL MULTIPLE VM ON SAME HOST

AIM:
To install multiple virtual machines on a same host machine using virtual box

HOST OS: WINDOWS 8.1

GUEST OS: UBUNTU 14.04

STEPS:

1. Open oracle VM Virtualbox


2. In new wizard choose vm name, type of the operating system
3. Allocate memory (RAM) to the guest operating system
4. Create virtual disk storage details and check dynamically allocated
5. Select name and location of the virtual harddisk
6. Click create virtual machine
7. Open settings – storage and choose the iso image of the operating system
8. Click ok and start the virtual machine then choose install Ubuntu and follow the
onscreen instructions
OUTPUT:
COMMUNICATION BETWEEN TWO VMs ON SAME HOST

AIM:
To setup two guest operating systems on a same host machine to communicate each
other

HOST OS: WINDOWS 8.1

GUEST OS 1: UBUNTU 14.04

GUEST OS 2: UBUNTU 14.04

STEPS:

1. Open virtual machine settings of both virtual machine and choose network
2. Click Adapter 2 and enable the adapter
3. Select attach to virtualbox host-only Ethernet adapter
4. Click ok to save the settings
5. Login to the guest 1 and set the following
a. ipv4 address 192.168.56.102
b. subnet 255.255.255.0
c. default gateway 192.168.56.101
6. Login to the guest 2 and set the following
a. ipv4 address 192.168.56.103
b. subnet 255.255.255.0
c. default gateway 192.168.56.101
7. Reboot both machines and give ping command to test the communication
OUTPUT:
ONLINE MIGRATION

AIM:
To perform virtual machine live migration (Online migration) using virtualbox

STEPS:
1. Place source virtual hard disk on network drive or ScSi Storage
2. Create a new virtual machine on target machine with same configuration as the
source virtual machine and use the same virtual hard disk
3. Open “Live Migration” tool and provide target virtual machine name and port number
4. And Execute the command & start the target virtual machine , it waits for the
incoming connection
5. Start source virtual machine
6. Now open “Live Migration” tool on source machine and provide source machine
name and target machine ip address and port
7. Execute the command
8. Now the source machine will be migrated to the target machine
OUTPUT:
OFFLINE MIGRATION

AIM:

To perform virtual machine migration (Offline migration) using virtual box

HOST 1: WINDOWS 8.1


GUEST 1: UBUNTU 14.04

HOST 1: WINDOWS 10
GUEST 1: UBUNTU 14.04

STEPS:
1. Place source virtual hard disk on network drive or ScSi Storage
2. Create a new virtual machine on target machine with same configuration as the
source virtual machine
3. While creating virtual machine do not create any virtual disk
4. Open the virtual machine’s settings and add new SATA drive and choose existing
hard disk
5. And select the copied virtual hard disk of the source virtual machine as default drive
6. Now boot the target virtual machine
OUTPUT:
COMMUNICATION BETWEEN VMs ON DIFFERENT HOST

AIM:

To setup two guest operating systems on a different host machine to communicate


each other

HOST OS 1: WINDOWS 8.1 GUEST OS 1: UBUNTU 14.04

HOST OS 1: WINDOWS 10 GUEST OS 2: UBUNTU 14.04

STEPS:

1. Open virtual machine settings of both virtual machine and choose network
2. Click Adapter 3 and enable the adapter
3. Select attach to Bridged Adapter and select Wi-Fi adapter
4. Login to the guest 1 and set the following
a. ipv4 address 192.168.43.2
b. subnet 255.255.255.0
c. default gateway 192.168.43.1
5. Login to the guest 2 and set the following
a. ipv4 address 192.168.43.4
b. subnet 255.255.255.0
c. default gateway 192.168.43.1
6. Host 1 configurations
a. ipv4 address 192.168.43.1
b. subnet 255.255.255.0
c. default gateway 192.168.43.1
7. Host 1 configurations
a. ipv4 address 192.168.43.3
b. subnet 255.255.255.0
c. default gateway 192.168.43.1
8. Reboot both machines and give ping command to test the communication
OUTPUT:

You might also like