vCSA how to disable IPv6?

18/04/2017

For me it was already a common practice to disable IPv6 on ESXi hosts, but until recently I did not realize that vCenter Server can also benefit from it. For vCenter Server on Windows, you reconfigure the Windows network configuration. But how do you disable IPv6 on the vCSA?

I recently found that a vCSA 6.0 has at least three options to reconfigure the network settings. But only one option enables you to disable IPv6.

Using a web browser you can log in to the vCSA Web console by entering URL: https: //<vCSA hostname or IP address>:5480

From there go to Networking, under Networking Interfaces, choose Edit to open the “Edit IP Configuration” window. Here you can configure IPv4 and IPv6 and disable IPv4, but no option to disable IPv6.

Fig.1

Read the rest of this entry »


vCSA default shell is BASH

14/04/2017

A quick post about a little caveat while working in the vCenter Server Appliance (vCSA) shells. Yes correctly, shells in plural. The vCSA is bundled with at least two different shells:

  • Appliance Shell (default)
  • BASH shell

The “Appliance shell” is the default shell. After you log in to the vCSA, it will present the following well known screen.
Fig 1.

The appliance shell can be used for updating the vCSA, using the software-packages command and has some other use cases. From here you can enable the BASH shell as shown in the Fig 1. for the duration of your session with the following commands:

# shell.set --en -s /bin/bash root
# chsh -s /bin/bash root

You can also set the BASH shell as the default shell by performing the following command. Make sure, you first enable the BASH shell as shown above:

# chsh -s /bin/bash root

For the change to take effect, log out and log in again. Now you will directly enter the BASH shell.

But while working in the BASH shell, you need to temporarily switch to the Appliance shell?
In that case, provide the following command:

# appliancesh

That’s it. A shell is nothing more or less than an executable; the “Appliance shell” is no exception and can be found as /bin/appliancesh.

For more information, see: VMware KB “Toggling the vCenter Server Appliance 6.x default shell (2100508)


Best way to create vCSA support bundles

09/04/2017

In general, during contact with a Customer Support team, whether being a Hardware vendor (Servers, Storage) or a Software vendor, the likelihood that you will be asked to upload some log files for further investigation is significantly.

In case of VMware vSphere, you will have multiple options for collecting a support bundle; to name a few:

  • Windows vSphere Client
  • vSphere Web Client
  • PowerShell scripts

See also VMware KB “Collecting diagnostic information for VMware vCenter Server 4.x, 5.x and 6.x (1011641)” for a complete overview.

Using some of these methods is very convenient; however there is a little caveat, when the vCenter Server is a vCenter Server Appliance (vCSA) 6.x.

Under certain conditions, a vCSA might contain core dump files. When requested to create a support bundle these core dump files will be added to the support bundle, together with the log files. The issue that may arise is that the location where the support bundle will be created (partition /storage/log) has a fixed size and possibly is too small.

Is that is the case, the creation of the support bundle will halt with error “Cannot create a diagnostic bundle” and the desired support bundle will not be created.

VMware recommendation is to create and download a support bundle using the web browser. To do so enter the following URL:
https ://<VCSA Hostname or IP address>/appliance/support-bundle

Fig 1

After providing the credentials, the support-bundle (filename is: vm-support.tgz) will start downloading. The progress of the process will be shown in the browser.

Using this method, the files will be directly downloaded to your local computer, instead of being prepared on the vCSA.

As always, I thank you for reading.


Do you need to know Network Virtualization ?

06/03/2017

Why NV?

20170304-01I recently took the VMware Certified Professional 6 Network Virtualization Exam. Preparation for a technical exam like one of the available VCP exams takes a lot of your free time, so why choose this one?
In recent years, I increasingly encountered the product NSX Manager, usually in VDI deployments with endpoint protection products like McAfee Move, Trend Micro Deep Security, to name a few. And while working on the upgrade of a VMware View environment, also comes the question, how to handle the endpoint protection part; How do we upgrade these components?
In the concept of the SDDC, besides the well known Compute and Memory providers, I consider Storage virtualization (like vSAN) and Network virtualization (NSX) as fundamental building blocks that should be part of your “basic” VMware knowledge.
I also noticed that VMware is doing a lot of promotion for the subject of micro-segmentation, and for a good reason.
So, I decided the time has come, to extend my knowledge. So where do you start? If you are on a VCP-DCV level, but cannot tell the difference between layer 2 and layer 3, I recommend start reading a book like “Networking for VMware Administrators” by Chris Wahl and Steve Pantol.
At that time, I was in between jobs with no budget, to attend regular VMware training courses like the “VMware NSX – Install, Configure and Manage” course.

Read the rest of this entry »


All Hands on Deck / VMware

19/02/2017

201701-01Although VMware is best known for its core virtualization product vSphere, it may not come as a surprise that since their first product releases, a lot has changed. Over the years, on top of this solid foundation, VMware built a “Software Defined Everything” stack (SDDC), a Cloud stack with all the Automation and Orchestration tools, Monitoring tools, an End User Compute environment etc. This has led to a very large number of VMware products.
As you are as curious as I am, product
data sheets and documentation maybe helpful, but the best way in my humble opinion is to download, install and try the bytes yourself.
In addition to options already there, VMware launched a new one; Product Walkthroughs. So time for an overview how to get familiar with these fine products.

Read the rest of this entry »


OpenStack lab – Part 1

27/12/2016

Introduction

20161222-01OpenStack is a well known open source cloud platform, most often in the form of IaaS. The development of OpenStack is controlled by the OpenStack Foundation and is supported by dozens of well known companies.

Although VMware has its own proprietary cloud platform, the company is also an active contributor to the OpenStack community and also developed VMware Integrated OpenStack. VMware Integrated OpenStack lets you rapidly deploy an OpenStack environment based on VMware’s own ESXi hypervizor and NSX. Fine for a production environment but not suitable for a simple lab. Apart from VMware licenses, the biggest drawback, you will need an awful lot of hardware for such a lab.

For some time I was searching for a way to have an OpenStack lab environment with some real life features. Recently, the dutch version of Computer magazine C’T published an interesting article how to build an all-in-one OpenStack environment, some specifications:

  • The whole environment runs on a single host with Fedora 24.
  • The host runs 5 Open VZ containers. The containers run 1 controller node, 3 compute nodes and 1 network node.
  • The nodes are connected with each other and the outside world by means of Virtual Networks based on libvirt, see for more information this link.
  • On these nodes are installed and configured the following OpenStack services: Nova, Glance, Keystone, Horizon, Neutron, Swift, Cinder, Ceilometer and Heat.
  • OpenStack components are installed and configured with help of Packstack, which uses Puppet modules controlled by an answer file to deploy the OpenStack Components.

I started with installing an old HDD drive in a old ESXi host (HP ML 110 G5) with only 8 GB of RAM. After finishing the installation and configuration of the host computer, the complete environment is created by running just 4 scripts!

Read the rest of this entry »


VCP6-DTM exam – Complete

20/11/2016

The final Section 6 of the VMware Certified Professional 6 — Desktop and Mobility Exam is all about the VMware Workspace Portal (actual name VMware Identity Manager. With this addition, all objectives as mentioned in the Exam blueprint have been covered.

In the attachment, you will find the complete Study Guide.

As the VCP 7 – Desktop and Mobility is currently in Beta, it’s preparation guide shows that there will be some changes. Most of the topices remain, new are the User Environment Manager and App Volumes. So probably this Studyguide will be updated soon.

I hope you like this guide, and welcome your comments.

Download VCP6-DTM exam – Complete