-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NEST OSCert - Windoze support (#237)
* daytrader3 * ear * rename ear * getNameFromIdFromId error * add datasource * db2 debug * it works * webserver name * daytrader tuning * jython args * args * fine tuning * wsadminlib pre-req * start cluster * syncall * add cluster parm * debug * debug * moved the tuning to it's own role * instana retention allows /mnt with 2TB not to fill up over time * better kill twas * remove dup createDatasource * twas_cell copy db2jars to targets * moved db2jar put * propogate plugin-cfg.kdb * pluginkey syntax * python3 tWAS SIB drop tables * mode 755 * datasourceHelperClassname * fix v90 package string * fix extension * v90 packages * twas90 alterations * sdk8 chagnes * twas90 install template * py->yml * wsadminlib.py dest * common daytrader role and files * roles->role * removed symlink due to ansible-galaxy * separate daytrader resource config and application * remove readme * daytrader7 app install * print debug * admin role issue still not working * unintall previous app on re-runs * use wsadminlib function to delete app * move ihsplugin to common role * missing defaults * complete the gen propagate function * java/jmeter forceReplace * java/jmeter forceReplace - helps update existing * missing = * jenkins debug * -vvv debug * bool * indent * indent * create dir * forceReplace.sh script * intial windoze ibm im install debug * add CYGWIN_NT-10.0-20348 * windoze uninstall im debug * windoze check * ihs windoze install path trick * re-enable no log to mask sensitive info * sync * sync * move actual shared config file later in process * sync with external updates * podman for jmeter containers * podman in jmeter play
- Loading branch information
1 parent
26b3a2f
commit 163eceb
Showing
15 changed files
with
80 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ | |
- role: jmeter_prereqs | ||
- role: nestuser | ||
- role: timezone | ||
- role: podman | ||
|
||
- hosts: jmeter | ||
vars: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
ansible/roles/ibm_installation_manager/templates/ibm_im_responsefile.xml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
# specific OS supports wildcards, if preceded with @ its a group | ||
# if the db is corrupt, this can fix it: rpm --rebuilddb | ||
- name: dnf update | ||
become: yes | ||
dnf: | ||
name: '*' | ||
state: latest | ||
|
||
- name: install packages | ||
become: yes | ||
dnf: | ||
name: "{{ packages }}" | ||
state: present | ||
vars: | ||
packages: | ||
- 'podman' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
- include_tasks: "{{ ansible_distribution }}.{{ ansible_distribution_major_version }}.yml" | ||
when: | ||
- ansible_system == 'Linux' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#------------------------------------------------------------------------------------ | ||
# configuretWasUsageMetering.py - configure tWAS server with usage metering feature | ||
# https://www.ibm.com/docs/en/ws-automation?topic=vulnerabilities-adding-websphere-application-server-server#cf-t-add-was__wsascript | ||
# https://www.ibm.com/docs/en/ws-automation?topic=monitoring-registering-websphere-application-server-traditional-servers | ||
#------------------------------------------------------------------------------------ | ||
# | ||
# This script configures a traditional WebSphere Application Server with the usage | ||
|
@@ -176,8 +176,7 @@ def configuretWasUsageMetering(url, apiKey, sslRef, trustStoreName, trustStorePa | |
#------------------------------------------------------------- | ||
if len(certAlias) == 0: | ||
# use default certificate alias if it is not specified | ||
# NOTE: the alias is stored in all lower case even if it has CAPS..... | ||
certAlias = "meteringalias".lower() | ||
certAlias = "meteringalias" | ||
print "Using default certificate alias: " + certAlias | ||
|
||
# delete certificate if it exists in keystore | ||
|
@@ -187,9 +186,8 @@ def configuretWasUsageMetering(url, apiKey, sslRef, trustStoreName, trustStorePa | |
start = cert.find("alias") | ||
end = cert.find("] [version") | ||
alias = cert[start+6:end] | ||
print "checking signer: " + alias | ||
if alias == certAlias.lower(): | ||
print "Deleting signer: " + alias | ||
print "Deleting existing certificate ... " + alias | ||
AdminTask.deleteSignerCertificate(['-keyStoreName', trustStoreName, '-certificateAlias', alias ]) | ||
|
||
# retrieve new certificate from api-usagemetering-host and port | ||
|
@@ -1090,7 +1088,7 @@ def _splitlist(s): | |
if len(url) > 0: | ||
print " url: " + url | ||
if len(apiKey) > 0: | ||
print " apiKey: " + "********" #### [email protected] - do not echo sensitive info | ||
print " apiKey: " + "********" | ||
if len(sslRef) > 0: | ||
print " sslRef: " + sslRef | ||
if len(trustStoreName) > 0: | ||
|
@@ -1113,3 +1111,5 @@ def _splitlist(s): | |
configuretWasUsageMetering(url, apiKey, sslRef, trustStoreName, trustStorePassword, certAlias, nodeName, serverName, clusterName, startServers, namespace) | ||
|
||
#endIf | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters