martes, 18 de julio de 2017

Getting Host Id


How to get the Host ID?

Hello Guys!!

In this post I'm going to show you how to get the Host ID.

Using PowerCLI




Using hostlist



Thanks for visiting my Blog!!!

Share and be sociable!!

lunes, 17 de julio de 2017

Storage vMotion: PowerCLI



Storage vMotion With PowerCLI

Hello Guys!!!


In this post I'm going to show you how to do a Storage vMotion Using PowerCLI. Something basic but cool 馃構


The first step is connect to vCenter Server 




Use this command: Get-VM VMNAME   | Move-VM -Datastore DATASTORENAME


Check the picture... This really works 馃槈


Thanks for visiting my Blog!!!

Share and be sociable!!!




domingo, 16 de julio de 2017

Horizon with View 7.2: Installation



Installing View Connection Server


Hello Guys!!

In this post I'm going to show the installation of VMware Horizon 7.2 Connection Server.

Let's Start!!!

Execute the installer with Priviligies, click Next to continue



Check the license agreement.....


Select the folder for the installers files


Select standar... check HTML Acces... In my case IPv4 but is possible IPv6


Recovery password.......... Next


Check the Windows Firewall.... Next...


I reccomend to use the same user that the installation..... Next.


Next.......


Click to Install......



Click to Finish... Don't forget to check the read me file...


Take note......


And finally you can go to this url:

For acces the desktop or download the client:

https://fqdnconnectionserver

For admin interface:

https://fqdnconnectionserver/admin




Thanks for visiting my Blog!!!

Share and be sociable!!


lunes, 3 de julio de 2017

vCenter Server 6.5: Backup


Backup vCenter Server 6.5

Hello Guys!!

In this post I'm going to show you how to take backup of vcenter server.

First, We need to go to this address: https://IPofvCenterServer:5480

Please use root and password


Click in Backup...





In my case I'm using a FTP Server (Windows Based) fill the path, port, user and password click Next

  

Select the information for take backup; I recommend select both options.. After click to Next



Check the Ready to Complete and click to Finish..





...........And the backup is succesfull click OK.


............................



VMware Reference:
https://blogs.vmware.com/vsphere/2017/01/vcenter-server-appliance-file-based-backup-restore-walkthroughs.html


Thanks for visiting my Blog!!!

Share and be sociable!!!

s谩bado, 1 de julio de 2017

PowerCLI: Delete From Disk


Delete From Disk

Hello Guys!!

In this post I'm going to show you how to delete a VM using PowerCLI (Something Basic but Cool).


First you need to identify the VM

Get-VM



After that we need to stop the VM,...., how? Use this command

Stop-VM -VM PHOTON01 -Confirm

So, the last step is delete the virtual machine...

Remove-VM PHOTON01 -DeletePermanently




VMware reference:https://www.vmware.com/support/developer/PowerCLI/PowerCLI41U1/html/Get-VM.html 

Thanks for visiting my blog!!

Share and be sociable!!!




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!!!