Installation ams_0015_8.0.9.0_hotfix

This commit is contained in:
Marcus Gillitzer 2020-09-16 11:35:49 +02:00
parent e3d3d48350
commit df47868ee5
12 changed files with 512 additions and 1 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,38 @@
Role Name
=========
A brief description of the role goes here.
Requirements
------------
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
Role Variables
--------------
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
Dependencies
------------
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
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:
- { role: username.rolename, x: 42 }
License
-------
BSD
Author Information
------------------
An optional section for the role authors to include contact information, or a website (HTML is not allowed).

View File

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

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,62 @@
---
##ams
- name: Ordner tmp anlegen
file:
path: /home/jetty/tmp
state: directory
mode: '0755'
owner: jetty
group: dba
- name: alten Verzeichnis rsAmsBvService-8.0.9.0 entfernen
file:
path: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.9.0
state: absent
- name: altes Verzeichnis SharedComponents-8.0.9.0 entfernen
file:
path: /opt/rola/ams/linux/webclient-services/SharedComponents-8.0.9.0
state: absent
- name: tar datei rsAmsBvService-8.0.9.0.tar.gz entpacken
unarchive:
src: /sw/AMS/WEB/Lieferung_0015_8.0.9.0_AMS_BBTA1_HF3_BV/0825120236_RS-95464_0015_8.0.9.0_AMS_BBTA1_HF3_BV/linux/webclient-services/rsAmsBvService-8.0.9.0.tar.gz
dest: /opt/rola/ams/linux/webclient-services/
remote_src: yes
owner: jetty
group: dba
- name: tar datei SharedComponents-8.0.9.0.tar.gz entpacken
unarchive:
src: /sw/AMS/WEB/Lieferung_0015_8.0.9.0_AMS_BBTA1_HF3_BV/0825120236_RS-95464_0015_8.0.9.0_AMS_BBTA1_HF3_BV/linux/webclient-services/SharedComponents-8.0.9.0.tar.gz
dest: /opt/rola/ams/linux/webclient-services/
remote_src: yes
owner: jetty
group: dba
- name: Template file rsAmsBvService.conf.j2 with owner and permissions
template:
src: 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'
#notify:
#- stopALL
#- startALL
- name: Template file tech.database.yaml.j2 with owner and permissions
template:
src: 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'
#notify:
#- stopALL
#- startALL

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

View File

@ -18,7 +18,7 @@
#- ams_sso
#- ams_0008_8.0.8.0_AdminServer
#- ams_0013_8.0.9.0
- ams_0013_8.0.9.0
- ams_0013_8.0.9.0_hotfix
handlers: