Project

General

Profile

« Previous | Next » 

Revision 8222

Matched the admin config pages to the default metacatUI theme. Changed the background image of the docs and config pages to a big cat for some metacat branding.

View differences:

replication-configuration-include.jsp
39 39
<body>
40 40
<%@ include file="./header-section.jsp"%>
41 41

  
42
<img src="<%=request.getContextPath()%>/metacat-logo-darkgray.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

  
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>
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>
55 60
		</div>
56
		<input class="textinput" 
57
			id="rate" 
58
			name="rate" 	             		    	    	           		    	             			
59
			value="172800000"/> 
60
		<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" 
61
			onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/>
62
	</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>
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>
66 70
		</div>
67
		<input class="textinput" 
68
			id="firsttime" 
69
			name="firsttime" 	             		    	    	           		    	             			
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')"/>
73
	</div>
74
	<div class="clear"></div>
75
	<div class="form-row">
76
		<div class="textinput-label">
77
			<label for="action" title="Action">Timer</label>
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>
78 95
		</div>
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')"/>
99
	</div>
100
	<div class="buttons-wrapper">
101
		<input type="hidden" name="configureType" value="replication">
102
		<input type="submit" value="Submit" target="bottom">
103
	</div>
104
</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"> 
96
		<div class="buttons-wrapper">
113 97
			<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
	<div class="clear"></div>
125
	<div class="form-row">
126
		<div class="textinput-label">
127
			<label for="subaction" title="Action">&nbsp;</label>
98
			<input type="submit" value="Submit" target="bottom">
128 99
		</div>
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>
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>
137 144
		</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>
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>
146 154
		</div>
147
		<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" 
148
			onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/>
149
	</div>
150
	<div class="form-row">
151
		<div class="textinput-label">
152
			<label for="server" title="Server">Server</label>
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>
153 179
		</div>
154
		<input class="textinput" 
155
			id="server" 
156
			name="server" 	             		    	    	           		    	             			
157
			value=""/> 
158
		<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" 
159
			onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/>
160
	</div>
161
	<div class="clear"></div>
162
	<div class="form-row">
163
		<div class="textinput-label">
164
			<label for="replicate" title="Replicate">Replicate metadata?</label>
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>
165 204
		</div>
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>
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>
174 229
		</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>
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">
183 234
		</div>
184
		<img class="question-mark" src="<%=request.getContextPath()%>/style/images/help.png" 
185
			onClick="helpWindow('<%= request.getContextPath() %>','docs/replication.html')"/>
186
	</div>
187
	<div class="clear"></div>
188
	<div class="form-row">
189
		<div class="textinput-label">
190
			<label for="datareplicate" title="Replicate data">Replicate data?</label>
191
		</div>
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')"/>
212
	</div>
213
	<div class="clear"></div>
214
	<div class="form-row">
215
		<div class="textinput-label">
216
			<label for="hub" title="Hub">Localhost is a hub?</label>
217
		</div>
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')"/>
238
	</div>
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>
244
</form>
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>
245 265

  
246
<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
<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 266
<%@ include file="./footer-section.jsp"%>
272 267

  
273 268
</body>

Also available in: Unified diff