VMware : Tips of the week #4

We want to share with you some concepts, helpful commands, and gotchas that we have come across during the first few days within the Kubernetes world.  

Kubernetes uses a command-line tool called kubectl for running commands against clusters,  you may find yourself frustrated by the time spent typing repetitive commands.

This article will highlight tips used to simplify the usage of kubectl and save you time.

Shell aliases can be used to shorten all shell commands and not just

VMware : AWX Host inventory without UUID

When using the VMware vCenter dynamic inventory, the hostname is imported in the following format ‘name_uuid’. For example: vINCEPTION_56474ba9-b3f0-74cb-9ac4-fc895RTbb14b

If you need to get the hosts hostname instead of hostname_uuid using VMware dynamic inventory in AWX, this video will show you how: 

Enjoy! 

VMware : Using Ansible to update VMware vSphere

In any environment, small or large, it’s always considered best practices to keep a platform up to date especially with all the CVE we have seen recently.

With Update Manager or Lifecycle Manager, ESXi patches shouldn’t be that painful. But planning to patch your environment composed of many hosts, on different vSphere Clusters and vCenters may be a challenge for a sysadmin.

Ansible has by default a lot of VMware modules that can help to automate VMware vSphere tasks and

Nutanix Flow isolation Policy with Terraform

Here we go with another blog post on Nutanix and Terraform. 
If you haven’t checked the first video on how to provision VMs on Nutanix AHV with Terraform, here is the link.

The idea of this post is to quickly show you how Terraform can be leveraged to create software-defined network security policies on AHV with Nutanix Flow. For more information on Nutanix Flow capabilities, please refer to the following link: Nutanix-Flow-datasheet

For this blog post, we are going to

Nutanix and Terraform – VM’s Creation

I am sure you have heard of HashiCorp and Terraform solution.

Basically, Terraform is a tool/framework you can leverage to describe/define what your Infrastructure will look like and manage its provisioning (day 1) and Lifecycle (day2).
The power of Terraform is that the description of your Infrastructure is done by having a set of declarative configuration files that are human-readable, which means you don’t need to be an expert in coding to understand and …

Nutanix and Gitlab – vSphere Cluster creation and AOS configuration

In the previous blog post, we showed you how Gitlab and Nutanix Foundation APIs could be leveraged to create a Nutanix AHV cluster from scratch: https://vinception.fr/nutanix-and-gitlab-foundation-and-cluster-creation/In this post, we are going to use the same components, method and process to:

  • Create a Nutanix Cluster with vSphere as the Hypervisor
  • Configure the Nutanix Cluster (AOS settings): Accept Eula, Configure Pulse, DNS, NTP, LCM, Http Proxy, Timezone, SNMP, SMTP, Containers, Syslog, Licensing, Active Directory, Role Mappings

We still have our Gitlab

Nutanix and Gitlab – Foundation and Cluster Creation

Nutanix has a bunch of APIs that you can leverage to automate different processes and reduce operational time, effort, risks, and improve consistency. In the following example, we will see how GitLab can be used to deploy a new AHV cluster from scratch. 

Our Gitlab Project called “ntnx-automation” is composed of different files:

  • A README file, usually a documention, describing requirements, how to use the solution, etc.
  • A ntnx-scripts folder storing all scripts dedicated to the automation project.

VMware : Tip of the Week #2

Correctly identifying an issue is the most critical step in troubleshooting.. Most of the time we are using either linux grep, sed, awk commands piped together, or find function in a text editor. VMware Skyline Health Diagnostics for vSphere is a new tool that can help you to log analysis and every vSphere administrator should use it.

This tool is designed to help you diagnose and detect issues using log bundles of your VMware platform (vCenter and ESXi Logs).

 You can

VMware : How to resolve a vSphere TPM error on VxRAIL

A TPM (Trusted Platform Module) is a computer chip/microcontroller that can securely store artifacts used to authenticate the platform and since version 6.7 vSphere support TPM 2.0.

If you have a host on you VxRAIL cluster with an alert in vCenter stating TPM 2.0 device detected, the steps below must be performed on each affected node to resolve this error (one at the time):

Before you start, place the host into Maintenance Mode in vCenter using Ensure Accessibilty.

In

Nutanix : Tip of the Week #1

This post is the first of a weekly series of short articles on Nutanix, providing hopefully useful tips.

If you need to change passwords on your Nutanix cluster (Host, IPMI and CVM) you can use these below scripts to do it quickly.

Change password on all CVM:

for i in `svmips`;do echo “–$i–“;ssh nutanix@$i ‘echo -e “NewPassword\nNewPassword” | sudo passwd nutanix’;done

Change password on all Host:

for i in `hostips`;do echo “–$i–“;ssh root@$i ‘echo -e “NewPassword\nNewPassword” | passwd root’;done

Change