<div dir="ltr">Hi Bin,<div><br></div><div>Using the Pulp3 Ansible Installer, we do not support a read-only server like you want. The installer could be extended to support it, as pulp 3 does support it, but we do not currently support it and overcoming #7 below would be time-consuming.</div><div><br></div><div>The closest you can do with the current installer (or 3.15's installer) is:</div><div>1. Run pulp_content and pulp_webserver against this server. </div><div>2. You would configure pulp_webserver to talk only to that pulp_content instance by leaving pulp_content_bind at its default of "<a href="http://127.0.0.1:24816">127.0.0.1:24816</a>" for this host (or use a unix domain socket).</div><div>3. You'd have to point to another pulp_api server (pulp_api_bind) and redis (pulp_settings.redis_host).</div><div><br></div><div>Additionally, with manual configuration you can accomplish what you want:</div><div>4. Manually install & configure the redis instance to be a replica. See our pulp_redis role on how to install it and how to configure it to listen on the network: it is relatively simple to read & understand. You should actually do this before running pulp_content and pulp_webserver.</div><div>5. When running the installer against this host, pulp_settings.redis_host defaults to `localhost`, which is what you'd want instead of pointing to another pulp_redis server (contradicts #3).<br></div><div>6. After running the installer, manually adjust the apache/nginx config files (nginx.conf & pulp-vhost.conf) placed by pulp_webserver to not talk to any pulp-api server. pulp_webserver's  pulp_content_bind variable defaults to localhost, which makes things easier.)</div><div>7. After running the installer, manually adjust the webserver snippets from plugins (e.g., pulp_container.conf) to not talk to any API server.</div><div><br></div><div>See <a href="https://docs.pulpproject.org/pulp_installer/customizing/#separate-servers-for-each-and-every-service">https://docs.pulpproject.org/pulp_installer/customizing/#separate-servers-for-each-and-every-service</a> for a different example of multiple hosts, each host having a roles lists & variables.</div><div><br></div><div>-Mike</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 27, 2022 at 4:40 PM Danny Sauer <<a href="mailto:danny.sauer@konghq.com">danny.sauer@konghq.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">You can definitely run multiple content servers as long as they all have access to the DB and files are available in the same path.<div dir="auto"><br></div><div dir="auto">--Danny</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 27, 2022, 12:23 PM Bin Li (BLOOMBERG/ 120 PARK) <<a href="mailto:bli111@bloomberg.net" target="_blank">bli111@bloomberg.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="white-space:pre-wrap;font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth"">  Just wondering if there is a documented procedure to configure additional content only server. Will it work if I only run 3 roles below and config redis as slave of the primary server? We share the external db and rsync the /var/lob/pulp/media/artifact.<div><br><div><div>  - pulp_content</div><div>  - pulp_redis</div></div></div><div>  - pulp_webserver</div><div><br></div><div>Thanks</div></div></div>_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" rel="noreferrer" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://listman.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer noreferrer" target="_blank">https://listman.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div>
_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://listman.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://listman.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:capitalize"><span>Mike</span> <span>DePaulo</span><span style="text-transform:uppercase;color:rgb(170,170,170);margin:0px"></span></p><p style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-size:12px;margin:0px 0px 4px;text-transform:capitalize">He / Him / His</p><p style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-size:12px;margin:0px;text-transform:capitalize"><span>Service Reliability Engineer, Pulp</span></p><p style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;margin:0px 0px 4px;font-size:12px"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat<span></span></a></p><div style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-size:medium;margin-bottom:4px"></div><p style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;margin:0px;font-size:12px"><span>IM: <span>mikedep333</span></span></p><p style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-size:12px;margin:0px"><span>GPG: 51745404</span></p><div style="color:rgb(0,0,0);font-family:RedHatText,sans-serif;font-size:medium;margin-top:12px"><table border="0"><tbody><tr><td width="100px"><a href="https://www.redhat.com/" target="_blank"><img src="https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/f5445ae0c9ddafd5b2f1836854d7416a/Logo-RedHat-Email.png" width="90" height="auto"></a></td></tr></tbody></table></div></div></div>