VCD Object Storage Extension-Part 4:Cloudian Configuration for VCD

In last post of this series, I explained cloudian installation workflow. In this post I will cover the steps of configuring cloudian so that it can be integrated and consumed by VMware Cloud Director.

If you have landed directly on this post by mistake, I would recommend reading previous articles from this series:

1: Introduction & Architecture of VCD OSE

2: Infrastructure Preparation

3: Installing Cloudian Hyperstore

Connect to cloudian server by typing https://<Cloudian-Fqdn>:8443/Cloudian and use credentials admin/public

vCD-OSE27

1: Create Default Storage Policy

A storage policy is a method of storing and protecting S3 object data and object metadata.

To create a new storage policy, navigate to Cluster > Storage Policies tab and click on + Create Storage Policy option.

vCD-OSE29

Provide name & Description for the policy 

vCD-OSE30

Leave the “Group Visibility” unspecified so that this policy is visible to all groups and click on save button.

vCD-OSE31

Your new storage policy is created.Read More

VCD Object Storage Extension-Part 3: Installing Cloudian Hyperstore

In last post of this series, I discussed about prerequisites that needs to be met before attempting installation of cloudian object storage.

In this post I will walk through steps of install.

To start with install process, we need to first upload cloudian binary and license file on the centos vm that will run cloudian hyperstore service.

Cloudian installation is triggered via below command:

[root@cloudian ~]# ./CloudianHyperStore-7.2.1.bin cloudian_vmware.lic

Make a note of the configuration directory as installation script and other important files are created there. 

vCD-OSE01

Cloudian System Setup

we have to perform network/disk setup etc and create survey.csv file that is used during install. To perform system setup, run command:

# /opt/cloudian-staging/7.2.1/system_setup.sh

You will be presented with an interactive menu as shown below.

cloudian-sys-setup

Select option 3 for disk setup. 

Make sure right disk (blank) is selected here. Press C to configure selected disk.

cloudian-disk-setup

Cloudian installer script will format the disk as ext4 and mount it in fstab file.Read More

VCD Object Storage Extension-Part 2: Infrastructure prepration

In first Post of this series, I explained what is VCD Object Storage Extension solution/service and discussed about high level architecture of the same. In this post I will walk through prepping infrastructure for object storage extension implementation.

Note: This blog series is only focussed on cloudian implementation.

There are two choices for implementing cloudian object storage:

1: Software-Defined Storage: Deploy Cloudian software on your existing VMware compute and storage platform. In this mode you install cloudian binary on supported RHEL/CentOS machine. This machine can run as a VM or directly on bare metal servers.

2: Appliance: Deploy as a pre-configured storage appliance from Cloudian.

For Lab/POC purpose, option 1 is the preferred choice. 

Following prerequisites must be completed before starting cloudian implementation.

1: Deploy a CentOS (7.4 or later) VM

Deploy centos vm with below specifications for cloudian install:

  • vCPU: 4
  • vRAM: 16 GB
  • vDISk: 20 GB (OS), 350 GB (data)
  • NIC’s (optional): 2 (One for management and one for storage traffic)

Do not create any partition on disk 2 during centos install.Read More

VCD Object Storage Extension-Part 1: Introduction & Architecture

Recently, I got the chance to work on setting up Cloudian Object Storage for VMware Cloud Director and present some use cases of using object storage in conjunction with VCD. This blog series is aimed at jotting down all my learnings and mistakes that I encountered during setup.

In the first part of this series, let’s just understand what a VCD object storage extension solution is and how it works.

What is VCD Object Storage Extension?

VCD has evolved amazingly over the last couple of years, and many features, such as Container Service Extension, Data Protection (Veeam and Rubrik) integration, etc., were introduced.

The new addition to this portfolio was Object Storage which has become one of the key pillars of a modern cloud platform. Object Storage can now coexist with typical block storage or vSAN implementation with VCD. Tenants can use object storage to store cold data like vApp templates, media files, DB backups, etc.Read More

How to Reuse VCF Cloud Builder For Another Bringup

Those who are working on VCF are aware of the fact that, after a successful bringup, the only option you get is to launch SDDC Manager. There is no option in UI to go back to cloud builder initial screen where you can upload configuration workbook xls/json to start a fresh bringup.

sddc-bringup

One work around to this problem is to take snapshot of cloud builder before bringup and revert snapshot after succesful bringup to start again.

But this task seems very tedious to me. If you are running a huge infrastructure and performs bringup almost every day, this will not be an ideal situation.

In this post I will explain how to get rid of this annoying problem.

This can be achieved by running an internal one liner API call on cloud builder vm as root user.

Just refresh the cloud builder ui after running above API call and job done. Read More

