Re: Best practices around porting CF to RHEL/SLES?


Rishi Misra <misra.rishi@...>
 

Thanks Dmitriy - I guess with DEA not working there won't be any
functioning CF on CentOS/RHEL.

I wonder if SLES has better CF story at this point (in terms of porting)?

On Wed, May 6, 2015 at 3:18 PM, Dmitriy Kalinin <dkalinin(a)pivotal.io> wrote:

Cloud Foundry Elastic Runtime can only be deployed at this point on Ubuntu
Trusty stemcell. All components work of ER work on CentOS stemcell except
the DEA (component that runs applications) due to certain incompatibilities
with how containers are managed. Once CentOS 7.2+ is released that includes
user namespacing, I believe there will be some effort to certify that full
ER runs on CentOS/RHEL.

RHEL stemcells can be built. See
https://github.com/cloudfoundry/bosh/tree/master/bosh-stemcell for more
details.

On Wed, May 6, 2015 at 11:13 AM, Rishi Misra <misra.rishi(a)gmail.com>
wrote:

This is great .. thanks Wayne.

Does this mean CF already supports CentOS7? For some reason I thought
it was Ubuntu trusty all the way. Is my understanding correct that when
creating Stemcells for CF, I must also ensure that all CF components must
first work on VMs with that Stemcell as its base? By "work" I mean it at
least compiles and successfully runs associated testcases?

Thanks again.

On Wed, May 6, 2015 at 2:02 PM, Wayne E. Seguin <
wayneeseguin(a)starkandwayne.com> wrote:

Building RHEL 7 is very similar to building CentOS 7 and is supported by
BOSH.

There are also official released CentOS 7 Stemcells:
http://bosh.io/stemcells/bosh-aws-xen-centos-7-go_agent

In order to use these you update what stemcell is being used in the CF
Deployment Manifest.

I would recommend you get your deployment working with CentOS 7 while
working on building your custom RHEL 7 stemcells. The BOSH repository has
instructions within it for how to build custom stemcells:
https://github.com/cloudfoundry/bosh

~Wayne

Wayne E. Seguin <wayneeseguin(a)starkandwayne.com>
CTO ; Stark & Wayne, LLC

On May 6, 2015, at 13:17 , Rishi Misra <misra.rishi(a)gmail.com> wrote:

Folks,

I am looking for some guidance around getting CF to work on RHEL/SLES.
From my limited knowledge of CF I have gathered the following:

- CF only supports Ubuntu trusty
- CF consists of CCNG/GoRouter/DEA/Health
Manager/CLI/UAA/Loggregator/BOSH repositories
- CF is deployed using BOSH on IaaS
- CF can be deployed on a local system using BOSH lite
- BOSH/BOSH lite deployment of CF consists of pushing components
listed above in a virtual machines (based on stemcells)
- BOSH uses trusty stemcells to deploy CF components (?)

My guess would be if I have to make this work in RHEL envt I would need
to do the following:

- Investigate if BOSH RHEL stemcell can be created
- For each CF repositories try to see if it compiles and runs
(associated test suites) on RHEL
- Create release/deployment manifest based on existing CF manifest
- Use BOSH/BOSH lite to deploy
- Debug failures
- ...

Any tips greatly appreciated.

Thanks in advance for your help.
_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh

Join cf-bosh@lists.cloudfoundry.org to automatically receive all group messages.