Coder Social home page Coder Social logo

purestorage-openconnect / orca-for-windows Goto Github PK

View Code? Open in Web Editor NEW
2.0 9.0 1.0 20 KB

Oracle Rapid Cloud Automation (ORCA) for Windows is a sample Ansible playbook which can be used to automate Oracle databases cloning on Windows

License: Apache License 2.0

PowerShell 31.71% HTML 68.29%
ansible-playbook oracle-database windows orca copy-data-management cdm ansible redhat-ansible

orca-for-windows's Introduction

ORCA for Windows

Oracle Rapid Clone Automation for Windows

ORCA is a collection of Ansible playbooks which addresses the challenges of Oracle Database Copy Data Management (CDM). ORCA provides traditional and modern DevOps teams a Self Service solution enabling developers, QA engineers and business teams the abiliy to refresh non-Production databases without impacting Production systems.

ORCA utilises standard Ansible and Pure modules to manage Oracle database services and perform 'Crash Consistent' storage snapshots, enabling end-to-end automation of Oracle databases refreshes across mulitple non-Production databases within the Enterprise.

Zero Production Impact

Unlike other Copy Data Management (CDM) solutions, ORCA has zero Production Impact e.g.

  1. No Production configuration changes e.g. OS or databases accounts
  2. No Production agents or sofware installs
  3. No additional Production backup workload e.g. RMAN jobs
  4. No impact to Production databases e.g. requirement to put database into Hot Backup mode.

Modern DevOPS Solution

ORCA is designed to be run from RedHat Ansible Tower or the Opens Source AWX Project.

ORCA is able to leverage the Ansible Tower and AWX Automation and Orchestration features below. If you are considering a CDM tool I strongly suggest you consider these features:

  1. Modern WebUI, command line and REST API interfaces (for integration with other DevOps tools e.g Jenkins)
  2. The ability to schedule and run job interactivley (Self Service)
  3. Provide runtime variables and parameters
  4. Job notifications - Slack, email etc...
  5. Code configuration management through Git intergration
  6. Host and dynamic inventory management
  7. Security and encrypted password management
  8. User RBAC (RollBack Access Control)
  9. Job Audit and reporting

ORCA Steps

  1. Create required Oracle directory structure on Windows Servers
  2. Dynamincally create Windows Command, PowerShell and SQL scripts and transfer to target server
  3. Perform crash consistent storage snapshot of source database
  4. Shutdown Target Database
  5. Off-line Windows disks
  6. Overwrite database volumes with snapshot
  7. On-line Window disks
  8. Startup Oracle Database
  9. Rename Oracle database with Oracle NID utility
  10. Rename Operating System database directories and files.

Getting Started

Prerequisites

ORCA requires the PureStorage Python REST Client, details available at https://pypi.org/project/purestorage/ $ pip install purestorage Also, install the Pure Storage FlashArray Ansible collection, details available at https://galaxy.ansible.com/purestorage/flasharray $ ansible-galaxy collection install purestorage.flasharray

Installation

Download ORCA from GitHub and localise files in vars to required source and target databases etc.

Usage

Use from your ansible control machine command line or via RedHat Tower / AWX.

Database Clone for Windows

$ ansible-playbook database_clone_win.yaml Use -v to provide verbose output

Restrictions

  • Source and Target database(s) reside on the same FlashArray

Authors

Ron Ekins, Principal Solutions Architect at Pure Storage

Oracle ACE Director

License

This module is available to use under the Apache 2.0 license, stipulated as follows:

Copyright 2018 Pure Storage, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Link(s)

[RedHat Ansible] (https://www.ansible.com)

[RedHat Ansible Tower] (https://www.ansible.com/products/tower)

[RedHat Ansible AWX] (https://www.ansible.com/products/awx-project)

orca-for-windows's People

Contributors

raekins avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gunnud

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.