Skip to content

Ansible playbooks for IBM WebSphere Application Server, Connections 6 and others

License

Notifications You must be signed in to change notification settings

oscarhong/ansible-ibm-websphere

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-ibm-websphere

Ansible playbooks for IBM WebSphere Application Server, Connections 6 and others

Playbooks

Playbook name Status Description
ibm-was-nd-complete.yml Complete Install IBM HTTP Server - 8.5.5.15
ibm-http-server-complete.yml Complete Install IBM WebSphere Application Server - Network Deployment - 8.5.5.15
ibm-connections6.yml Complete Install IBM Connections 6.0 CR5

Roles

Role name Description of Role
connections-install Install IBM Connections
db2-jdbc-driver-install Deploy db2 jdbc driver
ibm-http-adminctl-restart Restart IHS Admin Servers
ibm-http-adminctl-start Start IHS Admin Servers
ibm-http-adminctl-stop Stop IHS Admin Servers
ibm-http-config-plgwct Configure HTTP Plugin
ibm-http-httpdconf Configure httpd.conf
ibm-http-server-fix-install Install IBM HTTP Server Fixes
ibm-http-server-install Install IBM HTTP Server
ibm-http-server-restart Restart IBM HTTP Server Servers
ibm-http-server-start Start IBM HTTP Server Servers
ibm-http-server-stop Stop IBM HTTP Server Servers
installation-manager-install Install IBM Installation Manager
sametime-server-install DRAFT: Install Sametime WAS Servers
was-backup-dir-pre-fixes Backup WAS directories before apply a fix
was-dmgr-config-jvm Tune Java Virtual Machine of DMGR
was-dmgr-config-ldap Configure LDAP Repository (Server must be started)
was-dmgr-config-webserver Configure WebServers on DMGR
was-dmgr-create-profile Create a profile for Deployment Manager
was-dmgr-enable-app-sec Enable application security
was-dmgr-full-sync-nodes Do a Full Synchronize with nodes
was-dmgr-import-tls-cert Add TLS Signer Certificate to Cell Default Trust Store (Server must be started)
was-dmgr-restart Restart Deployment Manager
was-dmgr-start Start Deployment Manager
was-dmgr-stop Stop Deployment Manager
was-java-install Install IBM Java for WAS
was-nd-fix-install Install IBM WAS ND Fixes
was-nd-install Install IBM WebSphere Application Server - Network Deployment - 8.5.5
was-nodeagent-start Start Node Agent
was-nodeagent-stop Stop Node Agent
was-profile-cleanup-logs Delete and truncate log files for Application Servers
was-profile-cleanup-temps Delete temp files on WAS Profile (server must be stopped)
was-profile-create Create a profile for WAS Servers
was-profile-delete-all Delete all profiles on WAS Servers
was-server-start Start Applications Servers
was-server-stop Stop Applications Servers

Getting start

Prerequisites

  1. Download installation files:
  • IBM Installation Manager 1.8.9.1 (agent.installer.linux.gtk.x86_64_1.8.9001.20180709_1302.zip)
  • IBM WebSphere Application Server 8.5.5
  • IBM WebSphere Application Server 8.5.5 Fix Pack 15
  1. Copy files to Web Server

Example of my repository

-- installation
    |-- agent.installer.linux.gtk.x86_64_1.8.9001.20180709_1302.zip
-- was
    |-- 8.5.5
    |   |-- WAS_ND_V8.5.5_1_OF_3.zip
    |   |-- WAS_ND_V8.5.5_2_OF_3.zip
    |   |-- WAS_ND_V8.5.5_3_OF_3.zip
    |   |-- WAS_V8.5.5_SUPPL_1_OF_3.zip
    |   |-- WAS_V8.5.5_SUPPL_2_OF_3.zip
    |   |-- WAS_V8.5.5_SUPPL_3_OF_3.zip
    |   |-- FP15
    |   |   |-- 8.5.5-WS-WAS-FP014-part1.zip
    |   |   |-- 8.5.5-WS-WAS-FP014-part2.zip
    |   |   |-- 8.5.5-WS-WAS-FP014-part3.zip
    |   |   |-- 8.5.5-WS-WASSupplements-FP014-part1.zip
    |   |   |-- 8.5.5-WS-WASSupplements-FP014-part2.zip
    |   |   `-- 8.5.5-WS-WASSupplements-FP014-part3.zip
-- connections
    |-- 6.0
    |   |-- 5.2.1-P8CPE-CLIENT-LINUX.BIN
    |   |-- 5.2.1-P8CPE-LINUX.BIN
    |   |-- 5.2.1.7-P8CPE-CLIENT-LINUX-FP007.BIN
    |   |-- 5.2.1.7-P8CPE-LINUX-FP007.BIN
    |   |-- 6.0.0.0-IC-Multi-CR4-LO94111.zip
    |   |-- CNCTNS_V6.0_IFR1WLNX,_AIX_ML.tar
    |   |-- CNCTNS_V6.0_IFR1_LNX_ML.tar
    |   |-- CR5
    |   |   |-- 6.0.0.0-IC-Multi-CR5-LO94188.zip
    |   |   |-- IC60_CR5_LO94194.jar
    |   |   `-- TinyEditorsForIC6_4.0.0.29.zip
    |   |-- IBM_CONTENT_NAVIGATOR-2.0.3-LINUX.bin
    |   |-- IBM_CONTENT_NAVIGATOR-2.0.3.8-FP008-LINUX.bin
    |   |-- IC-ComponentPack-6.0.0.7.zip
    |   `-- IC-CustomizerLite-1.0.zip

Configure Ansible hosts file

Change you ansible host file like hosts.example

Cloning ansible-ibm-websphere from git

cd /etc/ansible

git clone https://github.com/ebasso/ansible-ibm-websphere.git

Running playbooks

cd /etc/ansible

ansible-playbooks -i environments/hosts.development -u <username> -k playbooks/ibm-was-nd-complete.yml

Running specific Playbooks

cd /etc/ansible

ansible-playbooks -i environments/hosts.development -u <username> -k playbooks/ibm-was-nd/ibm-installation-manager.yml

ansible-playbooks -i environments/hosts.development -u <username> -k playbooks/ibm-was-nd/ibm-was-nd.yml

For other versions of IIM, WAS and WAS fixes

  1. If you are using a different Fix Pack than FP 15, you must change generate sha256 hashes.
Example: sha256sum  8.5.5-WS-WAS-FP09-part1.zip

and set variables:

  1. Change you ansible host file like
[was_servers]
was1.company.com

[was_servers:vars]
...
was_version="8.5.5009.20160225_0435"

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Ansible playbooks for IBM WebSphere Application Server, Connections 6 and others

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published