Oracle publishes official Chef and Puppet samples on github by Mark Nelson and Edwin Biemond

clip_image002

 

Oracle official sample Chef cookbooks and Puppet modules are now available on Oracle’s official GitHub page at https://github.com/oracle/chef-samples and https://github.com/oracle/puppet-samples for Java, WebLogic and Fusion Middleware.

Chef and Puppet are arguably the most popular provisioning frameworks and we would like to help you with your WebLogic and Fusion Middleware provisioning by publishing samples for Chef and Puppet.  The Chef and Puppet sample modules and cookbooks are almost the same and are using the same development frameworks.

We start this series of posts with an introduction what these cookbooks and modules can do and provide a simple quickstart how to create a WebLogic domain in Chef or Puppet on a Windows, Linux or Solaris host. In the following posts we will install FMW software, patch and extend a domain with FMW software.

These Chef cookbooks and Puppet modules allow you install WebLogic together with Fusion Middleware on any Linux, Solaris or Windows host. The cookbooks should work in Chef 11 & 12 and can be used with Chef server or with Chef Solo. The modules should work on Puppet 3 & 4 and it should not matter if you use Puppet Enterprise, an agent or just use puppet apply.

The first release on github will contain the following cookbooks and modules:

  • fmw_jdk, installs JDK 7 or 8 and optionally configures the urandom random number generator service for Linux distributions.
  • fmw_wls, installs WebLogic 11g or 12c and optionally create thes Oracle user and group on solaris and linux.
  • fmw_bsu, patches a WebLogic 11g middleware home.
  • fmw_opatch, patches WebLogic 12c or any Fusion Middleware 11g, 12c product.
  • fmw_inst, installs FMW 11g, 12c product including Oracle SOA Suite, Service Bus, MFT, OIM, ADF Runtime, and WebCenter.
  • fmw_rcu, creates a 11g, 12c Common or SOA Suite FMW repository on an Oracle Database.
  • fmw_domain, creates a domain in development mode, configures the node manager, start the admin server and extend the domain with ADF/JRF, Service Bus, SOA Suite and optionally with BAM and Enterprise Scheduler.

A couple of important notes about these cookbooks and modules:

  • They don’t download any (free or licensed) software from OTN, Oracle support or edelivery, this is the responsibility of the user/customer.
  • Oracle Support won’t support these cookbooks or modules but you can raise issues or send us pull requests on github.
  • Binaries should be locally accessible in a directory or a network share.
  • They will create a domain only in development mode.
  • They won’t do multi-node provisioning like pack/unpack of a domain on cluster nodes.
  • Passwords in Chef can be defined in databags and in Puppet you need to do it yourself in Hiera.
  • They have dependencies to each other and will automatically include or require the depended manifest or recipe.
  • The default recipe/manifest does not do anything, you have to use the specific recipes or manifests. In Puppet the default manifest will be used to set some module defaults.

Detailed overview

These cookbooks and modules contains recipes and manifests with resource/providers in Chef and type/providers for Puppet. The recipes and manifest are a quick way to get you started and these minimal recipes are just calling the matching resource/type providers. You can call these yourself in one of your own cookbooks. Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

A Chef Cookbook for Fusion Middleware 12c by Jorge Quilcate

 

Provisioning tools have change the way we create software environments: How much time we spend installing OS, databases, configuring platforms, applications? Now you can translate this steps into code, getting the software development benefits and challenges into infrastructure: versioning, reuse, continuous improvement.

In this post, I will show you how to provision Oracle SOA Suite 12c using a Chef cookbook that I created and shared it on Chef Supermarket.

Provisioning with Chef

Chef is a provisioning tool, based on Ruby. Let you organize your "infrastructure" recipes on Cookbooks. Here you can find the Chef Supermarket. For a Chef tutorial go here

Chef Cookbooks and Recipes

Chef Cookbooks are groups of Recipes, and a Recipe is a sequence of instructions called Resources. Directory, Execute, Service, Package are some resources.

For instance: If you want to install an HTTP Server, first you should install a Package, and then start HTTP Service.

Oracle Fusion Middleware Cookbook

I’ve created this cookbook: oracle-fmw. The idea is to have a group of recipes to provide Fusion Middleware environments with different products like: SOA, BPM, BAM, OSB, and so on.

In the first release, this cookbook includes the following recipes:

· prepare-infrastructure-12c: Creates the required OS user and group, installs the required OS packages and execute some scripts to set required parameters.

· install-bpm_qs-12c: Installs Oracle BPM 12c which includes the following products (12.1.3): JDeveloper, Oracle SOA, Oracle OSB, Oracle BAM, Oracle BAM and others.

· create-rcu_repository-12c: Creates RCU repositories on Oracle Database instance.

· create-domain-12c: Creates a WebLogic Domain with these (optional) products: SOA, BAM, BPM, OSB.

Read the complete article here

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Cook a SOA/BPM Development Environment with Chef in 8 minutes! By Jorge Quilcate

After have installed Oracle SOA Suite once and over again, you start to finding out that these are boilerplate tasks and do not generate much value, because this are only the initial step to implement solutions with SOA and BPM.

In this post I will show you how to automate these steps using Chef.

Chef is a software provisioning tool that enable transform infrastructure as code.

The goal is prepare a development environment with Oracle BPM Suite on Windows including the following components installed and configured:

  • Oracle WebLogic Server 10.3.6
  • Oracle SOA Suite 11.1.1.7 (SOA, BPM and BAM)
  • a BPM Domain with one server with SOA and BPM (Admin Server) and other server with BAM (optional)

Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki