<html><head><title></title></head><body><!-- rte-version 0.2 9947551637294008b77bce25eb683dac --><div class="rte-style-maintainer rte-pre-wrap" data-color="global-default" bbg-color="default" data-bb-font-size="medium"bbg-font-size="medium" style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; color: rgb(0, 0, 0);">Thanks, Mike. Two questions:<div>1) Is the advantage of manual configuration to have a independent slave redis rather than sharing the same redis?</div><div>2) Does the example configuration described in <a spellcheck="false" bbg-destination="rte:bind" data-destination="rte:bind"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> still need additional manual work that your mentioned or this example works in the latest 3.17 release? </div><div> <div><br><br><div class="rte-style-maintainer" data-color="global-default"bbg-color="default" data-bb-font-size="medium" bbg-font-size="medium" style="font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"style="font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; color: rgb(0, 0, 0);"><div><div class="bbg-rte-fold-content" data-header="From: mikedep333@redhat.com At: 02/28/22 13:52:36 UTC-5:00"data-digest="From: mikedep333@redhat.com At: 02/28/22 13:52:36 UTC-5:00" style=""><div class="bbg-rte-fold-summary">From: mikedep333@redhat.com At: 02/28/22 13:52:36 UTC-5:00</div>To: <a spellcheck="false" bbg-destination="mailto:danny.sauer@konghq.com" href="mailto:danny.sauer@konghq.com"> danny.sauer@konghq.com</a><br>Cc: <a spellcheck="false"bbg-destination="mailto:bli111@bloomberg.net" href="mailto:bli111@bloomberg.net"> Bin Li (BLOOMBERG/ 120 PARK ) </a>, <a spellcheck="false"bbg-destination="mailto:pulp-list@redhat.com" href="mailto:pulp-list@redhat.com"> pulp-list@redhat.com</a><br>Subject: Re: [Pulp-list] Pulp 3.15 content only server</div><br></div><div class="rte-internet-block-wrapper" style="background: white; color: black; font-family: Arial, "BB.Proportional"; font-size: small; white-space: normal;"><div class="rte-internet-block"><blockquote><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 spellcheck="false"bbg-destination="rte:bind" class="" href="127.0.0.1:24816"data-destination="rte:bind">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 spellcheck="false" bbg-destination="rte:bind"class="" href="https://docs.pulpproject.org/pulp_installer/customizing/#separate-servers-for-each-and-every-service"data-destination="rte:bind">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 spellcheck="false"bbg-destination="mailto:rte:bind" class="" href="mailto:danny.sauer@konghq.com" data-destination="mailto:rte:bind">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 spellcheck="false"bbg-destination="mailto:rte:bind" class="" href="mailto:bli111@bloomberg.net" data-destination="mailto:rte:bind">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 style="font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; white-space: pre-wrap;">  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>_______________________________________________<br>Pulp-list mailing list<br><a spellcheck="false"bbg-destination="mailto:rte:bind" class="" href="mailto:Pulp-list@redhat.com" data-destination="mailto:rte:bind">Pulp-list@redhat.com</a><br><a spellcheck="false"bbg-destination="rte:bind" class="" href="https://listman.redhat.com/mailman/listinfo/pulp-list"data-destination="rte:bind">https://listman.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div> _______________________________________________<br>Pulp-list mailing list<br><a spellcheck="false"bbg-destination="mailto:rte:bind" class="" href="mailto:Pulp-list@redhat.com" data-destination="mailto:rte:bind">Pulp-list@redhat.com</a><br><a spellcheck="false"bbg-destination="rte:bind" class="" href="https://listman.redhat.com/mailman/listinfo/pulp-list"data-destination="rte:bind">https://listman.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div><br><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></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 style="margin: 0px;"spellcheck="false" bbg-destination="https://www.redhat.com/" class="" href="https://www.redhat.com/" data-destination="https://www.redhat.com/">Red Hat</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 spellcheck="false" bbg-destination="https://www.redhat.com/" class="" href="https://www.redhat.com/"data-destination="https://www.redhat.com/"><img src="https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/f5445ae0c9ddafd5b2f1836854d7416a/Logo-RedHat-Email.png"style="width: 90px;" width="90"></a></td></tr></tbody></table></div></div></div></blockquote><br></div></div></div></div></div></div></body></html>