Revision 8203
Added by Lauren Walker over 11 years ago
replication-configuration-include.jsp | ||
---|---|---|
39 | 39 |
<body> |
40 | 40 |
<%@ include file="./header-section.jsp"%> |
41 | 41 |
|
42 |
<img src="<%=request.getContextPath()%>/metacat-logo.png" |
|
42 |
<img src="<%=request.getContextPath()%>/metacat-logo-darkgray.png"
|
|
43 | 43 |
width="100px" align="right" /> |
44 | 44 |
<h2>Replication Configuration</h2> |
45 | 45 |
|
46 | 46 |
<p>Manage Metacat Replication</p> |
47 | 47 |
|
48 | 48 |
<h3>Timed Replication</h3> |
49 |
<hr class="config-line"> |
|
50 | 49 |
|
51 | 50 |
<form action="<%=request.getContextPath()%>/admin" method="POST" target="bottom"> |
52 | 51 |
|
53 | 52 |
<div class="form-row"> |
54 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
55 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
56 | 53 |
<div class="textinput-label"> |
57 | 54 |
<label for="rate" title="Rate">Delta T (milliseconds)</label> |
58 | 55 |
</div> |
... | ... | |
60 | 57 |
id="rate" |
61 | 58 |
name="rate" |
62 | 59 |
value="172800000"/> |
60 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
61 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
63 | 62 |
</div> |
64 | 63 |
<div class="form-row"> |
65 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
66 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
67 | 64 |
<div class="textinput-label"> |
68 | 65 |
<label for="firsttime" title="First Time (The format should be 10:00 AM)">First Time</label> |
69 | 66 |
</div> |
... | ... | |
71 | 68 |
id="firsttime" |
72 | 69 |
name="firsttime" |
73 | 70 |
value="10:00 PM"/> |
71 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
72 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
74 | 73 |
</div> |
74 |
<div class="clear"></div> |
|
75 | 75 |
<div class="form-row"> |
76 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
77 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
78 | 76 |
<div class="textinput-label"> |
79 | 77 |
<label for="action" title="Action">Timer</label> |
80 | 78 |
</div> |
81 |
<input |
|
82 |
type= radio |
|
83 |
class="textinput" |
|
84 |
id="action" |
|
85 |
name="action" |
|
86 |
value="start"/>Start |
|
87 |
<input |
|
88 |
type= radio |
|
89 |
class="textinput" |
|
90 |
id="action" |
|
91 |
name="action" |
|
92 |
value="stop"/>Stop |
|
79 |
<div class="radio-wrapper"> |
|
80 |
<input |
|
81 |
type= radio |
|
82 |
class="textinput" |
|
83 |
id="action" |
|
84 |
name="action" |
|
85 |
value="start"/> |
|
86 |
<span>Start</span> |
|
87 |
</div> |
|
88 |
<div class="radio-wrapper"> |
|
89 |
<input |
|
90 |
type= radio |
|
91 |
class="textinput" |
|
92 |
id="action" |
|
93 |
name="action" |
|
94 |
value="stop"/> |
|
95 |
<span>Stop</span> |
|
96 |
</div> |
|
97 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
98 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
93 | 99 |
</div> |
94 |
|
|
95 |
<input type="hidden" name="configureType" value="replication"> |
|
96 |
<input type="submit" value="Submit" target="bottom"> |
|
97 |
|
|
100 |
<div class="buttons-wrapper"> |
|
101 |
<input type="hidden" name="configureType" value="replication">
|
|
102 |
<input type="submit" value="Submit" target="bottom">
|
|
103 |
</div> |
|
98 | 104 |
</form> |
99 | 105 |
|
100 | 106 |
<h3>Replicate Now</h3> |
101 |
<hr class="config-line"> |
|
102 | 107 |
|
103 | 108 |
<table border="0" cellpadding="4" cellspacing="0" width="100%" class="tablepanel"> |
104 | 109 |
<tr> |
... | ... | |
114 | 119 |
</table> |
115 | 120 |
|
116 | 121 |
<h3>Servers</h3> |
117 |
<hr class="config-line"> |
|
118 | 122 |
|
119 | 123 |
<form action="<%=request.getContextPath()%>/admin" method="POST" target="bottom"> |
124 |
<div class="clear"></div> |
|
120 | 125 |
<div class="form-row"> |
121 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
122 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
123 | 126 |
<div class="textinput-label"> |
124 | 127 |
<label for="subaction" title="Action"> </label> |
125 | 128 |
</div> |
126 |
<input |
|
127 |
type= radio |
|
128 |
class="textinput" |
|
129 |
id="subaction" |
|
130 |
name="subaction" |
|
131 |
value="add"/>Add |
|
132 |
<input |
|
133 |
type= radio |
|
134 |
class="textinput" |
|
135 |
id="subaction" |
|
136 |
name="subaction" |
|
137 |
value="delete"/>Remove |
|
129 |
<div class="radio-wrapper"> |
|
130 |
<input |
|
131 |
type= radio |
|
132 |
class="textinput" |
|
133 |
id="subaction" |
|
134 |
name="subaction" |
|
135 |
value="add"/> |
|
136 |
<span>Add</span> |
|
137 |
</div> |
|
138 |
<div class="radio-wrapper"> |
|
139 |
<input |
|
140 |
type= radio |
|
141 |
class="textinput" |
|
142 |
id="subaction" |
|
143 |
name="subaction" |
|
144 |
value="delete"/> |
|
145 |
<span>Remove</span> |
|
146 |
</div> |
|
147 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
148 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
138 | 149 |
</div> |
139 | 150 |
<div class="form-row"> |
140 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
141 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
142 | 151 |
<div class="textinput-label"> |
143 | 152 |
<label for="server" title="Server">Server</label> |
144 | 153 |
</div> |
... | ... | |
146 | 155 |
id="server" |
147 | 156 |
name="server" |
148 | 157 |
value=""/> |
158 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
159 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
149 | 160 |
</div> |
161 |
<div class="clear"></div> |
|
150 | 162 |
<div class="form-row"> |
151 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
152 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
153 | 163 |
<div class="textinput-label"> |
154 | 164 |
<label for="replicate" title="Replicate">Replicate metadata?</label> |
155 | 165 |
</div> |
156 |
<input |
|
157 |
type= radio |
|
158 |
class="textinput" |
|
159 |
id="replicate" |
|
160 |
name="replicate" |
|
161 |
value="1"/>Yes |
|
162 |
<input |
|
163 |
type= radio |
|
164 |
class="textinput" |
|
165 |
id="replicate" |
|
166 |
name="replicate" |
|
167 |
value="0"/>No |
|
166 |
<div class="radio-wrapper"> |
|
167 |
<input |
|
168 |
type= radio |
|
169 |
class="textinput" |
|
170 |
id="replicate" |
|
171 |
name="replicate" |
|
172 |
value="1"/> |
|
173 |
<span>Yes</span> |
|
174 |
</div> |
|
175 |
<div class="radio-wrapper"> |
|
176 |
<input |
|
177 |
type= radio |
|
178 |
class="textinput" |
|
179 |
id="replicate" |
|
180 |
name="replicate" |
|
181 |
value="0"/> |
|
182 |
<span>No</span> |
|
183 |
</div> |
|
184 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
185 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
168 | 186 |
</div> |
187 |
<div class="clear"></div> |
|
169 | 188 |
<div class="form-row"> |
170 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
171 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
172 | 189 |
<div class="textinput-label"> |
173 | 190 |
<label for="datareplicate" title="Replicate data">Replicate data?</label> |
174 | 191 |
</div> |
175 |
<input |
|
176 |
type= radio |
|
177 |
class="textinput" |
|
178 |
id="datareplicate" |
|
179 |
name="datareplicate" |
|
180 |
value="1"/>Yes |
|
181 |
<input |
|
182 |
type= radio |
|
183 |
class="textinput" |
|
184 |
id="datareplicate" |
|
185 |
name="datareplicate" |
|
186 |
value="0"/>No |
|
192 |
<div class="radio-wrapper"> |
|
193 |
<input |
|
194 |
type= radio |
|
195 |
class="textinput" |
|
196 |
id="datareplicate" |
|
197 |
name="datareplicate" |
|
198 |
value="1"/> |
|
199 |
<span>Yes</span> |
|
200 |
</div> |
|
201 |
<div class="radio-wrapper"> |
|
202 |
<input |
|
203 |
type= radio |
|
204 |
class="textinput" |
|
205 |
id="datareplicate" |
|
206 |
name="datareplicate" |
|
207 |
value="0"/> |
|
208 |
<span>No</span> |
|
209 |
</div> |
|
210 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
211 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
187 | 212 |
</div> |
213 |
<div class="clear"></div> |
|
188 | 214 |
<div class="form-row"> |
189 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
190 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
191 | 215 |
<div class="textinput-label"> |
192 | 216 |
<label for="hub" title="Hub">Localhost is a hub?</label> |
193 | 217 |
</div> |
194 |
<input |
|
195 |
type= radio |
|
196 |
class="textinput" |
|
197 |
id="hub" |
|
198 |
name="hub" |
|
199 |
value="1"/>Yes |
|
200 |
<input |
|
201 |
type= radio |
|
202 |
class="textinput" |
|
203 |
id="hub" |
|
204 |
name="hub" |
|
205 |
value="0"/>No |
|
218 |
<div class="radio-wrapper"> |
|
219 |
<input |
|
220 |
type= radio |
|
221 |
class="textinput" |
|
222 |
id="hub" |
|
223 |
name="hub" |
|
224 |
value="1"/> |
|
225 |
<span>Yes</span> |
|
226 |
</div> |
|
227 |
<div class="radio-wrapper"> |
|
228 |
<input |
|
229 |
type= radio |
|
230 |
class="textinput" |
|
231 |
id="hub" |
|
232 |
name="hub" |
|
233 |
value="0"/> |
|
234 |
<span>No</span> |
|
235 |
</div> |
|
236 |
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" |
|
237 |
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/> |
|
206 | 238 |
</div> |
207 |
|
|
208 |
<input type="hidden" name="configureType" value="replication"> |
|
209 |
<input type="hidden" name="action" value="servercontrol"> |
|
210 |
<input type="submit" value="Submit" target="bottom"> |
|
211 |
|
|
239 |
<div class="buttons-wrapper"> |
|
240 |
<input type="hidden" name="configureType" value="replication">
|
|
241 |
<input type="hidden" name="action" value="servercontrol">
|
|
242 |
<input type="submit" value="Submit" target="bottom">
|
|
243 |
</div> |
|
212 | 244 |
</form> |
213 | 245 |
|
214 | 246 |
<h3>Hazelcast Synchronization</h3> |
215 |
<hr class="config-line"> |
|
216 | 247 |
|
217 | 248 |
<table border="0" cellpadding="4" cellspacing="0" width="100%" class="tablepanel"> |
218 | 249 |
<tr> |
Also available in: Unified diff
Redesigned the /admin configuration pages to better match our new MetacatUI design. Looks good in both /context/admin view and the #external view using metacatUI