zu viele Aenderungen auf einmal

This commit is contained in:
Marcus Gillitzer
2020-04-21 15:16:51 +02:00
parent f7738a43f8
commit 341a603008
63 changed files with 3292 additions and 12 deletions

View File

@ -0,0 +1,29 @@
---
language: python
python: "2.7"
# Use the new container infrastructure
sudo: false
# Install ansible
addons:
apt:
packages:
- python-pip
install:
# Install ansible
- pip install ansible
# Check ansible version
- ansible --version
# Create ansible.cfg with correct roles_path
- printf '[defaults]\nroles_path=../' >ansible.cfg
script:
# Basic role syntax check
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/

View File

@ -0,0 +1,58 @@
Role Name
=========
Installation Patch 0013_8.0.9.0. Ist "nur" Änderung vom BV-Client. Zudem an 2 Dateien Config-Änderung...
Zudem werden dann aber die psc.sh/start-stop-Skripte erneuert.
Requirements
------------
Die entsprechenden Verzeichnisse unterhalb von /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services müssen
vorhanden sein (rsAMSBVService-8.0.9.0 und SharedComponents-8.0.9.0).
Alle Ordner mit 0755 berechtigen
1. #chmod -R 755 /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services
Alle Dateien mit 0644 berechtigen
2. #find . -type f | xargs -i chmod 644 {}
Alle Skripte in 0755 berechtigen
3. #find . -type f -name "*.sh" | xargs -i chmod 0755 {}
Die Datei-Ordner dem User "Oracle" geben
4. #chown -R oracle:dba /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services
Role Variables
--------------
Keine.
Dependencies
------------
Vorher muss folgende Role gelaufen sein
- ams_0008_8.0.8.0_AdminServer
Example Playbook
----------------
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- ams_0013_8.0.9.0
License
-------
BSD
Author Information
------------------
M. Gillitzer, 20200330

View File

@ -0,0 +1,2 @@
---
# defaults file for default_role

View File

@ -0,0 +1,57 @@
#!/usr/bin/bash
AMSHOME="/opt/rola/ams"
#Check for Appserver
if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ]
then
APPS="DOWN"
else
APPS=$(cat $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status)
fi
#Check for Appserveradmin
if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ]
then
APPSADMIN="DOWN"
else
APPSADMIN=$(cat $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status)
fi
#Check for Webservice
if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ]
then
WEBS="DOWN"
else
WEBS=$(cat $AMSHOME/linux/Services/service/rsWebserviceImp20.status)
fi
#Check for BV-Service
if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.status ]
then
BVS="DOWN"
else
BVS=$(cat $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.status)
fi
#Anzeige
printf "\n \e[33m\t\t\tAppserver und Services\e[0m \n\n\n"
if [[ $APPS = "STARTED" ]]
then
printf "\t\tAppserver\t\e[32m%s\e[0m \n\n\n" "$APPS"
else
printf "\t\tAppserver\t\e[31m%s\e[0m \n\n\n" "$APPS"
fi
if [[ $APPSADMIN = "STARTED" ]]
then
printf "\t\tAppserveradmin\t\e[32m%s\e[0m \n\n\n" "$APPSADMIN"
else
printf "\t\tAppserveradmin\t\e[31m%s\e[0m \n\n\n" "$APPSADMIN"
fi
if [[ $WEBS = "STARTED" ]]
then
printf "\t\tWebservice\t\e[32m%s\e[0m \n\n\n" "$WEBS"
else
printf "\t\tWebservice\t\e[31m%s\e[0m \n\n\n" "$WEBS"
fi
if [[ $BVS = "STARTED" ]]
then
printf "\t\tBV-Service\t\e[32m%s\e[0m \n\n\n" "$BVS"
else
printf "\t\tBV-Service\t\e[31m%s\e[0m \n\n\n" "$BVS"
fi

View File

