Migrating Nexus 1000v to vDS in vRA environment

As VMware Distributed Switch has come a long way since it was first introduced in VMware vSphere 4.0. In vSphere 6.0, the Distributed Switch has became as rich on features and functionality as the Nexus 1000v at much lower complexity. While Nexus 1000v requires you to install/maintain an extra appliance(s) and VIB to use it’s features, vSphere Distributed Switch comes out of the box loaded with functionalities and ready to use. Not to mention the delay in upgrade to newer versions of vSphere you can encounter till Nexus 1000v is testing is completed.

The latest vSphere Distributed Switch has not left much to be desired from the Nexus 1000v to justify the extra complexity involved with the Nexus 1000v. All this has driven many customers to start migrating from Nexus 1000v to vDS lately, especially customers who is considering VMware SDDC/Cloud Solutions.  I have been involved with few of these migrations lately, and here will  share the migration process at a high level for the benefit of others going through the same process.

Below are the Nexus 1000v to vDS Migration steps at a high level:

1. Backup the Environment

a. Backup up vRA, vCD and any other management/Cloud platform that is consuming the environment.  … Read More

Kemp Technologies VLM-5000 load balancer review

A nice part of being vExpert is that different vendors reach out to you to try their products and you’re able to get an NFR licenses on cool technologies in return. Recently, I had the opportunity to try Kemp Technologies’ Virtual LoadMaster (VLM) 5000 application load balancer.  I was originally skeptical as there are many generic load balancer vendors out there, but there is few things about KEMP’s VLM-5000 that caught and kept my attention:

 KEMP’s load balancers are delivered in many form factors (Virtual Appliance, Hardware Load Balancer, Bare metal install, & even in the Cloud). Further, they cover most hypervisors out there (VMware vSphere, MS Hyper-V, KVM, Xen, & even Oracle Virtual Box). For each of these hypervisors they actually have built a virtual appliance specific to and optimized for it. I almost cannot think of a scenario, where they cannot get you covered. It is fair to mention though, I have only been able to test them on VMware vSphere as it’s my hypervisor of choice and I rather use a ready to go Virtual Appliance whenever possible.

Kemp Technologies load balancer formats

– I like Kemp Technologies applications approach to positioning their load balancers. I have found on their website a step by step documents that covers how to do load balance many of the most popular enterprise applications.… Read More

How to use vCAC new NetworkProfileName Custom Properties

Before the release of vCloud Automation Center 6.1.1, it was common to combine the use of the two below custom properties to assign a particular virtual machine to a particular portgroup/Network Path and a particular network profile:

VirtualMachine.NetworkN.Name: This custom property is used to put the virtual machine network adapter N, on the portgroup name supplied as a value for this custom property.

VirtualMachine.NetworkN.ProfileName: This custom property is used to tell the virtual machine network adapter N to obtain an IP from the network profile named in the value of this custom property.

I have seen the combined use of these two custom properties many time in the past and they seemed to work properly before vCAC 6.1.0 (It might have stopped working a bit earlier than that but I did not notice it). On the other hand using each of these custom properties on its own still work properly in vCloud Automation Center 6.1 and beyond, combining both custom properties on the same blueprint seems to produce some odd behaviors and unexpected results after 6.1. To avoid having such a problem, its highly recommended to use the newly introduced VirtualMachine.NetworkN.NetworkProfileName custom property.

vCAC NetworkProfileName custom property

VirtualMachine.NetworkN.NetworkProfileName kinda combine both custom properties in a single property.… Read More

Restarting vCloud Network & Security Manager Web Service

Some time it happen that your vCloud Networking & Security Manager (vShield Manager) stop behaving & you want to restart it. One of the scenarios where you might need this if it stop synchronizing properly with vCenter or vCloud Director. The good news is most of these problems were resolved with the latest release of vCloud Network & Security Manager, but if it happen and you need to restart your vCNS services then below the commands that you can execute at the vCloud Network & Security Manager Console without the need to reboot the vCNS Appliance which can take a while. Below is how to do so in a step by step fashion:

