Finally the help of IT is here

Blog of computer solutions.

Migrating virtual server to the Cloud with Amazon AWS

Posted by Xaus Xavier Nadal 17th on May 2014

Conduct a converter of a virtual machine from physical to virtual or virtual to virtual is a breeze with VMware Converter, as we have talked about it in other articlesBut now that many of you are making the move to the Cloud we show you other techniques to migrate virtual server to the Cloud and vice versa, from the cloud to your on premise environments.

But not all operating systems can be migrated and meet some prerequisites that we will see in the following link:

In this post we will show you how to migrate a server in a virtual infrastructure (On premise) that is in our infrastructure to a cloud environment (the cloud that we have chosen is Amazon as we quite like and some had to go). When we have much experience on Amazon see other options such as Azure or re-environments on premise and surely we will stay with Amazon, but it will be time and money will tell you definitively what environment is that we pay for and maintain (What to think of everything, air conditioners, cpd, painting, cleaning, light ...), the server will be migrated into a virtual environment based on VMware but also served with Citrix or Microsoft Hyper-V.

The benefits they currently have cloud environments like Amazon are paid for months and use, if you have a server off not pay for it (Well, .. more or less (keep in mind the Elastic IP, disks EBS, snapshots in S3, VPC, ....) Now I will explain later how these products work or while skipping asking with comments or via e you'll solved your doubts. Another of the benefits of these systems Cloud is that they are highly scalable, if we need more resources only expand the server is already in minutes have more CPU, more RAM, more disk even SSDs, or even more IOPS on a specific disk, if for example we want to set up a system of video streaming or game Mobile (app) and do not know how many users are going to have in the system and can not preveerlo may use methods like Auto-Scaling to start instances EC2 (Servers) of the same features that make Load Balancing between them and have unlimited resources to provide our customers the desired service, but best of all is that when customers stop using the application, game, or stop viewing the soccer match streaming these servers will go by turning off / removing and cost of the product will be only used.

But enough of both text and what we've really come to do.

Megacrack read »

tags: , , , , ,
Posted by Amazon AWS | 1 Comment »

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 »

Cleanup ESX servers 4.1

Posted by jl on February 8 2013th

Hello everyone

In this article we will see how free space on servers ESX 4.1 or seeing an actual example above has happened to us.

In all servers ESX that are in version 4.1 and facilities are not new, but coming from previous version updates, such as 3.5 4 or we may be that when we're going to patch a bug that the task could not be completed , which may be of the style "Did not succeed for remediation hostesx.local, esxupdate operation 1.30 15 version Error"

One of the causes of this error may be we do not have enough space in the / boot partition as in older versions of vmware hosts ESX only had 100MB. To check open an ssh session to the host ESX and we run the command df -h we can see the size of the partitions team

[[Email protected] vmware] # df -h

Filesystem Size Used Avail Use% Mounted on

/ Dev / sde5 4.9G 2.8G 1.8G 61% /

/ Dev / sde2 2.0G 377M 1.5G 21% / var / log

/ Dev / sdc1 99M 98M 1M 79% / boot

/ Dev / sdc2 4.9G 2.7G 1.9G 59% / esx3-installation

/ Dev / sdc1 99M 74M 21M 79% / esx3-installation/boot

/ Dev / sdc6 2.0G 176M 1.7G 10% / esx3-installation/var/log

Here we can see that we only have one free 1MB the / boot partition so you do not have enough space to install the new patch. To see that this is what we're occupying the space to the / boot and run the command ls-la

[[Email protected] boot] # ls -la

Total 50320

drwxr-xr-x root root 5 1024 Jan 17 12: 01.

drwxr-xr-x root root 27 4096 Jan 17 11: 59 ..

-rw-r–r– 1 root root 37760 Jun 28 2012 config-2.6.18-274.ESX

drwxr-xr-x root root 2 1024 Jan 17 12: grub 01

-rw-r–r– 1 root root 24317271 Jan 17 11:01 initrd-2.6.18-238.ESX.img

-rw-r–r– 1 root root 24237624 Jan 17 12:01 initrd-2.6.18-274.ESX.img

lrwxrwxrwx 1 root root 25 Jan 17 11:37 initrd.img -> initrd-2.6.18-274.ESX.img

drwx—— 2 root root 12288 Mar 11 2009 lost+found

-rw-r–r– 1 root root 1034077 Jun 28 2012

drwxr-xr-x 2 root root 1024 Sep 20 2010 trouble

lrwxrwxrwx 1 root root 22 Jan 17 11:37 vmlinuz -> vmlinuz-2.6.18-274.ESX

-rw-r–r– 1 root root 1672284 Jun 28 2012 vmlinuz-2.6.18-274.ESX

Vemos que hay ficheros similares a intrd-x.x.xx-xxx.img que son imágenes antiguas y que se pueden eliminar con el comando rm intrd-x.x.xx-xxx.img y así liberar un poco de espacio.

Lo comprobamos con el comando df -h

Filesystem Size Used Avail Use% Mounted on

/ Dev / sde5 4.9G 2.8G 1.8G 61% /

/ Dev / sde2 2.0G 378M 1.5G 21% / var / log

/ Dev / sdc1 99M 74M 21M 79% / boot

/ Dev / sdc2 4.9G 2.7G 1.9G 59% / esx3-installation

/ Dev / sdc1 99M 74M 21M 79% / esx3-installation/boot

/ Dev / sdc6 2.0G 176M 1.7G 10% / esx3-installation/var/log

Already it freed some space and we can proceed to install the patches.


tags: , , ,
Posted by General, how to, VMware Virtualization, VMware | 2 Comments »

How to install a license on a Virtual Center

Posted by Xaus Xavier Nadal 14th on November 2012

In this article we show how to install VMware licenses in a Virtual Center environment.

What we will do is tap a previous article where we explained as install y set up vCenter Server Appliance Mode 5.1 and thus complete the installation of the license necessary for the system has greater functionality than 60 days is the term they give us free until we buy a product license vCenter and can use it for life.

We recall that once bought a license VMware is not necessary to be renewing the license every year unless of course we want to update the product or as VMware calls it (make an update version) does not mean putting on patches but increase the versioning for example when moving from one ESX 3.5 4 to, or a 4 5.1 to, etc ... I guess you know what I mean.

This article aims to explain the steps to be followed to introduce a license to a Virtual Center environment.

I hope you find it useful, and although simple, many of you sure helps you see with screen shots.

Please write to any comments if you have any questions or want to contribute knowledge to other blog readers.

Greetings and enjoy the reading.

Megacrack read »

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

Configure vCenter Server Appliance Mode 5.1

Posted by Xaus Xavier Nadal 14th on November 2012

This article is the second part of the article Install vCenter Server Appliance Mode 5.1.

In the previous article we explain how to install vCenter Server 5.1 in Appliance mode, a system that does not require the installation of a Windows server as a base because it has a system based on a distribution of SUSE Linux Enterprise 11 (64-bit) own operating system .

In the previous article we were at the end of the installation from an OVF into ESXi environment, prepared from a dynamic IP (DHCP) by which through a web environment we could connect us to continue with this article that explains how to configure vCenter Server 5.1 when it installed in Appliance mode.

We hope you reading is helpful and we let any comments about it so that we can help you as much as possible.

We will configure the basic settings of this tool, user and password, database, network configuration and we will start automatically services to enjoy a vSphere Client connection 5.1 to this virtual environment.

Megacrack read »

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

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