Post on 30-Mar-2015
Topic - DATA PROVIDERS TRAINING COURSEDEPLOYMENT PROCESS
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
2
OptionsFollowing options can be used while
setting up Data Provider:Using “virtual machine” (VM) image
orStandalone distribution
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
3
VM imageOperational requirement: VMWare ESXi 5.1 installed at
server machineActions:1. Install and configure VMWare ESXi 5 (see VMWare
Knowledge Base http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2005099 )
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
4
VM image
2. Deploy Data Provider image into the VMWare ESXi using VMware Vsphere client (see document “ODP GLOBAL NODE DEPLOYMENT QUICK GUIDE”,sections 1 and 2)
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
5
VM image
3. Configure network interfaces (see document “ODP GLOBAL NODE DEPLOYMENT QUICK GUIDE”,section 3)
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
6
Standalone distribution1. Download JBoss 4.2.3 with bundled Data Provider v.2.1
(jboss-4.2.3.GA-bundled-DP.zip) from the FTP server (ftp://nodc.meteo.ru/distro/jboss-4.2.3.GA-bundled-DP.zip).
2. Download individual configurations package (configurations.zip) from the ftp://nodc.meteo.ru/distro/<CENTRE_ID>/
3. Download and install JDK 1.7 (OS dependant)
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
7
Standalone distribution4. Create new environmental variable “JAVA_HOME” (OS
dependant)
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
8
Standalone distribution
5. Unpack JBoss (Windows: “c:/jboss-4.2.3.GA”, UNIX/Linux - /opt/dp/jboss-4.2.3.GA)
6. Unpack, edit and copy individual configurations according to the instruction (readme-to-install.txt)
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
9
Standalone distributiona. Copy web.xml from the unpacked configurations.zip
to the $JBOSS_HOME/server/default/deploy/dpms.sar/dpms.war/WEB-INF/ directory overwriting existing file.
b. Copy config.properties from the unpacked configurations.zip to the $JBOSS_HOME/server/default/conf/dpms/config/ directory overwriting existing file.
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
10
Standalone distribution
c. Copy dpms-roles.properties and dpms-users.properties from the unpacked configurations.zip to the $JBOSS_HOME/server/default/conf/dpms/config/ directory overwriting existing file.
d. Open $JBOSS_HOME/server/default/conf/dpms/dpdb.properties in the text editor.
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
11
Standalone distribution
e. Specify correct path to the JBoss (especially for the Windows-based systems):
PATH_TO_IR=/var/opt/jboss-4.2.3.GA/server/default/conf/dpms/resources
ELEMENTS_MD_FILE=/var/opt/jboss-4.2.3.GA/server/default/conf/dpms/elements/BODC/ElementsMD_en.xml
Save and close the file
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
12
Standalone distribution
f. Remove explicit ncGen file from the $JBOSS_HOME/server/default/conf/dpms/config directory (ncgen – if Windows installation, ncgen.exe – UNIX/Linux)
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
13
Important informationUNIX/Linux: JBoss should start as non-superuser
(‘root’).
Windows: x32-bit systems cannot address more than 1024 Mb RAM for JBoss heap size (‘-Xmx’ option)
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
14
Questions?
MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013