Project

General

Profile

1
<!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: walker $'
10
  *     '$Date: 2013-09-17 16:17:55 -0700 (Tue, 17 Sep 2013) $'
11
  * '$Revision: 8222 $'
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
<div class="document">
43
	<h2>Replication Configuration</h2>
44
	
45
	<p>Manage Metacat Replication</p>
46
	
47
	<h3>Timed Replication</h3>
48
	
49
	<form action="<%=request.getContextPath()%>/admin" method="POST" target="bottom">
50
	
51
		<div class="form-row">
52
			<div class="textinput-label">
53
				<label for="rate" title="Rate">Delta T (milliseconds)</label>
54
			</div>
55
			<input class="textinput" 
56
				id="rate" 
57
				name="rate" 	             		    	    	           		    	             			
58
				value="172800000"/> 
59
			<i class="icon-question-sign" onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"></i>
60
		</div>
61
		<div class="form-row">
62
			<div class="textinput-label">
63
				<label for="firsttime" title="First Time (The format should be 10:00 AM)">First Time</label>
64
			</div>
65
			<input class="textinput" 
66
				id="firsttime" 
67
				name="firsttime" 	             		    	    	           		    	             			
68
				value="10:00 PM"/> 
69
			<i class="icon-question-sign" onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"></i>
70
		</div>
71
		<div class="clear"></div>
72
		<div class="form-row">
73
			<div class="textinput-label">
74
				<label for="action" title="Action">Timer</label>
75
			</div>
76
			<div class="radio-wrapper">
77
				<input 
78
					type= radio 
79
					class="textinput" 
80
					id="action" 
81
					name="action" 	             		    	    	           		    	             			
82
					value="start"/>
83
					<span>Start</span>
84
			</div>
85
			<div class="radio-wrapper">
86
				<input 
87
					type= radio 
88
					class="textinput" 
89
					id="action" 
90
					name="action" 	             		    	    	           		    	             			
91
					value="stop"/>
92
					<span>Stop</span>
93
			</div>
94
			<i class="icon-question-sign" onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"></i>
95
		</div>
96
		<div class="buttons-wrapper">
97
			<input type="hidden" name="configureType" value="replication">
98
			<input type="submit" value="Submit" target="bottom">
99
		</div>
100
	</form>
101
	
102
	<h3>Replicate Now</h3>
103
	
104
	<table border="0" cellpadding="4" cellspacing="0" width="100%" class="tablepanel">
105
		<tr>
106
			<td>
107
			<form action="<%=request.getContextPath()%>/admin" method="POST" target="bottom">
108
				<input type="hidden" name="action" value="getall"> 
109
				<input type="hidden" name="configureType" value="replication">
110
				<input type="submit" value="Get All" target="bottom">
111
				<p>Bring all updated documents from remote hosts to this server</p>
112
			</form>
113
			</td>
114
		</tr>
115
	</table>
116
	
117
	<h3>Servers</h3>
118
	
119
	<form action="<%=request.getContextPath()%>/admin" method="POST" target="bottom">
120
		<div class="clear"></div>
121
		<div class="form-row">
122
			<div class="textinput-label">
123
				<label for="subaction" title="Action">&nbsp;</label>
124
			</div>
125
			<div class="radio-wrapper">
126
				<input 
127
					type= radio 
128
					class="textinput" 
129
					id="subaction" 
130
					name="subaction" 	             		    	    	           		    	             			
131
					value="add"/>
132
					<span>Add</span>
133
			</div>
134
			<div class="radio-wrapper">
135
				<input 
136
					type= radio 
137
					class="textinput" 
138
					id="subaction" 
139
					name="subaction" 	             		    	    	           		    	             			
140
					value="delete"/>
141
					<span>Remove</span>
142
			</div>
143
			<i class="icon-question-sign" onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"></i>
144
		</div>
145
		<div class="form-row">
146
			<div class="textinput-label">
147
				<label for="server" title="Server">Server</label>
148
			</div>
149
			<input class="textinput" 
150
				id="server" 
151
				name="server" 	             		    	    	           		    	             			
