Project

General

Profile

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
<img src="<%=request.getContextPath()%>/metacat-logo.png"
43
	width="100px" align="right" />
44
<h2>Replication Configuration</h2>
45
46
<p>Manage Metacat Replication</p>
47
48
<h3>Timed Replication</h3>
49
<hr class="config-line">
50
51
<form action="<%=request.getContextPath()%>/admin" method="POST" target="bottom">
52
53
	<div class="form-row">
54 6674 leinfelder
		<img class="question-mark" src="<%=request.getContextPath()%>/style/images/question-mark.gif"
55 6672 leinfelder
			onClick="helpWindow('<%= request.getContextPath() %>','metacat-configure.html#replication')"/>
56
		<div class="textinput-label">
57
			<label for="rate" title="Rate">Delta T (milliseconds)</label>
58
		</div>
59
		<input class="textinput"
60
			id="rate"
61
			name="rate"
62
			value="172800000"/>
63
	</div>
64
	<div class="form-row">
65 6674 leinfelder
		<img class="question-mark" src="<%=request.getContextPath()%>/style/images/question-mark.gif"
66 6672 leinfelder
			onClick="helpWindow('<%= request.getContextPath() %>','metacat-configure.html#replication')"/>
67
		<div class="textinput-label">
68
			<label for="firsttime" title="First Time (The format should be 10:00 AM)">First Time</label>
69
		</div>
70
		<input class="textinput"
71
			id="firsttime"
72
			name="firsttime"
73
			value="10:00 PM"/>
74
	</div>
75
	<div class="form-row">
76 6674 leinfelder
		<img class="question-mark" src="<%=request.getContextPath()%>/style/images/question-mark.gif"
77 6672 leinfelder
			onClick="helpWindow('<%= request.getContextPath() %>','metacat-configure.html#replication')"/>
78
		<div class="textinput-label">
79
			<label for="action" title="Action">Timer</label>
80
		</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
93
	</div>
94
95
	<input type="hidden" name="configureType" value="replication">
96
	<input type="submit" value="Submit" target="bottom">
97
98
</form>
99
100
<h3>Replicate Now</h3>
101
<hr class="config-line">
102
103
<table border="0" cellpadding="4" cellspacing="0" width="100%" class="tablepanel">
104
	<tr>
105
		<td>
106
		<form action="<%=request.getContextPath()%>/admin" method="POST" target="bottom">
107
			<input type="hidden" name="action" value="getall">
108
			<input type="hidden" name="configureType" value="replication">
109
			<input type="submit" value="Get All" target="bottom">
110
			bring all updated documents from remote hosts to this server
111
		</form>
112
		</td>
113
	</tr>
114
</table>
115
116
<h3>Servers</h3>
117
<hr class="config-line">
118
119
<form action="<%=request.getContextPath()%>/admin" method="POST" target="bottom">
120
	<div class="form-row">
121 6674 leinfelder
		<img class="question-mark" src="<%=request.getContextPath()%>/style/images/question-mark.gif"
122 6672 leinfelder
			onClick="helpWindow('<%= request.getContextPath() %>','metacat-configure.html#replication')"/>
123
		<div class="textinput-label">
124
			<label for="subaction" title="Action">&nbsp;</label>
125
		</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
138
	</div>
139
	<div class="form-row">
140 6674 leinfelder
		<img class="question-mark" src="<%=request.getContextPath()%>/style/images/question-mark.gif"
141 6672 leinfelder
			onClick="helpWindow('<%= request.getContextPath() %>','metacat-configure.html#replication')"/>
142
		<div class="textinput-label">
143
			<label for="server" title="Server">Server</label>
144
		</div>
145
		<input class="textinput"
146
			id="server"
147
			name="server"
148
			value=""/>
149
	</div>
150
	<div class="form-row">
151 6674 leinfelder
		<img class="question-mark" src="<%=request.getContextPath()%>/style/images/question-mark.gif"
152 6672 leinfelder
			onClick="helpWindow('<%= request.getContextPath() %>','metacat-configure.html#replication')"/>
153
		<div class="textinput-label">
154
			<label for="replicate" title="Replicate">Replicate metadata?</label>
155
		</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
168
	</div>
169
	<div class="form-row">
170 6674 leinfelder
		<img class="question-mark" src="<%=request.getContextPath()%>/style/images/question-mark.gif"
171 6672 leinfelder
			onClick="helpWindow('<%= request.getContextPath() %>','metacat-configure.html#replication')"/>
172
		<div class="textinput-label">
173
			<label for="datareplicate" title="Replicate data">Replicate data?</label>
174
		</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
187
	</div>
188
	<div class="form-row">
189 6674 leinfelder
		<img class="question-mark" src="<%=request.getContextPath()%>/style/images/question-mark.gif"
190 6672 leinfelder
			onClick="helpWindow('<%= request.getContextPath() %>','metacat-configure.html#replication')"/>
191
		<div class="textinput-label">
192
			<label for="hub" title="Hub">Localhost is a hub?</label>
193
		</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
206
	</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
212
</form>
213
214
<br/>
215
216
<a
217
	href="<%=request.getContextPath()%>/admin?configureType=replication&action=servercontrol&subaction=list"
218
	target="bottom">Refresh Server List</a>
219
220
<br/>
221
222
<a href="<%=request.getContextPath()%>/admin" target="_top">Return to main configuration</a>
223
224
<%@ include file="./footer-section.jsp"%>
225
226
</body>
227
</html>