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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<div>
<div class="clear">
<div class="formLabel-labelCell tableContainer-labelCell">Replication Group*:</div>
<div class="formLabel-controlCell tableContainer-valueCell">
<input type="text" id="editVirtualHostNode.groupName"
data-dojo-type="dijit/form/ValidationTextBox"
data-dojo-props="
name: 'groupName',
placeHolder: 'Group Name',
required: true,
disabled: true,
missingMessage: 'A group name must be supplied',
title: 'Enter group name'" />
</div>
</div>
<div class="clear">
<div class="formLabel-labelCell tableContainer-labelCell">Address*:</div>
<div class="formLabel-controlCell tableContainer-valueCell">
<input type="text" id="editVirtualHostNode.address"
data-dojo-type="dijit/form/ValidationTextBox"
data-dojo-props="
name: 'address',
placeHolder: 'host:port',
required: true,
disabled: true,
missingMessage: 'A Host and Port must be supplied',
invalidMessage: 'Must be of the form host:port',
title: 'Enter Host and Port name'" />
</div>
</div>
<div class="clear">
<div class="formLabel-labelCell tableContainer-labelCell">Configuration store path:</div>
<div class="formLabel-controlCell tableContainer-valueCell">
<input type="text" id="editVirtualHostNode.storePath"
data-dojo-type="dijit/form/ValidationTextBox"
data-dojo-props="
name: 'storePath',
placeHolder: 'path/to/store',
title: 'Enter configuration store path'" />
</div>
</div>
<div class="clear">
<div class="formLabel-labelCell tableContainer-labelCell">Allow this node to operate solo: </div>
<div class="formLabel-controlCell tableContainer-valueCell">
<input type="checkbox" id="editVirtualHostNode.designatedPrimary" checked="checked"
data-dojo-type="dijit/form/CheckBox"
data-dojo-props="
name: 'designatedPrimary',
required: false,
title: 'Designate node as primary. It is applicable only to 2-nodes cluster'" />
</div>
</div>
<div class="clear">
<div class="formLabel-labelCell tableContainer-labelCell">Election priority of this node: </div>
<div class="formLabel-controlCell tableContainer-valueCell">
<div data-dojo-type="dojo/store/Memory" data-dojo-id="nodePriorityStore"
data-dojo-props="data: [
{id: '0', name: 'Never'},
{id: '1', name: 'Default', selected: '1'},
{id: '2', name: 'Normal'},
{id: '3', name: 'High'}
]"></div>
<input id="editVirtualHostNode.priority" data-dojo-type="dijit/form/FilteringSelect" value="1"
data-dojo-props="
name: 'priority',
required: false,
title: 'Select node priority for election as a Master',
store: nodePriorityStore,
searchAttr: 'name'" />
</div>
</div>
<div class="clear">
<div class="formLabel-labelCell tableContainer-labelCell">Required minimum number of nodes: </div>
<div class="formLabel-controlCell tableContainer-valueCell">
<div data-dojo-type="dojo/store/Memory" data-dojo-id="nodeQuorumOverrideStore"
data-dojo-props="data: [{id: '0', name: 'Majority', selected: '1'}]"></div>
<input type="text" id="editVirtualHostNode.quorumOverride"
data-dojo-type="dijit/form/FilteringSelect" value="0"
data-dojo-props="
name: 'quorumOverride',
required: false,
title: 'Enter quorum override. 0 signifies simple majority',
store: nodeQuorumOverrideStore,
searchAttr: 'name'" />
</div>
</div>
<div class="clear"></div>
</div>
|