domingo, 25 de junio de 2017

Installing vSphere 6.5



Installing VMware vCenter Server 6.5


Hello guys!!

In this post I'm going to show you how to deploy VMware vCenter Server 6.5.

Before to start We need to know the methods to Deploy:

  • First Method
          vCenter Server with Embedded Platform Service Controller

          In this case the platform service controller is co-installed with the vCenter Server.           




  • Second Method (I reccomend this option for Production Environments)

           vCenter Server with External Platform Service Controller
           
           In this case the platform service controller is a virtual machine diferent to the vcenter server                virtual machine.
           


In this case I'm going to Deploy the First Method.......

First you need this requirements:

  • 1 IP for vCenter Server (Include PSC)
  • 1 dns record in Microsof AD.
  • 1 ESXI host.

Download the vmware vsphere virtual appliance in this link: https://my.vmware.com/en/web/vmware/info/slug/datacenter_cloud_infrastructure/vmware_vsphere/6_5

After of exceute vCSA installer ui give click in Install



Click in Next to Start...


Check the box to accept the EULA and click in Next to Continue


Select the deployment option in my case (vCenter Server with Embedded Platform Service Controller)



Fill the next information (IP address, user root and password) from the ESXi host


Password for the user root of the Virtual Appliance


Select the deployment size; this depence of the virtual machines and host that your going to manage.


Check Enable Thin Disk Mode and click in Next


Fill the next information and click Next


Finish to complete the deployment.


In this part click in Continue for the second part of the installation.


Click to Next


Fill the Next information (NTP, Enable SSH) click to Next


Fill the next information (SSO domain, password, site name) click to Next


Next to continue (I checked the VMware's customer experience but is not necesary)


Click to Finish


Click in OK to continue.


and Now you've got vCenter Server in your infrastructure or lab... Enjoy it!!



Thanks for visiting my blog!!!

Share and be sociable!!!




viernes, 16 de junio de 2017

Power CLI: Depot + Patch




Creating a custom ISO using PowerCLI


Hello Guys!!!

In this post I'm going to show you how to create a custom ISO using PowerCLI, so what happens if a virus like wannacry is for VMware (I'm not joking jeje).  So VMware Admins need to create a custom iso for esxi that includes the VMware Path, so you can find anything patch from this page:

https://my.vmware.com/group/vmware/patch#search

