DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • How To Use Geo-Partitioning to Comply With Data Regulations and Deliver Low Latency Globally
  • Auditing Tools for Kubernetes
  • Keep Your Application Secrets Secret
  • Microsoft Azure Virtual Machine

Trending

  • Generative AI: A New Tool in the Developer Toolbox
  • API Design
  • Top 7 Best Practices DevSecOps Team Must Implement in the CI/CD Process
  • Automated Testing Lifecycle
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Which hypervisor? Why not all of them!

Which hypervisor? Why not all of them!

Kathy Thomas user avatar by
Kathy Thomas
·
Mar. 04, 14 · Interview
Like (0)
Save
Tweet
Share
6.56K Views

Join the DZone community and get the full member experience.

Join For Free
[This article was written by Ho Ming Li.]

PaaS@Office

Stackato micro cloud runs on VMware hypervisors, KVM, Xen, Virtualbox, naturally meaning it can run on vSphere, Openstack, or CloudStack. In demonstrations, in webinars, at conferences, we keep emphasizing the fact that you can run Stackato on any hypervisor. We wanted to show you the strength of easily moving your applications to ANY cloud environment.

Don’t Lose Control. Take Control!

Portability of applications. No vendor lock-in. These topics have been widely discussed in the cloud industry. Many organizations invested heavily in particular IaaS vendors, may it be a public cloud environment or a private virtualization offering. They are invested to the point where they feel like they are being locked-in, meaning they lose control over what is best for their virtual infrastructure needs, not to mention the burden of increasing costs.

Stackato Platform to the Rescue

Since Stackato can be easily deployed on any hypervisor (and associated IaaS offerings), it can be leveraged to regain control over what infrastructure products your organization should use. Further, instead of spending months and years trying to come up with your virtualization strategy, why not start using Stackato on one hypervisor right away. You could still easily move to a different hypervisor at a later time. Stackato lets you get started right away.

Let’s Play!

Alright, I’m going to do something crazy but not-so-crazy to prove infrastructure agnosticity with Stackato. Okay, agnosticity isn’t really a word, but you get the idea. Below shows you a configuration I would not endorse, and it is definitely not a standard one. However, just to demonstrate the ability to run Stackato on various hypervisor, and for shouting why not instead of why, I’m going to set up a 3-node Stackato cluster that spans multiple hypervisors running simultaneously.

Start with the Core Node

For most of my daily work duties I use my Macbook Pro (MBP) at work, so naturally, I start off with a Stackato micro cloud on my laptop running VMware Fusion. Getting the microcloud to run on my MBP is dead easy. 1. Download. 2. Import. 3. Run. That’s it! I’m pretty sure everyone can do this in under an hour. Check out this PaaS in an Hour webinar or Micro Cloud VM documentation if you need more guidance.

Micro cloud is just the initial step, and we all know that it is easy to get it set up. Now let’s proceed to set up a Stackato cluster. For the cluster setup, a cautionary step is to check the network setup on the hypervisor, ensure that it is Bridged instead of NAT’d so other hosts on the network can reach the guest VM (Stackato server).

On the server, this single command will set it up as a core node:

$ kato node setup core api.192.168.68.200.xip.io

Note: Using xip.io means I don’t have to go to my IT department to ask for a specific DNS entry for name resolution, yay for self-service.

The Other Nodes: Data Services and DEA

I ran around the office, asking some of my colleagues to borrow their local machine’s resource. Let’s take advantage of the fact that our sales team primarily use Windows on their systems. One of my colleague in Sales is tech-savvy enough to have Virtualbox running on his machine, so I have asked him to spin up a Stackato micro cloud there. Similarly, the process is just 1. Download. 2. Import. 3. Run. Make sure to download the proper image for the corresponding hypervisor. When the VM completes its initial start-up, a single command, to attach it to the core node we have set up previously. Ensure there is proper network communication between the two guest Stackato VMs.

$ kato node attach 192.168.68.200 -e dea
Now we have a core node and a dea node. Last but not least, for on-demand provisioning of data services, we will need a data-services node. So here I go again wandering around the office looking for someone to spare me some compute resources. This time, I found someone in our Support group, running Ubuntu desktop for his day-to-day work at ActiveState. I shared to him my goal of this mini project. He willingly spun up a Stackato micro cloud on KVM on this workstation and gave me credentials to it. Perfect! Yes, another 1. Download. 2. Import. 3. Run. Up and running in no time. The last command to make this 3-node Stackato cluster a reality:

$ kato node attach 192.168.68.200 -e data-services

Result: PaaS@Office

Here are some screenshots of the resulting multi-hypervisor 3-node Stackato cluster:

Fig. 1: Stackato on VMWare Hypervisor (OSX)
Stackato v3.0

Fig. 2: Stackato on VirtualBox Hypervisor (Windows)
Virtual Box Hypervisor

Fig. 3: Stackato on KVM Hypervisor (Ubuntu)
KVM Hypervisor

Fig. 4: Stackato Web Console Showing Cluster
Stackato v3.0 Cluster

I have SSH'd into the nodes, and performed a quick rename of the hosts to be more clear in this next screenshot:

SSH into Stackato v3.0

Stackato Node Type Virtualization Host OS Machine
core VMware Fusion OSX Laptop
data-services KVM Linux (Ubuntu) Desktop
dea Virtualbox Windows Laptop

Three different host OS, three different hypervisors, three VMs, three commands, definitely way less than three hours, and now we have a 3-node Stackato cluster ready for application deployments. This is way cool! Shall we call this the PaaS@Office similar to the SETI@Home project?

Just to be clear again, I do not endorse this configuration, but knowing that you can make this configuration a reality is validation for running an infrastructure agnostic platform. (Check with your manager and/or your office network policies before making an attempt at this setup.)

So when you're looking for a PaaS to run on your hypervisor, you too can play with Stackato It takes no time to setup, and allows for crazy things to happen that may very well drive innovative projects for your group.

cluster Cloud Virtual Machine

Published at DZone with permission of Kathy Thomas, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • How To Use Geo-Partitioning to Comply With Data Regulations and Deliver Low Latency Globally
  • Auditing Tools for Kubernetes
  • Keep Your Application Secrets Secret
  • Microsoft Azure Virtual Machine

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: