New Features for April 2014 - Archived

Spring is here, and along with it brings some new features on Openshift Online. We’ve got some truly great stuff in store for you, so lets take a look.

New Bronze Plan and Add-On Storage

If you haven’t seen it already we’ve added a new premium plan called the Bronze plan. Its perfect for those of you who want pay for the extra resources you want, without a monthly platform fee. For more information check out our new pricing page. As for Add-On Storage, now you can add up to 30GB of additional storage to individual gears on a cost per GB basis.

Improved Log Storage and Rotation

We know that this is something our users have asked for, for quite some time. With this latest release I’m happy to inform you that its finally here. In this latest release of Openshift, we’ve done 2 main things to improve the logging implementation. First we’ve implemented logshifter and secondly we’ve created a new environment variable $OPENSHIFT_LOG_DIR where your log’s will now be stored.

Picture of Openshift's new log directory environment variable

We’ve updated all our cartridges to redirect logs to /usr/bin/logshifter (and indirectly via stdout where applicable). We know that in some cases there are multiple log files for a cartridge. However now, there will be one file containing the contents of both sources.

Moving forward, old cartridge specific variables (e.g. OPENSHIFT_PHP_LOG_DIR) will be removed, and any existing applications will keep their old variables. Only that now, they will be symlinked the new $OPENSHIFT_LOG_DIR.

New Data Virtualization Cartridge

picture of data virtualization cart on Openshift

The Data Virtualization Cartridge provides the RedHat JBoss Data Virtualization components:

Teiid – Data Virtualization system
Modeshape – Content Repository
Dashboard Builder – interactive dashboard and report creation

Here’s a tutorial called Salesforce as a REST Service Using JBoss Data Virtualization on OpenShift that puts it right to use.

New RHC Commands

We’ve added a few new commands that makes managing your applications on Openshift a whole lot easier. With this release you will be able to clone your applications as well as only show you what belongs to you. Not only that, but by using the --from-code you can go from non-scaling to scaling in one command. Check it out..

1. Use --from-app to clone and more.

This feature will allow you to create apps based on other existing apps. Creating an app from another one means copying everything (cartridges, storage configuration, gear sizes, aliases, scaling configurations, deployment configurations, etc) including the data (relies on app snapshots).

Screenshot of the the --from-app command on Openshift

Clone app’s from another domain

You can even use the –from-app to clone an application from another domain.
rhc create-app MyClonedApp --from-app <domain/app>

Change gear sizes and scaling

There are a few options that can be provided to override the attributes of the original app being cloned.

  • Go from scaling to non-scaling with --scaling or --no-scaling
  • Change gear sizes with --gear-size

Take for example an existing app that is not scalable and uses small gears. The command below will create a complete copy of the original app which is scalable and with medium gears.

rhc create-app <clone> --from-app <existing> --scaling --gear-size medium

Other supported options are –env, –no-git, –enable-jenkins, etc.

2. Only show what’s your’s with --mine

You can use rhc apps --mine to only return the applications that you own. This command is very similar to that of rhc domains --mine

Better Application Resiliency

We’ve improved some of our internal monitoring tools that we use, not only to better detect applications that are “started” but have no processes running. We also try to fix them as well.

Make Web Cartridges Require Other Web Cartridges

Here’s a feature that all of the cartridge writers out there will like. You can now specify multiple cartridges as requirements in your manifest.yml. That way if an application requires a database, you can add it as a requirement. Then, it will get added automatically when the application is created.

Improved 10gen-mms-agent Cartridge

If you haven’t tried out the 10gen Monitoring Agent Cartridge yet, now would be a good time. We’ve optimized it so that now it’s even easier to embedded it into your application.

Added support for

In our March Release Blog you may have seen that we added support for Cpan. With this latest release, you can now also opt for When you deploy a perl application, here is the order of operations and Openshift will stop on the first one found.


New Details View For Downloadable Cartridges

When you create an application from a downloadable cartridge its good to have information like version, website, license, etc. With this latest release you’ll be able to click on the details button in the application overview page and be able to see that information.

Picture of Openshifts new detail view of downloadable cartridges

JBoss, MongoDB, News, OpenShift Online, Perl
, , , , ,
Comments are closed.