Skip to content

Ansible playbook to prepare VM nodes or other hosts for CoreMedia DXP Platform workspaces like LiveContext-3 or CMS-9 - at least for build nodes in continuous integration and other single node deployments.

License

Notifications You must be signed in to change notification settings

provocon/coremedia-node-preparation

Repository files navigation

Playbook and Patches to Prepare Hosts/VMs for CoreMedia

coremedia-node-preparation

The Ansible playbook in this repository is intended for preparation of CI systems and other hosts, which need to be able let CoreMedia CMS-9 or LiveContext 3 run on the or build the workspaces for them without any other installation steps necessary.

The supported target operating systems are CentOS, Debian, RedHat, and Ubuntu.

Find mirrors of this repository at gitlab and github.

Setup of the Environment

We rely on the roles coremedia for all coremedia hosts and cmdev for development hosts.

The role coremedia provides the (not supported but happily working) OpenJDK for users which do not want to include Oracle Java from the default CoreMedia chef node configuration.

The role cmsdev provides the needed development tools to build a workspace.

Special Handling for RedHat/CentOS

After the setup via this playbook please reboot the host to let all setting take effect.

Special Handling for Debian/Ubuntu

Ubuntu is not on the list of supported platforms for CoreMedia. Since only minor changes to the deployment scripts are necessary, this is now our favorite OS option. We are supporting und running this for customers since 2018 in production.

Patching the Workspace

The patches in this workspace were prepared to patch a 1710 CMS-9 workspace to be deployable as a single node configuration on a Ubuntu based host.

Since then they have been used nearly unchanged for installations up to platform release 1904.

Additional Ansible Preparation

Install python on your node since otherwise Ansible will not start.

The recipes in here also need a pre-installed ohai.

apt-get install python
apt-get install ohai

Preparation

Configure relevant hosts in inventory.properties or your global Ansible hosts file (if you haven't done so).

Usage

Run with:

ansible-playbook -i inventory.properties setup.yml

Collection

This playbook provides:

  • Java 8
  • mod_jk for Apache httpd

for hosts in role coremedia, and

for hosts in role cmdev .

Deployment of the System to Ubuntu

To deploy CoreMedia CMS-9 to Ubuntu based systems, you will need to apply the patches provided in this workspace to the chef scripts in your workspace.

AJP Usage

The usage of AJP is not strictly necessary, but the ability to configure the protocol in use might still help.

We worked around the fact that hosts directly connected to the internet use an IP-Address that is not on the default list of Apache Tomcat's

RemoteIpValve

Alternatively you could also change the default in conf/server.tml during deployment.

Feedback

Please use the issues section of this repository at github for feedback.

About

Ansible playbook to prepare VM nodes or other hosts for CoreMedia DXP Platform workspaces like LiveContext-3 or CMS-9 - at least for build nodes in continuous integration and other single node deployments.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages