Topic - DATA PROVIDERS TRAINING COURSE DEPLOYMENT PROCESS
Using “virtual machine” (VM) image Standalone distribution Options Following options can be used while setting up Data Provider: Using “virtual machine” (VM) image or Standalone distribution
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 )
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)
VM image Configure network interfaces (see document “ODP GLOBAL NODE DEPLOYMENT QUICK GUIDE”,section 3)
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)
Standalone distribution Create new environmental variable “JAVA_HOME” (OS dependant) Create new environmental variable “JAVA_HOME” (OS dependant)
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)
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.
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.
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
Standalone distribution Remove explicit ncGen file from the $JBOSS_HOME/server/default/conf/dpms/config directory (ncgen – if Windows installation, ncgen.exe – UNIX/Linux)
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)
Questions?