Here is a quick trick if you are looking to test out Solaris 11.2 Kernel Zones with Vmware Fusion.
I'm fairly sure that this trick will also work with the other VMWare products.
Out of the box, if you attempt to install a kernel-zone brand zone, you will see the following error:
# zoneadm -z myfirstkz install
Platform does not support the kernel-zone brand.
zoneadm: zone myfirstkz failed to verify
Running virtinfo confirms it:
root@s112test# virtinfo
NAME CLASS
vmware current
non-global-zone supported
1. First thing is that you need to be running i5/i7 generation processor that will support nested paging.
2. Shutdown your VM and then go into the container/folder for the VM and modify the .vmx file and add the following to the bottom:
vhv.enable = "TRUE"
3. Save the file and then restart your VM
4. Verify Support with virtinfo:
root@s112test# virtinfo
NAME CLASS
vmware current
non-global-zone supported
kernel-zone supported
5. If you have accepted the default drive size of 16GB in VMWare Fusion, you will want to add an additional drive and create a new zfs pool for zone as the default rpool size is too small for a kernel zone and the zonecreate will abort during the zone creation.
No comments:
Post a Comment