Getting Started
This getting started guide assumes that you have a running OneOps instance, if not refer to [initial set up][]
- Account 1
- Design 2
- Transition 3
- Operate 4
Account
This section describes how to set up your account, organization, assemblies.
- Login/Register in OneOps to access/create your Organization.
- Not seeing your Organization? Lookup the Organization you are interested in. Ask Organization administrator to grant you access .
- To create a new Organization? Follow these steps.
Create Organization
- Click profile (your user name) on the left nav bar.
- Select Organization tab.
- Select new Organization from the right side.
- Enter Organization name and click save.
- This will bootstrap an Organization with reasonable defaults which can be changed later.
Create Cloud
Noramally administrator of the organization creates a cloud, it may require creating an [inductor][] or adding cloud to an exiting inductor.
- Create Organization if one does not exist.
- Click clouds link on left nav bar .
- Click Add Cloud
Next Create Assembly
Create an Assembly
Assembly is workspace for you application. To create an assembly
- Click Assemblies from left nav or top nav .
- In the assemblies listing page click New Assembly on the right hand side or towards the end of listing.
- Enter assembly details, Click save. Next Create a Platform
To learn about additional Account activities for assemblies, teams, users and notifications refer to:
OneOps Design Phase
In the design phase, one can create platforms (building blocks) from existing available packs. In this example, we will create simple application (Tomcat) which talks to back end database.
Create a Platform
- Click design (icon) from left nav or top nav or wizard.
- Click New Platform, choose from existing packs in pack name
- Modify any attributes of component to suit your application design.
Commit a design
- Click review to your changes, all changes are buffered in a release and are not applied unless you commit.
- Once satisfied click commit to commit the changes . Next [Create Environment][]
* Change attributes of component which are common across environments.
* Add optional components /attachments in design phase.
See also:
Transition Phase
Transition is where you define environment specific attributes as needed. The dev or qa environments may differ in terms of availability , resources needed and can be defined at environment level.
Create an Environment
- Click environment (icon) from left nav or top nav or wizard.
- Click New Environment .
- Select availability mode for your environment either at platform.
- Modify any attributes of components which may differ from design.
For example qa environment compute size requirements may differ from development/test or production environment, in such scenario you may choose default compute size based on what matches most of the environment requirements.
It’s not uncommon to choose development environment compute size as default for design which allows you to create multiple test environments without changing design.
This helps in creating environments faster without changing too many attributes at design level. As a best practice try to have most used configuration in design. Also see variables
Lock any environment specific attributes to prevent the environment changes to be override from design pulls.
- Click review and commit and deploy your changes. Next Deploy.
See also:
- Environment
- Upgrade an Application Version in an Environment
- Environment Releases
- Environment-profiles
Deploy an Application
- Click
commit and deploy
Review the deployment plan generated by OneOps. - Click on a particular step to know what change is going to be deployed.
- Want to change plan, discard and no changes would be deployed.
- If satisfied click green Deploy
It can take few minutes to deploy the application to cloud infrastructure selected during environment creation.
At this time One Ops is executing actual work orders on the cloud of your choice, switching clouds is then matter of adding clouds and shutting down clouds which may not be needed.
See also:
- Multi Cloud deployment
- Check Deployment Status
- Deploy and Provision an Application and Environment for the First Time
- Doing regular releases
- Common Deployment errors
Operate Phase
The successful deployment will create actual instances of components (computes,tomcats) on to cloud(s) chosen. Once you have running environment you would need to operate the environment which typically involves
View Operations
- View the status of your overall application.
- View notifications, alerts, filter instances based on their state.
Control Environment
- Perform operational activities on components level, like restart of all tomcats.
Some of the commonly used operations but not limited to these
- Replace of compute in case of hardware failures.
- Restart of services.(tomcat, Cassandra, elastic search)
- Some of attachments can be exposed as operations. Some of the popular one used are taking nodes out of traffic.
- Redeploy artifacts.
- Log Searches on volume components.
- Control auto-repair / auto-scale.
- Perform repairs at cloud level.
See also:
- Assess the Health of Applications, Platforms and Clouds
- Operations Summary
- Graphs
- Control Environment
Monitoring
- OneOps by default will send emails (default notification mechanism) if any of components are in unhealthy or notify state. see Monitoring
- If auto-repair is enabled, OneOps will auto-repair the instance. The actions taken to recover an instance are prescribed by
repair recipe
of the component. For example, if Compute is alerting for missing heartbeat by default Computes repair action involves the following- Check the ssh port
- If not able to connect after timeout, it will attempt reboot.
- These might recover the compute, if not then auto-replace would be triggered.
OneOps Documentation for Users
Before You Start with OneOps
Before you start with OneOps, it is recommended that you read the following documentation. It is the most essential information you need to begin well.
- Overview: OneOps business-level description of main benefits versus alternative solutions
- Key Concepts: Conceptual description and diagrams of how OneOps works
- Tools: List of supporting tools and services that can be used with OneOps
- Getting Started: How to start using OneOps (this section)
- Best Practices: How you should use OneOps for best results
What You Will Need When You Work with OneOps
Refer to the following documentation as you work.
- Typical Usage Scenarios: How components work together to enable commonly implemented scenarios
- Reference: Detailed code usage descriptions
- How To: ‘How To’ instructions that solve a specific problem or achieve a specific solution
- Testing & Debugging: Strategic overview description of how to test and debug OneOps
- Updates: Release and patch announcements as well as articles of interest to OneOps users
- Contribution: How to provide feedback, report issues, contribute to development, or contact us