Automating the Setup and Configuration of the Pure Storage OVA with PowerShell

This post was originally published on this site

A few weeks back we introduced the Pure Storage OVA which currently now focuses on the VM Analytics Collector and I blogged about deploying it with PowerShell: https://www.codyhosterman.com/2019/10/deploying-the-pure1-vm-analytics-collector-ova-with-powershell/ This was only deploying the OVA, not configuring it. Once deployed, you need to: Change the default password Add vCenters Remove vCenters Import configuration Test phone home … Continue reading Automating the Setup and Configuration of the Pure Storage OVA with PowerShell

Powershell Cmdlet from which module?

This post was originally published on this site
Powershell is pretty much the scripting language that is in every system administrators bag. One of the problems that I have is that I have installed lots of different Powershell modules on my servers, workstations, VM you name it. Over time you kinda of lose track and end up with differs of different versions of modules on different boxes. As the team I am working in is quite young to scripting we have not really followed a process to write within our scripts to check which version of module people should have installed before executing the script so that the cmdlet will run.

In the meantime you can run this handy command to quickly check what module and the version of  module you need to be able to use that particular cmdlet. Remember the same cmdlet may of been updated in a newer version too to have more features.

So on the machine where your script/cmdlet has run successfully run the following command in Powershell;

Get-Command -type cmdlet get-vm | select ModuleName, version

As you can see from the results you can see that the “get-vm” cmdlet on my machine is from the module “VMware.VimAutomation.Core” and is version “11.0.0.10336080”.

On this second example;
Get-Command -type cmdlet start-sleep | select ModuleName, version

The result for cmdlet “start-sleep” is from the module “Microsoft.PowerShell.Utility” and version “3.1.0.0”.

As you can see from the examples you will be able to identify if you have the correct module and version installed on your machine to run a particular cmdlet.  

Providing Secure Access to VMware Horizon 7 with the VMware Unified Access Gateway

This post was originally published on this site

VMware Unified Access Gateway is a platform that provides secure edge services and access to defined resources that reside in the internal network. You can use Unified Access Gateway to design VMware Horizon 7 and VMware Workspace ONE UEM deployments that require secure external access to apps in your organization. The purpose of this blog post is to […]

The post Providing Secure Access to VMware Horizon 7 with the VMware Unified Access Gateway appeared first on VMware End-User Computing Blog.

Setting up a vSphere lab with CoreDNS in Docker

This post was originally published on this site

Fresh Job, fresh Laptop, and some fresh (and some old) learning to do. Going for the VCAP-DCV certification again, I needed a minimal lab environment inside VMware Workstation. The VCSA demands forward and reverse DNS resolving, and in the previous ‘flufflab/flufflap’, I had used BIND running in Ubuntu for this purpose. (and before that, I
Read More »

vSphere 6.0 End of Life

This post was originally published on this site

If you are not aware, vSphere 6.0 is coming to the end of life on 12th Mar 2020. If you are still running 6.0 or below, it is a good time to quickly planned for an upgrade to at least version 6.5 or 6.7.

You can refer to the KB. Once end of life, this will end the general support for vSphere 6.0. What this means, is there will be no new patches to fix bugs. You will only get support based on what is recorded in KBs. Also things without any engineering effort. You will only receive technical guidance before end of support.

Here is a good article to understand the different support after End of Life of a product.

Automated deployment of Virtual Container Host (VCH) using vRealize Automation (vRA)

This post was originally published on this site
In our previous posts, we saw the option to deploy the VCH using CLI utility, vSphere client etc. In this post, we see an option to automate the VCH deployment using vRealize Automation ( vRA)

Background: 

The current automated world requires the seamless and fastest deployment of its infrastructure. VMware vSphere Integrated Containers gives developers an essential tool for streamlining the process of building and running containerized applications in production.  The deployment of VCH is done through various methods as we see in our previous posts. But in this post, we are going to see how to automate the VCH deployment and the first VCH in few mouse clicks. By using the service catalog in vRealize Automation to provision Virtual Container Hosts on-demand as a ticketless offer, you can make your developers self-sufficient.

The vRealize Automation 7.4 and later versions support provisioning and management of Virtual Container Hosts(VCH) for running vSphere Integrated Containers (VIC).  Here below are the step-by-step procedure on how to use the XaaS blueprint in vRealize Automation to create a fast, self-service offering of Virtual Container Hosts while ensuring compliance with business policies.

Step 1: Download the “XaaS-blueprint-to-deploy-a-Virtual-Container-Host.zip” package from the link

Step 2: Extract the package

Step 3: Login to the Orchestrator and you land in the page

Step 4: Click on “Import  package” tab and choose the downloaded file “com.vmware.vra.vic.package”

Step 5:  You get the signature verification window. Choose one “Import once or Import and trust provider” and proceed

Step 6: In this step, you get the configuration summary and the items which are imported as part of the package

Step 7: Click Import selected elements and you should see the progress bar

Step 8:  Once imported successfully, we should see the package and its workflows in the inventory. Go to the workflows tab and verify that you see the workflows as below.

 Step 9: Go to the Configurations tab and select the configuration element found under the path –  VMware->VIC Deploy->vRealize Automation->Targets

Edit the element as per your environment settings. You can change the name of the element too matching the syntax. (Syntax Reference)

Note – If you are using multiple clusters in your environment then you need to add an additional attribute named ‘compute-resource’ and the name of the cluster as its value

Step 10:  Make sure to keep the same name for another configuration element which is found under the path – VMware->VIC Deploy->vRealize Automation->Deployments

Procedure to setup VIC in vRA Orchestrator appliance:

a. Download the VIC bundle by accessing the admiral portal

b. Log in to vRealize Orchestrator appliance or vRA appliance ( if it’s embedded) and copy the VIC v1.5.4.tar file to the location /etc/vco/app-server/

c. Untar the file using the command “tar -xvzf vic1.5.4.tar” and a folder will be created as vic.
d. Change the permission of VIC folder by running the command “chown -R vco:vco vic
e. Verify the permissions are set properly inside the folder

f. Edit the /etc/vco/app-server/properties and add the following property to the bottom of the file:  com.vmware.js.allow-local-process=true
g.  Close the editor and restart the vco service using the following command: /etc/init.d/vco-server restart (Note: If you have a high available implementation of vRealize Automation, steps b – f must be performed on every vRealize Automation appliance node).

Step 11: Create a catalog item. In order to create it, we need to import the blueprint using the tool called “CloudClient”. Run below command in cloudclient.

Import the blueprint using the following command — vra content import –path “path_to extracted_files”desktopusersdownloads-xaas-blueprint.zip –resolution OVERWRITE –precheck WARN –verbose

Once we import the blueprint, we should see them under the design, select the imported XaaS blueprint, we can edit the details as required

Choose the option to be presented to users. Go to the Blueprint Form tab and select the field named – Select vSphere / ESXi Host.  Make sure that the ‘Default Value’ matches the name of the configuration element specified in step 9.

Step 12: Publish this blueprint. Add it to a vRA service and create entitlements for the users who will be requesting this blueprint. Publish this blueprint. Add it to a vRA service and create entitlements for the users who will be requesting this blueprint

Step 13: Go to the vRA Catalog tab and you should see ‘Deploy Virtual Container Host’ as a catalog item.

Step 14: Users can request the vms, check the status of your request in the Requests tab. Once the request is completed, the VCH will be visible in the vCenter.

Once the VCH is deployed, the URL of the VCH can be made available to the developers who can start deploying vSphere Integrated Container using the Docker Client OR from vRA using the vRA-Containers provisioning feature. ( refer post for adding VCH to projects/vRA containers tab)

Download Free Load Balancer for VMware vSphere

This post was originally published on this site

Today’s free download is provided by Kemp Technologies. They offer a free load balancer for different virtualization platforms – VMware vSphere, Microsoft Hyper-V, KVM, Oracle VirtualBox or Citrix XenServer. The free product has some limitations of course, but still, it’s free. And if you like it you can upgrade as you’ll be all ready familiar […]

Read the full post Download Free Load Balancer for VMware vSphere at ESX Virtualization.

Download Free Load Balancer for VMware vSphere

This post was originally published on this site

Today’s free download is provided by Kemp Technologies. They offer a free load balancer for different virtualization platforms – VMware vSphere, Microsoft Hyper-V, KVM, Oracle VirtualBox or Citrix XenServer. The free product has some limitations of course, but still, it’s free. And if you like it you can upgrade as you’ll be all ready familiar […]

Read the full post Download Free Load Balancer for VMware vSphere at ESX Virtualization.

VMware vExpert 2020 Applications are Open Now

This post was originally published on this site

Program Overview The VMware vExpert program is VMware’s global evangelism and advocacy program. The program is designed to put VMware’s marketing resources towards your advocacy efforts. Promotion of your articles, exposure at VMware’s global events, co-op advertising, traffic analysis, and early access to beta programs and VMware’s roadmap. The awards are for individuals, not companies,… Read More »