Manual:CHR VMWare installation: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== How to Install Cloud Hosted Router on VMWare Fusion ==
== How to Install Cloud Hosted Router on VMWare Fusion ==
=== Video instruction ===
=== Video instruction ===
[[File:CHR_VirtualBox_Install.png || VMWare ]]
[[File:CHR_VMWare_Fusion_Install.png || VMWare | link=https://www.youtube.com/watch?v=W5JyWBsXnKg]]
 
=== Step by Step Instruction ===
=== Step by Step Instruction ===
'''Create a new virtual machine'''
'''Create a new virtual machine'''
Line 14: Line 15:
* Step 5:
* Step 5:
[[File:CHR_VMWare_5.png | 600px | VMWare ]]
[[File:CHR_VMWare_5.png | 600px | VMWare ]]
* Step 6: By default VMWare uses 256MB RAM, adjust the size if needed, any size starting from 32MB can be used for RouterOS
* Step 6: By default VMWare uses 256MB RAM, adjust the size if needed, any size starting from 128MB can be used for RouterOS
[[File:CHR_VMWare_6.png | 600px | VMWare ]]
[[File:CHR_VMWare_6.png | 600px | VMWare ]]
* Step 7: Adjust the size of the RAM
* Step 7: Adjust the size of the RAM
Line 20: Line 21:
* Step 8:
* Step 8:
[[File:CHR_VMWare_8.png | 600px | VMWare ]]
[[File:CHR_VMWare_8.png | 600px | VMWare ]]
* Step 9: By default CHR disk image is 64MB. If bigger storage is desired, you can expand the virtual hard drive. Choose Customize Settings to do so. NOTE. IT MUST BE DONE BEFORE the 1st RUN.
* Step 9: By default CHR disk image is 128MB. If bigger storage is desired, you can expand the virtual hard drive. Choose Customize Settings to do so. NOTE. IT MUST BE DONE BEFORE the 1st RUN.
[[File:CHR_VMWare_11.png | 600px | VMWare ]]
[[File:CHR_VMWare_11.png | 600px | VMWare ]]
* Step 10: Choose Hard Disk and set the new disk size  
* Step 10: Choose Hard Disk and set the new disk size  
Line 26: Line 27:
* Step 11:
* Step 11:
[[File:CHR_VMWare_10.png | 600px | VMWare ]]
[[File:CHR_VMWare_10.png | 600px | VMWare ]]
== How to Install Cloud Hosted Router on VMWare ESXi 6.5 ==
Quick example on how to use CHR on ESXi 6.5 via it's web interface and some cli.
{{ Note | Steps will be similar in older ESX versions or when using vSphere client.}}
=== Step by Step Instruction ===
* Step 1:
Upload CHR image to your ESX/ESXi host.
[[File:0-ESX-upload.png | 600px | VMWareESX ]]
* Step 2:
Connect to your ESX host via ssh and navigate to directory where you uploaded
this image. Then convert image to one better suited for use with ESX.
Image location: /vmfs/volumes/(volume id)/
convert:
<pre>vmkfstools -i oldfile.vmdk newfile.vmdk -d thin</pre>
2.1. Expand image if needed.
Expand:
<pre>vmkfstools -X 512M newfile.vmdk</pre>
* Step 3:
Create new VM and attach it this existing image.
[[File:01-ESX-create vm0.png | 600px | VMWareESX ]]
[[File:02-ESX-create vm1.png | 600px | VMWareESX ]]
[[File:03-ESX-create vm2.png | 600px | VMWareESX ]]
[[File:04-ESX-create vm3.png | 600px | VMWareESX ]]
[[File:05-ESX-create vm4.png | 600px | VMWareESX ]]
* Step 4:
Assign CHR image to VM as boot disk.
[[File:06-ESX-add-image0.png | 600px | VMWareESX ]]
[[File:07-ESX-add-image1.png | 600px | VMWareESX ]]
[[File:08-ESX-add-image2.png | 600px | VMWareESX ]]
[[File:09-ESX-add-image3.png | 600px | VMWareESX ]]
{{ Note | For system disk you must use IDE controller! Only additional disks can be
attached to various supported SCSI controllers.}}
* Step 5: Start the VM.
==See also==
[http://wiki.mikrotik.com/wiki/Manual:CHR CHR manual]

Latest revision as of 13:19, 6 September 2017

How to Install Cloud Hosted Router on VMWare Fusion

Video instruction

VMWare

Step by Step Instruction

Create a new virtual machine

  • Step 1:

VMWare

  • Step 2:

VMWare

  • Step 3: Choose existing virtual disk

VMWare

VMWare

  • Step 5:

VMWare

  • Step 6: By default VMWare uses 256MB RAM, adjust the size if needed, any size starting from 128MB can be used for RouterOS

VMWare

  • Step 7: Adjust the size of the RAM

VMWare

  • Step 8:

VMWare

  • Step 9: By default CHR disk image is 128MB. If bigger storage is desired, you can expand the virtual hard drive. Choose Customize Settings to do so. NOTE. IT MUST BE DONE BEFORE the 1st RUN.

VMWare

  • Step 10: Choose Hard Disk and set the new disk size

VMWare

  • Step 11:

VMWare

How to Install Cloud Hosted Router on VMWare ESXi 6.5

Quick example on how to use CHR on ESXi 6.5 via it's web interface and some cli.

Note: Steps will be similar in older ESX versions or when using vSphere client.


Step by Step Instruction

  • Step 1:

Upload CHR image to your ESX/ESXi host.

VMWareESX

  • Step 2:

Connect to your ESX host via ssh and navigate to directory where you uploaded this image. Then convert image to one better suited for use with ESX.

Image location: /vmfs/volumes/(volume id)/

convert:

vmkfstools -i oldfile.vmdk newfile.vmdk -d thin

2.1. Expand image if needed.

Expand:

vmkfstools -X 512M newfile.vmdk
  • Step 3:

Create new VM and attach it this existing image.

VMWareESX

VMWareESX

VMWareESX

VMWareESX

VMWareESX

  • Step 4:

Assign CHR image to VM as boot disk.

VMWareESX

VMWareESX

VMWareESX

VMWareESX

Note: For system disk you must use IDE controller! Only additional disks can be attached to various supported SCSI controllers.


  • Step 5: Start the VM.

See also

CHR manual