Paginas

Showing posts with label Script. Show all posts
Showing posts with label Script. Show all posts

12 July 2020

VMware Horizon with HAProxy Cluster LoadBalancer



It's been a while and since I had this post in draft for a long time I finally decided to finish it and publish it. What I'm going to show you is how to make a HAProxy Cluster for VMware Horizon connections with Load Balancing (LB) for two or more active VMware Horizon Connection Servers.
This LB Cluster solution is free (Linux environments) and can be used for other solutions that do not use the same ports (in this case 80, 443 and 8443). In turn, Connection Servers communicate with vCenter to redirect users to the correct VDI Pools after Active Directory authentication.
Let's see how to configure HAProxy redundantly using two CentOS 7 servers.

10 November 2017

Create Multiple Mount Points in Multiple Disks in one Datastore VMware



I was in a costumer where I had to create many disks to present to several virtual machines in VMware. The Datastores were few, but I had to create 60 disks in each VM (maximum supported with four SCSI controllers). To increase complexity, all of these Volumes in Windows meant to be Mount Points. To optimize this process I had to create some Scripts to help me.

I splited in different points:
  • Script to add multiple disks from one datastore to a VM;
  • Script to change all the Disks paths to Round Robin (The Storage was a HPE 3PAR);
  • Script to Create all the Windows Mount Points;
  • Script to view the Mount Points created.
Let's see how to do it!