Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:1100_inst_guide:0400_deployment_options [2022/08/25 00:00] – removed - external edit (Unknown date) 127.0.0.1 | docs:1100_inst_guide:0400_deployment_options [2025/10/30 09:33] (current) – aware_support3 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{tag> | ||
| + | [< | ||
| + | ====== Deployment Options ====== | ||
| + | When you install // | ||
| + | |||
| + | * The AwareIM server | ||
| + | * The AwareIM Configuration Tool | ||
| + | * The AwareIM web application managed by Tomcat | ||
| + | |||
| + | |||
| + | As mentioned above all the components may reside on the same computer – this is the default deployment configuration that you get when you use the default // | ||
| + | |||
| + | * Individual end users who run information systems configured with the // | ||
| + | * Configurators who configure and test their // | ||
| + | * Small to medium companies that run their information management systems configured with // | ||
| + | * Small to medium companies that run their information management systems configured with // | ||
| + | |||
| + | |||
| + | |||
| + | For larger companies who have more internal and external users with higher load of requests it may be beneficial to deploy // | ||
| + | |||
| + | It is also possible that individual users or companies do not have direct access to the computer where // | ||
| + | |||
| + | |||
| + | |||
| + | // | ||
| + | |||
| + | - The AwareIM web application (Web Server) can be installed on a separate machine(s), which allows for better scaling and performance under heavy load. | ||
| + | - The AwareIM Configuration Tool can be deployed on a separate machine with access to the AwareIM server via internal LAN. This makes it possible to use the Configuration Tool by different users simultaneously. | ||
| + | - // | ||
| + | |||
| + | |||
| + | |||
| + | The required steps for each of these options are described below. | ||
| + | |||
| + | ===== Running AwareIM Web Server on a separate machine ===== | ||
| + | |||
| + | To run // | ||
| + | |||
| + | |||
| + | |||
| + | Make sure you do the following: | ||
| + | |||
| + | - To deploy the // | ||
| + | - Make sure that the machine has the database engine of your choice installed (alternatively the database server may be deployed on yet another machine). | ||
| + | - Install // | ||
| + | - To start the // | ||
| + | - To deploy the // | ||
| + | - Install // | ||
| + | - Modify the file AwareIMInstallationDirectory/ | ||
| + | |||
| + | ===== Running Configuration Tool on a separate machine on a local area network (LAN) ===== | ||
| + | |||
| + | To run the Configuration Tool on a machine different from the one where your // | ||
| + | |||
| + | - Install | ||
| + | - Replace references to '' | ||
| + | JMS_BROKER_CONNECTOR=tcp:// | ||
| + | - Under the Windows operating system run the Configuration Tool setup program (ConfigTool.exe) located in the Windows directory of your AwareIM distribution disk from the client machine and follow the instructions of the program. You will need to specify the installation directory of the Configuration Tool and the network name of the server machine. After the Configuration Tool has been installed you can run it from the Startup menu. | ||
| + | - Add the following line to the file '' | ||
| + | - Under Linux operating system perform the following steps: | ||
| + | - Unpack the archive file with the Configuration Tool component ('' | ||
| + | - Modify the file '' | ||
| + | -Djasper.reports.compile.class.path=plugins/ | ||
| + | -Dawaresoft.awareim.configtool.serverName=myserver | ||
| + | -Dawaresoft.awareim.configtool.serverPort=9000</ | ||
| + | - To start the Configuration Tool change to the '' | ||
| + | |||
| + | |||
| + | <callout type=" | ||
| + | < | ||
| + | 127.0.0.1 localhost.localdomain localhost | ||
| + | x.x.x.x serverName</ | ||
| + | where x.x.x.x is the IP address of the server where AwareIM is running and serverName is the network name of the server.\\ \\ | ||
| + | **Additionally if you are running the remote Configuration Tool from a Linux or Mac OS X workstation make sure that the '' | ||
| + | |||
| + | ===== Running the Configuration Tool Across the Internet ===== | ||
| + | |||
| + | To run the Configuration Tool across the Internet where the Configuration Tool connects to a remote server located anywhere in the world perform the following steps: | ||
| + | - Install | ||
| + | - Install either the full version of AwareIM or the standalone Configuration Tool on the client machine | ||
| + | - Modify the '' | ||
| + | < | ||
| + | WebServer=www.myserver.com | ||
| + | WebServerPort=8080 | ||
| + | WebServerProtocol=https | ||
| + | WebAppBase=MyWebApp</ | ||
| + | |||
| + | ===== Running AwareIM in a web hosting environment ===== | ||
| + | |||
| + | Organizations or individuals who for whatever reason cannot or do not want to run their application on their own server but still want web access to their // | ||
| + | |||
| + | |||
| + | |||
| + | There are a variety of services that web hosts offer. Usually they fall within one of the 3 categories: | ||
| + | |||
| + | ^ ^ Hosting Method^Considerations^ | ||
| + | ^1. |Standard shared hosting |The server is shared with other users. You do not have control on which software is installed on your server and you cannot reboot the server.| | ||
| + | ^2. |Virtual Private Server hosting (VPS)|The server is shared with other users. However, you get your own “virtual” server with a particular operating system (Windows or Linux). You have full control over your virtual server through the remote interface (even though it is physically shared with others) – you can install any application on the server and you can reboot the server any time| | ||
| + | ^3. |Dedicated server hosting|You have your own server that is not shared with other users. You have full control of this server through the remote interface.| | ||
| + | |||
| + | |||
| + | The first option is usually the cheapest, while the third one is the most expensive. | ||
| + | |||
| + | Although it is theoretically possible to run // | ||
| + | |||
| + | |||
| + | |||
| + | Option 3 is the safest option and is virtually equivalent to running // | ||
| + | |||
| + | |||
| + | |||
| + | Option 2 is, in our opinion, the most practical option for many users. It is relatively inexpensive (you can get VPS hosting for $30 a month or even less) and you essentially get your own server that you have full control of. The next section discusses running // | ||
| + | |||
| + | ===== Running AwareIM under the VPS hosting environment ===== | ||
| + | |||
| + | |||
| + | Usually VPS hosting comes in two flavours – Linux VPS that uses Linux operating system and Windows VPS that offers Windows operating system. Linux VPS is much more common, however, there are more and more companies who offer Windows VPS hosting. Linux VPS is usually slightly cheaper. | ||
| + | |||
| + | |||
| + | It is possible to run // | ||
| + | |||
| + | |||
| + | |||
| + | ^ Linux VPS pro’s | ||
| + | | Very common. There are a huge number of companies offering Linux VPS with different options and price range | Most web hosts offer non-graphical Linux. Running // | ||
| + | | Usually cheaper than Windows VPS | Usually Linux VPS offers remote access to the Linux server via command line interface only. However, if you install a Linux graphical component it is possible to set up a remote graphical interface to the server | ||
| + | ^ Windows VPS pro’s | ||
| + | | The experience is literally equivalent to running AwareIM on your own server. You get a remote graphical interface to the server, which is like running Windows on your own machine. Very convenient. | ||
| + | | | Not very common yet. Not many companies offering Windows VPS | | ||
| + | |||
| + | |||
| + | |||
| + | Our recommendation is that if you can find a good deal on Windows VPS, go for it – the remote graphical user interface is worth it. | ||
| + | |||
| + | |||
| + | |||
| + | Some of the companies running good deals on Windows and Linux VPS are GoDaddy ([[http:// | ||
| + | |||
| + | |||
| + | |||
| + | Once you have the VPS set up installing AwareIM is quite straightforward – transfer AwareIM installation files to your server and install it there. However, you need to watch out for these two most commonly encountered problems when running // | ||
| + | |||
| + | |||
| + | - //Not enough memory// – memory may be a scarce resource when you have to share the machine with others. You have to make sure that there is at least 256Mb of memory available to run // | ||
| + | - Do not pick web hosts that offer burstable memory only. | ||
| + | - Make sure that the amount of guaranteed memory is at least 256M | ||
| + | - Make sure that the guaranteed memory is not used by applications that are often pre-installed by a web host. If they are, uninstall them. | ||
| + | - //Port 8080 is blocked //– web hosts often blocks all ports other than the standard port 80. You have to configure the firewall settings of your VPS to allow external requests through port 8080 (or better still ask you web host to do this) | ||
| + | |||
| + | You can also re-configure Tomcat to use a different port (to do this open the '' | ||
| + | |||
| + | |||
| + | |||
| + | ===== Using Load Balancing to achieve better performance and scaling ===== | ||
| + | |||
| + | |||
| + | Some web hosting companies, for example, Amazon offer load balancing capabilities where you can allocate several servers to handle your user requests. A special load balancing software will automatically detect servers under heavy load and redirect traffic to servers with smaller load. This can dramatically increase overall performance of your system and allow scaling it up as the number of users and requests grow. | ||
| + | |||
| + | |||
| + | |||
| + | It is easy to set up // | ||
| + | |||
| + | - Install //**AwareIM **//on each server that should participate in the load balancing chain. On Amazon you would allocate several server instances and install // | ||
| + | - Make sure that every server instance is set up to work with the single installation of the database. It has to be either MySQL, Maria DB, SQL Server/ | ||
| + | - Make sure that every instance “sticks” to its user session. For example, Amazon offers a feature called “sticky sessions”. You must enable it so that the system will automatically route the request to the server that handles this particular user. | ||
| + | |||
| + | |||
| + | |||
| + | Note that load balancing should only be used in production where the system just runs already developed applications. It shouldn’t be used for application development. | ||
| + | |||
| + | See also | ||
| + | |||
| + | {{page> | ||