Finally the help of IT is here

Blog of computer solutions.

Archive for the 'VMware' Category

The system of systems

Detect state of CBT in virtual machines

Posted by Xaus Xavier Nadal 12th on September 2013

Long time no write but I do not have time to do it (Sorry).

The title of this article for those who have no notion of parameterization of virtual machines will be a little out of context, but for system administrators working with differential backups of virtual machines for disaster recovery know that to perform a differential backup vmdk disk is a need to have CBT enabled and thus not go every day copying all vmdk disk to disk or tape.

To detect if we have enabled CBT there are several ways to do this as in the article I did a while ago but those were different times and had no current knowledge about these systems, so I show below a more professional way to detect the status of CBT in virtual machines from the command line with powershell and PowerCLI for vmware modules.

I hope you like the script to other tasks since the beginning of the script to row 25 is to make a connection to ESX or Virtual Center and 25 line is the script itself to detect the status of CBT.

      1:    #################################################
      2:    # Detect state CBT (Change Block Tracking) #
      3:    #################################################
      5:    Add-PSSnapin VMware.VimAutomation.Core
      7:    function Read-HostMasked ([string] $ Prompt ="Enter password:") {
      8:      $ Password = Read-Host -AsSecureString $ prompt;
      9:      $ BSTR = [System.Runtime.InteropServices.marshal] :: SecureStringToBSTR ($ password);
  10:    $ Password = [System.Runtime.InteropServices.marshal] :: PtrToStringAuto ($ BSTR);
  11:    [System.Runtime.InteropServices.Marshal] :: ZeroFreeBSTR ($ BSTR);
  12:    return $ Password;
  13:  }
  14:  write.
  15:  write "**************************************"
  16:  write "Starting authentication process * *"
  17:  write "**************************************"
  18:  write.
  19:  $ Server = read-host "Enter vCenter, ESXi or IP"
  20:  $ User = read-host "Enter user"
  21:  $ Pwd = Read-HostMasked
  23:  Connect-VIServer $ server -User -Password $ pwd $ user -Force | out-string
  25:  Get-VM | Get-View | Select Name, @ {N = "ChangeTrackingStatus . "; E = {$ _}} Config.ChangeTrackingEnabled

When you know that CBT is enabled you also have to know that if you do not have a version of virtual machine or above 7, CBT will not work, the version of ESX therefore must exceed 4.0, NFS is not supported, nor RDM virtual compatibility mode.

You know that you can comment on what you like about this article or other blog, greetings and see you soon.

tags: , , ,
Posted by Backup Exec 3600, VMware | No Comments »

How to remove a plugin in vCenter 5.1

Posted by Xaus Xavier Nadal 25th on July 2013

To remove a plugin in Virtual Center 5.1 have to access via web at the following address http://<vcenter>/mob

Write root system and if we have integrated with single sign on have to access a user with root privileges on vcenter.

After entering the correct credentials will access the part of the vCenter management objects. ManagedObjectReference: ServiceInstance


Megacrack read »

tags: , , ,
Posted by VMware | No Comments »

differential and incremental copies occupy the same as the FULL

Posted by Xaus Xavier Nadal on June 12th 2013

The differential backups as we all know are copies of the differences with a FULL copy.

Perform incremental backups copy of the differences since the last full or last incremental or differential.

In today's virtual environments where we copied completely virtual servers, virtual machines have a feature called Change Block Tracking that makes it possible to make only the copy of the modifications in the memory blocks and in this way occupy only a very small space by reducing the copying time and the occupied space, BUT there are times that this is not configured if we come from previous versions of Vsphere 4 for example, when updating the ESX environments, these values ​​are not created and must be done manually.

In this article we will show how Change Block Tracking enabled on a virtual machine

To do this we must do with the Virtual machine off.

We must edit the configuration of the virtual machine by right-clicking on the virtual machine and clicking on Edit Settings.

click on Hard Disk 1.

Mentally point the value of each SCSI disk created in the virtual machine: SCSI (0: 0), ...

Megacrack read »

tags: , ,
Posted by VMware | No Comments »

Useful applications for VMware environments

Posted by Xaus Xavier Nadal 12th on May 2013

Today we are going to show several useful applications for VMware, these apps are free and do not require much knowledge to use.

