Upload
ilene-hampton
View
220
Download
0
Embed Size (px)
Citation preview
Settings and properties
Sergey Sukhonosov, Dr. Sergey BelovNational Oceanographic Data Centre, Russia
Training course on establishment of the ODP regional node and data network for SNDM-Argentina,7 - 11 October 2013, Buenos Aires, Argentina
2
Initial settings Users and roles
a) Create user and assign proper role
b) Specify roles in web-app configuration file $JBOSS_HOME/server/default/deploy/dpms.sar/dpms.war/WEB-INF/web.xml
E.g.:
<auth-constraint> <role-name>MINCYT:DP:ADMIN</role-name>
<role-name>MINCYT:DP:USER</role-name></auth-constraint>…<security-role><role-name>MINCYT:DP:ADMIN</role-name></security-role> <security-role><role-name>MINCYT:DP:USER</role-name></security-role>
3
Initial settingsc) Specify roles for non-SSO access$JBOSS_HOME/server/default/conf/dpms/
config/dpms-roles.properties$JBOSS_HOME/server/default/conf/dpms/
config/dpms-users.propertiesE.g.:dpms-roles.properties:admin=MINCYT:DP:ADMINdpms-users.properties:admin=password
4
Main DP configuration $JBOSS_HOME/server/default/conf/dpms/config/
config.propertiesParameter name Default value Description
Integration Server URL http://is.mincyt.gob.ar:8080/iserv2
URL to the Integration Server entry point, that Data Provider connect to. Integration Server is situated at ODP region node
Integration Server user name
jcportal User name at Integration Server. This value don’t change as a rule
Integration Server user password
portal User password. This value don’t changed as a rule
Internal server IP-address[:port]
127.0.0.1:8080 Internal server IP address.
External server IP-address[:port]
dp.mincyt.gob.ar External server IP address Notice: It’s mandatory rule that IP address must be changed from localhost to DNS name or IP address that accessible to Integration Server address.
5
Main DP configurationProxy-server address[:port] IP address of proxy server. This option
uses in rare case of network topology and don’t used as a rule
Country code AR Country code concerning ISO 3166-1-alpha-2 (http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm )
Date format dd-MM-yyyy HH:mm Date and time template for user interface.
Unique Data Provider ID MINCYT Unique Data Provider identificator. Value is specified in Partnership Centre for the IODE ODP
Data Provider name MINCYT Data Provider name. Value is specified in Partnership Centre for the IODE ODP
Node identifier MINCYT Identificator specified on a type of the ODP node.
6
Main DP configurationInterface language English User interface language
Last Data Provider software update date
Last Data Provider software update date. Specified by software developers.
Data Provider software version
Specified by software developers.
Documentation web site (optional)
http://www.oceandataportal.org
Documentation web site
SOAP web-service mode enabled
true Event-driven communication model.
Logging mode (SOAP web-service invocation)
true Logging mode. Data Provider logs to Service Bus
Number of records in test request response
100 Record count received in response from data source during test request
7
Main DP configurationThe maximum number of concurrent threads
5 Number of concurrent threads running at Data Provider server. Number depends on CPU and RAM.
Default federation code 1.3 Don’t change
Vocabulary dictionary standard
BODC Don’t change
Quartz-service name DPMSQuartzScheduler Don’t change
DP - IS communication service name on Service Bus
ODPGLOBAL_DPCommunicationWS
Web service name for event-driven communication between DP and IS
8
JBoss AS configuration$JBOSS_HOME/bin/run.conf (for Linux) or
$JBOSS_HOME/bin/run.main.bat (for Windows)
“JAVA_HOME” – JDK installation path
“JAVA_OPTS” parameters:
-Xms – initial heap memory size
-Xmx – maximum heap memory size$JBOSS_HOME/bin/run.bat (for Windows)
Specify IP address binded to JBoss AS
E.g.: run.main.bat –b 0.0.0.0
9
DP initial configurations$JBOSS_HOME/server/default/conf/dpms/
dpdb.propertiesPATH_TO_IR=/opt/dp/jboss-4.2.3.GA/server/default/conf/dpms/resourcesELEMENTS_MD_FILE=/opt/dp/jboss-4.2.3.GA/server/default/conf/dpms/elements/BODC/ElementsMD_en.xml
$JBOSS_HOME/server/default/conf/dpms/config/quartz-jobs.xmlAll pathes in tags <value> should be updated depending on JBOSS installation pathE.g.: <value>/opt/dp/jboss-4.2.3.GA/server/default/conf/dpms/ncResults,240</value>