How To Verify if SDDC Bringup is AVN Enabled in VCF?

Recently I saw an interesting thread on slack where one of the consultant was seeing deploy button grayed out for VRSLCM deployment. Consultant was not aware if the management domain bringup was AVN enabled or not. 

AVN was first introduced in VCF 3.9 and it enabled deploying vRealize components on logical segments instead of VLAN backed portgroup. AVN brought many enhancements with Cloud Foundation. Please read this Article to know more about AVN.

Since AVN enablement is optional and you can chose not to use it during SDDC bringup This is controlled via a parameter in VCF configuration workbook and ca be enabled later also.

vcf-avn

Now the question is how to verify whether or not a SDDC bringup is AVN enabled bringup. There are couple of ways to verify this.

1: Through PowerVCF

PowerVCF is a PowerShell module to interact with SDDC Manager and the VCF stack. If you have PowerVCF is installed, you can connect to sddc-manager using below command:

# Connect-VCFManager <sddc-manager-fqdn> <sso-credentials>

and then run command: Get-VCFApplicationVirtualNetwork

Read More

Deploying vSphere with Kubernetes via VCF 4.0

In this post I will walk through how to deploy a Kubernetes cluster in a workload domain in VCF. This is  a new feature that is introduced in VCF 4.0. vSphere with Kubernetes is also known as Project Pacific and Cormac Hogan did a great job in explaining nuances of Kubernetes in his Article

Before deploying a Kubernetes cluster, there are few prerequisites that must be met:

1: A NSX-T backed workload domain deployed.

2: Dedicated Edge Cluster deployed for workload domain. I have covered steps of deploying edge cluster Here

3: All Esxi hosts that are part of workload domain are licensed with “VMware vSphere 7 Enterprise Plus with Add-on for Kubernetes” license.

4: Subnets for Kubernetes cluster egress/ingress traffic created on your ToR.

Once above prerequisites, we are good to go with deployment. Let’s jump into lab and walk through deployment steps.

To deploy Kubernetes cluster, login to SDDC Manager and navigate to Home > Solutions.Read More

How To Safely Remove Edge Cluster from Workload Domain in VCF

Recently I deployed an edge cluster in my lab for NSX-T based workload domain. In VCF 4.0, a new feature was added for automated deployment of edge cluster. If you haven’t tried this yet, you can follow my previous Post to learn more about this.

My edge cluster encountered some routing issues because of incorrect BGP information passed during edge cluster deployment workflow and I was looking for how to remove it cleanly from sddc manager. 

While searching on internet, I came across VMware KB-78635 which lists the instructions of doing so. In this post I will walk through steps from the above KB.

Edge Cluster removal workflow is not baked into sddc manager yet and is carried out by python scripts provided by VMware. May be in next release of VCF, we will see this option added to sddc manager 😉

Edge cluster python script is named “edge_cluster_cleaner” and you will find this script as tar file in attachment section of KB-78635.Read More

Automated NSX-T Edge Cluster Deployment in VCF 4.0

NSX-T integration with VCF is there for quite some time. Till VCF 3.9, SDDC Manager was not deploying NSX-T edge cluster in workload domains as part of VI WLD creation. Process of edge cluster deployment was manual and very well documented Here

Also this article by Cormac Hogan is worth checking to understand things in greater details.

In VCF 4.0, edge cluster deployment task is automated and can be kicked directly from SDDC Manager itself. No more juggling around configuring various things in NSX-T.

Below are high level steps for Automated Edge Cluster Deployment in VCF 4.0.

Step 1: Login to SDDC Manager and navigate to Workload Domains tab and click on environment where you want to deploy NSX-T Edge Cluster. 

Form Actions Menu, click on Add Edge Cluster 

WLD-EC02

Step 2: A list of prerequisites will pop up. Make sure your infrastructure has met all these requirements before moving ahead.

Word of caution here, make sure VLAN used for Host and Edge TEP’s are different.Read More

Change NSX-T Deployment Form Factor in VCF

Recently while playing with VCF, I noticed one annoying thing about NSX-T deployment for workload domain. By default NSX-T managers are deployed in large form factor with 48 GB of memory and all 48 GB reserved.

Also SDDC Manager checks for 144 GB of free memory at custer level where NSX-T managers will be deployed.

For production environments this setup works fine as we have plenty of resources, but for Lab/POC purpose 48 GB per node seems too big in my opinion (I am open to discussion on this)

In this post we will learn how to deploy NSX-T for workload domains with custom size. 

NSX-T deployment form factor can be controlled via /opt/vmware/vcf/domainmanager/config/application-prod.properties file. To use custom form factor, login to sddc manager as root user and edit this file to add below properties:

Read More