File: cluster-name.ejs

package info (click to toggle)
rabbitmq-server 3.3.5-1.1
  • links: PTS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 12,004 kB
  • sloc: erlang: 78,203; python: 3,187; xml: 2,843; makefile: 903; sh: 831; java: 660; perl: 64; ruby: 63
file content (31 lines) | stat: -rw-r--r-- 1,020 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<h1>Cluster name: <b><%= fmt_string(cluster_name.name) %></b></h1>

<p>
  The cluster name can be used by clients to identify clusters over
  AMQP connections, and is used by the shovel and federation plugins
  to identify which clusters a message has been routed through.
</p>
<p>
  Note that the cluster name is announced to clients in the AMQP
  server properties; i.e. before authentication has taken
  place. Therefore it should not be considered secret.
</p>
<p>
  The cluster name is generated by default from the name of the first
  node in the cluster, but can be changed.
</p>

<div class="section-hidden">
  <h2>Change name</h2>
  <div class="hider">
    <form action="#/cluster-name" method="put">
      <table class="form">
        <tr>
          <th><label>Name:</label></th>
          <td><input type="text" name="name" value="<%= fmt_string(cluster_name.name) %>"/><span class="mand">*</span></td>
        </tr>
      </table>
      <input type="submit" value="Change name"/>
    </form>
  </div>
</div>