-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployserver.html
172 lines (155 loc) · 10.3 KB
/
deployserver.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 1.7.4 at 11 Mar 2017
| Rendered using Apache Maven Fluido Skin 1.6
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="Date-Revision-yyyymmdd" content="20170311" />
<meta http-equiv="Content-Language" content="en" />
<title>Fine Grained Service Monitoring System – Deploying FGSMSs Server</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.6.min.css" />
<link rel="stylesheet" href="./css/site.css" />
<link rel="stylesheet" href="./css/print.css" media="print" />
<script type="text/javascript" src="./js/apache-maven-fluido-1.6.min.js"></script>
</head>
<body class="topBarDisabled">
<a href="https://github.com/mil-oss/fgsms">
<img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;"
src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"
alt="Fork me on GitHub">
</a>
<div class="container-fluid">
<div id="banner">
<div class="pull-left"><a href="http://mil-oss.org/" id="bannerLeft"><img src="images/mil-oss-logo.png" alt="Fine Grained Service Monitoring System"/></a></div>
<div class="pull-right"><div id="bannerRight"><img src="images/fgsms_logo_small.png" /></div>
</div>
<div class="clear"><hr/></div>
</div>
<div id="breadcrumbs">
<ul class="breadcrumb">
<li id="projectVersion">Version: 7.0.0<span class="divider">|</span></li>
<li class=""><a href="https://www.mil-oss.org" class="externalLink" title="MIL-OSS">MIL-OSS</a><span class="divider">/</span></li>
<li class="active ">Deploying FGSMSs Server</li>
<li id="publishDate" class="pull-right">Last Published: 11 Mar 2017</li>
</ul>
</div>
<div class="row-fluid">
<div id="leftColumn" class="span2">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li><a href="index.html" title="Project Information"><span class="none"></span>Project Information</a> </li>
<li><a href="index2.html" title="Welcome"><span class="none"></span>Welcome</a> </li>
<li><a href="whitepaper.html" title="Whitepaper"><span class="none"></span>Whitepaper</a> </li>
<li><a href="architecture.html" title="Architecture"><span class="none"></span>Architecture</a> </li>
<li><a href="quickstart.html" title="Quick Start"><span class="none"></span>Quick Start</a> </li>
<li><a href="deployment-planning.html" title="Deployment Planning"><span class="none"></span>Deployment Planning</a> </li>
<li class="active"><a href="#"><span class="none"></span>Deploying the Server</a>
</li>
<li><a href="agentmatrix.html" title="Agent Matrix"><span class="none"></span>Agent Matrix</a> </li>
<li><a href="deployagent.html" title="Deploying Agents"><span class="none"></span>Deploying Agents</a> </li>
<li><a href="user.html" title="User Guide"><span class="none"></span>User Guide</a> </li>
<li><a href="reporting.html" title="Reports and data access"><span class="none"></span>Reports and data access</a> </li>
<li><a href="security.html" title="Security Guide"><span class="none"></span>Security Guide</a> </li>
<li><a href="permissions.html" title="Access Control"><span class="none"></span>Access Control</a> </li>
<li><a href="federation.html" title="Data Federation"><span class="none"></span>Data Federation</a> </li>
<li><a href="news.html" title="News"><span class="none"></span>News</a> </li>
<li><a href="sdk.html" title="SDK"><span class="none"></span>SDK</a> </li>
<li><a href="specs.html" title="Specs/ICD"><span class="none"></span>Specs/ICD</a> </li>
<li><a href="committer.html" title="Committers"><span class="none"></span>Committers</a> </li>
<li><a href="faq.html" title="FAQ"><span class="none"></span>FAQ</a> </li>
<li class="nav-header">Modules</li>
<li><a href="apache-tomcat/index.html" title="Pre-Configured Apache Tomcat"><span class="none"></span>Pre-Configured Apache Tomcat</a> </li>
<li><a href="apache-juddi/index.html" title="Pre-Configured Apache Juddi"><span class="none"></span>Pre-Configured Apache Juddi</a> </li>
<li><a href="fgsms-common-interfaces/index.html" title="fgsms Interfaces WS Stubs and Schema Bindings Generated from WSDL"><span class="none"></span>fgsms Interfaces WS Stubs and Schema Bindings Generated from WSDL</a> </li>
<li><a href="fgsms-common/index.html" title="fgsms Common"><span class="none"></span>fgsms Common</a> </li>
<li><a href="fgsms-agents/index.html" title="fgsms Embedded Agents"><span class="none"></span>fgsms Embedded Agents</a> </li>
<li><a href="fgsms-ws-notification/index.html" title="fgsms WS-Notification Parent"><span class="none"></span>fgsms WS-Notification Parent</a> </li>
<li><a href="fgsms-server/index.html" title="fgsms Server"><span class="none"></span>fgsms Server</a> </li>
<li><a href="fgsms-cli/index.html" title="fgsms Command Line Interface"><span class="none"></span>fgsms Command Line Interface</a> </li>
<li><a href="fgsms-samples/index.html" title="fgsms Examples Packages"><span class="none"></span>fgsms Examples Packages</a> </li>
<li><a href="fgsms-dist/index.html" title="fgsms Distribution"><span class="none"></span>fgsms Distribution</a> </li>
<li><a href="fgsms-netagent/index.html" title="fgsms.Net Components"><span class="none"></span>fgsms.Net Components</a> </li>
<li class="nav-header">Project Documentation</li>
<li><a href="project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a> </li>
<li><a href="project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a> </li>
</ul>
<form id="search-form" action="https://www.google.com/search" method="get" >
<input value="https://mil-oss.github.io/" name="sitesearch" type="hidden"/>
<input class="search-query" name="q" id="query" type="text" />
</form>
<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
<hr />
<div id="poweredBy">
<div class="clear"></div>
<div class="clear"></div>
<div class="clear"></div>
<div class="clear"></div>
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
</div>
</div>
</div>
<div id="bodyColumn" class="span10" >
<h1>Deploying FGSMS’s Server</h1>
<p>This article will discuss how to deploy the FGSMS core services into an application container, such as Jboss, Tomcat, etc. Make sure you read the <a href="deployment-planning.html">Deployment planning</a> article. </p>
<div class="section">
<h2><a name="Database_setup"></a>Database setup</h2>
<p>Follow the same steps that are in the <a href="quickstart.html">Quick Start</a> guide.</p></div>
<div class="section">
<h2><a name="Deploying_to_Tomcat_7"></a>Deploying to Tomcat 7</h2>
<p>Easiest path since we test and integrate on Tomcat 7. </p>
<ol style="list-style-type: decimal">
<li>Stop Tomcat if it’s running</li>
<li>From the FGSMS distribution, copy fgsmsServices.war and fgsmsBootstrap.war into the <tt>tomcat/webapps</tt> folder.</li>
<li>Unzip them into their corresponding folders, you should have a <tt>tomcat/webapps/fgsmsServices/</tt> and a <tt>tomcat/webapps/fgsmsBootstrap/</tt> folders, (the war archives can be discarded).</li>
<li>Edit the <tt>tomcat/webapps/fgsmsServices/WEB-INF/context.xml</tt> file. This is where you configure your database credentials.</li>
<li>Edit the <tt>tomcat/webapps/fgsmsServices/WEB-INF/web.xml</tt> file. This is where you configure security settings. See especially the setup for requiring SSL and examples for username/password or PKI authentication.</li>
<li>Edit the <tt>tomcat/webapps/fgsmsBootstrap/WEB-INF/config.properties</tt>. This is how the user interface connects to the <tt>fgsmsServices.war</tt> deployment. Specifically, make sure the URL’s match what you need, certificate information etc.</li>
<li>If PKI is your desired authentication mechanism, also edit <tt>tomcat/webapps/fgsmsBootstrap/WEB-INF/web.xml</tt> to enable CLIENT-CERT</li>
</ol></div>
<div class="section">
<h2><a name="Deploying_to_JbossWildfly"></a>Deploying to Jboss/Wildfly</h2>
<p>Not tested, but the steps for Tomcat should work.</p></div>
<div class="section">
<h2><a name="Deploying_the_Sharepoint_Web_parts"></a>Deploying the Sharepoint Web parts</h2>
<p>FGSMS includes a SharePoint web part (a user interface component) which can be used to present availability indicators on a SharePoint based web site.</p>
<p>The web part provides access to the status service and status information of services that are running. Useful for providing a dash board of service availability.</p>
<p>NOTICE: the FGSMS webpart was designed for SharePoint 2007 and is dated. No idea if it will work on a newer build.</p>
<div class="section">
<h3><a name="Building"></a>Building</h3>
<p>See notes on building the .NET components</p></div>
<div class="section">
<h3><a name="Installation"></a>Installation</h3>
<ol style="list-style-type: decimal">
<li>
<p>
<p>Add the solution <tt>
Stadm –o addsolution FGSMWebparts.wsp
</tt></p></div>
<div class="section">
<h3><a name="Enable_it_for_the_farm"></a>Enable it for the farm</h3></li>
<li>
<p>Login to Central Administrator</p></li>
<li>Solution Management</li>
<li>Deploy to the web applications of choice</li>
<li>Login to the chosen web application. Site Settings > Site Features</li>
<li>Active the feature “FGSMS Web Parts”</li>
</ol>
<p>The available web parts will now be available for addition to any web part page. Each instance needs to be configured with URLs and credentials</p></div></div>
<div class="section">
<h2><a name="Working_with_password_encryption"></a>Working with password encryption</h2>
<p><tt>java -jar fgsms.Common.jar -help</tt></p></div>
</div>
</div>
</div>
<hr/>
<footer>
<div class="container-fluid">
<div class="row-fluid">
</div>
</div>
</footer>
</body>
</html>