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.
Edit the configuration file /etc/pulp/server.conf if needed.
Generate RSA key pair and CA certificate as
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
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
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.
Then edit the admin configuration file /etc/pulp/admin/admin.conf as
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