1 |
6672
|
leinfelder
|
<!DOCTYPE html PUBLIC "-//W3C//DTD html 4.0//EN">
|
2 |
|
|
<!--
|
3 |
|
|
* '$RCSfile$'
|
4 |
|
|
* Authors: Chad Berkley
|
5 |
|
|
* Copyright: 2000 Regents of the University of California and the
|
6 |
|
|
* National Center for Ecological Analysis and Synthesis
|
7 |
|
|
* For Details: http://www.nceas.ucsb.edu/
|
8 |
|
|
*
|
9 |
|
|
* '$Author$'
|
10 |
|
|
* '$Date$'
|
11 |
|
|
* '$Revision$'
|
12 |
|
|
*
|
13 |
|
|
* This is an HTML document for loading an xml document into Oracle
|
14 |
|
|
*
|
15 |
|
|
* This program is free software; you can redistribute it and/or modify
|
16 |
|
|
* it under the terms of the GNU General Public License as published by
|
17 |
|
|
* the Free Software Foundation; either version 2 of the License, or
|
18 |
|
|
* (at your option) any later version.
|
19 |
|
|
*
|
20 |
|
|
* This program is distributed in the hope that it will be useful,
|
21 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
22 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
23 |
|
|
* GNU General Public License for more details.
|
24 |
|
|
*
|
25 |
|
|
* You should have received a copy of the GNU General Public License
|
26 |
|
|
* along with this program; if not, write to the Free Software
|
27 |
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
28 |
|
|
-->
|
29 |
|
|
<html>
|
30 |
|
|
<head>
|
31 |
|
|
|
32 |
|
|
<title>Replication Configuration</title>
|
33 |
|
|
<link rel="stylesheet" type="text/css"
|
34 |
|
|
href="<%=request.getContextPath()%>/admin/admin.css"></link>
|
35 |
|
|
<script language="JavaScript" type="text/JavaScript"
|
36 |
|
|
src="<%=request.getContextPath()%>/admin/admin.js"></script>
|
37 |
|
|
|
38 |
|
|
</head>
|
39 |
|
|
<body>
|
40 |
|
|
<%@ include file="./header-section.jsp"%>
|
41 |
|
|
|
42 |
8203
|
walker
|
<img src="<%=request.getContextPath()%>/metacat-logo-darkgray.png"
|
43 |
6672
|
leinfelder
|
width="100px" align="right" />
|
44 |
|
|
<h2>Replication Configuration</h2>
|
45 |
|
|
|
46 |
|
|
<p>Manage Metacat Replication</p>
|
47 |
|
|
|
48 |
|
|
<h3>Timed Replication</h3>
|
49 |
|
|
|
50 |
|
|
<form action="<%=request.getContextPath()%>/admin" method="POST" target="bottom">
|
51 |
|
|
|
52 |
|
|
<div class="form-row">
|
53 |
|
|
<div class="textinput-label">
|
54 |
|
|
<label for="rate" title="Rate">Delta T (milliseconds)</label>
|
55 |
|
|
</div>
|
56 |
|
|
<input class="textinput"
|
57 |
|
|
id="rate"
|
58 |
|
|
name="rate"
|
59 |
|
|
value="172800000"/>
|
60 |
8203
|
walker
|
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png"
|
61 |
|
|
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/>
|
62 |
6672
|
leinfelder
|
</div>
|
63 |
|
|
<div class="form-row">
|
64 |
|
|
<div class="textinput-label">
|
65 |
|
|
<label for="firsttime" title="First Time (The format should be 10:00 AM)">First Time</label>
|
66 |
|
|
</div>
|
67 |
|
|
<input class="textinput"
|
68 |
|
|
id="firsttime"
|
69 |
|
|
name="firsttime"
|
70 |
|
|
value="10:00 PM"/>
|
71 |
8203
|
walker
|
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png"
|
72 |
|
|
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/>
|
73 |
6672
|
leinfelder
|
</div>
|
74 |
8203
|
walker
|
<div class="clear"></div>
|
75 |
6672
|
leinfelder
|
<div class="form-row">
|
76 |
|
|
<div class="textinput-label">
|
77 |
|
|
<label for="action" title="Action">Timer</label>
|
78 |
|
|
</div>
|
79 |
8203
|
walker
|
<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')"/>
|
99 |
6672
|
leinfelder
|
</div>
|
100 |
8203
|
walker
|
<div class="buttons-wrapper">
|
101 |
|
|
<input type="hidden" name="configureType" value="replication">
|
102 |
|
|
<input type="submit" value="Submit" target="bottom">
|
103 |
|
|
</div>
|
104 |
6672
|
leinfelder
|
</form>
|
105 |
|
|
|
106 |
|
|
<h3>Replicate Now</h3>
|
107 |
|
|
|
108 |
|
|
<table border="0" cellpadding="4" cellspacing="0" width="100%" class="tablepanel">
|
109 |
|
|
<tr>
|
110 |
|
|
<td>
|
111 |
|
|
<form action="<%=request.getContextPath()%>/admin" method="POST" target="bottom">
|
112 |
|
|
<input type="hidden" name="action" value="getall">
|
113 |
|
|
<input type="hidden" name="configureType" value="replication">
|
114 |
|
|
<input type="submit" value="Get All" target="bottom">
|
115 |
|
|
bring all updated documents from remote hosts to this server
|
116 |
|
|
</form>
|
117 |
|
|
</td>
|
118 |
|
|
</tr>
|
119 |
|
|
</table>
|
120 |
|
|
|
121 |
|
|
<h3>Servers</h3>
|
122 |
|
|
|
123 |
|
|
<form action="<%=request.getContextPath()%>/admin" method="POST" target="bottom">
|
124 |
8203
|
walker
|
<div class="clear"></div>
|
125 |
6672
|
leinfelder
|
<div class="form-row">
|
126 |
|
|
<div class="textinput-label">
|
127 |
|
|
<label for="subaction" title="Action"> </label>
|
128 |
|
|
</div>
|
129 |
8203
|
walker
|
<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')"/>
|
149 |
6672
|
leinfelder
|
</div>
|
150 |
|
|
<div class="form-row">
|
151 |
|
|
<div class="textinput-label">
|
152 |
|
|
<label for="server" title="Server">Server</label>
|
153 |
|
|
</div>
|
154 |
|
|
<input class="textinput"
|
155 |
|
|
id="server"
|
156 |
|
|
name="server"
|
157 |
|
|
value=""/>
|
158 |
8203
|
walker
|
<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png"
|
159 |
|
|
onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/>
|
160 |
6672
|
leinfelder
|
</div>
|
161 |
8203
|
walker
|
<div class="clear"></div>
|
162 |
6672
|
leinfelder
|
<div class="form-row">
|
163 |
|
|
<div class="textinput-label">
|
164 |
|
|
<label for="replicate" title="Replicate">Replicate metadata?</label>
|
165 |
|
|
</div>
|
166 |
8203
|
walker
|
<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')"/>
|
186 |
6672
|
leinfelder
|
</div>
|
187 |
8203
|
walker
|
<div class="clear"></div>
|
188 |
6672
|
leinfelder
|
<div class="form-row">
|
189 |
|
|
<div class="textinput-label">
|
190 |
|
|
<label for="datareplicate" title="Replicate data">Replicate data?</label>
|
191 |
|
|
</div>
|
192 |
8203
|
walker
|
<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')"/>
|
212 |
6672
|
leinfelder
|
</div>
|
213 |
8203
|
walker
|
<div class="clear"></div>
|
214 |
6672
|
leinfelder
|
<div class="form-row">
|
215 |
|
|
<div class="textinput-label">
|
216 |
|
|
<label for="hub" title="Hub">Localhost is a hub?</label>
|
217 |
|
|
</div>
|
218 |
8203
|
walker
|
<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')"/>
|
238 |
6672
|
leinfelder
|
</div>
|
239 |
8203
|
walker
|
<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>
|
244 |
6672
|
leinfelder
|
</form>
|
245 |
|
|
|
246 |
7346
|
leinfelder
|
<h3>Hazelcast Synchronization</h3>
|
247 |
|
|
|
248 |
|
|
<table border="0" cellpadding="4" cellspacing="0" width="100%" class="tablepanel">
|
249 |
|
|
<tr>
|
250 |
|
|
<td>
|
251 |
|
|
<form action="<%=request.getContextPath()%>/admin" method="POST" target="bottom">
|
252 |
|
|
<input type="hidden" name="action" value="resynchSystemMetadata">
|
253 |
|
|
<input type="hidden" name="configureType" value="replication">
|
254 |
|
|
<input type="submit" value="Resynch" target="bottom">
|
255 |
|
|
Bring all missing System Metadata from remote hosts to this server
|
256 |
|
|
</form>
|
257 |
|
|
</td>
|
258 |
|
|
</tr>
|
259 |
|
|
</table>
|
260 |
|
|
|
261 |
6672
|
leinfelder
|
<br/>
|
262 |
|
|
|
263 |
|
|
<a
|
264 |
|
|
href="<%=request.getContextPath()%>/admin?configureType=replication&action=servercontrol&subaction=list"
|
265 |
|
|
target="bottom">Refresh Server List</a>
|
266 |
|
|
|
267 |
|
|
<br/>
|
268 |
|
|
|
269 |
|
|
<a href="<%=request.getContextPath()%>/admin" target="_top">Return to main configuration</a>
|
270 |
|
|
|
271 |
|
|
<%@ include file="./footer-section.jsp"%>
|
272 |
|
|
|
273 |
|
|
</body>
|
274 |
|
|
</html>
|