152
				value=""/> 
153
			<i class="icon-question-sign" onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"></i>
154
		</div>
155
		<div class="clear"></div>
156
		<div class="form-row">
157
			<div class="textinput-label">
158
				<label for="replicate" title="Replicate">Replicate metadata?</label>
159
			</div>
160
			<div class="radio-wrapper">
161
				<input 
162
					type= radio 
163
					class="textinput" 
164
					id="replicate" 
165
					name="replicate" 	             		    	    	           		    	             			
166
					value="1"/>
167
					<span>Yes</span>
168
			</div>
169
			<div class="radio-wrapper">
170
				<input 
171
					type= radio 
172
					class="textinput" 
173
					id="replicate" 
174
					name="replicate" 	             		    	    	           		    	             			
175
					value="0"/>
176
					<span>No</span>
177
			</div>
178
			<i class="icon-question-sign" onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"></i>
179
		</div>
180
		<div class="clear"></div>
181
		<div class="form-row">
182
			<div class="textinput-label">
183
				<label for="datareplicate" title="Replicate data">Replicate data?</label>
184
			</div>
185
			<div class="radio-wrapper">
186
				<input 
187
					type= radio 
188
					class="textinput" 
189
					id="datareplicate" 
190
					name="datareplicate" 	             		    	    	           		    	             			
191
					value="1"/>
192
					<span>Yes</span>
193
			</div>
194
			<div class="radio-wrapper">
195
				<input 
196
					type= radio 
197
					class="textinput" 
198
					id="datareplicate" 
199
					name="datareplicate" 	             		    	    	           		    	             			
200
					value="0"/>
201
					<span>No</span> 
202
			</div>
203
			<i class="icon-question-sign" onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"></i>
204
		</div>
205
		<div class="clear"></div>
206
		<div class="form-row">
207
			<div class="textinput-label">
208
				<label for="hub" title="Hub">Localhost is a hub?</label>
209
			</div>
210
			<div class="radio-wrapper">
211
				<input 
212
					type= radio 
213
					class="textinput" 
214
					id="hub" 
215
					name="hub" 	             		    	    	           		    	             			
216
					value="1"/>
217
					<span>Yes</span>
218
			</div>
219
			<div class="radio-wrapper">
220
				<input 
221
					type= radio 
222
					class="textinput" 
223
					id="hub" 
224
					name="hub" 	             		    	    	           		    	             			
225
					value="0"/>
226
					<span>No</span>
227
			</div>
228
			<i class="icon-question-sign" onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"></i>
229
		</div>
230
		<div class="buttons-wrapper">
231
			<input type="hidden" name="configureType" value="replication">
232
			<input type="hidden" name="action" value="servercontrol">
233
			<input type="submit" value="Submit" target="bottom">
234
		</div>
235
	</form>
236
	
237
	<h3>Hazelcast Synchronization</h3>
238
	
239
	<table border="0" cellpadding="4" cellspacing="0" width="100%" class="tablepanel">
240
		<tr>
241
			<td>
242
			<form action="<%=request.getContextPath()%>/admin" method="POST" target="bottom">
243
				<input type="hidden" name="action" value="resynchSystemMetadata"> 
244
				<input type="hidden" name="configureType" value="replication">
245
				<input type="submit" value="Resynch" target="bottom">
246
				<p>Bring all missing System Metadata from remote hosts to this server</p>
247
			</form>
248
			</td>
249
		</tr>
250
	</table>
251
	
252
	
253
	<h4>
254
		<i class="icon-refresh"></i>
255
		<a
256
		href="<%=request.getContextPath()%>/admin?configureType=replication&action=servercontrol&subaction=list"
257
		target="bottom">Refresh Server List</a>
258
	</h4>
259
	
260
	<h4>
261
		<i class="icon-chevron-left"></i>
262
		<a href="<%=request.getContextPath()%>/admin" target="_top">Return to main configuration</a>
263
	</h4>
264
</div>
265

    
266
<%@ include file="./footer-section.jsp"%>
267

    
268
</body>
269
</html>
(16-16/18)