September 9th, 2009
st0ma
I noticed an IP conflict today on a windows box hosted on the ESXi. In the events viewer under system I checked the MAC address of the system trying to hijack my IP address. I wanted to find a quick way and check if this mac address is in my existing ESXi Virtual Machines or it’s outside somewhere..
I wanted to find a quick and dirty way to check this since there is number of machines on the ESXi host.
Here is what I did…
I opened VMWare VI-TOOLKIT. After I connected I decided to try some commands that I regularly use such as get-vm and get-vmguest. After I found nothing interesting I checked out the CI Toolkit Cmdlets Reference Document.
And there it was… the perfect command for what I wanted..
Read more…
In some rare cases you can notice resource allocated to virtual machines that don’t appear to be running.
esxtop
can help you find this out.
Using vm-support you can identify the world id of the virtual machine and then using the same command you can generate some support logs and abort the virtual machine.
Read more…
1. ESXi 3.5 Extending the VMDK file [Virtual Machine Hard Disk]
The main reason behind this is the fact that I needed more space for 2 more Oracle databases on a SLES10 Linux system. The partition mounted on /u01 was initially created as 21GB but I quickly depleted the space with 3 oracle 10g databases that took more than 17GB and the space left was not sufficient for the 2 new databases that I had to create.
Before I advanced with the extension of the VMDK file I connected to each separate instance and performed “shutdown immediate” command as sysdba.
Then I stopped the listener, dbconsole, isqlplus and once I confirmed that no oracle related processes were present on the system I performed a shutdown “shutdown -h now”.
In order to extend an existing hard drive attached to a virtual machine you have to make sure no snapshots of the virtual machine are present. I know that this is quite uncomfortable considering the risky operation that you are about to perform but there is a work around. (The work around is not in this post, so please let me know if you are interested or simply search for it. There is a good chance that I will have an article concerning that topic)
Read more…
Categories: Database, ESX, ESXi, Linux, Oracle, SLES, VI, VMware Tags: ESXi, fdisk, Linux, Oracle, SLES, VI, vmdk, VMware
February 18th, 2009
st0ma
VMware VI toolkit (for Windows)
1. Overview and download
The VMware VI toolkit for windows allows you to script administer and manage you virtual infrastructure in command line from your Windows Operating system machine. VMware VI Toolkit requires Microsoft PowerShell to run. If you didn’t have a chance to download those two applications, here are the download links:
Download and install Microsoft PowerShell
http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx
Read more…