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-18 15:37:06 -0700 (Wed, 18 Sep 2013) $'
11
  * '$Revision: 8240 $'
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
<%@ include file="./head-section.jsp"%>
34
</head>
35
<body>
36
<%@ include file="./header-section.jsp"%>
37

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

    
262
<%@ include file="./footer-section.jsp"%>
263

    
264
</body>
265
</html>
(17-17/20)