@ -0,0 +1,31 @@
#!/usr/bin/bash
AMSHOME="/opt/rola/ams"
#Check for Appserver
if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ]
then
echo "Appserver is already running!"
else
/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start;
fi
#Check for Webservice
if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ]
then
echo "Webservice is already running!"
else
/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start;
fi
#Check for BV-Service
if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.status ]
then
echo "BV-Service is already running!"
else
/opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.sh start;
fi
#Check for Appserveradmin
if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ]
then
echo "Appserveradmin is already running!"
else
/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start;
fi
./psc.sh

View File

@ -0,0 +1,25 @@
#!/usr/bin/bash
AMSHOME="/opt/rola/ams"
#Check for Appserver
if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ]
then
echo "Appserver is already running!"
else
/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start;
fi
#Check for Webservice
if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ]
then
echo "Webservice is already running!"
else
/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start;
fi
#Check for BV-Service
if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.status ]
then
echo "BV-Service is already running!"
else
/opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.sh start;
fi
./psc.sh

View File

@ -0,0 +1,10 @@
#!/usr/bin/bash
AMSHOME="/opt/rola/ams"
if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ]
then
echo "Appserveradmin is already running!"
else
/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start;
fi
./psc.sh

View File

@ -0,0 +1,10 @@
#!/usr/bin/bash
AMSHOME="/opt/rola/ams"
if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ]
then
echo "Appserver is already running!"
else
/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start;
fi
./psc.sh

View File

@ -0,0 +1,31 @@
#!/usr/bin/bash
AMSHOME="/opt/rola/ams"
#Check for Appserver
if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ]
then
echo "Appserver not running!"
else
$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop;
fi
#Check for Webservice
if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ]
then
echo "Webservice not running!"
else
$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop;
fi
#Check for BV-Service
if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.status ]
then
echo "BV-Service not running!"
else
$AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.sh stop;
fi
#Check for Appserveradmin
if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ]
then
echo "Appserveradmin not running!"
else
$AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop;
fi
./psc.sh

View File

@ -0,0 +1,25 @@
#!/usr/bin/bash
AMSHOME="/opt/rola/ams"
#Check for Appserver
if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ]
then
echo "Appserver not running!"
else
$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop;
fi
#Check for Webservice
if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ]
then
echo "Webservice not running!"
else
$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop;
fi
#Check for BV-Service
if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.status ]
then
echo "BV-Service not running!"
else
$AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.sh stop;
fi
./psc.sh

View File

@ -0,0 +1,10 @@
#!/usr/bin/bash
AMSHOME="/opt/rola/ams"
if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ]
then
echo "Appserver not running!"
else
/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop;
fi
./psc.sh

View File

@ -0,0 +1,10 @@
#!/usr/bin/bash
AMSHOME="/opt/rola/ams"
if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ]
then
echo "Appserver not running!"
else
/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh stop;
fi
./psc.sh

View File

@ -0,0 +1,2 @@
---
# handlers file for default_role

View File

@ -0,0 +1,60 @@
galaxy_info:
author: your name
description: your description
company: your company (optional)
# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
# issue_tracker_url: http://example.com/issue/tracker
# Some suggested licenses:
# - BSD (default)
# - MIT
# - GPLv2
# - GPLv3
# - Apache
# - CC-BY
license: license (GPLv2, CC-BY, etc)
min_ansible_version: 2.4
# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
# Optionally specify the branch Galaxy will use when accessing the GitHub
# repo for this role. During role install, if no tags are available,
# Galaxy will use this branch. During import Galaxy will access files on
# this branch. If Travis integration is configured, only notifications for this
# branch will be accepted. Otherwise, in all cases, the repo's default branch
# (usually master) will be used.
#github_branch:
#
# Provide a list of supported platforms, and for each platform a list of versions.
# If you don't wish to enumerate all versions for a particular platform, use 'all'.
# To view available platforms and versions (or releases), visit:
# https://galaxy.ansible.com/api/v1/platforms/
#
# platforms:
# - name: Fedora
# versions:
# - all
# - 25
# - name: SomePlatform
# versions:
# - all
# - 1.0
# - 7
# - 99.99
galaxy_tags: []
# List tags for your role here, one per line. A tag is a keyword that describes
# and categorizes the role. Users find roles by searching for tags. Be sure to
# remove the '[]' above, if you add tags to this list.
#
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
# Maximum 20 tags per role.
dependencies: []
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.