Some of them are quite powerful and as you will see are continuing to substitute existing VMware environments in applications, but in some cases improved by the community. It's amazing what programmers can do with a good base of knowledge and with your imagination.

UBERAlign, IOMETER, and ESXI-customizer


And finally, the best of 3, UBERAlign is a Windows application by or through an appliance (OVA) allows us to align Vmware vmdk disks of virtual machines with disk array which is mounted and the system vmfs windows for example.

2 consists of parts, the client and the virtual machine..

In the case of creating vmdk disks using the Virtual Center problem in the vmdk not exist, but instead of mounting windows 7 or Windows Server 2008 assemble an older operating system the vmfs system will not be properly aligned and have the possibility of increasing the disk performance if we use this tool.

They say that we can expect to earn between 9 13% and performance in virtual infrastructure.

With UBERAlign we can first diagnose whether we have a failure of alignment and then resolve it if you think fit.

But this tool goes further, also achieved if we needed reclaim space that we are not using in virtual machines and after transforming discs to thin to have this space on LUN to accommodate more machines, you can see in the following video .

Until you takes a snapshot of the virtual machine if there is a problem in the process.

If you want to see why it is important to explain the alignment you perfectly in the following link:

You can see more advanced information on the following link


The first application we show is Iometer which you can download from the following link: application is open source and is not only useful for VMware environments, but for environments where we have a SAN, NAS, iSCSI, or even local disks back to store our data, computers or servers, this app serves as you said the word to measure disk IOPs we want, but we can also see the response times and MBs per second and other data.

When running the application will allow us to select the disks we want or even access to network drives by 5 top menu icon.

Megacrack read »

tags: , , , , , , , , , ,
Posted by VMware | No Comments »

Assuming ballooning That is possible, under Which Circumstances three

Posted by Xaus Xavier Nadal 24th on April 2013

Assuming ballooning That is possible, under three Circumstances Which Might the VMkernel use a swap file for a virtual machine running? (Choose 3)
A 50 percent of the configured memory has Already Been balooned
B. The Mem CtlMaxPercent value is between 10 and 25 percent
C. Memory can not be reclaimed Quickly enough.
D. VMware Tools is not installed
E. The virtual machine is starting up


Este próximo viernes tengo el examen VCP51 y me gustaría que me dijerais cuales son las 3 posibles respuestas ya que yo creo que son la CDE, pero no lo tengo del todo claro.

I think that A está clara que es trampa ya que el valor del 50 por ciento se refiere a la compresión no al ballooning: 11 page

ESXi Determines if a page can be compressed by checking the compression ratio for the page. Memory
Occurs When the page compression compression ratio's greater than 50% is. Otherwise, the page is swapped out.
Only Pages that would be swapped out to Otherwise disk are Chosen as candidates for memory compression.
This Means ESXi will not proactively compress guest pages When host swapping is NOT necessary. In other words,
memory does not Affect workload compression performance is undercommitted When host memory.

En la pregunta indica claramente que asume que el ballooning es posible por lo tanto la respuesta E no debería tener sentido no creéis? además lo vuelve a remarcar en la pregunta, for a running virtual machine.

The answer D podría colar por que claramente la respuesta busca que sepamos que el driver de ballooning se instala con las vmwaretools, pero tampoco lo deja claro con lo de «Assuming that balooning is possible».

The answer C es correcta ya que como se puede leer en el blog de Jose María González y su gente (Miguel Ángel Alonso and company) lo siguiente confirma que la respuesta C es correcta

Una de la mejores configuraciones de este setting (Ballooning) es no configurar las reservas de memoria demasiado bajas, ya que de ser así, el VMkernel, y durante periodos de alta activada, podría forzar a hacer swapping a disco lo cual ralentizaria enormemente el rendimiento de tu servidor VMware ESX / ESXi.

Por lo tanto la respuesta que voy a poner si me aparece esta pregunta en el examen van a ser las siguientes respuestas aunque supongo que en el examen no aparecerá esta pregunta o al menos estas respuestas ya que son incongruentes.

C, and D are my answers and if there are more not listed as the above put that answer.

Please if anyone knows the answer to the comment in the post or send me an email to [Email protected]

Best regards.

tags: , ,
Posted by Certifications, VMware | 1 Comment »

G|translate Your license is inactive or expired, please subscribe again!