[Pulp-list] High Available Pulp Setup

Arnold Bechtoldt arnold.bechtoldt at inovex.de
Wed Nov 27 20:06:31 UTC 2013


Hey,

we want to setup Pulp with a two-side HA concept.

There will be two servers in each of two DCs. Two per DC to do a fast
failover within a DC, another (identically configured) two in the second
DC to be able two work when the first DC is completly down.

Repositories to be mirorred:

* RHEL server with additional repositories/channels
* EPEL
* Foreman (low prio)
* Puppet Labs (yum.puppetlabs.com)
* rpm repos of some hardware vendors
* rpm repos of some software community projects
* several rpm repos of own software

and the same required for Ubuntu and maybe SLES (ASAP).


Geo-redundant SAN (both DCs) via NFS is available.

When I understood Pulp correctly, Pulp requires mainly httpd with
mod_wsgi, mongodb and storage (/var/lib/pulp/contents) for pulp-server
and any host for pulp-admin. pulp-consumer is currently not planned for use.


Besides to the node feature there are no docs concerning pulp HA on the
web (or PEBKAC) - I would add some as soon I am able to.

We have tested Pulp to mirror the repos mentioned above and cloned some,
too.
Some questions remained be open:

* do I need 4 x independent storage space?
* do I have to manage 2 or 4 pulp servers with the same
content/sync-tasks/clone-tasks? note: every server must be able to
provide current mirrors of upstream in a short time (5-10 min) after a
failover
* is it a expected behaviour that pulp doesn't re-download missing
contents to /var/lib/pulp/contents/ of a repo (intentionally removed some)?
* is there a way to import contents of a repo (mirror) in another pulp
server with the same repo settings/parameters?
* does a mongodb replication (master->3 x slave) make sense?

notice: Pulp needs to be run on only one system at the same time.
Active/Active over both DCs isn't a must. The release of packages of the
most important mirrors to the consuming hosts will be staged.


Thank you for developing Pulp and giving your ideas to this topic.


Arnold

-- 
Arnold Bechtoldt
IT Engineering & Operations

inovex GmbH

Zur Gießerei 16
D-76227 Karlsruhe
Tel: 07231 31 91 0
Fax: 07231 31 91 91
Mobil: 0173 3181 117
arnold.bechtoldt at inovex.de
www.inovex.de

Sitz der Gesellschaft: Pforzheim
AG Mannheim, HRB 502126
Geschäftsführer: Stephan Müller

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 552 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20131127/7ddd2ae7/attachment.sig>


More information about the Pulp-list mailing list