Upgrading vROPs Tenant App for VCD via CLI

In this post I will walk through how to upgrade vROPs Tenant App for Cloud Director via CLI.

Although upgrade can be performed directly from TA vami interface by logging in to https://<vrops-ta-fqdn>:5480/, but having knowledge of CLI is important specially when you are looking for automating the upgrade.

Note: Vami credentials of vROPs TA defaults to root/vmware.

Below are high level steps of upgrading the TA appliance via CLI.

Note: I have tested below steps to upgrade Tenant App from v2.3 to 2.4

Step 1: Enable SSH on TA: Login to TA appliance via vCenter console (credentials: root/vmware) and enable ssh by typing below commands:

# systemctl start sshd

# systemctl enable sshd

Step 2: Download TA Upgrade Package: Upgrade package for appliance can be downloaded from VMware Market Place under Resources tab.

Extract the downloaded iso. We need to upload the content of iso on TA in next step

Step 3: Create Upgrade Repo on TA appliance: Connect to TA appliance over ssh and run following command:

# mkdir -p /data/repo

# chmod 755 -R repo/

Now upload the extracted content in /data/repo directory via winscp or similar utility.Read More

VMware Cloud Marketplace Integration with VCD App Launchpad

In this post I will walk through steps of integrating VMware Cloud Marketplace with App LaunchPad in VCD. If you are new to App launchPad, then feel free to read my previous Article on this topic to have some background about this product.

What is VMware Cloud MarketPlace?

As per VMware Documentation

VMware Cloud Marketplace is a new service that will allow VMware partners to easily publish their solutions in a variety of formats (Ova’s, Container images or as SaaS offering).

VMware Cloud Marketplace offers customers a way to discover and consume third-party solutions in the same way that they discover and consume other VMware cloud services. The engineered and curated experience of VMware Cloud Marketplace also delivers to our customers the peace of mind that these solutions are validated to work on their target VMware platforms.

Advantage of Using VMware Cloud MarketPlace?

Customers can search for, filter through, and select the third-party solution that’s just right for them.Read More

VCD Object Storage Extension-Part 7: Bucket & Object Operations

In last post of this series, we learnt how to enable VCD tenants to consume Object Storage. In this post we will learn various operations that can be performed on bucket and objects stored within a bucket.

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

4: Configuring Cloudian for VCD Integration

5: VCD OSE Installation & Cloudian Integration

6: Service Provider Configuration

1: Bucket Creation

Login to VCD as tenant and navigate to Object Storage plugin from context menu.

Go to buckets tab and click on get started button.

Provide a name for the bucket and hit save. 

2: Viewing Bucket Properties

Click on newly created bucket and select the Properties tab to view attributes associated with a bucket. 

You can share the S3 url associated with bucket with other users, so that they can consume this bucket for storing data/objects.Read More

VCD Object Storage Extension-Part 6: Service Provider Configuration

In last post of this series, I explained end to end installation & configuration workflow of VCD OSE. In this post I will walk through steps of finalizing OSE configuration from CSP point of view.

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

4: Configuring Cloudian for VCD Integration

5: VCD OSE Installation & Cloudian Integration

Login to VCD with system admin credentials  and navigate to Home > Customize Portal. Select VCD Object Storage Extension and click on Publish button.

Select the scope of publishing OSE plugin and also select the Tenants to whom you want to expose this plugin.

From Main menu, go to Object Storage sub menu and select Tenants tab.

To enable Tenants to consume Object Storage, first we have to enable them to do so. Read More

VCD Object Storage Extension-Part 5: OSE Installation & Cloudian Integration

In the last post of this series, I discussed configuring Cloudian so that we can enable its integration with vMware Cloud Director.

In this post, I will walk through the steps of installing and configuring OSE and its integration with Cloudian.

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

4: Configuring Cloudian for VCD Integration

Installation Requirements

1a: OS Requirements: VCD OSE is shipped as an RPM package and can be installed on the OSE supported version of the Linux distribution. The following Linux OS are supported:

  • CentOS 7/7
  • RedHat Enterprise Linux 7
  • Oracle Linux 7

Also, OSE needs Java 1.8 installed on the machine where OSE rpm will be installed.

1b: Hardware Requirements: OSE is deployed in three form factors. Small, medium, and large. In small form factor, the OSE server needs:

  • 4 vCPU
  • 8 GB RAM
  • 120 GB Disk space

For medium and large deployment requirements, please refer to the OSE Documentation 

1c: Database Requirements: VCD OSE supports Postgresql 10.xRead More

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

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.

Provide name & Description for the policy 

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

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. 

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.

Select option 3 for disk setup. 

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

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 Install App Launchpad for VMware Cloud Director

App launchpad is one of the newest features that enhance the capabilities of VMware Cloud Director. This functionality will make life easier for tenants by allowing them to run applications with a few clicks.

In this post, I will walk through the steps of installing & configuring VMware App Launchpad. But before we dive into the lab, let’s understand the basics of App Launchpad.

VMware App Launchpad Introduction

App Launchpad is a VMware Cloud Director service extension that service providers can use to create and publish catalogs of deployment-ready applications. Tenant users can then deploy the applications with a single click.

  • App Launchpad supports applications from the Bitnami applications catalog that is available in the VMware Cloud Marketplace. 
  • You can create catalogs of your custom, in-house applications and configure App Launchpad to work with these catalogs.

App Launchpad Architecture

The below image taken from VMware documentation illustrates the high-level architecture of App Launchpad.Read More