View File

@ -0,0 +1,163 @@
---
- name: Remove a directory /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.8.0 if it does exist
file:
path: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.8.0
state: absent
- name: Remove a directory /opt/rola/ams/linux/webclient-services/SharedComponents-8.0.8.0/ if it does exist
file:
path: /opt/rola/ams/linux/webclient-services/SharedComponents-8.0.8.0/
state: absent
- name: synchronize Folder remote from /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services/rsAmsBvService-8.0.9.0 to /opt/rola/ams/linux/webclient-services
synchronize:
src: /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services/rsAmsBvService-8.0.9.0
dest: /opt/rola/ams/linux/webclient-services/
delegate_to: "{{ ansible_facts['default_ipv4']['address'] }}"
- name: synchronize Folder remote from /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services/SharedComponents-8.0.9.0 to /opt/rola/ams/linux/webclient-services
synchronize:
src: /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services/SharedComponents-8.0.9.0
dest: /opt/rola/ams/linux/webclient-services/
delegate_to: "{{ ansible_facts['default_ipv4']['address'] }}"
- name: Template file rsAmsBvService.conf.j2 with owner and permissions
template:
src: ./templates/rsAmsBvService.conf.j2
dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.9.0/service/config/rsAmsBvService.conf
owner: jetty
group: dba
mode: '0644'
- name: Template file tech.database.yaml.j2 with owner and permissions
template:
src: ./templates/tech.database.yaml.j2
dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.9.0/frameworkconfig/prefs/tech.database.yaml
owner: jetty
group: dba
mode: '0644'
- name: Copy file psc.sh with owner and permissions
copy:
src: ./files/psc.sh
dest: /home/jetty/psc.sh
force: yes
owner: jetty
group: dba
mode: '0755'
- name: Copy file startadmin with owner and permissions
copy:
src: ./files/startadmin
dest: /home/jetty/startadmin
force: yes
owner: jetty
group: dba
mode: '0755'
- name: Copy file startALL with owner and permissions
copy:
src: ./files/startALL
dest: /home/jetty/startALL
force: yes
owner: jetty
group: dba
mode: '0755'
- name: Copy file startALLwoa with owner and permissions
copy:
src: ./files/startALLwoa
dest: /home/jetty/startALLwoa
force: yes
owner: jetty
group: dba
mode: '0755'
- name: Copy file startapps with owner and permissions
copy:
src: ./files/startapps
dest: /home/jetty/startapps
force: yes
owner: jetty
group: dba
mode: '0755'
- name: Copy file stopadmin with owner and permissions
copy:
src: ./files/stopadmin
dest: /home/jetty/stopadmin
force: yes
owner: jetty
group: dba
mode: '0755'
- name: Copy file stopALL with owner and permissions
copy:
src: ./files/stopALL
dest: /home/jetty/stopALL
force: yes
owner: jetty
group: dba
mode: '0755'
- name: Copy file stopALLwoa with owner and permissions
copy:
src: ./files/stopALLwoa
dest: /home/jetty/stopALLwoa
force: yes
owner: jetty
group: dba
mode: '0755'
- name: Copy file stopapps with owner and permissions
copy:
src: ./files/stopapps
dest: /home/jetty/stopapps
force: yes
owner: jetty
group: dba
mode: '0755'
- name: commit changes to git
shell: |
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/foundation/java/x64/linux/jre/lib/desktop/mime/packages/x-java-archive.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/foundation/java/x64/linux/jre/lib/desktop/mime/packages/x-java-jnlp-file.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/foundation/java/x86/linux/jre/lib/desktop/mime/packages/x-java-archive.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/foundation/java/x86/linux/jre/lib/desktop/mime/packages/x-java-jnlp-file.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/META-INF/persistence.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/BackendTransformer.meta.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/BackendTransformer_DEV.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/Importer.meta.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/Importer_DEV.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/ServicesErrorCodes.meta.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/ServicesErrorCodes_DEV.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/ServicesLogCodes.meta.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/ServicesLogCodes_DEV.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/Transformer.meta.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/Transformer_DEV.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/UserServiceErrorCodes.meta.xml
git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/UserServiceErrorCodes_DEV.xml
git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/boot/boot.xml
git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-dev.xml
git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-extensions.xml
git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-hpov-appender.xml
git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-json-appender.xml
git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-level-custom.xml
git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-level-defaults.xml
git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-mappings-codebased.xml
git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-mappings-rulebased.xml
git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback.xml
git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/service/config/rsAmsBvService.conf
git add .
git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_0013_8.0.9.0"
exit 0
args:
chdir: "/opt/rola"

