Posts

Showing posts with the label powershell

View 5.0: View PowerCLI

Recently from my previous post, I have upgraded my home lab to VMware View 5.0. Everytime seems working.  For those who ain't aware, my ISP issue dynamic IP.  In such, I created a domain name from dyndns.org. As to match my external IP to my View Security Server with my external dns name, I would need to use a script which was found from the source below. I did some modification to suit my environment and corrected some mistake.  Below is my script. However in View 5.0, it has to be launch using the View PowerCLI and Add-PSSnapin VMware.View.Broker is no long working anymore. (which it did in View 4.6).  This was documented in VMware KB 1034652 . A quick check with the View PowerCLI properties from Start Menu, I realize it is calling a powershell script from C:\Program Files\VMware\VMware View\Server\extras\PowerShell\add-snapin.ps1 so in such I added the change in my script as you can see.  This was documented Now my script is running fine again...

My Home View 4.6

Image
Here is a diagram of my home lab which I have done up. All machines are VMs other than the main ESX server is a physical. I will put up my specification used for my ESXi server at home in another post. This took me a few months as I was busy with work, exams and lots of other testing to have this working. I must admit I do not have a good network backup ground which was also one of the big reason I have a problem with Vyatta router setup. I have 3 LUNs on my ESXi server namely a 1 x 160GB, 2x 500GB. All 3 are sata hdd. Here we will not go through the setup for the vSphere environment which I believe if you are reading this you would know how to do it. We will start with View 4.6 setup straight away. A few guides that got me to successfully implement my View environment are as below: a step by step installation was helpful http://paulslager.com Kendrick provide me the idea how the event database is configured. http://kendrickcoleman.com/index.php?/Tech-Blog/configurin...