Author Archives: rajeev

Understanding KVM a little more :)

By | 14th August 2015

KVM has been around for quite some time but never tried to do much with it. With Openstack, KVM has been the default hypervisor of the choice and KVM has good support in openstack  community. Some of my explorations led to few great readings and some trial and errors on KVM. What is KVM: Introduction is probably not needed… Read More »

Using Ansible to install vmware tools (open-vm-tools)

By | 1st August 2015

Installation of vmware tools for linux versions can be done using the open-vm-tools. Noticed the below message while trying to install vmware tools on my Ubuntu 14.04 $ sudo ./vmware-install.pl [sudo] password for rsa: open-vm-tools are available from the OS vendor and VMware recommends using open-vm-tools. See http://kb.vmware.com/kb/2073803 for more information. Do you still want… Read More »

packstack error with neutron

By | 30th July 2015

Every since I started working with openstack. I have tried different methods right from manual installation of every component —  devstack. One of of the most easiest method of installing openstack is using the RDO repo with packstack. I got the following error  unfortunately I was unable to find the issue. Had to use step 3(revert back… Read More »

Monitoring specific Hosts using VMware Log Insight

By | 5th May 2015

If you want to specifically monitor a single host in the Log insight then this can be done using the following steps:- 1. Click on Administration on the left corner of the screen. 2. Add vCenter server ip to vsphere Integration and test the connection.   3. Click on advance options and select the host… Read More »

Creating Nested ESXi VMs using Powercli

By | 5th May 2015

In case of lab environments the best method is to create Nested ESXi VMs. This can be accomplished easily by creating ESXiVMs with the GOS as ESXi 5.x. Wrote a  small script which does the same thing. There might be other ways of doing this like using autodeploy or using API to create the ESXiVMs at the… Read More »

Powercli script to shutdown and Poweron VM

By | 14th April 2015

Powercli script to shutdown and start of virtual machine. This powercli script was created for a specific use case where we needed to shutdown the virtual machine and start it after shutdown is complete. During the writing of the script found the most important case is how you cleanly shutdown your virtual machine and then… Read More »

Starting with Ansible

By | 14th April 2015

This Blog post is about getting started with Ansible. Getting started with Ansbile. If you haven’t started using Ansible then it is something you are missing. Ansible is a configuration managemnt tool. It can be installed on any linux machine. For this demo using ubuntu 12.04 It has some of the dependencies that need to… Read More »

vCloud director: List of available powercli commands (vcd)

By | 17th February 2015

PowerCLI C:Program Files (x86)VMwareInfrastructurevSphere PowerCLI> Connect-CIServer -server 192.168.1.18 -User Administrator -Password ” PowerCLI C:Program Files (x86)VMwareInfrastructurevSphere PowerCLI> get-command -Module vmware.vimautomation.cloud | select name Name —- Add-CIDatastore Connect-CIServer Disconnect-CIServer Get-Catalog Get-CIAccessControlRule Get-CIDatastore Get-CINetworkAdapter Get-CIRole Get-CIUser Get-CIVApp Get-CIVAppNetwork Get-CIVAppStartRule Get-CIVAppTemplate Get-CIView Get-CIVM Get-ExternalNetwork Get-Media Get-NetworkPool Get-Org Get-OrgNetwork Get-OrgVdc Get-ProviderVdc Import-CIVApp Import-CIVAppTemplate New-CIAccessControlRule New-CIVApp New-CIVAppNetwork New-CIVAppTemplate New-Org New-OrgNetwork… Read More »

Powercli script to create a new vswitch and enable it for iscsi

By | 9th December 2014

The following script creates a new vswitch by name iscsi Adds vmnic1 as the physical adapter adds the portgroup iscsi Interesting Note: to make the portgroup as vmkernel easy method to say -ConsoleNic:$false. #Configs $VC=”172.16.1.17″ #vcenter server $user=”root” $password=’vmware’ Connect-VIServer -Server $VC -User $user -Password $password $esxall=Get-VMHost -Server $VC foreach($esx in $esxall){ $vswitch = New-VirtualSwitch… Read More »