PULP (v-2.16.4)

Pulp is a tool for managing repositories of software packages and to make it available to large number of consumers. It manages  locally  mirror  or as a part of a repository and also host own software packages in repositories and manage content from multiple sources in one place.  Pulp manages the repositories using its REST API and command line interface .


Pulp will operates with 3 main components;  server, agent and client.

  • Server: it is the main application server which stores data and distributes the content.
  • Agent: it mainly runs on consumers and it communicates with server for remote content management.
  • Client: it is a command line component which is divide into : admin-client – one which manages the server and consumer-client  – the one which manages the consumer’s relationship with the server.
  • Install the pulp repo using the command
# wget  https://repos.fedorapeople.org/repos/pulp/pulp/rhel6-pulp.repo# wget http://repos.fedorapeople.org/repos/pulp/pulp/rhel-pulp.repo
  • Install the  EPEL repo using command
#  yum install http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  • Install MongoDB : For pulp server installation we need MongoDB installed. After installing it must be configured to start on boot and start it.
#  yum install mongodb-server#  systemctl enable mongod#  systemctl start mongod
  • Install Qpid : pulp uses a message bus Qpid . pulp will work with Qpid or RabbitMQ, but by default Qpid is used by the pulp. Qpid on yum based systems can be installed using command :
#  yum install qpid-cpp-server qpid-cpp-server-linearstore# systemctl enable qpidd# systemctl start qpidd.
  1. Install and configure pulp server :
  • Install the pulp server, task workers and their dependencies using the command 
# yum install pulp-server python-gofer-qpid python-qpid qpid-tools
  • Also install the support of different content through plugins using the command :
# yum install pulp-rpm-plugins pulp-puppet-plugins pulp-docker-plugins
  • Edit the configuration file /etc/pulp/server.conf if needed.
  • Generate RSA key pair and CA certificate as 
pulp key pair.PNGpulp ca cert.PNG
  • Initialize the pulp database first ensure that the broker is running before initilaising pulp’s database as 
  • Then initialize the pulp’s database as 
  • Then restart the httpd service as
# systemctl restart httpd
  • Then we need to configure the web server to refuse SSLv3.0 ,by editing the /etc/httpd/conf.d/ssl.conf as 
  • Then start httpd and set it to start it on boot as 
1 - Copy.PNG
  • Pulp has a distributed task system which uses celery stsrt it by configuring , enabling and starting the pulp server. Configuring workers can be done by editing /etc/default/pulp_workers. It can be enabled and started using the command . 
  • There are 2 more services need to be running : celerybeat process and pulp_resource _manager. These has to be enabled and started using the command as         

Celerybeat is edited as 


          Then it is enabled and started as 


          Pulp_resource_manager is enabled and started as 

  1. Install pulp admin client:

Pulp admin clieny is used for administrative commands on pulp server such as manipulation of repositories and content . it can be accessed through pulp_admin script.

  • Install the admin client and plugin packages as
# yum install pulp-admin-client pulp-rpm-admin-extensions \pulp-puppet-admin-extensions pulp-docker-admin-extensions
  • Then edit the admin configuration file /etc/pulp/admin/admin.conf as 
  1. Install consumer client and agent : 

Consumer client is present on all the systems which acts as a pulp server ,it provides themeans for a sysytem to register and configure itself eith pulp server. Pulp consumer commands are accessed through pulp-consumer script.

  • Install pulp consumer client , agent packages and Qpid specific consumer dependencies using the command 
# yum install pulp-consumer-client pulp-rpm-consumer-extensions \pulp-puppet-consumer-extensions pulp-agent pulp-rpm-handlers pulp-rpm-yumplugins \pulp-puppet-handlers python-gofer-qpid
  • Then, update the consumer client configuration in /etc/pulp/consumer/consumer.conf file as 
  • Then set the agent to start it on boot as 

1 Comment on "PULP (v-2.16.4)"

Leave a comment

Your email address will not be published.