<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><font size="2"><font face="Arial">Attached is an excerpt from our two node (active/passive) Web cluster. We are currently launching uWSGI via the ocf:heartbeat:anything RA (see
 below).</font><br>
<br>
<font face="Arial">I would like to make some slight changes to the &quot;cmdline_options&quot; argument on our running cluster... (via &quot;crm configure edit&quot;)</font></font>
<div><font face="Arial" size="2"><br>
</font></div>
<div><font face="Arial" size="2">Do I need to stop the&nbsp;</font><span style="font-family: 'Courier New'; font-size: small;">resWSGI</span><span style="font-family: Arial; font-size: small;">&nbsp;resource
<i>first</i> before making this type of change? Does it matter that it's in a co-located resource group? I am not sure if the best approach is to remove it from the group, stop/delete, and re-add with the adjusted&nbsp;</span><span style="font-family: 'Courier New'; font-size: small;">cmdline_options</span><span style="font-family: Arial; font-size: small;">&nbsp;or
 if heatbeat:anything RA allows adjusting said arguments on-the-fly?</span></div>
<div><span style="font-family: Arial; font-size: small;"><br>
</span></div>
<div><font face="Arial" size="2">Appreciate any advice on best practices when updating against currently running cluster. I have read about setting&nbsp;</font><font size="2" face="Courier New">maintenance-mode=true</font><font face="Arial" size="2"> during planned
 maintenance like this (to prevent failover, etc), but I wanted to confirm the best approach when changing&nbsp;existing resources vs. adding new ones, especially when grouped.</font></div>
<div>
<div><br>
</div>
<div><font size="2"><br>
</font><span style="font-family: 'Courier New'; font-size: small;">...</span></div>
<div><font size="2"><font face="Courier New"><br>
primitive resFS ocf:heartbeat:Filesystem \<br>
params device=&quot;/dev/drbd/by-res/repdata&quot; directory=&quot;/data&quot; fstype=&quot;ext4&quot; \<br>
op monitor interval=&quot;120s&quot;<br>
<br>
primitive resPROXY ocf:heartbeat:nginx \<br>
params conffile=&quot;/etc/nginx/nginx.conf&quot; \<br>
op monitor interval=&quot;60s&quot; \<br>
op start interval=&quot;0&quot; timeout=&quot;40&quot;<br>
<br>
primitive resWSGI ocf:heartbeat:anything \<br>
<br>
params binfile=&quot;/usr/local/bin/uwsgi&quot; cmdline_options=&quot;--emperor /etc/uwsgi/apps-enabled/ --emperor-pidfile /var/run/uwsgi.pid --catch-exceptions --daemonize /var/log/uwsgi.log --enable-threads&quot; pidfile=&quot;/var/run/uwsgi.pid&quot; \<br>
op start interval=&quot;0&quot; timeout=&quot;20&quot; \<br>
op stop interval=&quot;0&quot; timeout=&quot;30&quot; \<br>
op monitor interval=&quot;20&quot; \<br>
meta target-role=&quot;Started&quot;<br>
<br>
group web resFS resWSGI resPROXY</font></font></div>
</div>
<div><font size="2"><font face="Courier New"><br>
</font></font></div>
<div><span style="font-family: 'Courier New'; font-size: small;">...</span></div>
<div><font size="2"><font face="Courier New"><br>
</font></font></div>
<div><font size="2"><font face="Courier New">colocation web_on_drbd inf: web msDRBD:Master</font></font></div>
<div><font size="2"><font face="Courier New"><br>
</font></font></div>
<div><span style="font-family: 'Courier New'; font-size: small;">...</span></div>
</div>
<FONT size="2" face="arial"><EM/></FONT></body>
</html>