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
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
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

Because the DevOps movement has redefined engineering responsibilities, SREs now have to become stewards of observability strategy.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Related

  • Openshift Sandbox/Kata Containers
  • OpenShift Container Platform 3.11 Cost Optimization on Public Cloud Platforms
  • Pulling Images from External Container Registry to OpenShift Cluster via ImageStream
  • A Guide to Container Runtimes

Trending

  • Designing for Sustainability: The Rise of Green Software
  • Mastering Advanced Traffic Management in Multi-Cloud Kubernetes: Scaling With Multiple Istio Ingress Gateways
  • Designing AI Multi-Agent Systems in Java
  • Power BI Embedded Analytics — Part 3: Power BI Embedded Demo
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Installing Windows Hyper-V OpenShift Container Platform

Installing Windows Hyper-V OpenShift Container Platform

Now there's full Windows support for OpenShift Container Platform via Hyper-V. See how to download and install the cloud on your very own machine.

By 
Eric D.  Schabell user avatar
Eric D. Schabell
DZone Core CORE ·
Nov. 15, 17 · Tutorial
Likes (10)
Comment
Save
Tweet
Share
13.7K Views

Join the DZone community and get the full member experience.

Join For Free

Since the release of the OpenShift Container Platform (OCP) it has been my desire to provide a simple, fully configured and easy to use installation.

This installation needs to have the Red Hat Middleware product streams installed (pre-configured container options) and all the extras like source to image and .NET Core containers.

For some time there's been easy to use installations for Unix platforms like Linux, osX, and a generic Windows installation. During workshops where attendees would arrive using various versions and configurations of Windows, each requiring its own tweaks to install using Virtualbox.

While Linux has the ability install using the native virtual environment under KVM, Windows has been lagging behind with our support of Hyper-V.

No more.

Thanks to a community member of our project, today you can install on Windows using Hyper-V as your virtual machine provider.

A Bit of History

A few months back I showed you how to go from no cloud to fully cloud-enabled with a container based application development platform in just over two minutes with OCP 3.4.

Next up we supported you with a newer version 3.5 with many new features you wanted to get your hands on.

Finally, you're given version 3.6 and a tech preview of the service catalog as shown in figure 1.

Image title

Figure 1

Now it's time for Windows users to install using native Hyper-V virtualization. It is so simple, I believe that anyone can set this up in just minutes, so let's take a look at how to get you started.

There are some dependencies needed and the install provides pointers to downloads if missing:

Hyper-V for Windows (Windows Feature Install)
   a. Important - Use Hyper-V Manager to create "ocpNET" Virtual Switch. (name is used in script)
   b. Important - Set "ocpNET" to External Network physical/wireless interface (with DHCP) - Must have Internet.
Docker engine version 17.06
OpenShift Client (oc) v3.6.173.0.21


Install in 3 Simple Steps...

  1. Download and unzip.
  2. Run ''init-win10.bat' file, then sit back. (Note: must be run with Administrative privileges.)
  3. Follow displayed instructions to log in to your brand new OpenShift Container Platform!

You need to download and unzip the project, then run the installation script, sit back until you see the output at the end showing you where to log in to your brand new OpenShift Container Platform.

Also note, that if this installation ran before, it's setup to always give a clean running installation by fixing anything that is left running or blocking a new installation. No intervention should be required by you.

Figure 2 shows the address that was dynamically created (in my case it is showing https://192.168.99.100:8443), just paste it into a browser and log in with any of the given users. Also note the final command shown, it helps to completely clean up this demo.

Image title

Figure 2

As I have updated the image streams, it takes some time for them to be pulled into OCP and appear in your lists of available platforms. Log in with admin user and create a project by clicking on the New Project button.

Fill in the form shown in figure 3 any way you like, but I choose to line it up as the project that's going to hold all the goodness you find in Red Hat Cloud demo projects.

Image title

Figure 3

Once the form is submitted, an overview of the product templates appears for your projects that I installed above (remember, it might take a few minutes for them all to appear, so take a sip of coffee now as it is your only chance in this process).

Start by using the catalog containing the JBoss middleware product templates to develop applications on the OCP Cloud.

This concludes the installation of OCP and you're ready to start containerized application development.

I assume you can find more information online if you're interested in getting started with the basics of container development on OCP, so I won't go into that here.

Looking for some deeper examples of running JBoss middleware on OCP? Check out the examples collection at Red Hat Demo Central and for something really special, check out the AppDev in the Cloud free online workshop.

Here's wishing you many happy days of containerized application development in the Cloud with Microsoft and Hyper-V!

Hyper-V Container OpenShift

Published at DZone with permission of Eric D. Schabell, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Openshift Sandbox/Kata Containers
  • OpenShift Container Platform 3.11 Cost Optimization on Public Cloud Platforms
  • Pulling Images from External Container Registry to OpenShift Cluster via ImageStream
  • A Guide to Container Runtimes

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • 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:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!