• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Skip to footer navigation
  • +1-(800)-337-6914
  • info@thinksis.com
  • Customer Portal
  • Careers
  • Schedule Briefing
  • Contact Us
  • Facebook
  • LinkedIn
  • Twitter
  • YouTube
SIS,  A Converge Company

SIS, A Converge Company

Cloud and Managed Services

  • Data Center Solutions
    • Server
    • Converged Infrastructure
    • Network
    • Data Protection
    • IT Spend Optimization
    • Security
  • Cloud Solutions
    • TruBACKUP
    • TruCOMPUTE
    • TruMANAGE
    • TruNETWORK
    • TruRESILIENCY
    • TruSTORAGE
  • AWS Storage Solutions
  • SIS Insights
  • About Us
    • Who We Are
    • Senior Leadership
    • Strategic Partners
    • Contact Us
    • Careers
  • Resources
    • Events
    • Blog
    • News

Automating Container Deployment and Stress Testing with CoreOS

June 2, 2016 by sisllc Leave a Comment

June 2, 2016 written by SIS Team

SIS is working on a significant project to design and deploy a Cloud Management Platform (CMP). As part of this effort, we were tasked with the development of a self-service portal for our customers to easily deploy new workloads, manage current workloads, and configure connectivity to their Virtual Datacenters (VDCs). With that in mind

, we wanted to develop a stress testing processes against our hardware and software to test its capabilities as well as to verify hardware stability with a real burn-in process.

To meet the requirements of automating this stress testing procedure, we decided to use containers which were the perfect fit due to their agility and ability to be quickly deployed, and removed. The question we asked ourselves was, what’s the best method to automate deployment of containers? Enter CoreOS…an open source project for Linux Containers. CoreOS is super-lightweight coming in at only 267 MB and has Docker container support built-in.

With CoreOS as our chosen OS, we needed to develop an automated deployment process. A quick Google search brought us to a blog post by Robert Labrie. In his post, he provided a PowerShell script to accomplish the task. With that and the CoreOS documentation on how to run CoreOS in a VMware environment, we had what we needed to start.

We took Robert’s script and modified it heavily adding features such as deploying to vSphere Clusters, Datastore Clusters, and better error-checking. Our automation script can be found here. Here are the basic steps required to use the script.

  • Download the script and cloud-config files to your computer to C:\CoreOS
  • Open a PowerShell windows and execute the code below:

Import-Module C:\CoreOS\New-CoreOSCluster.ps1

  • Run the script!

Find examples of how to use the script:

Get-Help New-CoreOSCluster –Examples

  • Once the CoreOS VM(s) are deployed, you can access them via SSH using the following credentials specified in the cloud-config.yml:
    Password: password
    Username: core

From a high-level view, this script is using the cloud-config.yml configuration file to provide CoreOS with its running parameters and the VM’s VMX file to configure to apply the network configuration. We highly encourage reading the CoreOS documentation on this configuration file as this is what you will be working with when making changes to your CoreOS.

As an extra bonus, we’ve also included in the cloud-config.yml how to configure CoreOS to run a Docker image on boot. This code can be easily modified to run whatever Docker image your needs dictate.

We hope everyone enjoys playing with CoreOS and using it in your environments as we have!

Link to GitHub for script:

  • https://github.com/SIS-MSC/New-CoreOSCluster

Links in the article that I used for research when developing this script:

  • https://coreos.com/os/docs/latest/booting-on-vmware.html
  • https://coreos.com/os/docs/latest/cloud-config.html
  • http://www.lucd.info/2010/02/21/about-async-tasks-the-get-task-cmdlet-and-a-hash-table/
  • https://robertlabrie.wordpress.com/2015/09/27/coreos-on-vmware-using-vmware-guestinfo-api/

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Recent Posts

  • Converge Technology Solutions Acquires Software Information Systems, LLC
  • Do you have challenges with your SAP environment?
  • Ready for Converged Infrastructure? Here are Four Things to Consider
  • Checklist for Cloud Data Management Solutions
  • 10 Questions and Answers about VMware Cloud on AWS

Contact US

Lexington, KY

Charleston, WV

Indianapolis, IN

Louisville, KY

Farmington Hills, MI

  • Facebook
  • LinkedIn
  • Twitter
  • YouTube

Footer

About Us

SIS produces results for growth-oriented companies through SIS Insights, the concentration of 30 years of experience in the minds of a dedicated, knowledgeable, and regional team.

More About Us

Connect with Us

Address: 165 Barr Street  Lexington, KY, 40507
Phone: +1-(859)-977-4SIS
Email: info@thinksis.com

  • Facebook
  • Google+
  • LinkedIn
  • Twitter

Our Newsletter

Subscribe to our newsletter to get the latest updates from our blog. We respect your privacy.

Sign Up Today

Copyright © · SIS · Terms & Conditions · Legal· Privacy Policy

  • Contact Us
  • SIS Insights
  • Careers
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies. For more information view our Privacy Policy and Cookies Policy(US).
Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.