:::: MENU ::::

TKGm 1.3 on AWS EC2 – Part 1

Goal of this article is summarize all the informations that i found useful in order to deploy TKGm on AWS. This is more or less personnal raw notes.
If you using it and you feel that something is missing. Ping me and I’ll update my article.

Set up my workstation:

I’ll do all the steps from my Mac M1, if you’re running on Windows steps may vary a bit, I’m not experienced with Windows but WSL should really help you here.
If you’re on Linux this should be really closed from what I’ll show here.

Prerequisite: tools installed on your machine:
kubectl
Docker Desktop
AWS Cli
Make sure to allocate a minimum of 6GB of memory for Docker Desktop:

Docker Desktop configuration

Install TKG tools:
Get the latest package here:
https://customerconnect.vmware.com/en/downloads/details?downloadGroup=TKG-131&productId=988&rPId=65946

Make sure to download the correct binaries, currently, the latest ones are the v1.3.1 and then untar:

Continue Reading

TKGs : Force vNamespace deletion

For months, I spent a lot of my efforts in the cloud-native world.
I set up in our lab environment vSphere with Tanzu and NSX ALB where I play with various cloud-native projects like ArgoCD, Harbor,…

I wanted to delete the namespace when… the worse happens:

vNamespace stuck deleting

I can see the namespace is in “terminating” status:

Then I’ve decided to go into the context and check what’s happening inside

Continue Reading

VCP Application Modernization 2021 : Review

I recently passed my VCP Application Modernization :

VCP – Application Modernization 2021

This exam test the candidate on Tanzu Standard, which include :
– vSphere with Tanzu
– Tanzu Kubernetes Grid
– Tanzu Mission Control

From the certification page on VMware site:
This exam tests a candidate’s expertise with VMware Tanzu Standard Edition including vSphere with Tanzu, Tanzu Kubernetes Grid, and Tanzu Mission Control. The exam also tests fundamental cloud native skills including containerization, Kubernetes, and application modernization.

As always, you should start your preparation for the exam with the exam blueprint.

Continue Reading

Cheat Sheet : vRA

I’m currently working on my VCP CMA 2020 and I found it useful to share here my cheat sheet with a few vracli or kubectl commands.

vracli

Display the status of your vRA cluster:
vracli status

Get a detailed status of your infrastructure (Kubernetes, postgres, …) and your applications (approval, catalog,…)
vracli service status

Getting the vRA licence, could be helpful on the HOL infrastructure 😉
vracli license

Connect or disconnect vRA from vRLi
vracli vrli set FQDN or IP
vracli vrli unset

Source : https://docs.vmware.com/fr/vRealize-Automation/8.0/Administering/GUID-8C7A4CC2-A10A-4ABA-A555-0266E003B77A.html

vracli certificate ingress --validate stdin --parse
Paste the content of the pem file
/opt/scripts/deploy.sh

Source : https://kb.vmware.com/s/article/76089

Generate log bundle:
vracli log-bundle
Continue Reading


vSphere 7 : Update planner is missing

If you’ve just updated your vCSA to version 7 like me, you may find an issue with vSphere update planner, one of the new functionalities.

This simply does not appear :

To solve the issue, check the file :

/etc/vmware-rhttpproxy/endpoints.conf.d/ui-plugins.conf

it should contain a line like :

/plugins/com.vmware.lcm.client~1.0.0.0~1664750149/<FQDN>443 remotessl <FQDN>:443/ reject allow <THUMBPRINT>

That was not the case on my vCSA. If it’s not, add it manually.

Then restart the vSphere UI service

service-control --restart vsphere-ui

go back to the HTML 5, the update planner should now be available :


Configure NSX Edge Load Balancer for Horizon

Since NSX 6.4.5 you are able to configure a load balancer from the HTML5 client. In the below case, i’ll configure an NSX edge to load balance traffic between my connection servers.

Step 1 : Deploy a NSX Edge

In networking and Security, clic on NSX Edges and Add
Configure a name and a host name for your NSX Edge, in my case i’ll do not use HA.
Configure a username and a password, take care that the policy is more restrictive than usual.
Continue Reading

Upgrading an ESXis with nVIDIA GPU

Not a lot of content about this task on internet. Nothing is really complex but you need to follow the steps corretly otherwise you 3D applications will become unusable.
In my case, here few details about the infrastructure:
– Dell R730 servers
– nVIDIA M60
– Two servers within a dedicated vSphere cluster
– Current ESXi version 6.0.0

First things first : Put the host in maintenance mode.
This will ensure that no VM is running on the host.

Step 1 : Remove the nVidia driver

Stop the xorg service (used for 3D purposes) by running the command:
/etc/init.d/xorg stop
Remove the NVIDIA VMkernel driver by running the command:
vmkload_mod -u nvidia
Identify the NVIDIA VIB name by running this command:
esxcli software vib list | grep NVIDIA

In my case the corret vib to remove is “NVIDI-vGPU-VMware_ESXi_”
Continue Reading

Configuring HCX : Part 1

What is VMware HCX?

HCX also know as VMware NSX Hybrid Connect or as VMware Hybrid Cloud Extension allow you to migrate workloads between your on prem’ infrastructure and VMware on AWS for example.
You may also migrate workload between different cloud provider.
To go simple, that’s the first step to transform your on premise environment to a hybrid one.

First, when you subscribed to the service appliance will be automatically deployed into your SDDC in VMware on AWS:

Deployment into your SDDC

Then go back into the administration of HCX and download the OVF for HCX for the on prem’ side.

Continue Reading

VMware Flings : Code Capture

Code capture is one of my favorite tool that came from the VMware flings.
The january 14th the tool has been updated to the version 4.0.
One of the most important improvement is that the tool is now compatible with vSphere 6.7.
It simply allows you to record actions that you perform with H5 client and then automatically generate PowerCli code. great no?

How can i get access to code capture?

It’s available trough the html5 client fling. You juste need to deploy the client with its appliance, connect to your vCenter and here you are.
Simply deploy the ova and configure it trough with the new configuration tool :

Simply provide SSO server, root account on it and password.

Let’s generate some code?

Simply connect to the ui trough the link displayed in the configuration tool.
Then click the red button on right corner, perform actions and clic again on the red button.
Your PowerCLI code is now ready to use!

You can easily download this flings here :
HTML 5 Client Fling


Create and manage a SDDC on VMWonAWS

This end of week i had the chance to participate in a really nice training : VMware on AWS : Deploy and manage.
I’ll try to perform a serie of blog posts around this trendy topic that i performed along this formation.

What it look to create a new SDDC into VMware on AWS?
First, let’s connect to vmc.vmware.com And click on “Create SDDC”

It’s quite simple but you have few choices to perform :
AWS Region : In my case I picked, EU (London), you may choose between many AWS region. Below find some detailed informations on this :

Deployment : Single host is possible but only for 30 days. In my case, i’ll pick multi host.
Strech cluster allows you to create your SDDC stretched out between two zones to create an SDDC that is highly available, fault tolerant and scalable.
SDDC Name : Simply the name that you’ll give to your SDDC
Number of hosts : Choose between 3 or 4 in your first cluster, you will be able to scale out your SDDC with another cluster up to 16 hosts.
Cloud : Option that you can’t see in production. 
Zerocloud is dedicated to training environment. It allows you to create “fake” SDDC. Nothing will be deployed at the end of this operations.

Continue Reading

Pages:123