Book Image

Practical OneOps

By : Nilesh Nimkar
Book Image

Practical OneOps

By: Nilesh Nimkar

Overview of this book

Walmart’s OneOps is an open source DevOps platform that is used for cloud and application lifecycle management. It can manage critical and complex application workload on any multi cloud-based infrastructure and revolutionizes the way administrators, developers, and engineers develop and launch new products. This practical book focuses on real-life cases and hands-on scenarios to develop, launch, and test your applications faster, so you can implement the DevOps process using OneOps. You will be exposed to the fundamental aspects of OneOps starting with installing, deploying, and configuring OneOps in a test environment, which will also come in handy later for development and debugging. You will also learn about design and architecture, and work through steps to perform enterprise level deployment. You will understand the initial setup of OneOps such as creating organization, teams, and access management. Finally, you will be taught how to configure, repair, scale, and extend applications across various cloud platforms.
Table of Contents (18 chapters)
Practical OneOps
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Creating a new platform


As we saw in the previous chapter, a platform is a single component or a collection of components grouped together for reusability. A platform not only defines what the component is and where it belongs but also its dependencies and relationships to other components. Platforms also allow components to be grouped together via inheritance, dependencies, or other methods to create a pack so that an appropriate software state is maintained. So, let's look at our component and see how we can turn it into a platform.

We start by going to the directory called packs under our default circuit. Under that directory, you will notice there are already files for all the applications that are currently available as platforms under OneOps.

Each file defines the type of component, its description, its category, the resources it offers, and its dependencies. We start by creating a brand-new file here called orientdb.rb. The very first thing we will add to it is extending the generic...