20 diciembre 2015

VMware Photon OS & Docker

Photon Os es una "technology preview" (TP) de una version open source de Linux de tamaño mínimo y que ha sido diseñado para ser puesto en marcha en minutos y poder desplegar contenedores.

Podéis descargaros las version del siguiente enlace donde hay documentación para poder desplegar la OVA en VMware Fusion (nos sirve incluso Workstation o VMware player gratuito) y vSphere 5.5 y 6, vCloud Air e incluso Google Compute Engine.  http://vmware.github.io/photon/


En los videos se muestra como una vez descargada la ISO de la TP1 con Docker 1.5 podemos actualizarlo a Docker 1.9.1 para beneficiarnos de todas sus ventajas.
Enlaces de las ISOs: https://bintray.com/vmware/photon/iso/view

Despliegue de Photon OS:




Actualización de Docker 1.5 a Docker 1.9.1:




Lineas de comando empleadas:
-descargar Photon OS TP1 y TP2: https://bintray.com/vmware/photon/iso/1.0TP1/view
-verificar version de Photon Os TP: cat /etc/*-release
-descargar Docker update: https://get.docker.com/builds/Linux/x86_64/docker-1.9.1.tgz
-update:
tar xzvf ./docker-1.9.1.tgz
sudo mv /usr/bin/docker /usr/bin/docker_old
sudo mv ./usr/local/bin/docker /usr/bin/docker


Enjoy!

09 diciembre 2015

Rightsize, Rightsize, Rightsize...

     ¿Rightsize? Si, cada dia es mas frecuente encontrarse con problemas de performance y de gestion de las conocidas como Monster VMs por una asignacion indebida de recursos a una maquina virtual, como si de un entorno fisico se tratase, aun sabiendo que posiblemente todos esos recursos no están correctamente aprovechados, ni siquiera la aplicacion esta diseñada para ello.

"No por asignar mas recursos a una VM se conseguirá mas performance, incluso puede producirse el efecto contrario"

     Es muy importante dedicar tiempo a realizar un dimesionamiento de las aplicaciones correcto, no solo para un uso mejor de los recursos del entorno de virtualizacion si no de la propio rendimiento de la VM y de las aplicaciones que en corran sobre ella.

     El ejemplo mas sencillo lo tenemos con el crecimiento scale-in (vertical, tambien conocido como scale-up) y el crecimeinto scale-out (horizontal)


     En un crecimiento scale-in debemos tener claro que las aplicaciones y el SO seran capaces de aprovechar la asignacion de mas memoria y CPU lo que posiblemente nos obligue a realizar modificaciones, por ejmeplo, en JAVA, si agregamos mas memoria RAM a la VM, deberiamos tocar los parametros de asignacion de la JVM, de lo contrario, la JVM seguiria disponiendo de la misma RAM que antes de su aumento.


     En un crecimiento scale-out, si conseguimos definir un building-block en la cual una VM con uan configuracion determinada de RAM y CPU, soporte por ejemplo un carga especifica de usuarios, ante eventos de crecimiento de demanda, sera mas sencillo desplegar desde la plantilla del building block tantas VMs como sean necesarias para soportan la nueva demanda, ahorrando ademas en tiempos de reconfiguracion y despliegue.

     Que se conseguimos con VMs mas pequeñas: al tener menos vCPU en estado iddle, el rendimeinto de una VMs en mas eficiente, reduciendose los valores de CPU Ready, CPU Wait y Co-Stop en la mayoria de las ocasiones (tendieno en cuenta que se realize un overcommit de los recursos del host ESXi de forma adecuada)

     A todo esto podemos añadirle las facilidades de getion de una VM mas pequeña e incluso poder protegerla con Fault Tolerace de VMware con tiempo de caida cero (downtime=0) que desde la version ESXi6 soporta ya 4 vCPU y hasta 64GB de RAM por VM protegida, unicamente hay un maximo de 8 vCPU protegidas por host ESXi lo que nos permite varias combinaciones.

    Como detalle a configurar para nota,  recordad cambiar en las BIOS de los host ESXi el performance en nivel HIGH, los valores balanced o low impactan negativamente en el rendimiento de las VM (en la mayoria de los servidores viene en modo balanced configurado de fabrica)

Rightsize, Rightsize and Rightsize


09 octubre 2015

TAM Day at VMworld Europe 2015













El VMworld Europe 2015 de Barcelona esta a la vuelta de la esquina!!!  

Os dejo aqui los enlaces a la Agenda del TAM Day que se celebrar el Lunes 12 y la Agenda del TAM Customer Central (TCC) con las sesiones que se realizaran durante los 4 dias del VMworld. Ambos eventos son exclusivos para clientes TAM con sesiones reducidas por lo que es muy importante registrarse previamente.

TAM Customer Central  - Europe 2015

TAM Day Europe Agenda (Tuesday, 12th)






13 septiembre 2015

VMworld San Francisco 2015: resumen

En este post podréis leer un resumen de las novedades y tendencias presentadas en el pasado VMworld 2015 SF (USA) cortesía de Jose M. Maldonado (Global Solutions Consultant en VMware.) @maldonjo


DevOps y contenedores

VMware Integrated Containers - Permite la ejecución de aplicaciones en contenedores directamente sobre la infraestructura vSphere o en vCloud Air, haciendo uso de las mismas capacidades y procesos actualmente existentes. Actualmente en fase beta podrá comenzar a probarse a finales de año de cara a usar el propio vSphere como un host para Docker. Permite que los desarrolladores utilicen sus herramientas Docker preferidas e IT soporte los servicios con la misma disponibilidad y flexibilidad como hasta ahora, pudiendo gestionarlos directamente desde vCenter.
  • Niveles de servicio garantizados, permite que los contenedores se comporten como máquinas virtuales: DRS, vMotion, HA/DR … minimizando el tiempo de indisponibilidad planificado.
  • Utiliza las capacidades de Instant Clone para levantar nuevas VMs para ejecutar contenedores en base a las necesidades o el orquestado del servicio
  • Integrable con el ecosistema de soluciones: Cloud Foundry, CoreOS, Tectonic, Docker, Kuebernetes, Mesosphere DC Operating System, …
  • Garantiza la seguridad, aislamiento y autenticidad de los contenedores arrancando cada uno en una VM de forma eficiente gracias al vSphere Instant Clone
  • Si se requiere almacenamiento y persistencia de datos, se podrán desplegar volúmenes de datos asociados a contenedores sobre plataforma vSphere.
  • Comunicación granular gracias a NSX, pudiendo aplicar configuraciones en base a políticas a cada uno de los contenedores por separado



VMware Photon Platform - Es una plataforma optimizada para la ejecución de contenedores con gestión basada en APIs, compuesta por dos elementos:

  • Máquinas Photon: Son los hosts de computación, sencillos, horizontalmente escalables y fácilmente reemplazables, con un "microvisor" basado en ESXi y un sistema operativo Linux optimizado para la ejecución de contenedores
  • Controlador Photon: Controlador de hosts y orquestador de cargas de trabajo con un plano de gestión distribuido y multi-tenant
CONTINUAR... 

24 julio 2015

vRealize Operations Manager 6: How to create Projects

20 julio 2015

vRealize Operations Manager 6: Resource Capacity Concepts

One of the primary things you must learn to use  in the correct way the vROps Capacity Planning is understand the capacity concepts.


An image is worth a thousand words:





















Having this concepts crystal clear, the next lesson is the 3 capacity models:

  1. Demand based > dynamic
  2. Allocation based > static
  3. combination of demand and allocation models 

With the first method, demand, the resources are assigned to the objects based on their demand and with the second mode, allocation, the resources are assigned to objects in static way.
Usually the allocation model is used for production environments (and the other both for test environments). The main objective is maximize the density optimizing the use of the resources based on demand.
The allocation model reduce the risk of insufficient capacity based on teh assigned resources for objects.

See an example how a trend analisys is different from a demand to an allocation based model:




27 abril 2015

vRealize Operations Manager 6 - Part V - Create Custom Groups with vSphere Tags


One of the best vROps (old vCOps) features is the option to create custom groups where you can define the criteria membership and apply a policy rule to them.

There is a lot of environments where the Virtual Machines are not properly configured and defined, with the vSphere Folders or inventory VM names, no naming convention, etc.... 
Is here where the "vSphere Tags" win the game! You can easily tag your VMs!  ..use PowerCLI!!!! (next post incoming)

Imagine that you need to create a policy rule and a Custom Group but your VMs in vSphere are not organized...  Are you thinking in add one-by-one to a Custom Group? and what if tomorrow you add new VMs? ...manually adding Vms is not a good idea, so try to tag your VMs when you create it on the vSphere environment and keep it updated with your CMDB database.

But, how to tag your environment properly?  First of all, you "must" have clear the tags you want to add and how to categorize it.  Just an example, filter you DDBB Vms  (SQL, Oracle, MongoDB, etc) or filter by App Vms, or Bckp environment, or AV environment... and so on.....

Once you have your VMs tagged, you can create a custom group as shown below:






See previous Part I    -vRealize Operations Manager 6 - Part I - OVA deployment
See previous Part II   - vRealize Operations Manager 6 - Part II - Express Installation
See previous Part III  - vRealize Operations Manager 6 - Part III - Manage Solution
See previous Part IV  - vRealize Operations Manager 6 - Part IV -  How import LDAP users

Related with:  VMware vSphere: how to create tags - Part I


20 abril 2015

VMware vSphere: how to create tags - Part II with PowerCLI

On the Part I post we learn how to add a Tag and a Category trough the GUI interface with vSphere Web Client, now, let´s take a look about how to do it with PowerCLI.


Remember that Tags are a new feature available from vSphere 5.1 and the cmdlets are available from PowerCLI 5.5, so, we need at least a vCenter on vSphere 5.1 and the PowerCLI 5.5 installed but much better use las version PowerCLI 6 (not all cmdlets are present in PowerCLI 5.5 initial release)

Use this to verify the version you have installed: 
PowerCLI C:\> Get-VIToolkitVersion


Now with the New-Tag we can review the Tags configured, and with "New-TagCategory" create a Category and after with "New-Tag" the Tag



Now, we are ready to assign Tags to objects, in this case to Virtual Machine:


It´s time to verify it trough Web Client:





Something i didn´t mention jet, is that you can assign multiple Tags to an objet in vSphere , in our case to a Virtual Machine. It means that you can for example tag a VM with the "DDBB_tag" because it´s a SQL DDBB, and Tag it with "Cluster_tag" because it´s a Microsoft Cluster, or with another tag like "Test_tag" because it´s a DDBB SQL Cluster from the Lab Environment.

Why multiple Tags? For vROps it will be useful to create custom groups using different Tags criteria and fix different policies if its a VM from DDBB servers, or if its a VM from Lan Environment..... one VM could be placed in different Custom Groups at the same time :-)


First Part of this post: VMware vSphere: how to create tags - Part I



15 abril 2015

VMware vSphere: how to create tags - Part I

What is a tag?

A tag is a label that you can apply to objects in the vSphere inventory. Tags allow you to attach metadata to objects to make them more sortable and searchable.

Tags are grouped into categories, which define how the tags can be applied to inventory objects.


What is a category?

A category groups together related tags in the vCenter Server inventory.
When you create a category, you specify whether multiple tags in that category can be assigned to a given object at one time, or whether only one tag can be assigned to an object at a time. For example, a category called Priority might contain the tags High, Medium, and Low, and be configured to allow only one tag in the category to be applied to an object at a time.

You also specify whether tags in a category can be applied to all objects, or only to specific object types, such as hosts or datastores.


...yes, this is just a Copy&Paste from the original explanation from tags and categories on the VMware documentation....but i´m sure that no one read it...or at least...just a few docu-addicts :-)

Once we have a crystal clear the idea about what Tags and Category are....let´s show how to create them:

continue reading....

14 abril 2015

Ediciones de VMware vCloud Suite

VMware en su version vCloud Suite dispone de tres ediciones: Standard, Advanced y Enterprise.

En cada una de ellas se incluyen diferentes soluciones: vSphere Enterprise Plus, vRealize Operations (vROps), vRealize Automation (vRA), vRealize Business y vCenter Site Recovery Manager (SRM): 


vRealize Operations es el antiguo vCenter Operations
vRealize Automation es el antiguo vCenter Automation
vRealize Business es en antiguo IT Business Management

Mas info en:  http://www.vmware.com/files/pdf/vCloud-Suite-Pricing-Packaging-Whitepaper.pdf


11 marzo 2015

vRealize Operations Manager 6 - Part IV - How import LDAP users



See previous Part I - vRealize Operations Manager 6 - Part I - OVA deployment
See previous Part II- vRealize Operations Manager 6 - Part II - Express Installation
See previous Part III  - vRealize Operations Manager 6 - Part III - Manage Solution

vExpert 2015 ....my second year :-)

The vExperts 2015 list was published the last month and this is the second year for me :-)


"...Each of these vExperts have demonstrated significant contributions to the community and a willingness to share their expertise with others. Contributing is not always blogging or Twitter as there are many public speakers, book authors, script writers, VMUG leaders, VMTN community moderators and internal champions among this group.
     I want to personally thank everyone who applied and point out that a “vExpert” is not a technical certification or even a general measure of VMware expertise. The judges selected people who were particularly engaged with their community and who had developed a substantial personal platform of influence in those communities. If you feel like you were not selected in error, that’s entirely possible."
You can find the whole list on this link:

02 enero 2015

vRealize Operations Manager 6 - Part III - Manage Solution

Video about how to Manage solution  or how to add vCenters to vROps monitoring


See previous Part I - vRealize Operations Manager 6 - Part I - OVA deployment
See previous Part II- vRealize Operations Manager 6 - Part II - Express Installation


vRealize Operations Manager 6 - Part II - Express Installation




Previous step Part I - vRealize Operations Manager 6 - Part I - OVA deployment
Next steps Part III  - vRealize Operations Manager 6 - Part III - Manage Solution

.

vRealize Operations Manager 6 - Part I - OVA deployment




See next step Part II  - vRealize Operations Manager 6 - Part II - Express Installation
See next step Part III - vRealize Operations Manager 6 - Part III - Manage Solution

.