viernes, 28 de septiembre de 2012

Como actualizar ESXi 5.0 Update 1 mediante vib






El update 1 de ESXi 5.0 conlleva una limitacion en el autoarranque de las maquinas virtuales , para ello deberemos de aplicar el siguente parche.


1. Paso : Iniciar sesion en http://www.vmware.com  


3. Paso : Descarga de vSphere 5.0 Update 1 SDK for Perl y descagar el parche en formato vib

4. Paso : Instalar el mismo en una maquina cliente 

5. Paso : Activar en el ESXi acceso a shell remoto desde Service properties - remote access

6. Paso : Parar las vm

7. Paso : Poner el server en modo mantenimiento.

8. Paso : En el equipo cliente lanzar una consola de MSDOS

9. Paso : Cambiar de directorio a  C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\

10. Paso : Copiar el archivo vib a un directorio temporal (por ejemplo "parches"). 

11. Paso : Listar disponibles

esxcli --server=IPdestino --username=root software sources vib list --depot=/vmfs/volumes/Datastore/Parches/ESXi500-201207001.zip | more

10. Paso : Instalar desde el zip

esxcli --server=IPdestino  --username=root software vib update --depot=/vmfs/volumes/Datastore/Parches/ESXi500-201207001.zip

11. Paso : Reiniciar la maquina y arrancar las vm.

miércoles, 5 de septiembre de 2012

Como convertir discos Thick a Thin


Conversion de Thick a Thin

1. Paso : Parar las maquinas virtuales

2. Paso : Acceder al panel de ESXi en la opcion de "configuration".



3. Paso : Security Profile - Services - Properties.



4. Conexion mediante ssh :


5. Paso : Autenticacion como root.


6. Paso : Cambiarnos al directorio en cuestion

cd vmfs/volumes/datastore/server

7. Paso : Comando de conversion : Ojo con el nombre del disco es el que nos aparece en la opcion "disk file" .




vmkfstools -i discothick.vmdk -d discothin.vmdk



5. Paso : Conexion mediante VMware vSphere Client y eliminamos el disco antiguo y añadimos el nuevo.
Acordarse de eliminar el disco antiguo del datastore.

domingo, 26 de agosto de 2012

Como mover maquinas virtuales de un ESXi a otro ESXI

Basicamente tenemos que tener los dos Esxi en el mismo rango , tener paradas las maquinas virtuales en el origen y utilizar el cliente "VMware vsphere client " para realizar el proceso sin tener que pagar una licencia de vmotion.



This process will require that, at least temporary, the “source” ESXi server has access to some storage that will be used by the “destination” ESXi server. In my case, I use a NFS shared Datastore that is visible from both ESXi ; I expect a VMFS on FC or iSCSI to work as well.

As seen previously, you can’t migrate a “living” Virtual Machine ; it has to be paused or shutdown before it can be moved. This is quite expectable as there would be no reasons to pay for vMotion if it could be done by some other way…

What has to be know while dealing with ESXi migration is that, although we’re using virtual hardware, a running Virtual Machine has some kind of adherence to the physical CPU it is running on. In my case, I moved the VMs from a physical ESXi to a virtual one and the paused Virtual Machines couldn’t be restarted in their paused state. You can probably face the same problem if migrating between ESXi that have not the exact same CPU (and CPU features). The error I got was “Your virtual machine did not resume because of a correctable error”. I choose the “Delete” option and the VM started as if I had been savagely powered down. So my advice is to properly shutdown the Virtual Machine before migrating it from one ESXi server to another.

The migration process is then really simple ; at least as simple as seen in the previous section. We’ll assume that the Virtual Machine is already located in some shared space.:
 – Connect to the “source” ESXi server using the vSphere client ;
 – Execute “Shut Down Guest” on the Virtual Machine to be moved ;
 – Right-click on the Virtual Machine object and select “Remove from Inventory” ;
 – Connect to the “destination” ESXi server using the vSphere client ;
 – Open the shared Datastore browser ;
 – Browse to the location where the VM files are and select the VMX file ;
 – Right-click the object and select the “Add to Inventory” action ;
 – Follow the wizard to attach the Virtual Machine to the “destination” ESXi server ;

You can now start the Virtual Machine.

As seen previously, you’ll get a warning message telling you that “The Virtual Machine might have been moved or copied”.

If you’re a lucky Administrator, the Virtual Machine should now be up and running from the “destination” ESXi server. Note that it only takes a few seconds to migrate a Virtual Machine from one ESXi to another (since the VMs is powerred off).

miércoles, 15 de agosto de 2012

jueves, 7 de junio de 2012

Error 530 5.7.1 Cliente no autenticado en Exchange 2010

Despues de realizar una instalacion en Exchange 2010 y cuando intentamos enviar un correo a cualquiera de las cuentas del mismo nos aparece el siguiente error "Error 530 5.7.1 Cliente no autenticado en Exchange 2010"

Para solucionarlo hay que quitar el check que solo dejarecibir email de usuarios autenticados.


miércoles, 6 de junio de 2012

Como Instalar Exchange 2010

Después de mucho renegar instalando todos los prerrequisitos la comprobación no me permitía la instalación ya que me decía que no podía acceder a la metabase, y me aclaraba que el Rol IIS no estaba instalado.

Luego de revisar todo lo referido a permisos en el IIS y en el Default Web Site y de crear a mano el directorio virtual OAB seguía sin reconocerme como instalado el Rol IIS.

Esto se soluciona con 2 comandos ejecutados en PowerShell en modo administrador (click derecho sobre el acceso directo y seleccionar ejecutar como Administrador).

1 - Import-Module ServerManager

2 - Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server –Restart

Con esto es suficiente y ya pasa la comprobación del instalador satisfactoriamente.


Configurando Exchange 2010


Intersante video sobre la configuracion inicial de Exchange 2010, son 26:46  pero merece la pena :



Video