1- Login to your vCNS Console (Default user name & password are as follow u:admin & password: default, if you want to change them you can follow my earlier post: Changing vCNS Console Password

2- Change to enable mode using the following command:

manager> enable

3- Change to Configure Terminal mode using the following command:
manager# configure terminal

4- Stop the web-manager service using the following command:
manager(config)# no web-manager

5- Execute the following command to restart the web-manager service
manager(config)# web-manager

I usually recommend stopping the web-manager service before shutting down vCloud Network & Security Manager if required for maintenance or so on.… Read More

vShield Manager is not synched with vCenter Server after you disconnect and reconnect the vShield Manager vNic

I had the problem where every now and then powering on vAPPs that utilize vShield fails and it reports that it failed because it could not create the required port group. This used to drive me crazy, especially the way I have found out to fix it was to reboot the vCloud Networking & Security Manager (vShield Manager) to sync it again with vCloud Director. This has end up being a known bug with vCloud Networking & Security 5.1.2 (I believe the same problem existed with 5.1.1 as well, but not sure of earlier vCNS versions). It seems that vCloud Network & Security 5.1.2 fails to synch back with vCenter after its vNic lost connectivity for any reason even after connectivity being restored. This has been pointed out in the release note of 5.1.1 as follow:

vShield Manager not reachable after network interface is disconnected and reconnected
vShield Manager is not synched with vCenter Server after you disconnect and reconnect the vShield Manager vNic.
Workaround: Reboot vShield Manager.

Release notes for vCNS 5.1.1 can be found at: https://www.vmware.com/support/vshield/doc/releasenotes_vshield_511.html

I know, I know that work around in the release note of having to restart vCloud Network & Security Manager each time you have that problem is not the greatest solution especially if your network is on the shaky side as my home lab.… Read More

VIB module for agent is not installed on host (vShield-VXLAN-service)

While delivering a vCloud engagement to one of our enterprise customers using the latest vCloud Director 5.1.2 and vCloud Networking & Security 5.1.2a, my VXLAN configuration where failing at the stage where its preparing the hosts. I followed the same steps I have used for other customers and in my lab with previous versions, which is as well confirmed by different colleague to work and posted on other blogs.

For reference, the installation steps published by Rawlinson at http://www.punchingclouds.com/2012/09/09/vcloud-director-5-1-vxlan-configuration/ are almost identical to the installation step I have followed, though I kept getting the following error while the vCloud Networking & Security Manager is trying to prepare my hosts for VXLAN by pushing the VXLAN Agents to them:  “VIB module for agent is not installed on host   (vShield-VXLAN-service)”. The below images demonstrate the error I was getting in my vSphere Client and in the vCloud Networking & Security web interface:

VXLAN Agent VIB failed to install error message in vCenter

 

VXLAN not ready error in vCNS

After fuzzing with the error for couple of hours and researching a solution, I have discovered that for some reason vCloud Networking & Security is failing to automate the installation of the VXLAN Agent VIB into my ESXi hosts. For that I decided to try to install the VXLAN Agent VIB manually into my ESXi hosts & test if that work out.… Read More

Changing vCloud Networking & Security Console Password

While Changing the vCloud Networking & Security or vShield Manager Web Interface password is well documented at: Hardening vCloud Networking and Security 5.1.x virtual appliances, changing the console password of vCloud Network & Security or vShield Manager does not seems to be as well documented. Actually I have read in few places that its not possible to change the console password and enable password for vCloud Networking & Security Manager & Appliances. While that is partially true, you can actually recreate the admin account with the desired password which give you a similar effect to changing the password of the vCNS console admin account. The below procedure shows how to achieve just that in a step by step fashion:

How to change vCloud Networking & Security Console Password:

1. Connect to the console of the vShield Manager

2. Log in as ‘admin’  using the default credentials (U: admin  P: default)

3. Switch to ‘enable’ mode

  manager: enable

4. Switch to configuration mode

manager# configure terminal

5.  Create a temporary user, let’s call it tmpadmin

manager(config)# user tmpadmin password plaintext Newpassw0rd1

6. Save the configuration.

manager(config)# write memory

7. Exit twice until you are logged out

8. Log in as the new tmpadmin to the CLI and switch to ‘enable’ mode.… Read More

vCloud Networking & Security 5.1.1 create dvPort Groups, but fails to create vmknic interfaces

While installing vCloud Director 5.1 in my home lab, I have faced an odd problem while configuring vCloud Networking and Security 5.1.1 for VXLANs. If you follow VMware Configuration guides for VXLAN or any of the many articles on configuring vCloud Director/vCloud Networking & Security 5.1.1 for VXLAN, it will always mention that as soon you complete the configuration vCloud Networking & Security 5.1.1 will automatically create a dvPort Group that has a name of the format  vxw-vmknicPg-dvs-xx-xx-xx-xx, as well a vmknic interface. Few samples of such instructions can be found at:

http://www.punchingclouds.com/2012/09/09/vcloud-director-5-1-vxlan-configuration/

http://www.kendrickcoleman.com/index.php/Tech-Blog/how-to-configure-vxlan-in-vcloud-director-step-by-step.html

http://www.mikelaverick.com/2012/11/part-23-my-vcloud-journey-journal-creating-vxlan-backed-network-pool/

In my lab I was facing the odd case of the dvPort Group being created, but no vmknic interface what so ever being created. After investigating the situation & a bit of internal research I have discovered that this is due to vCloud Networking and Security 5.1.1 depending on VMware Update Manager to push the VIB to each host to configure it for VXLAN, where in some cases VUM has proved problematic pushing these or a flaky VUM installation could cause such a problem. The good news is that vCloud Networking & Security 5.1.2a has just been released and handle pushing these VIBs differently and does not depend on VUM to do it eliminating all the trouble You can get the new vCloud Networking & Security 5.1.2a at: https://my.vmware.com/group/vmware/info?slug=security_products/vmware_vcloud_networking_and_security/5_1.Read More

VXLAN Concept Simplified

While VXLAN seems to be the next revolutionary and world changing network technology out there, all the marketing hypes around it makes too confusing for the rest of us. When VXLANs first came out, I have decided to learn more about it. While there was tons of materials about it online, the more I read about it the more confused I was about this new magical networking technology. I have to admit while I know my ways around networking, I am still not anything near CCIE or in another word a networking whiz. I believe many more people out there who is not in the networking field are still confused about what is VXLANs and what problems it came to solve. In this post, I am trying to over simplify VXLANs for the rest of us to understand it. You can call it VXLAN for dummies if you want. I am not going to cover VXLANs in depth, but to touch on what its and where the idea of it came from.

Let’s start by a quick definition of VXLAN. Virtual Extensible LAN (VXLAN) is a proposed encapsulation protocol for running an overlay network on existing Layer 3 infrastructure. An overlay network is a virtual network that is built on top of existing network Layer 2 and Layer 3 technologies to support elastic compute architectures.… Read More

vShield Zone – vShield App – vShield Edge – vShield EndPoint Required vSphere version

Lately vShield seems to gain much popularity due to all the security benefits it offer in a virtual environment. Further, the security concern of merging 10s and (maybe 100s in the near future) of VMs on the same host seems just to push the demand for similar security capabilities in the Enterprise.  It seems there is a lot of confusion on which version of vSphere you require to run vShield products. This has been specially raised up with vShield Zone being a part of vSphere Advanced Edition and above, & people assuming the rest of the vShield Family will only work with vSphere Advanced and above. To be honest I had the question about a week back from one of our partners, and I did not know the answer and was trying to look it up on the net. Though I had no official answer in any of our documentation even internal one but found multiple blogs that posted different answers. Though my colleague @wibrahim had an e-mail from our security team with the official answer that I would like to share it with you. First thanks to @wibrahim for sharing the info, & being kind enough to take the time and share the original e-mail with me.… Read More

Sponsors