So you need to download this files to your Windows Machine (I'm not sure that PowerCli Core for MAC Users is possible to do this custom iso).

Let's Start!!!

The first step is create a Folder (If is neccesary)

In my case I created one folder with one subfolder named patches, you can sort it like you want.






After that you need to use this command in PowerCLI

 Add-EsxSoftwareDepot 
D:\Depot\PATCHES\ESXi650-201703001.zip




You can use this command for checking the patch:



Then you need to include the patch in the ISO File...



So after that you can use that iso for patch your ESXi environment.. so I recommend to use Update Manager...


Thanks for visiting my blog!!

Share and be sociable!!!



lunes, 31 de octubre de 2016

Recover Administrator@vsphere.local



Lost password administrator@vsphere.local?


In ocassions is common lost the password of the user administrator@vsphere.local; so We can reset this password.  In my case I'm going to use vCenter Server with based Windows Server Installation.

Complete these steps before:

1.  Connect to vCenter Server with Administrator local user.
2.  Open CMD with Privileges
3.  Execute this command.  E:\Program files\VMware\vCenter Server\vmdird>vdcadmintool.exe

After choose the third option, fill the user in this case administrator@vsphere.local and then you've got the password.  Here the proccess:



Thanks for visiting my Blog!!!

Share and be sociable!!





domingo, 30 de octubre de 2016

Lock .vmdk or .vmx



How to know what host is locking the VM?


Sometimes in VMware vSphere after a HA event some vms has an startup failed; occasionally is the vCenter Virtual Machine.  So if you have access to the datastore files you can know how to find that host  has some process that don´t let you start the virtual machine, here the answer:

So, we first to find the datastore, just put this command in your ssh client connected to the esxi host :

1.  With this command you can find and identify the datastore connected to the esxi host.

      df -h 

2.  Use this command for find the host that has locked the virtual machine.

vmfsfilelockinginfo -p /vmfgs/volumes/yourdatastore/yourlostvm/yourlostvm.vmx or yourlostvm.vmdk  -v ipofvcenterserveraddress  -u administrator@vsphere.local

In this image you can see the process.




3.  After that you need to connect to the host en look for the vm process.

     esxcli vm process list

     Take note of the Worl ID number.

4.  In this step you need to user the world id number
     
      esxcli vm process kill -t soft -w yourworlidnumber

      This the KB about the 3 and 4 steps: https://kb.vmware.com/selfservice/microsites/search.do?         language=en_US&cmd=displayKC&externalId=1014165 


Thanks for visiting my Blog!!!

Share and be sociable!!!

jueves, 7 de julio de 2016

Recreating VMDK



How to create a .vmdk from flat.vmdk?


Hello Guys!!

In this post I'm going to Show how to recreate a vmdk file from a flat.vmdk.

Run from esxcli df -h here you can find the volume where you virtual machine reside.


so, run ls -l for identify your virtual machine


Here you need to run this command: ls -l yourvirtualmachinename-flat.vmdk this output show the virtual disk size.

After that you need to execute this command: vmkfstools -c 4294967296 (this the virtual disk size) -a lsilogic -d thin temp.vmdk


Here you need to execute this command: mv temp.vmdk yourvirtualmachinename.vmdk


Here execute this command vi yourvirtualmachinename.vmdk

Take Note: You should execute this command in the virtual machine directory.


After just exit and start your virtual machine.

Thanks for visiting my blog!!

Share and be sociable!!

miércoles, 29 de junio de 2016

Creating a View Desktop Pool




How to create a View Desktop?

Please follow this steps


In this part We have three Options, In my case Automated Desktop Pool


In this part I am going to choose Dedicated.

Take Note: If you want instant clone (the new feauture in Horizon View 7) select Floating.


In this part select Full Virtual Machines or View Composer Linked Clones.

Take Note: For View Composer Linked Clones you need to install View Composer in a Windows Server.


In this part choose an ID and a Name.

Take Note: If you fill just the ID this will be the Desktop Pool Display Name too.



Select the Protocol and Another things that you prefer. In my case PCoIP and HTML Acces.

Take Note: In VMware Horizon View 7 you can select VMware Blast; If you select this protocol you can access the desktop through the Browser (Firefox, Chrome).


In this part fill the Name.......... don´t forget the size........



I prefere a separate datastore... If you don't have VSAN!!



Fill the Info and click to Next...


Select the OU for your dekstops in Active Directory... Click to Next


Click to finish and you're ready!!!



Thanks for visiting my blog!!.

Share and be sociable!!!.


Creating a View Desktop Pool




How to create a View Desktop?

Please follow this steps


In this part We have three Options, In my case Automated Desktop Pool


In this part I am going to choose Dedicated.

Take Note: If you want instant clone (the new feauture in Horizon View 7) select Floating.


In this part select Full Virtual Machines or View Composer Linked Clones.

Take Note: For View Composer Linked Clones you need to install View Composer in a Windows Server.


In this part choose an ID and a Name.

Take Note: If you fill just the ID this will be the Desktop Pool Display Name too.



Select the Protocol and Another things that you prefer. In my case PCoIP and HTML Acces.

Take Note: In VMware Horizon View 7 you can select VMware Blast; If you select this protocol you can access the desktop through the Browser (Firefox, Chrome).


In this part fill the Name.......... don´t forget the size........



I prefere a separate datastore... If you don't have VSAN!!



Fill the Info and click to Next...


Select the OU for your dekstops in Active Directory... Click to Next


Click to finish and you're ready!!!



Thanks for visiting my blog!!.

Share and be sociable!!!.


Repoint to a Different SSO from vCenter Server 8

  Hello Guys, In this post I'm going to show you how to make a repoint of Single Sign On in VMware vCenter Server Before: Collect the FQ...