140 likes | 230 Views
Topic - DATA PROVIDERS TRAINING COURSE DEPLOYMENT PROCESS. MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013. Options. Following options can be used while setting up Data Provider: Using “virtual machine” (VM) image or Standalone distribution.
E N D
Topic - DATA PROVIDERS TRAINING COURSEDEPLOYMENT PROCESS MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
Options Following options can be used while setting up Data Provider: Using “virtual machine” (VM) image or Standalone distribution MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
VM image Operational requirement: VMWare ESXi 5.1 installed at server machine Actions: • 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
VM image • 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
VM image • Configure network interfaces (see document “ODP GLOBAL NODE DEPLOYMENT QUICK GUIDE”,section 3) MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
Standalone distribution • 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). • Download individual configurations package (configurations.zip) from the ftp://nodc.meteo.ru/distro/<CENTRE_ID>/ • Download and install JDK 1.7 (OS dependant) MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
Standalone distribution • Create new environmental variable “JAVA_HOME” (OS dependant) MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
Standalone distribution • Unpack JBoss (Windows: “c:/jboss-4.2.3.GA”, UNIX/Linux - /opt/dp/jboss-4.2.3.GA) • Unpack, edit and copy individual configurations according to the instruction (readme-to-install.txt) MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
Standalone distribution • 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. • 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
Standalone distribution • 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. • Open $JBOSS_HOME/server/default/conf/dpms/dpdb.properties in the text editor. MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013
Standalone distribution • 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
Standalone distribution • 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
Important information UNIX/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
Questions? MINCyT, Buenos Aires, Argentina, 7 – 11 October 2013