Giter Site home page Giter Site logo

docker-ocum7's Introduction

Introduction

This project is used to build a docker image for NetApp OCUM 7.1.

More informations about OCUM can be found here :

http://www.netapp.com/us/products/management-software/oncommand/unified-manager.aspx

Principles

This Dockerfile uses a number of tricks to make OCUM rpm believe they are being installed on a RHEL 7 system, and make sure all the commands executed during the installation do not fail.

Especially, it works around :

  • Memory check to make the installer believe we have the necessary RAM
  • systemctl limitation that prevents it to run in a docker container
  • Java parameters that lets OCUM run on a small memory system/container

Building an image

Obviously, you need a valid entitlement to build this docker image. The RPM files for OCUM and dependencies are expected in a YUM repository that you can customize by editing OCUM.repo.

If you do not have a YUM repository available, you can use ybizeul/yum docker image to run one in a container, then run docker inspect to retrieve container IP :

$ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                   NAMES
e2712c5b19c1        yum                 "/bin/sh -c /start.sh"   7 months ago        Up 4 hours          0.0.0.0:32768->80/tcp   yum
$ docker inspect --format '{{ .NetworkSettings.IPAddress }}' e2712c5b19c1
172.17.0.3

You can now configure it into OCUM.repo :

[ocum]
name=OCUM
baseurl=http://172.17.0.3/
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

Then you can run docker build .

Example content of the yum repository

The following files are required for a successful build :

mysql-community-client-5.6.35-2.el6.x86_64.rpm
mysql-community-common-5.6.35-2.el6.x86_64.rpm
mysql-community-libs-5.6.35-2.el6.x86_64.rpm
mysql-community-libs-compat-5.6.35-2.el6.x86_64.rpm
mysql-community-server-5.6.35-2.el6.x86_64.rpm
netapp-application-server-7.1.0-2016.11.J2293.x86_64.rpm
netapp-ocum-7.1-x86_64.rpm
netapp-platform-base-7.1.0-2016.11.J2293.el6.x86_64.rpm
node.x86_64.rpm
ocie-au-7.1.0-2016.05.J2327.x86_64.rpm
ocie-server-7.1.0-2016.05.J2327.x86_64.rpm
ocie-serverbase-7.1.0-2016.11.J2293.x86_64.rpm
rp.x86_64.rpm

docker-ocum7's People

Contributors

ybizeul avatar

Watchers

 avatar  avatar  avatar

Forkers

palkoc

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.