Vmware UAG – It is the right damned password!!!

*Tap tap tap tap*

Login failed

*Tap tap tap tap*

Login failed

Yes…You are typing the correct password. When setting up the UAG, there’s a minimum password complexity…It just doesn’t tell you that you met it or not… Honestly it’s up there with the firewall changes for VROPS they don’t tell you about, plus calling Domains ‘Realms’…

Anyway! Easily fixed – Root password on the console screen should be fine and do the following:

echo ‘adminPassword=P@ssw0rd’ > /opt/vmware/gateway/conf/firstboot.properties
chown gateway /opt/vmware/gateway/conf/firstboot.properties
supervisorctl restart admin

Lo and Behold! You can access the WebUI again…

One of my colleagues wrote a UAG Firewall rules generator which is worth a look!

https://veffort.wordpress.com/2017/02/20/vmware-access-point-firewall-rule-generator/

vRealize For Operations – Unable to pair the broker agent for Horizon

I actually wrote some documentation on this for my team, when I encountered the issue. Then I lost it. Hence setting up a website to store everything I come across, on!

This issue came about myself after I upgraded the version of VROPS I had installed and I couldn’t for the life of me understand why the agent simply refused to connect. So after much messing around, I found the following vmware KB:

VMware vRealize Operations Manager for Horizon 6.2 Broker Agent fails to pair with the Horizon adapter (2140844)

Yep, they decided to leave out the necessary ports allowed through the firewall on the appliance. Thanks vmware!

If you aren’t comfortable using VI – which for the uninitiated, can be a nightmare, you can take a copy of the file (download it/FTP it off etc) and make the changes, then re-upload it.

Don’t forget the restart the firewall service – also when I rebooted the VROPs server once, it lost the settings, so rookie mistake or something more…sinister… Not sure, don’t care, just had to do this again! 😉

 

Add multiple ESXi Hosts to vCenter (PowerCLI)

So if you’ve read some of my previous posts, you probably figured out that I’ve built a fair few environments from scratch and hate having to rinse and repeat manually. For my last infrastructure project I have some various scripts and tools to sort that out!

The following link lets you add ESXi Hosts to vCenter via PowerCLI, by Hostname range, IP Range, or text file/CSV. I used textfile and name using this method and it worked perfectly.

This ties in with DNS entry creation as well as it means you can quickly and easily add all your hosts and create the DNS entries for them as well.

Add Add multiple ESXi Hosts to vCenter with PowerCLI

DNS Bulk records creation

Horizon View Client Install – Windows

And now for something completely different.

I mean, now for the Horizon View Windows Install!

Download the Horizon View Client from the following site:

https://my.vmware.com/web/vmware/details?downloadGroup=CART17Q1_WIN_440&productId=578&rPId=15156

1win2win

Now, you may not want USB redirection (or it may not work) and also it’s environment dependent whether you want to Log in as current user.

win3

Enter your Default connection server

win4

Continuing on from if you chose to log in as current user

win5win6win7win8win9

Run the app, log in and go forth!

Horizon View Client – Android Install

For most of us, it’s easy installing any kind of client app, or app on our phones. For others, it can be a little bit more challenging. I snipped (Love the snipping tool and PSR, but that’s another story) and borrowed some screenshots to build up a few documents for the client installs for View – as I couldn’t find anything official and I needed them for a project. Without further ado, here’s android – iOS and Windows follows later.

Search for and install the client from the App store

 1

 

 

Add the View Connection Server address you need

 

 2

 

 3

Enter your given username and password

4

Choose the appropriate Desktop pool if given the option

5

Profit!