1
1
Charm for IBM WebSphere Application Server Base (WAS Base) 8.5.5.0
6
This charm installs IBM Installation Manager and IBM WebSphere Application Server Base software.
5
This charm is used ibm-im(IBM Installation Manager) charm as a base layer for installing Installation Manager(IM). This charm is installing IBM Installation Manager and IBM WebSphere Application Server Base software.
8
7
`IBM WebSphere Application Server Base`
10
9
WebSphere Application Server is a proven, high-performance transaction engine that can help build, run, integrate, and manage dynamic web applications.
11
For details on IBM WebSphere Application Server, as well as information on purchasing, please visit:
12
[Product Page] [was-product-page] and at the [Passport Advantage Site] [Passport].
10
For details on IBM WebSphere Application Server Base, as well as information on purchasing, please visit: [Product Page] [was-product-page] and at the [Passport Advantage Site] [Passport].
13
11
More information available at the [IBM Knowledge Center] [WAS-Infocenter]
15
13
`IBM Installation Manager`
17
IBM Installation Manager is a tool that you can use to install and maintain your IBM software packages.
15
IBM Installation Manager(IBM IM) is a tool that you can use to install and maintain your IBM software packages.
18
17
In this charm IBM WebSphere Application Server Base software will be installed using IBM Installation Manager tool.
22
Download your licensed IBM Installation Manager software, IBM WebSphere Application Server Base software and IBM WebSphere Application Server fixpack and upload it to your SFTP repository.
24
To download and install the code contained in this charm you must agree to the IBM license.
26
You can view the full license for `IBM Installation Manager` and `IBM WebSphere Application Server Base` by visiting the [Software license agreements search website][license-info].
28
Search for "IBM Installation Manager" and "IBM WebSphere Application Server" and choose the license that applies to the version you are using.
30
For (x86_64) Ubuntu , The packages are:
32
IBM Installation Manager 1.6.2 (Install_Mgr_v1.6.2_Lnx_WASv8.5.5.zip)
21
This charm makes use of resources, a feature only available in Juju 2.0. During deploy or upgrade, you will need to specify the installable package(s)
22
required by this charm. Download your licensed IBM WebSphere Application Server Base packages from the [Product Page][WAS-8.5.5.0-download].
24
### Packages for Ubuntu on AMD64 (x86_64):
26
IBM Installation Manager 1.8 (`agent.installer.linux.gtk.x86_64_1.8.3000.20150606_0047.zip`)
34
28
IBM WAS Base 8.5.5 part1 (WAS_V8.5.5_1_OF_3.zip)
38
32
IBM WAS Base 8.5.5 part3 (WAS_V8.5.5_3_OF_3.zip)
40
IBM WAS Base fixpack 8.5.5.4 part1 (8.5.5-WS-WAS-FP0000004-part1.zip)
42
IBM WAS Base fixpack 8.5.5.4 part2 (8.5.5-WS-WAS-FP0000004-part2.zip)
44
For Power (ppcle) Ubuntu, The packages are:
46
IBM Installation Manager 1.8 (agent.installer.linux.gtk.ppc64le_1.8.1000.20141126_2002.zip)
34
### Packages for Ubuntu on Power (ppc64le):
36
IBM Installation Manager 1.8 (`agent.installer.linux.gtk.ppc64le_1.8.3000.20150606_0047.zip`)
48
38
IBM WAS Base 8.5.5 part1 (WAS_V8.5.5_FOR_POWERLE_ML.zip)
50
40
IBM WAS Base 8.5.5 part1 (WAS_V8.5.5_2_OF_2_FOR_POWERLE_ML.zip)
52
IBM WAS Base fixpack 8.5.5.6 part1 (8.5.5-WS-WAS-LE-FP0000006-part1.zip)
54
IBM WAS Base fixpack 8.5.5.6 part2 (8.5.5-WS-WAS-LE-FP0000006-part2.zip)
58
For deploying IBM WAS Base charm the user needs to download the correct packages as mentioned in the 'Usage' section above and keep it in an SFTP server so that the IBM WAS Base charm can connect to the SFTP server and deploy the same. The SFTP server can be any Ubuntu machine and the package needs to be kept in the path like
59
`/home/charm/repository/<productname>`. The path where the package is kept is a configurable item and needs to be set before deploying the charm.
61
Memory and Disk Requirements
62
-----------------------------
44
To use this charm, you must agree to the Terms of Use. You can view the full license for `IBM Installation Manager` and `IBM WebSphere Application Server Base` products by visiting the [im-license-info](http://www-03.ibm.com/software/sla/sladb.nsf/displaylis/39AFC1C1D485C4E085257E7300548B05?OpenDocument) and [was-license-info] [license-info] page.
46
Search for "IBM WebSphere Application Server" and choose the license that applies to the version you are using.
49
## Memory and Disk Requirements
63
51
Minimum 2.0 GB of disk space for installed image and Minimum 1 GB of physical memory recommended.
65
53
WebSphere Application Server Charm requires 15 GB of root disk to download packages and install the IBM WebSphere Application Server Base Software. By default available root disk space is 8GB.
69
57
juju set-constraints root-disk=15G
73
61
1. Run the following commands to deploy this charm:
64
juju deploy ibm-was-base --resource ibm_im_installer=</path/to/ibm_im_installer.zip> --resource ibm_was_base_installer1=</path/to/ibm_was_base_installer1.zip> --resource ibm_was_base_installer2=</path/to/ibm_was_base_installer2.zip> --resource ibm_was_base_installer3=</path/to/ibm_was_base_installer3.zip>
67
**Note**: This charm requires acceptance of Terms of Use. When deploying from the Charm Store, these terms will be presented to you for your consideration.
70
juju agree ibm-im/1 ibm-was-base/2
75
71
juju deploy ibm-was-base
77
2. At this point WebSphere Application Server install will wait for you to accept the License. To install the downloaded binaries you must agree to the IBM license. If you agree to the license, run the following command (without accepting License WAS Base cannot be installed):
79
juju set ibm-was-base accept-ibm-im-license=True accept-ibm-websphere-license=True
81
3. IBM WAS Base charm also needs an SFTP server from where the packages can be downloaded (the user has to keep the Installation Manager package and WAS Base packages on this SFTP server), the directory where the package is kept, user name and password to connect to the SFTP server, Installation Manager Package name and a checksum value for IM package to proceed with the installation. To provide these run the following command:
83
juju set ibm-was-base host=<host-name> package_dir=<package-dir> username=<username> password=<password>
84
juju set ibm-was-base im_file_name=<im-file-name>
85
juju set ibm-was-base sha_im=<checksum-value>
89
juju set ibm-was-base host="1.2.3.4" package_dir="/home/charm/repository/WAS-BASE" username="user" password="user123"
90
juju set ibm-was-base im_file_name="Install_Mgr_v1.6.2_Lnx_WASv8.5.5.zip"
91
juju set ibm-was-base sha_im="93e6532d2318d8268313ca62a406a23160306f81"
93
The command to find the checksum value is sha1sum <IM Package Name> | cut -d" " -f1. Checksum values for WebSphere packages are provided in config-changed hook.
95
4. To create application server profile, `manageprofiles` command needs values for profile name, profile path, admin user name and admin password. To provide these run the following commands:
97
juju set ibm-was-base profile_name=<profile_name>
98
juju set ibm-was-base profile_path=<profile_path>
99
juju set ibm-was-base was_admin_user=<user_name>
100
juju set ibm-was-base was_admin_pw=<password>
104
juju set ibm-was-base profile_name="profile01"
105
juju set ibm-was-base profile_path="/opt/profiles"
106
juju set ibm-was-base was_admin_user="admin1"
107
juju set ibm-was-base was_admin_pw="admin123"
74
2. To create application server profile, `manageprofiles` command needs values for profile name, profile path, user name and password. To provide these run the following command:
76
juju set ibm-was-base profile_name=<profile_name>
77
juju set ibm-was-base profile_path=<profile_path>
78
juju set ibm-was-base was_admin_user=<user_name>
79
juju set ibm-was-base was_admin_pw=<password>
83
juju set ibm-was-base profile_name="profile01"
84
juju set ibm-was-base profile_path="/opt/profiles"
85
juju set ibm-was-base was_admin_user="admin1"
86
juju set ibm-was-base was_admin_pw="admin123"
109
If any of the above values is not set, then the charm will use default values for profile creation. Once WAS Base charm deployed successfully, user can also delete existing profile and create new application server profile by setting any of these configuration options.
111
5. To Expose the IBM WAS Base Service to public, run the following command:
113
juju expose ibm-was-base
115
6. Setting the accept-ibm-im-license and accept-ibm-websphere-license to False will uninstall the product:
88
If any of these values is not set, then the charm will use default values for profile creation. Once WAS Base charm deployed successfully, user can also delete existing profile and create new application server profile by setting any of these configuration options.
117
juju set ibm-was-base accept-ibm-im-license=False accept-ibm-websphere-license=False
119
Installation Verification
120
------------------------
121
After installing IBM WebSphere Application Server Base, use your web browser to see the WAS admin console. The URLs for WAS Base admin console are:
90
3. To Expose the IBM WAS Base Service to public, run the following command:
92
juju expose ibm-was-base
97
Once deployed, users can install fixpacks by upgrading the charm:
99
juju attach ibm-was-base ibm_im_fixpack=</path/to/fixpack.zip>
100
juju attach ibm-was-base ibm_was_base_fp1=</path/to/ibm_was_base_fp1.zip>
101
juju attach ibm-was-base ibm_was_base_fp2=</path/to/ibm_was_base_fp2.zip>
106
After installing IBM WebSphere Application Server Base, use your web browser to see the WebSphere Application Server admin console. The URLs for WAS Base admin console are:
123
108
http://was-base-host:9060/ibm/console
124
109
https://was-base-host:9043/ibm/console
126
Here was-base-host represents the public ip address of your container, where WAS Base is installed.
128
To login the WAS Base admin console use userid and password created in step 4.
134
SFTP server where IBM IM and IBM WAS Base packages are kept
138
Path to find the IBM IM and IBM WAS Base packages on the SFTP server
142
User name to connect to the SFTP server
146
Password to connect to the SFTP server
148
`accept-ibm-im-license`
150
The IBM Installation Manager software can only be used by accepting the terms and conditions for IBM
151
Installation Manager License. Setting this option to True indicates that you have read and accepted the
152
IBM Installation Manager terms and conditions found in the license file.
154
`accept-ibm-websphere-license`
156
The IBM WebSphere Application Server Base software can only be used by accepting the terms and conditions for IBM
157
WebSphere Application Server Base License. Setting this option to True indicates that you have read and accepted the
158
IBM WebSphere Application Server Base terms and conditions found in the license file.
111
Here was-base-host represents the public ip address of your machine, where WAS Base is installed.
113
To login the WAS Base admin console use userid and password created in step 2 in `Deploy` section.
116
## Relating with IBM HTTP Server charm
118
Install a web server, such as IBM Http Server in the machine where IBM WebSphere Application Server Base installed. It provides the more configuration options and additional layer of security for applications deployed on WAS Base. Installing a web server plug-in enables the web server to communicate with the application server.
120
Here IBM WAS Base charm is related to IBM HTTP Server(IHS) subordinate charm. To add a relation, run the following command:
122
juju add-relation ibm-was-base ibm-http
124
When IBM WAS Base charm is related to IBM HTTP Server charm, 'IBM Http Server', 'Web Server Plug-ins for WebSphere Application Server' and 'WebSphere Customization Toolbox' will be installed and configured. The web server definition is automatically created and configured during the configuration of the plug-in. Once IHS configured and admin server started, server status will be sent to the WAS Base charm to automatically propagate the plugin.xml file to IHS server. This plugin.xml file contains the WAS Base server details to redirect incoming requests to the WAS Base Server.
128
After establishing relation between IBM WAS Base and IBM Http Server charm, you can verify by accessing the sample servlet available in WAS Base using IHS URL and IHS running port 80:
130
http://ihs-host-name:80/snoop
132
Here ihs-host-name represents the public ip address of your machine, where WAS Base and IHS deployed(IHS is subordinate charm so WAS Base and IHS charms will be deployed on same machine). 'snoop' is the sample servlet on WAS Base server to test the connection between WAS Base and IHS.
134
To remove the relation, run the follwing command:
136
juju remove-relation ibm-was-base ibm-http