View File

@ -0,0 +1,268 @@
#encoding=UTF-8
#********************************************************************
#
# Service configuration file rsAmsBvService
#
#********************************************************************
#
#********************************************************************
# Wrapper License Properties
#********************************************************************
# Include file problems can be debugged by leaving only one '#'
# at the beginning of the following line:
##include.debug
#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf
# The following property will output information about which License Key(s)
# are being found, and can aid in resolving any licensing problems.
#wrapper.license.debug=TRUE
#********************************************************************
# Wrapper Localization
#********************************************************************
# Specify the language and locale which the Wrapper should use.
#wrapper.lang=en_US # en_US or ja_JP
# Specify the location of the language resource files (*.mo).
wrapper.lang.folder=../lang
#********************************************************************
# Wrapper Java Properties
#********************************************************************
# Java Application
wrapper.java.command=%JRE_HOME%/bin/java
# Tell the Wrapper to log the full generated Java command line.
#wrapper.java.command.loglevel=INFO
# Java Main class. This class must implement the WrapperListener interface
# or guarantee that the WrapperManager class is initialized. Helper
# classes are provided to do this for you.
# See the following page for details:
# http://wrapper.tanukisoftware.com/doc/english/integrate.html
wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener
# Java Classpath (include wrapper.jar) Add class path elements as
# needed starting from 1
wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar
wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar
# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=%SERVICE_HOME%/lib
wrapper.java.library.path.2=%SHARED_HOME%/native
wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS%
wrapper.java.library.path.4=%WINDIR%/SYSTEM32
# Set system path
set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH%
# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
wrapper.java.additional.auto_bits=TRUE
# Java Additional Parameters
wrapper.java.additional.1=-server
wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsAmsBvService_hs_err_pid%p.log"
wrapper.java.additional.2.stripquotes=TRUE
wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%"
wrapper.java.additional.3.stripquotes=TRUE
wrapper.java.additional.4=-XX:+DisableAttachMechanism
wrapper.java.additional.5=-XX:+UseG1GC
wrapper.java.additional.6=-XX:MaxGCPauseMillis=500
wrapper.java.additional.7=-XX:ConcGCThreads=4
wrapper.java.additional.8=-XX:ParallelGCThreads=4
wrapper.java.additional.9=-XX:CICompilerCount=4
wrapper.java.additional.10=-XX:+UseStringDeduplication
# Java Parameters for general webservice HTTP access
wrapper.java.additional.11=-Dorg.apache.felix.http.host={{ ansible_facts['default_ipv4']['address'] }}
wrapper.java.additional.12=-Dorg.osgi.service.http.port=7373
#wrapper.java.additional.13=-Dorg.osgi.service.http.port.secure=8443
# Optional alternative config paths for rola yaml config files
#wrapper.java.additional.20=-Drola.prefs="%RS_HOME%/frameworkconfig/prefs"
wrapper.java.additional.20.stripquotes=TRUE
# Path for rola log files
wrapper.java.additional.21=-Drola.logfile.path="{{ LOG_DIR }}/bvservice"
wrapper.java.additional.21.stripquotes=TRUE
# Service name and type, default is the same as the config file name
# As this is used for logging filenames, only use characters [A-Za-z0-9_.]
wrapper.java.additional.22=-Drola.service.name=rsAmsBvService
wrapper.java.additional.23=-Drola.service.type=rsAmsBvService
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=128
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=2048
# Service parameters:
# 1-19. parameter: OSGi and framework parameters
# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile)
wrapper.app.parameter.1=-osgiUserWorkDir
wrapper.app.parameter.2="%TEMP%"
wrapper.app.parameter.2.stripquotes=TRUE
wrapper.app.parameter.3=-osgiConfiguration
wrapper.app.parameter.4=webamsbv
wrapper.app.parameter.5=-osgiRoot
wrapper.app.parameter.6="%SHARED_HOME%"
wrapper.app.parameter.6.stripquotes=TRUE
wrapper.app.parameter.7=-osgiFrameworkConfigDir
wrapper.app.parameter.8="%RS_HOME%/frameworkconfig"
wrapper.app.parameter.8.stripquotes=TRUE
wrapper.app.parameter.9=-startprofileset
wrapper.app.parameter.10=webamsbv
#Verbose output for osgi launcher
#wrapper.app.parameter.19=-osgiVerbose
#********************************************************************
# Wrapper Logging Properties
#********************************************************************
# Enables Debug output from the Wrapper.
# wrapper.debug=TRUE
# Format of output for the console. (See docs for formats)
wrapper.console.format=PM
# Log Level for console output. (See docs for log levels)
wrapper.console.loglevel=STATUS
# Log file to use for wrapper output logging.
wrapper.logfile="{{ LOG_DIR }}/bvservice/rsAmsBvService.log"
# Format of output for the log file. (See docs for formats)
wrapper.logfile.format=LPTM
# Log Level for log file output. (See docs for log levels)
wrapper.logfile.loglevel={{ ams_LogLevel }}
# Maximum size that the log file will be allowed to grow to before
# the log is rolled. Size is specified in bytes. The default value
# of 0, disables log rolling. May abbreviate with the 'k' (kb) or
# 'm' (mb) suffix. For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=10m
# Maximum number of rolled log files which will be allowed before old
# files are deleted. The default value of 0 implies no limit.
wrapper.logfile.maxfiles=30
# Log Level for sys/event log output. (See docs for log levels)
wrapper.syslog.loglevel=ERROR
#********************************************************************
# Wrapper General Properties
#********************************************************************
# Set the working directory to the RS-Home directory
wrapper.working.dir=%RS_HOME%
# Allow for the use of non-contiguous numbered properties
wrapper.ignore_sequence_gaps=TRUE
# Do not start if the pid file already exists.
#wrapper.pidfile.strict=TRUE
# Title to use when running as a console
wrapper.console.title=rsAmsBvService
#********************************************************************
# Wrapper JVM Checks
#********************************************************************
# Detect DeadLocked Threads in the JVM. (Requires Standard Edition)
wrapper.check.deadlock=TRUE
wrapper.check.deadlock.interval=60
wrapper.check.deadlock.action=RESTART
wrapper.check.deadlock.output=FULL
# Out Of Memory detection.
# Ignore -verbose:class output to avoid false positives.
wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError
wrapper.filter.action.1000=NONE
# (Simple match)
wrapper.filter.trigger.1001=java.lang.OutOfMemoryError
# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.)
#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError
#wrapper.filter.allow_wildcards.1001=TRUE
wrapper.filter.action.1001=RESTART
wrapper.filter.message.1001=The JVM has run out of memory.
#********************************************************************
# Wrapper Email Notifications. (Requires Professional Edition)
#********************************************************************
# Common Event Email settings.
#wrapper.event.default.email.debug=TRUE
#wrapper.event.default.email.smtp.host=<SMTP_Host>
#wrapper.event.default.email.smtp.port=25
#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification
#wrapper.event.default.email.sender=<Sender email>
#wrapper.event.default.email.recipient=<Recipient email>
# Restart behaviour depending on exit code
# Service exited with bad result (exit code != 0)
wrapper.on_exit.default=RESTART
# Service exited with good result (exit code = 0)
wrapper.on_exit.0=SHUTDOWN
# Number of seconds to allow between the time that the JVM reports that it is stopped
# and the time that the JVM process actually terminates (e.g. termination of pending threads)
wrapper.jvm_exit.timeout=30
# Delay service restart for number of seconds
wrapper.restart.delay=15
#********************************************************************
# Wrapper Windows Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.
# Name of the service
wrapper.name=rsAmsBvService
# Display name of the service
wrapper.displayname=rsAmsBvService
# Description of the service
wrapper.description=rsAmsBvService
# Service dependencies. Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=
# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START
wrapper.ntservice.starttype=AUTO_START
# Allow the service to interact with the desktop (Windows NT/2000/XP only).
wrapper.ntservice.interactive=FALSE
# Automatically restart the service periodically
#wrapper.timer.1.action=RESTART
#wrapper.timer.1.interval=hour=24
# Configure the log attached to event emails.
#wrapper.event.default.email.maillog=ATTACHMENT
#wrapper.event.default.email.maillog.lines=50
#wrapper.event.default.email.maillog.format=LPTM
#wrapper.event.default.email.maillog.loglevel=INFO
# Enable specific event emails.
#wrapper.event.wrapper_start.email=TRUE
#wrapper.event.jvm_prelaunch.email=TRUE
#wrapper.event.jvm_start.email=TRUE
#wrapper.event.jvm_started.email=TRUE
#wrapper.event.jvm_deadlock.email=TRUE
#wrapper.event.jvm_stop.email=TRUE
#wrapper.event.jvm_stopped.email=TRUE
#wrapper.event.jvm_restart.email=TRUE
#wrapper.event.jvm_failed_invocation.email=TRUE
#wrapper.event.jvm_max_failed_invocations.email=TRUE
#wrapper.event.jvm_kill.email=TRUE
#wrapper.event.jvm_killed.email=TRUE
#wrapper.event.jvm_unexpected_exit.email=TRUE
#wrapper.event.wrapper_stop.email=TRUE
# Specify custom mail content
#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n

