[Erp5-report] r22278 - /erp5/trunk/products/CMFActivity/dtml/manageLoadBalancing.dtml
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Jul 4 13:31:28 CEST 2008
Author: vincent
Date: Fri Jul 4 13:31:27 2008
New Revision: 22278
URL: http://svn.erp5.org?rev=22278&view=rev
Log:
Add some warnings about known missconfiguration issues which can be easily detected.
Modified:
erp5/trunk/products/CMFActivity/dtml/manageLoadBalancing.dtml
Modified: erp5/trunk/products/CMFActivity/dtml/manageLoadBalancing.dtml
URL: http://svn.erp5.org/erp5/trunk/products/CMFActivity/dtml/manageLoadBalancing.dtml?rev=22278&r1=22277&r2=22278&view=diff
==============================================================================
--- erp5/trunk/products/CMFActivity/dtml/manageLoadBalancing.dtml (original)
+++ erp5/trunk/products/CMFActivity/dtml/manageLoadBalancing.dtml Fri Jul 4 13:31:27 2008
@@ -47,13 +47,56 @@
<form action="&dtml-URL1;">
<table cellspacing="0" cellpadding="2" border="0" width="100%">
+ <dtml-if expr="_.len(getNodeList()) == 0">
+ <tr class="list-header">
+ <td align="left" valign="top" colspan=2>
+ <div class="form-label" style="color: #F00">Warning: No node has been found yet.</div>
+ </td>
+ </tr>
+ <tr>
+ <td align="left" valign="top" colspan=2>
+ <p>
+ This can be the sign of a missconfigured zope.
+ Please make sure you have enabled timerserver in your zope.conf:
+ </p>
+<pre>%import timerserver
+<timer-server>
+ interval 5
+</timer-server></pre>
+ <b>CMFActivity wil not work until at least one node is known.</b>
+ <p>
+ If it is already configured properly, then chances are you accesed
+ this page before timeserver had the chance to trigger, or you just
+ deleted the last known nodes.
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td> </td>
+ <td> </td>
+ </tr>
+ </dtml-if>
<tr class="list-header">
<td align="left" valign="top" colspan=2>
<div class="form-label">This node</div>
</td>
</tr>
<tr>
- <td colspan=2>Current node is <b><dtml-var getCurrentNode></b></td>
+ <td>Current node is <b><dtml-var getCurrentNode></b></td>
+ <dtml-if expr="getCurrentNode() not in getNodeList()">
+ <td align="left" valign="top" colspan=2>
+ <p style="color: #F00"><b>Warning: Current node is not known to distribution system.</b></p>
+ <p>
+ The current node is not registered as an available node on current instance.
+ This can be normal if this node is part of a cluster, but it can also happen
+ if its hostname and/or IP address changed.
+ I the latter case, you must reconfigure this page acordignly, and can safely delete
+ the old IP address if it's still listed on this page.
+ </p>
+ </td>
+ <dtml-else>
+ <td> </td>
+ </dtml-if>
</tr>
<tr>
<td> </td>
More information about the Erp5-report
mailing list