1 <%--<?xml version="1.0" encoding="ISO-8859-1" ?>--%>
2 <%--<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>--%>
4 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
5 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
6 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
7 <%@ taglib uri="http://displaytag.sf.net" prefix="dt" %>
10 <c:import url="template_header.jsp" >
11 <c:param name="title">Documentation</c:param>
14 <ol class="breadcrumb">
15 <li><a href="${pageContext.request.contextPath}/index.jsp">Home</a></li>
16 <li><a href="man_docs.jsp">Documentation</a></li>
17 <li class="active"><a href="man_server_dev.jsp">Develop JABAWS</a></li>
20 <div class="col-md-12">
21 <div class="panel panel-default">
22 <div class="panel panel-heading">
23 <h1 class="panel-title">Virtual Appliance</h1>
25 <div class="panel-body">
26 <!--<h4>JABAWS Server Virtual Appliance</h4>-->
28 <li><a href="#whatisvm">What is JABAWS Virtual Appliance?</a></li>
29 <li><a href="#whenvm">When to use the Virtual Appliance</a> </li>
30 <li><a href="#howtoinstallvm">How to install VMware Player </a></li>
31 <li><a href="#vmplayer">VMware Player Appliance configuration </a></li>
32 <li><a href="#jabawsAppliance">JABAWS Appliance details </a></li>
33 <li><a href="#jalviewWithJaba">Configuring Jalview to work with your JABAWS VM</a></li>
34 <li><a href="#vmiaccess">VM Network Settings </a></li>
36 <!--<p class="justify">-->
43 <div class="row" id="whatisvm">
44 <div class="col-md-12">
45 <div class="panel panel-default">
46 <div class="panel panel-heading">
47 <h1 class="panel-title">What is JABAWS Virtual Appliance?</h1>
49 <div class="panel-body">
50 <p class="justify">The JABAWS <a href="http://en.wikipedia.org/wiki/Virtual_appliance">Virtual Appliance</a> is a
51 way to run JABAWS server locally without the need to connect to the internet or configure JABAWS.
52 What the appliance provides is a 'virtual server machine' (or more simply - virtual machine or VM),
53 running an installation of the JABAWS Web Application Archive (WAR) on
54 <a href="http://www.turnkeylinux.org">TurnKey Linux 12.1 (Tomcat edition)</a>. Once this has
55 started up, it displays a message indicating the IP address of the JABAWS server, allowing any JABAWS
56 client (such as Jalview or the JABAWS command line client) to connect to it.<br/>
57 You can run the appliance with freely available program such as
58 <a href="http://www.vmware.com/products/player">VMware Player</a>, but you will need to install it
59 first. We have tested the JABAWS appliance with VMware Player v 3.1.2 on Windows and Linux, and
61 However, you are not limited to these virtualization systems and can use the JABAWS appliance with
62 any other virtualization platform. You can use
63 <a href="http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/ovf">VMware
64 OVF tool</a> to prepare JABAWS image for a different virtualization platform e.g.
65 <a href="http://www.virtualbox.org/">VirtualBox</a>.
67 <p class="text-right">
68 <a href="#">Back to top <i class="fa fa-arrow-up" aria-hidden="true"></i></a>
74 <div class="row" id="whenvm">
75 <div class="col-md-12">
76 <div class="panel panel-default">
77 <div class="panel panel-heading">
78 <h1 class="panel-title">When to use the Virtual Appliance</h1>
80 <div class="panel-body">
81 <p class="justify">The appliance best suits users who would like to use the JABA web services locally. This might be because they do not want to access
82 systems over an internet, or just want to keep their data private. It is also
83 the recommended option for users who want to install JABAWS on Windows, which does not support all the bioinformatics programs that JABAWS can run.
87 For servers that will be used heavily, we recommend that a <a href="man_serverwar.jsp#instwar">JABAWS Server WAR distribution</a> is deployed, rather than the Virtual Appliance version of JABAWS.
88 This is because the JABAWS appliance is pre-configured to use only 1 CPU and 512M of memory
89 (where the minimum amount of memory required for a JABAWS server is about 378M), which is unlikely to be sufficient for heavy computation.
90 It is possible to reconfigure the virtual appliance so it uses more computation resources,
91 but for most production environments, the JABAWS WAR distribution will be easier to deploy and fine tune to take advantage of the available resources.
93 <p class="text-right">
94 <a href="#">Back to top <i class="fa fa-arrow-up" aria-hidden="true"></i></a>
100 <div class="row" id="howtoinstallvm">
101 <div class="col-md-12">
102 <div class="panel panel-default">
103 <div class="panel panel-heading">
104 <h1 class="panel-title">How to install VMware Player</h1>
106 <div class="panel-body">
108 Please see the <a href="http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0">VMware Player</a>
109 web sites for up to date instructions and downloads.
111 <p class="text-right">
112 <a href="#">Back to top <i class="fa fa-arrow-up" aria-hidden="true"></i></a>
118 <div class="row" id="vmplayer">
119 <div class="col-md-12">
120 <div class="panel panel-default">
121 <div class="panel panel-heading">
122 <h1 class="panel-title">VMware Player Appliance configuration</h1>
124 <div class="panel-body">
125 <p class="justify">The free <a href="http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0">VMware Player</a>
126 can be used to run the JABAWS services from the Windows and Linux host operating systems.
127 <a href="https://www.vmware.com/vmwarestore/buyfusion.html">VMware Fusion</a>, a commercial
128 VMware product, offers virtual machine support for Mac.
130 <p class="justify">To run the JABAWS server on VMware player, unpack the JABAWS VM into one of the folders on
131 your local hard drive. Open VMware Player, click "Open Virtual Machine" and point
132 the Player to the location of the JABAWS, then choose the JABAWS.vmx file to open an appliance.
134 <p class="justify">When you play the machine for the first time the Player might ask you whether "This
135 virtual machine may have been moved or copied.", say that you have copied it.
139 <p class="text-right">
140 <a href="#">Back to top <i class="fa fa-arrow-up" aria-hidden="true"></i></a>
146 <div class="row" id="jabawsAppliance">
147 <div class="col-md-12">
148 <div class="panel panel-default">
149 <div class="panel panel-heading">
150 <h1 class="panel-title">JABAWS Appliance details</h1>
152 <div class="panel-body">
153 <p class="justify">By default, the JABAWS virtual appliance is configured with 512M
154 of memory and 1 CPU, but you are free to change these settings. If you have
155 more than one CPU or CPU core on your computer you can make them available
156 for the JABAWS virtual machine by editing virtual machine settings. Please
157 bear in mind that more CPU power will not make a single calculation go faster,
158 but it will enable the VM to do calculations in parallel. Similarly, you can
159 add more memory to the virtual machine. More memory lets your VM deal with
160 larger tasks, e.g. work with large alignments.
163 The VMware Player screen shot below displays JABAWS VM CPU settings.
166 <img src="static/img/VMware_cpu.png" alt="vmware cpu settings" width="708"
167 height="267" style="border: solid black 1px" />
170 <p><strong>JABAWS Virtual Appliance Configuration: </strong></p>
171 <p><strong>VMware info</strong></p>
174 <li>RAM : 512 MB</li>
175 <li>Networking : Host only (the VM has no access to the outside network, nothing from the
176 outside network can access the VM)</li>
177 <li>Hard disk : 20 GB (expanding)</li>
178 <li>VMware tools : Installed</li>
180 <p><strong>OS information</strong></p>
182 <li>OS : TurnKey Linux (v. 12.1, <a href="http://www.turnkeylinux.org/tomcat">Standalone
183 Tomcat</a>) based on Debian 6.0.7 (Squeeze)</li>
184 <li>Installation : Oracle Java 6, Tomcat 7, JABAWS v. 2.1 </li>
185 <li>IPv4 address : dhcp</li>
186 <li>IPv6 address : auto</li>
187 <li>DNS name : none</li>
188 <li>Name server : dhcp</li>
189 <li>Route : dhcp</li>
190 <li>Keyboard : US_intl</li>
192 <p><strong>Login credentials</strong><br />
194 <li>Root password: jabaws</li>
195 <li>Tomcat admin password: adminjabaws</li>
197 <p> <strong>Services available at the virtial machine IP (e.g. VM_IP = 172.16.232.149)</strong></p>
199 <li>Tomcat Web Server: http://VM_IP (e.g. http://172.16.232.149)</li>
200 <li>Jabaws URL: http://VM_IP/jabaws (e.g. http://172.16.232.149/jabaws)</li>
201 <li>Web Shell: https://VM_IP:12320/ (e.g. https://172.16.232.149:12320)</li>
202 <li>Webmean: https://VM_IP:12321/ (e.g. https://172.16.232.149:12321)</li>
203 <li>SSH/SFTP: root@VM_IP (e.g. ssh root@172.16.232.149)</li>
205 <p class="text-right">
206 <a href="#">Back to top <i class="fa fa-arrow-up" aria-hidden="true"></i></a>
212 <div class="row" id="jalviewWithJaba">
213 <div class="col-md-12">
214 <div class="panel panel-default">
215 <div class="panel panel-heading">
216 <h1 class="panel-title">Configuring Jalview to work with your JABAWS VM</h1>
218 <div class="panel-body">
221 After booting the JABAWS VM, you should see similar screen, however, the IP address of your VM may be different.
222 To enable Jalview to work with your JABAWS appliance you need to go to Jalview->Tools->Preferences->Web Services ->
223 New Service URL, and add JABAWS URL into the box provided. For more information please refer to Jalview
224 <a href="http://www.jalview.org/help/html/webServices/JABAWS.html">help pages</a>.
226 <p><img src="static/img/vm_welcome_screen.png" alt="JABAWS welcome screen" width="734"
228 <p class="justify">If you click on Advanced Menu, you will see the configuration console,
229 similar to the one below.
231 <p><img src="static/img/VMware_booted.png" alt="JABAWS welcome screen" width="735"
234 If you need to configure a static IP address the configuration console will
235 help you with this. Shutting down the VM is best from the configuration console as well.
238 <p class="text-right">
239 <a href="#">Back to top <i class="fa fa-arrow-up" aria-hidden="true"></i></a>
245 <div class="row" id="vmiaccess">
246 <div class="col-md-12">
247 <div class="panel panel-default">
248 <div class="panel panel-heading">
249 <h1 class="panel-title">VM Network Settings</h1>
251 <div class="panel-body">
253 By default the JABAWS VM is configured to use host-only networking. This means that the host can communicate with the VM via a network,
254 but no other machines can. Similarly, the VM cannot communicate with any other computers apart from the host. If you want to connect
255 to the Internet from the VM, configure your VM to use NAT network. However, you will not be able to connect to the VM from the host
256 in such case. If you want to be able to connect to your VM and let VM connect to the internet at the same time you would have to use
257 a Bridged network. In such a case you would have to configure the VM IP address manually (unless of course your network has a DHCP
265 <jsp:include page="template_footer.jsp" />