How did we upgrade our Public Cloud

Public Cloud Upgrade. Preparations Change Request Customer Engagement Executive management Resource planning Frequent Updates Stage your Upgrade Monitoring Day01 - Infra Upgrade Day02 - Tungsten Fabric (MW01) Day03 - VCP Components (MW02) Day04 - Dataplane - ZONE-01 Compute nodes (MW03) Day05 - Dataplane - ZONE-02 Compute nodes (MW04) QA Statistics References Public Cloud Upgrade. What is the scariest task, a cloud administrator may face, Public Cloud Upgrade. [Read More]

Public cloud Upgrade, Things you need to consider.

Preface Would you need an Upgrade? Plan the upgrade Methods of upgrades Parallel Cloud Advantages Disadvantages Rolling upgrade Advantages Do an upgrade in Staging Backup Upgrade plan Upgrade Day01 Day02 Customer Feedback Further Reading Preface Upgrading a public cloud to the next stable release is a Nightmare for the Operations Team. We are using Openstack as our cloud software. [Read More]

No valid hosts found !! , Is it Hypervisor only?

No valid hosts found Real scenario Oh, yeah here it is Issue Finding Further reading No valid hosts found I am sure, everyone of you found this error in your API call OR Horizon instance intiation. But what is it exactly?, Well the error says no valid hosts found which is clear right? You dont have enough computing resource to launch the new virtual machine. It could be vCPU, vRAM, vDISK. [Read More]

Openstack Live migration, What? Why? How?

What is Live Migration Why we need a Live Migration Host Failure Maintanance mode Optimal resource usage How a Live migration happening ? Pre-migration Reservation Iterative pre-copy Stop and Copy Commitment Pitfalls Abort ? Futher reading What is Live Migration Live-migrating an instance means moving its virtual machine to a different OpenStack Compute server while the instance continues running. When you are operating a public cloud OR private cloud you need to do this for many reasons. [Read More]

Guest VM in error State, possible reasons.

Preface Core services may not running Two different host types No Shared volume No enough Quota Apparmor in place The source compute host swapped No valid host found Further reading Preface Recently I had faced an interesting question during an Interview. Question was, One of the virtual machine is in error state, how will you troubleshoot?. Well, thats a general question and all of them went through it atleast once? [Read More]

Overcommit per Aggregate in Openstack

What is an Overcommit in cloud ? Overcommitting Memory Overcommitting CPU Why its important in a Public Cloud Where are the Overcommit values in Openstack Well, I have a very special requirement Solution Create the aggregate Add your computes to this Aggregate Setting up Overcommit values to this particular Aggregate How the Guest VM know, i should go to this Aggregate Inject Flavor metadata Check the flavor now Add few filters in nova Disable the current allocation from nova Restart nova Workflow Further Reading What is an Overcommit in cloud ? [Read More]

Creating Virtualenvironment using Python

What is Python Virtualenvironment Installation Install pip Install needed Python modules Set a Directory for your Environments Add it on your bashprofile Testing the virtualenvironment Activate and Deactivate the environment Remove the Virtualenvironment Futher Reading What is Python Virtualenvironment Python applications will often use packages and modules that don’t come as part of the standard library. Applications will sometimes need a specific version of a library, because the application may require that a particular bug has been fixed or the application may be written using an obsolete version of the library’s interface. [Read More]

Share Private network between Two Tenants

Courtesy Preface Assumptions Solution Import Route Target Security Group Futher Reading Courtesy Bytes around me :-) Preface Sharing Private network is a common use case in Cloud Environment. Normally RBAC will help you to achieve. Since Newton release, this feature is Available. But the question is which SDN you are using in your Environment. If you are using Opencontrail 3.2 as SDN, you cannot go with RBAC. Assumptions Openstack Release Ocata Opencontrail 3. [Read More]

Configure Multiple Default Routes, Linux

Courtesy Preface Use Case Implementation New Routing Table Add Policy Rules Flush the routing cache Testing Rules Further Reading Courtesy Tutorial credit goes to [Omar Hamad ] (https://www.linkedin.com/in/omermahgoub/) the real Architect I have seen in last few years. Working with him for the past 3 Years, and learned a Lot. We are going to miss u :( Preface When configuring a Linux host with multiple interface, each with its own default gateway, ensuring route symmetric is a bet challenging for any given pair of endpoint. [Read More]

Benchmarking Cloud using Rally

Preface Installation Create a Test Scenario Export the Test Results to HTML More Scenarios Preface Rally is a framework used to Validate multinode Openstack Deployment. Rally automates and unifies multi-node OpenStack deployment, cloud verification, benchmarking & profiling. Rally does it in a pluggable way, making it possible to check whether OpenStack is going to work well on, say, a 1k-servers installation under high load. Thus it can be used as a basic tool for an OpenStack CI/CD system that would continuously improve its SLA, performance and stability. [Read More]