View File

@ -0,0 +1,41 @@
## Scope
bundle.name: com.rola.radium.rsframe
database:
rsframe:
## Database connection options
db-config:
## jdbc connection string for database connection
connect-string: jdbc:oracle:thin:@//{{ ams_DatabaseIPAdress }}:{{ ams_DatabasePort }}/{{ ams_DatabaseServiceName }}
## oracle logon username, DO NOT MODIFY
username: ROLA_SERVERUSER
## oracle logon password
password: ASSERVATE_TOOL
## algorithm used for jdbc checksum calculation
#checksum-type: MD5
## level used for jdbc checksum calculation
#checksum-level: Accepted
## algorithm used for jdbc encryption
#encryption-type: RC4_128
## level used for jdbc encryption
#encryption-level: Accepted
# Connection pool preferences.
pool:
## Minimum size of UCP pool.
#min-pool-size: 0
## Maximum size of UCP pool.
#max-pool-size: 500
## Database SQL related tracing options
tracing:
## Log all queries (to log-category: "rola.database.jdbc.query" with level "DEBUG")
#enable-log-all-queries: false
## Log params for query- and slow-query-log entires
#enable-log-params: false
## Log all slow queries (to log-category: "rola.database.jdbc.slowquery" with level "WARN")
#enable-log-slow-queries: true
## Slow query execution time threshold in millis
#slow-query-threshold-millis: 30000

View File

@ -0,0 +1,2 @@
localhost

View File

@ -0,0 +1,5 @@
---
- hosts: localhost
remote_user: root
roles:
- default_role

View File

@ -0,0 +1,2 @@
---
# vars file for default_role