Skip to main content

Posts

Showing posts with the label vmware

Clone multiple VM's and create multiple VM's using vagrant

Vagrant is an excellent tool for automation and doing proof of concepts (POC's). In many of the POC's you might need cluster and vagrant can do the clustering in matter of minutes by cloning an existing VM and then making into multiple Virtual machines Assumption You have basic idea of Linux & vagrant we are going to use centos/7 for vagrant guest The host is Fedora25/Redhat/CentOs system. Can be easily done for ubuntu as well Let's see the overall Summary of what we are doing to do create a working directory download and install virtualbox, then vagrant clean-up any unwanted boxes you have. putting the config file and provisioning Validating the nodes Creating a working Directory sudo su - mkdir /opt/vagrantOps cd /opt/vagrantOps Download and Install vbox, vagrant to your host (Fedora 25) vi /etc/yum.repos.d/virtualbox.repo  # with contents as per Virtualbox recommendation dnf install VirtualBox-5.1   # This will install vbox  f

VMware to Virtualbox Migration

After updating my Fedora Kernel , VMware Workstation 12 stopped working. This moment I thought to switch back to Virtualbox as it has support for latest Kernels. There are pretty some good documentation on how to migrate from VMware to Virutalbox format You can find a good document on Migration Here  . In Summary the steps are Power off your guest which you are migrating Open command promt as an Adminstrator and Navigate to    C:\Program Files (x86)\VMware\VMware Player\OVFTool Run   ovftool <source.vmx> <output.ovf> eg  ovftool "C:\Users\diaryfolio\Virtual Machines\Windows 7 x64\Windows 7 x64.vmx" C:\Users\diaryfolio\Win7Export.ovf This would take about 15mins . So please be patient Once complete Import into your Virtualbox using "Import Appliance" Errors that might occur Error: "Failed to open disk” - This normally happens when the Guest VM is not properly shutdown or stopped Error while importing to Virtualbox  Failed t

NUC5i5RYH - Barebone PC as Linux Server

After thinking of  installing VMWare ESXi on NUC5i5RYH barebone , I decided not to go ahead. This is because you need a separate system to manage (vSphere Client) to manage your lab which in my case was not helpful. I decided to go ahead and install CentOS 7 as my main OS(host) and install VMware workstation to support Windows Server (for ActiveDirectory) as guest. I faced few issues while installing CentOS into the i5 NUC. Mainly because the CentOS Kernel & drivers are bit outdated compared to NUC. Just to document what I've done to fix them !! Preparation  Download Minimal CentOS7 from main site Use "UNetbootin" to put the ISO into thumbdrive.  FAT32 formatting of your USB is best suited Installation Attach bootable USB to your NUC and enter ensure your USB as primary boot. Ensure you create a "root" user and password Reboot and CentOS installation is straight forward.  Network Issues Your Wi-Fi won't be listed in your detected dev