Home

Fusion Installation

image

Contents

1. var lib tomcat7 keystore next step storepass importkey 5 3 pico Edit the file to match screenshot 7 2 using the var lib tomcat7 conf server alias acquired in the previous step This xml change will still allow traffic on HTTP to avoid that uncomment the connector for port 8080 or 80 5 4 service tomcat7 restart Start a browser and locate the Fusion Web interface Usually https localhost 5 5 If you have a firewall open for TCP 443 Screenshot 7 1 12 Screenshot 7 2 13 5 Technical reference and documentation In this chapter you ll find important information of a installed Fusion system where to find log files firewall settings etc By following the instructions in chapter 4 you ll end up with a Default Setup DS and for this setup we ll provide exact information 5 1 Property files Property files are found in var lib tomcat7 common and also in var lib tomcat7 shell Each module has two property files following these conventions xaps lt modulename gt properties Contains all properties and control mechanism for the module xaps lt modulename gt logs properties Contains all properties to control logging number of logs name of logs loglevels backups etc Information about the various property files are found in the User Manuals of each module but each property file is supposed to be self documented 5 2 Log files Fusion logs Log files are found in var lib tomcat7 The logs are
2. The TR 069 clients will connect using HTTP POST while the browser returns the response from HTTP GET 4 11 3 fusionshell You should log out of Ubuntu and log in again before attempting this command unless you might get some error messages This shell is crucial is providing a scripting environment to FreeACS 4 11 4 See chapter 5 3 Several port openings may be expected if a firewall is present 4 11 5 COMPLETE The server is now ready 4 12 Optional steps Tomcat on HTTPS SSL At this point in the installation all Free ACS servers run on the same Tomcat instance Let s say you want to have a secure communication with your CPE most people do you would then need to create a SSL server side certificate and all your CPEs would have to accept this certificate This certificate would be shared by all servers running in the same Tomcat instance The consequence is that if you for some reasons want to have a different certificate for you FreeACS Web interface that server would have to run on another Tomcat instance most likely on another host The same goes for the TR 069 server if you want to support various CPEs which demands a particular SSL certificate you need to create several TR 069 servers each with it s own certificate installed If you run Fusion TR 069 server AND you want to provision Ping Communication devices using TR 069 please follow step 7 1 alt1 If you do not provision Pi
3. 14 04 64 bit MySQL Server 5 6 latest update Tomcat 7 and JRE 1 7 latest update How to install Ubuntu 14 04 64 bit is beyond the scope of this simple document but otherwise all other software installation is described This is not to say that one cannot run on any other OS or J2EE server but this is the standard default Fusion installation recommended for most users Do the following 1 Download install or update freeacs ubuntu sh from http freeacs com download and run the script from your home folder on your ubuntu server You must have root access This covers 90 of the installation and can be done in 1 5 minutes 2 Go through the rest of the modifications described in this chapter Should be possible to do in 5 30 minutes 3 The server should be ready Important Yellow color indicates an optional step but it s wise to read the comments before skipping 4 1 etc mysql my cnf Step Command Text Comment 4 1 4 service mysql restart Restart MySQL after changes 4 2 var lib tomcat7 conf catalina properties Step Command Text Comment 4 2 1 Append the following Edit the configuration file of tomcat to point to a directory where Fusion catalina base common catalina bas properties will be placed There should e common properties not be any line breaks or spaces in the appended text to the property common loader 4 3 etc default tomcat7 S
4. Fusion FreeACS Installation Version 2014R1 Table of Contents Table of Contents O 1 Buon FresACS Installation maman A SO A A Bn 1 e le Reel 3 N me OF THES RO RA POR E RR I RR anaes 3 Document O A olo irta 3 Document Audience Lise lele A la 3 Document EAS erre 3 QOUCKOVENVIE Weee nile aaa 4 Infrastructure nna E S 4 Mi OS 4 Customer tequitements RR 5 Hardware arco 5 oE E E E T tee eet ereen 6 DADAS pa a A Oa EEE e 6 Java and Web CONAM Na a a a a a a i 6 Tastallation from scratch nare ii donne tanta E cna ass age vn rs 8 LIERNA RR MISI ARIAS AI AIA 8 Ivar lib tomcat7 conf catalina propertieS i 8 Ie dev U COMME ALT ul alii dean adat 9 POLC PASS WG ii dia shea ndr ii i LA aa isla aio 9 AVAL MOTI ALT CONT SOT ver xml posi ee Ln 9 A 9 var lib tomcat7 common xaps monitor propertieS ii 9 Ivar lib tomcat7 common xaps stun propertieS i 10 Ivar lib tomcat7 common xaps web propertieS evenneerenneerenneevenvervenvervenverenn 10 Restart firewalls and checks ere 10 Optional steps Tomcat on HTTPS SSL nnen doede iS 10 Technical reference and doc AO Karte treten ennen 13 PROPERE SA bent netadapter tenen neel 13 Los Minnie 13 Fusion 1088 rl 13 Bare w Alls ii A RA 13 TDOCUIME NAL OM ia E A lalla e A dent ned 14 1 Document Introduction 1 1 Name of the system The current name of the system is Fusion Fre
5. Shell to run on a remote host accessing the DB directly STUN 3479 UDP To support TR 111 the devices must also 3480 support this and devices access this STUN server Syslog 9116 UDP To allow syslog messages to be sent to Fusion Syslog server Should always be open 5 4 Documentation All modules have a User Manual to describe how to use the system Some modules also have additional documentation These documents are found in GitHub on the following locations Server URL Comment General https github com freeacs readme General documentation Core https github com freeacs core tree master docs Monitor https github com freeacs monitor tree master docs Shell https github com freeacs shell tree master docs SPP https github com freeacs spp tree master docs STUN https github com freeacs tr069 tree master docs Chapter 7 Syslog https github com freeacs syslog tree master docs TR 069 https github com freeacs tr069 tree master docs Web https github com freeacs web tree master docs Web https github com freeacs ws tree master docs Services 15
6. TTP header and as a an end result failed to set the JSESSIONID cookie required by the server same as the situation above This configuration MAY help it has helped some at least I am not sure if this can hurt in some cases why it is not default in Tomcat7 4 7 etclinit d tomcat7 Step Command Text Comment 4 7 1 Find the line beginning with Required Start Some Fusion services have a habit and append mysql to it of reporting e mail errors if they cannot connect to the database when they start E g when rebooting the machine To avoid this we make Tomcat depend on MySQL for it to start on boot 4 8 var lib tomcat7 common xaps monitor properties The monitor server itself is not critical for FreeACS it s main job is to send email and monitor the other servers in the FreeACS solution Step Property Comment 4 8 1 mail settings Specify in order to get mail about events and errors in FreeACS 4 8 2 fusion urlbase This url will be used in mail sent to you specify a url base which can reach the FreeACS from outside 4 9 var lib tomcat7 common xaps stun properties The STUN server is fairly important since all server side triggering of provisioning goes through this server Thus if you try to kick the CPE or press the provisioning button in the Web interface the STUN server must have a correct configuration Step Prop
7. ace and hard disk capacity of at least 500GB this last requirement is only important for the database server We expect the usage of fast HDD since this is critical for the database The minimum specification translates to some of the test servers we have used Looking closely at these figures you should realize that this specification is a low end system these days A state of the art system today jan 2013 would probably have more capacity So if you think the number of servers will grow too rapidly with increasing numbers of connects pr 24h keep in mind that in that situation you would probably use a state of the art system minimizing the number of servers required The tests we have done to come up with this list will of course not represent the absolute truth about how a potential customer will use the system Particularly the number of parameters in the database jobs activated logging scheme number of end users number of interconnecting systems will influence the performance That said we think these figures give a reasonable and reliable picture of the situation If you decide to run on multiple servers the first split should be between Fusion DB and the provisioning servers SPP or TR 69 since these components are affected the most by an increase in devices Another important point is that you can add provisioning servers to scale up the system all of them connecting to the same Fusion DB Server There is another reason for t
8. eACS As this is a relatively new name the old name Fusion is in frequent use and may continue to be for a very long time An even older name xAPS is also in use 1 2 Document Purpose The purpose of the document is to explain how to install Fusion FreeACS chapter 4 1 3 Document Audience The readers will be Fusion Administrators and System Operators 1 4 Document History Version Editor Date Changes 2009 R1 Morten Simonsen 18 Feb 09 Initial public version 2009 R1 U1 Fredrik Gratte 31 Mar 09 Updated platform requirements 2009 R2 Morten Simonsen 02 Jul 09 Revised edition 2011R1 Morten Simonsen 21 Jan 11 Revised edition 2012R1 Morten Simonsen 28 Dec 11 Name change upgrade from 2011R1 procedure Added a chapter 2013R1 Morten Simonsen 17 Jan 13 Updated to latest release 2014R1 Morten Simonsen 03 Feb 14 System is no longer a commercial product is licensed under the MIT license for free usage The differences between 2013R1 and 2014RI are otherwise small 2014R1 Morten Simonsen 07 Jul 14 Major overhaul Has created an install script to do most of the work automatically Updated to run on Ubuntu 14 04 The installation procedure has been brought down to minimum 5 6 minutes 2 Quick Overview A complete installation of a Default Setup is provided in chapter 4 you may skip chapter 2 and 3 Fusion can be run in several configurations de
9. erty Comment 4 9 1 primary ip Set it to the IP address of your server The server will try to bind to this IP on port 3478 If this fails the server will not start unless you change the test runwithstun 4 9 2 test runwithstun The server will start even if the STUN behaviour is not supported In this case the server can still be used to trigger kick CPEs available on public ConnectionRequestURL addresses 4 10 var lib tomcat7 common xaps web properties Step Property Comment 4 10 1 monitor location It should return a web page use wget to test If not change the url or check if the Monitor server is actually running 4 11 Restart firewalls and checks Step Command Text Comment 4 11 1 service tomcat restart Check var lib tomcat7 logs catalina out to make sure Tomcat starts without errors 4 11 2 wget localhost If you have a firewall open for TCP 80 You can check to wget localhost web see 1f tomcat is available by using the command If wget localhost tr069 everything went well you should get the FreeACS Web interface with an user password prompt Login using admin xaps as user pass You may of course change the default password inside the web application If the FreeACS Web interface does not appear then try http localhost web The TR 069 server should be 10 Step Command Text Comment available on http localhost tr069
10. his split as well and that is that the provisioning servers must be reachable for all the devices a requirement which you might not want for your database Another split would be to put all the interface modules Fusion Web Fusion Shell and Fusion Web Services on a separate server A trigger for this move would be to secure these interfaces from direct access from the Internet Yet another split would be to put a syslog server and the syslog database on its own server but that is something one does only if there s a significant load on the syslog server The bottleneck of this system will eventually be the database However we believe that this bottleneck will not be hit before at least 10M CPEs are connected possibly not before 30 50M CPEs are connected it all depends on many factors But this does not take into account that the database server may run in a cluster We have not experimented with this but we still believe this is an option an option that no customer today is likely to reach without a very aggressive provisioning policy e g many connects pr CPE every 24h 3 2 OS All modules in Fusion are Java applications In theory they can be installed on any OS that supports JRE 1 7 and has an available web container like Tomcat 7 We have chosen to run on Linux Ubuntu Server 14 04 64 bit and we suggest that our customers do the same If they do it s easy to follow the installation procedure in chapter 5 3 3 Database Curre
11. named following this convention fusion lt modulename gt lt optionalname gt log Usually every module has a default regular log fusion lt modulename gt log but some modules have multiple logs Each log file can be controlled by settings in the corresponding xaps lt modulename gt logs properties files see previous chapter Old logs can be found in the backup logs directory These logs are kept for as long as specified in the logs properties file 5 3 Firewalls The following holes in the firewall may must be opened for those modules placed behind the firewall Module Port Type Comment Monitor TR069 80 TCP In case you have setup the installation to run on SPP Web WS port 80 see chapter 4 5 To allow requests into TR 069 or HTTP for provisioning Also access to monitor server Web and Web Services Monitor TR069 8080 TCP In case you run DS skipped chapter 4 5 To SPP Web WS allow requests into TR 069 or HTTP for provisioning Also access to monitor server Web and Web Services Monitor TR069 443 TCP In case you have setup the installation to run on SPP Web WS port 443 see chapter 4 8 To allow requests into TR 069 or HTTP for provisioning Also access to monitor server Web and Web 14 Services SPP 69 TCP To allow TFTP provisioning offered by the SPP server DB 3306 TCP Allows direct access to MySQL database see chapter 4 1 This allows Fusion
12. ng Communication devices but still wish to avoid warnings when you use Fusion Web please follow step 7 1 alt2 Otherwise follow step 4 12 1 alt3 or 4 12 1 alt4 Step Command Comment 4 12 1 alt1 1 Buy class2 or get for free class1 a certificate from StartSSL http www startssl com 4 12 1 alt1 2 unzip build_jks zip 4 12 1 alt1 3 chmod 755 sh Make the scripts runnable 4 12 1 alt1 4 build_jks_class1 sh The command will show you help text and how to run the script If you bought class2 certificates run the other script 4 12 1 alt2 Buy your own certificate and import it into a java keystore using keytool import You may of course use the suggested certificate from StartSLL 5 1 alt1 1 4 12 1 alt3 keytool genkey alias xaps Follow the steps show in screenshot 7 1 The keyalg RSA validity information you enter into the certificate will 10000 keystore only be shown when you examine the var lib tomcat7 keystore certificate in a browser The certificate should 11 be valid for 10000 days Note that browsers do not like this self signed certificate if you want a real certificate you must purchase one 4 12 1 alt4 Copy keystore from old server installation into you re working folder In that case you should also use the same keystore password and alias as you had in the old server xml 5 2 keytool list keystore List the key aliases you will need it in the
13. ntly Fusion will only run on MySQL 5 5 How to install MySQL is considered the responsibility of the customer Furthermore it may be necessary to tweak the database somewhat as the load grows This competence should be found within your company That is to say that Fusion is not a fool proof system and will require some technical people to take part in the installation and operation That said we do have an installation procedure for a complete set up of a standard Fusion Server which includes a reasonably good set up of MySQL 5 5 This was done to minimize our own support effort in the installation process but also serves us well because the installation of Fusion becomes more coherent across customers Chapter 5 contains the detailed installation procedure of such a standard set up 3 4 Java and Web container As for the databases you need to be able to install Java and a web container on your system Fusion requires JRE 1 7 preferably the latest update When this is installed you can install the web container Tomcat 7 has been used in development but other web containers can also be used since they offer the same runtime environment for Fusion applications 4 Installation from scratch You can have Fusion FreeACS up and running in 30 minutes or possibly even in just 5 minutes if you do this for the second time Just read on The goal is to install a standard Fusion Server Default Setup which requires installation of Ubuntu Server
14. pending on your needs The following section will list all modules and comment on where there is a choice to be made 2 1 Infrastructure This list can also be read as requirements from Ping Communication to the customer as the customer needs to be knowledgeable about these infrastructure parts or at the very least be able to acquire the necessary knowledge to maintain all these components e Fusion can run on one physical server if necessary Several factors come into play to decide how many servers is optimal e Operating system which can run JRE 1 7 see details and exception to this below in the OS chapter e MySQL 3 5 e JRE 1 7 latest update e Tomcat 7 other web containers are possible but not described 2 2 Modules North side modules user interface modules e Fusion Web Standard web interface for management e Fusion Shell CLI script automation management e Fusion Web Services if system integration is needed Core modules e Fusion DB table definitions e Fusion Core e Fusion Syslog Server e Fusion Monitor Server South side modules CPE interface modules e Fusion TR 069 Server if you have TR 069 devices e Fusion STUN needed to support TR 111 e Fusion SPP needed to provision HTTP TFTP Telnet The following chapters will explain how to install these modules 3 Customer requirements 3 1 Hardware There are many ways one could organize the hardware to satisfy Fusion You could do with one phy
15. sical server at start up As the number of devices connected to Fusion grows you should probably split the processes modules on several servers This table should give you a quick overview of how Ping Communication thinks about this issue sad ypz Ad sp uuop SO SAS M SIMA PUIUL UO argerreAe QIM UOISN A peamboa SIIAI Comments 50K The minimum requirement see below for spec for server 500K NI You should have server with the provisioning server TR 069 or OPP in DMZ and the rest of the modules on another server within your intranet This requirement is mainly due to security reasons 500K Same as for the above but syslog could generate a huge load so it could be smart to have a separate server for the Fusion Syslog Server amp Fusion Syslog DB 500K 24 You should have 3 provisioning servers since the CPEs connect 24 times a day The database would be put under some load here so the database should also be place on its own server The rest of the modules could be placed on one server 12M The same load as in the previous example but syslog is turned on so it will require a database server extra And don t put Fusion Web on one of the provisioning server just because they are both located in the DMZ use a separate server for that module A server is expected to have a decent multi core processor minimum 8GB RAM minimum 100 Mbit network interf
16. tep Command Text Comment 4 3 1 AUTHBIND yes Optional AUTHBIND yes will make it possible for Tomcat to run on lower ports 80 and 443 Take care to remove the comment at the beginning of the line 4 3 2 Xmx768m XX UseConcMarkSweepGC JAVA_OPTS Djava awt headless true JAVA_OPTS is only changed slightly to increase maximum memory usage from 128 megabyte till 768 megabyte This should be sufficient for 10 50K devices 4 4 etc passwd Step Command Text Comment 4 4 1 Change usr share tomcat7 to var lib tomcat7 This changes Tomcat s home directory from lusr share tomcat7 to var lib tomcat 4 5 var lib tomcat7 conf server xml Step Command Text Comment 4 5 1 lt Connector port 80 Default setup of Tomcat is port protocol HTTP 1 1 8080 we ll change it to 80 default HTTP port 4 6 var lib tomcat7 conf context xml Step Command Text Comment 4 6 1 lt Context Some CPEs struggle to set the JSESSIONID sessionCookiePath gt HTTP cookie issued by the server Without this cookie nothing will work This configuration change MAY help it has helped some at least I am not sure if this can hurt in some cases why it is not default in Tomcat7 4 6 2 lt Context useHttpOnly false gt Some CPEs have struggled with this particular useHttpOnly directive set in the H

Download Pdf Manuals

image

Related Search

Related Contents

Pulse Oximeter, Pulse Oximeters  User Guide  Delta Tau GEO MACRO DRIVE User's Manual  READ FIRST!    Bedienungsanleitung  Programme des activités  Important /Note! Read the operating instructions  

Copyright © All rights reserved.
Failed to retrieve file