Oracle ATG Commerce IaaS/Cloud provisioning

Introduction

The Oracle ATG Commerce provisioning tool set allows for the rapid deployment of the ATG Commerce stack.

The tool set contains 3 distinct components that can be used independently, or together to create a Cloud provisioning, software installation and software configuration solution.

The Oracle ATG Commerce stack is comprised of several integrated software packages. The provisioning tool set allows the end user to control the following products:

  • Oracle ATG Commerce
  • WebLogic
  • Endeca
  • Java
  • Oracle Database
  • Oracle Traffic Director

 

Process overview

The provisioning process is driven by JSON templates that define how software is to be installed and configured. You can have as few, or as many templates as desired; with each defining a specific environment setup.

For example, you may have one template that defines a development setup, another that defines a QA/test environment, and another that defines a production environment.

The templates allow for a repeatable, consistent deployment of the Commerce stack.

 

A typical Oracle ATG Commerce manual installation, including setting up server, installing software, and performing the required base configuration steps can take weeks to months, and is prone to human error.

With this tool set, Cloud servers are provisioned and setup in parallel. You can configure a single server, or a 100 server cluster – either scenario takes about 20-25 minutes to complete. The human error is greatly reduced since everything is done based on the template you provide, and what took weeks now takes minutes.

 

The provisioning process includes tools to:

  • Create instances in the Oracle cloud – in both x86 Oracle Public and Private Cloud, and in Oracle SPARC Cloud
  • Automatically install and configure the Oracle ATG Commerce Stack as instances are provisioned in the cloud
  • Generate JSON templates, Cloud orchestrations, and Ansible playbooks
  • Install and configure the Oracle ATG Commerce Stack locally

 

Overview of the tools

All tools are written in Python, and are published under the MIT license.

The tools have been written and tested against Solaris SPARC and Oracle Linux, but will likely work on any flavor of Linux/Unix with an appropriate Python interpreter.

Cloud provisioning

The tools utilize REST api’s provided by Oracle OpenStack for SPARC provisioning, and the public API’s provided by Oracle Public Cloud for x86 provisioning.

The tools handle provisioning through either Oracle Cloud Orchestrations, or Ansible playbooks.

This is the first step of the process that creates the actual server instances and associated storage for each instance.

 

Software installation and configuration

After a server instance has been provisioned, the installation and configuration of software is automatically started.

Your templates define what software will be installed on which specific server, and how that software will be configured.

The installation and configuration process can also be run by itself. For example, if you wanted to setup a local developer VM, you can install and configure the entire Commerce stack with a single command.

 

Template and playbook generator

The tool set also includes an interface that assists with the generation of JSON templates, Cloud Orchestrations and Ansible playbooks.

The configuration generator helps guide the user through all the information required for the templates, orchestrations and playbooks. Once all data has been entered, the tools generates orchestrations and playbooks for you. Generated files automatically use the correct REST api’s and Cloud endpoints based on user input.

 

Tool features

Some of the features in the tool set include:

  • Install ATG
  • Optionally install ATG patches
  • Install Java
  • Install Endeca
  • Install and Configure WebLogic
    • Create managed servers
    • Create instances with host/port bindings
    • Create and bind datasources to instances
    • Generate ATG server layers for each instance
    • Generate start/stop scripts
  • Optionally install WebLogic patches
  • Install and Configure Oracle Traffic Director
  • Install Oracle Database, and create a new starter database instance

 

Source code and more information

Source code and documentation is available on Oracle Github and Oracle Technology Network.
Github: https://github.com/oracle/atg-commerce-iaas
OTN: http://www.oracle.com/technetwork/indexes/samplecode/commerce-samples-2766867.html

Add Your Comment