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 http://www.megacrack.es/2013/06/12/como-detectar-si-cbt-change-block-tracking-est-habilitado/ 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:    #################################################
      4:    
      5:    Add-PSSnapin VMware.VimAutomation.Core
      6:    
      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
  22:  
  23:  Connect-VIServer $ server -User -Password $ pwd $ user -Force | out-string
  24:  
  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

DeletePlugin

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 which enables complete only the copy of the amendments to the memory blocks and thus occupy only a very small space by reducing backup time and space occupied, but sometimes this is not set if we come from earlier versions of Vsphere 4 for example, by updating 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

UBERAlign

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 .

 

http://vimeo.com/31551795

 

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: http://www.blueshiftblog.com/?p=300

 

You can see more advanced information on the following link http://nickapedia.com/2011/11/07/for-advanced-users-uberalign-api-cli-powershell/

IOMETER

The first application we show is Iometer which you can download from the following link: http://www.iometer.org/doc/downloads.htmlThis 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 10 and 25 percent Between
C. Memory can not be reclaimed Quickly enough.
D. VMware Tools is not installed
E. The virtual machine is starting up

Good.

This coming Friday I have the VCP51 exam and I wish that I should say on what are the possible answers 3 because I think they are the CDE, but I have not entirely clear.

I think that A trap is clear that it is because the value of 50 percent compression means not to ballooning:http://www.vmware.com/files/pdf/mem_mgmt_perf_vsphere5.pdf11 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.

In question clearly it indicates that assumes that the ballooning is therefore possible to answer E should not make sense not you think? also emphasize it again in question,for a running virtual machine.

The answer D It could strain response that clearly seeks to know that the driver is installed with ballooning VMwareTools, but neither makes clear with the "Assuming That Balooning is possible".

The answer C is correct because as you can read in the blog of Jose Maria Gonzalez and his people (Miguel Angel Alonso and company) the following confirms that the response C it's correcthttp://www.josemariagonzalez.es/2010/06/14/ballooning-vmkernel-swapping.html:

One of the best settings in this setting (Ballooning) is not set too low memory reserves because if so, theVMkernelAnd during periods of high activated, could force swapping to disk which greatly slow down the performance of your serverVMware ESX / ESXi.

So the answer I'll put if I get this question on the exam will be the following answers but I guess that in examining this question, or at least these responses will not appear because they are incongruous.

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 »

GTranslate Your license is inactive or expired, please subscribe again!